/* ============================================
   SÉCURITÉ NUMÉRIQUE SN — CSS
   Modern Cyber-Tech Design
   ============================================ */

/* ===== VARIABLES ===== */
:root {
  /* Dark theme (default) */
  --bg-primary: #020b18;
  --bg-secondary: #041225;
  --bg-card: #071e38;
  --bg-card-hover: #0a2848;
  --bg-navbar: rgba(2, 11, 24, 0.92);
  --text-primary: #e8f4fd;
  --text-secondary: #94b8d4;
  --text-muted: #5a7a96;
  --border-color: rgba(14, 165, 233, 0.15);
  --border-hover: rgba(14, 165, 233, 0.4);
  --cyan: #0ea5e9;
  --cyan-light: #38bdf8;
  --blue: #1d4ed8;
  --blue-deep: #1e3a8a;
  --accent: #00d4ff;
  --white: #ffffff;
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-card-hover: 0 16px 60px rgba(14, 165, 233, 0.2);
  --gradient-main: linear-gradient(135deg, #0ea5e9, #1d4ed8);
  --gradient-text: linear-gradient(90deg, #38bdf8, #60a5fa);
  --mission-bg: #041831;
}

[data-theme="light"] {
  --bg-primary: #f0f6ff;
  --bg-secondary: #e4effd;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fcff;
  --bg-navbar: rgba(240, 246, 255, 0.95);
  --text-primary: #0f172a;
  --text-secondary: #334d6e;
  --text-muted: #64748b;
  --border-color: rgba(14, 165, 233, 0.2);
  --border-hover: rgba(14, 165, 233, 0.5);
  --shadow-card: 0 4px 24px rgba(14, 165, 233, 0.1);
  --shadow-card-hover: 0 12px 40px rgba(14, 165, 233, 0.18);
  --mission-bg: #dbeafe;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
}

a { text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; }
.section-pad { padding: 90px 0; }

/* ===== REAL LOGO IMAGES ===== */
.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.hero-logo-img {
  width: 300px;
  height: auto;
  object-fit: contain;
  animation: floatShield 4s infinite ease-in-out;
  filter: drop-shadow(0 0 18px rgba(14,165,233,0.3));
}

.footer-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: #020b18;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
#preloader.hide { opacity: 0; visibility: hidden; }

.preloader-inner { text-align: center; }

.shield-loader {
  width: 80px; height: 90px; margin: 0 auto 20px;
  animation: shieldPulse 1.5s infinite ease-in-out;
}

.shield-path {
  fill: url(#preGrad);
  stroke: #38bdf8;
  stroke-width: 2;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawShield 1.5s forwards ease-out;
}

@keyframes drawShield {
  to { stroke-dashoffset: 0; }
}
@keyframes shieldPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.shield-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 20px;
  fill: #38bdf8;
}

.preloader-bar {
  width: 200px; height: 3px;
  background: rgba(14,165,233,0.2);
  border-radius: 3px;
  margin: 0 auto 12px;
  overflow: hidden;
}
.preloader-fill {
  height: 100%;
  background: linear-gradient(90deg, #0ea5e9, #38bdf8);
  border-radius: 3px;
  animation: preLoad 1.8s ease forwards;
}
@keyframes preLoad { from { width: 0; } to { width: 100%; } }

.preloader-label {
  color: #38bdf8;
  font-family: 'Exo 2', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
}

/* ===== NAVBAR ===== */
#mainNav {
  background: var(--bg-navbar);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  transition: background 0.4s, padding 0.3s, box-shadow 0.3s;
}
#mainNav.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.brand-logo { display: flex; align-items: center; gap: 10px; }
.brand-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.1;
}
.brand-accent { color: var(--cyan); display: block; }
.brand-sn {
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 1px;
}

.nav-link {
  color: var(--text-secondary) !important;
  font-family: 'Exo 2', sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  padding: 6px 14px !important;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: left 0.3s, right 0.3s;
}
.nav-link:hover { color: var(--cyan) !important; }
.nav-link:hover::after { left: 14px; right: 14px; }
.nav-link.active { color: var(--cyan) !important; }

.btn-cta-nav {
  background: var(--gradient-main);
  color: white !important;
  font-family: 'Exo 2', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cta-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(14,165,233,0.4); }

/* Theme Toggle */
.theme-toggle {
  width: 52px; height: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6px;
  transition: background 0.3s;
}
.theme-icon { font-size: 12px; z-index: 1; transition: opacity 0.3s; }
.theme-icon.sun { color: #fbbf24; }
.theme-icon.moon { color: #94b8d4; }
.theme-slider {
  position: absolute;
  width: 22px; height: 22px;
  background: var(--gradient-main);
  border-radius: 50%;
  top: 2px; left: 2px;
  transition: transform 0.3s;
}
[data-theme="light"] .theme-slider { transform: translateX(24px); }

/* Nav toggle */
.nav-toggle-icon { display: flex; flex-direction: column; gap: 5px; width: 24px; }
.nav-toggle-icon span {
  display: block; height: 2px; width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.navbar-toggler { border: none; background: transparent; padding: 4px; }
.navbar-toggler:focus { box-shadow: none; }

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex; align-items: center;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}

#cyberCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.5;
}

.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow.glow-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(14,165,233,0.18) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero-glow.glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(29,78,216,0.2) 0%, transparent 70%);
  bottom: -50px; left: 10%;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.3);
  color: var(--cyan-light);
  font-size: 12.5px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease both;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.3; } }
@keyframes fadeInDown { from { opacity:0; transform: translateY(-20px); } to { opacity:1; transform:none; } }

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
  animation: fadeInUp 0.9s 0.2s ease both;
}
.hero-highlight {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 32px;
  animation: fadeInUp 0.9s 0.3s ease both;
}

@keyframes fadeInUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform:none; } }

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 32px;
  animation: fadeInUp 0.9s 0.4s ease both;
}

.btn-primary-custom {
  background: var(--gradient-main);
  color: white;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary-custom:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14,165,233,0.4);
}

.btn-outline-custom {
  background: transparent;
  color: var(--cyan-light);
  border: 1.5px solid rgba(14,165,233,0.5);
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
}
.btn-outline-custom:hover {
  background: rgba(14,165,233,0.1);
  color: var(--cyan-light);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.hero-tags {
  display: flex; gap: 20px; flex-wrap: wrap;
  animation: fadeInUp 0.9s 0.5s ease both;
}
.tag {
  color: var(--text-muted);
  font-size: 13.5px;
  display: flex; align-items: center; gap: 2px;
}
.text-cyan { color: var(--cyan); }

/* Shield Visual */
.hero-shield-wrap {
  position: relative;
  width: 320px; height: 320px;
  display: flex; align-items: center; justify-content: center;
}

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(14,165,233,0.2);
  animation: ringPulse 3s infinite ease-in-out;
}
.ring-1 { width: 280px; height: 280px; animation-delay: 0s; }
.ring-2 { width: 230px; height: 230px; animation-delay: 0.8s; border-color: rgba(14,165,233,0.3); }
.ring-3 { width: 180px; height: 180px; animation-delay: 1.6s; border-color: rgba(14,165,233,0.15); }
@keyframes ringPulse { 0%,100% { transform: scale(1); opacity:0.6; } 50% { transform: scale(1.04); opacity:1; } }

.hero-shield-svg { position: relative; z-index: 2; filter: drop-shadow(0 0 30px rgba(14,165,233,0.4)); animation: floatShield 4s infinite ease-in-out; }
@keyframes floatShield { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--text-muted); font-size: 11px; letter-spacing: 1px;
  animation: fadeInUp 1s 1s ease both;
}
.scroll-dot {
  width: 24px; height: 40px;
  border: 1.5px solid rgba(14,165,233,0.4);
  border-radius: 20px;
  position: relative;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  top: 6px; left: 50%; transform: translateX(-50%);
  animation: scrollDot 2s infinite;
}
@keyframes scrollDot { 0%,100% { top:6px; opacity:1; } 100% { top:22px; opacity:0; } }

/* ===== MISSION BAND ===== */
.mission-band {
  background: var(--mission-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  overflow: hidden;
}

.mission-track {
  display: flex; align-items: center; gap: 20px;
  white-space: nowrap;
  animation: scrollBand 30s linear infinite;
}

@keyframes scrollBand {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.mission-item {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}
.mission-item i { color: var(--cyan); font-size: 15px; }
.mission-sep { color: var(--cyan); opacity: 0.4; font-size: 18px; }

/* ===== SECTION HEADERS ===== */
.section-label {
  display: inline-block;
  font-family: 'Exo 2', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--cyan);
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.25);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-sub {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== SERVICES ===== */
.services-section { background: var(--bg-primary); }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: default;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-hover);
}

.service-card-bg {
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card[data-service="cyber"] .service-card-bg { background: radial-gradient(circle, rgba(239,68,68,0.1) 0%, transparent 70%); }
.service-card[data-service="dev"] .service-card-bg { background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%); }
.service-card[data-service="ai"] .service-card-bg { background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%); }
.service-card[data-service="iot"] .service-card-bg { background: radial-gradient(circle, rgba(34,197,94,0.1) 0%, transparent 70%); }
.service-card[data-service="network"] .service-card-bg { background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%); }
.service-card[data-service="training"] .service-card-bg { background: radial-gradient(circle, rgba(234,179,8,0.1) 0%, transparent 70%); }
.service-card:hover .service-card-bg { opacity: 1; }

.service-icon-wrap {
  width: 56px; height: 56px;
  background: rgba(14,165,233,0.12);
  border: 1px solid rgba(14,165,233,0.25);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--cyan);
  margin-bottom: 20px;
  transition: background 0.3s, transform 0.3s;
}
.service-card:hover .service-icon-wrap {
  background: rgba(14,165,233,0.2);
  transform: scale(1.06);
}

.service-title {
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-list {
  list-style: none;
  padding: 0; margin: 0 0 20px;
}
.service-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
}
.service-list li i { color: var(--cyan); font-size: 14px; flex-shrink: 0; margin-top: 1px; }

.service-link {
  color: var(--cyan);
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; color: var(--cyan-light); }

/* ===== WHY US ===== */
.why-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.why-bg-shape {
  position: absolute;
  right: -200px; top: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.why-visual {
  position: relative;
  width: 300px; height: 300px;
  margin: 0 auto;
}

.why-hexagons { position: relative; width: 100%; height: 100%; }

.hex {
  position: absolute;
  width: 72px; height: 72px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  color: var(--cyan);
  transition: all 0.3s;
}
.hex:hover { transform: scale(1.1); border-color: var(--cyan); }
.hex-1 { top: 0; left: 50%; transform: translateX(-50%); }
.hex-2 { top: 50%; right: 0; transform: translateY(-50%); }
.hex-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.hex-4 { top: 50%; left: 0; transform: translateY(-50%); }
.hex-center {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px;
  background: var(--gradient-main);
  border: none;
  border-radius: 18px;
  box-shadow: 0 0 40px rgba(14,165,233,0.3);
}
.why-center-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: white;
}

.why-stat-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.wsc-1 { bottom: -20px; left: -30px; }
.wsc-2 { top: -20px; right: -30px; }
.wsc-num { display: block; font-family: 'Orbitron',sans-serif; font-weight: 700; font-size: 18px; color: var(--cyan); }
.wsc-label { font-size: 11px; color: var(--text-muted); }

.why-items { display: flex; flex-direction: column; gap: 20px; }

.why-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.why-item:hover { border-color: var(--border-hover); box-shadow: 0 4px 20px rgba(14,165,233,0.1); }

.why-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(14,165,233,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--cyan);
}
.why-item-body h4 { font-size: 15px; color: var(--text-primary); margin-bottom: 4px; }
.why-item-body p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ===== EXPERTISE ===== */
.expertise-section { background: var(--bg-primary); }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.exp-bar-wrap { display: flex; flex-direction: column; gap: 8px; }
.exp-label { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.exp-bar {
  height: 8px;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.exp-fill {
  height: 100%;
  background: var(--gradient-main);
  border-radius: 8px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.exp-pct { font-size: 13px; font-weight: 600; color: var(--cyan); text-align: right; }

/* ===== STATS ===== */
.stats-section {
  background: var(--bg-secondary);
  position: relative; overflow: hidden;
}
.stats-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230ea5e9' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-main);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }

.stat-icon { font-size: 28px; color: var(--cyan); margin-bottom: 12px; opacity: 0.8; }
.stat-num {
  display: inline;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 42px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-plus {
  display: inline;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--cyan);
}
.stat-label { display: block; font-size: 13px; color: var(--text-muted); margin-top: 6px; font-weight: 500; }

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative; overflow: hidden;
  background: var(--bg-primary);
}
.cta-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,165,233,0.08) 0%, rgba(29,78,216,0.12) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.cta-inner { position: relative; z-index: 1; }
.cta-title { font-size: clamp(1.5rem, 2.8vw, 2.2rem); color: var(--text-primary); margin-bottom: 12px; }
.cta-sub { font-size: 16px; color: var(--text-secondary); margin-bottom: 30px; }

/* ===== CONTACT ===== */
.contact-section { background: var(--bg-secondary); }

.contact-info-block { display: flex; flex-direction: column; gap: 16px; }

.contact-info-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: border-color 0.3s, transform 0.2s;
}
.contact-info-card:hover { border-color: var(--border-hover); transform: translateX(4px); }

.ci-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(14,165,233,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--cyan);
}
.ci-body h5 { font-family: 'Exo 2', sans-serif; font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.ci-body p { font-size: 14px; color: var(--text-primary); margin: 0; }
.ci-body a { color: var(--text-primary); }
.ci-body a:hover { color: var(--cyan); }

.contact-social {
  display: flex; align-items: center; gap: 10px;
  margin-top: 4px;
  font-size: 13px; color: var(--text-muted);
}
.social-btn {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 15px;
  transition: all 0.2s;
}
.social-btn:hover { background: var(--cyan); color: white; border-color: var(--cyan); transform: translateY(-2px); }

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 36px;
}

.form-floating-custom { position: relative; }
.form-floating-custom label {
  position: absolute; top: 14px; left: 14px;
  font-size: 13.5px; color: var(--text-muted);
  pointer-events: none;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 6px;
  z-index: 1;
}
.cf-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 10px;
  padding: 36px 14px 12px;
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.cf-select { padding: 22px 14px 10px; cursor: pointer; }
.cf-select option { background: var(--bg-card); color: var(--text-primary); }
.cf-textarea { resize: vertical; min-height: 120px; }

.cf-input:focus {
  border-color: var(--cyan);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}
.form-floating-custom:focus-within label {
  top: 8px;
  font-size: 11px;
  color: var(--cyan);
}

.btn-submit { position: relative; overflow: hidden; }

.form-success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #4ade80;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  font-size: 14px;
}

/* ===== FOOTER ===== */
.site-footer { background: var(--bg-primary); border-top: 1px solid var(--border-color); }

.footer-top { padding: 60px 0 40px; }

.footer-brand {
  display: flex; align-items: center;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 13.5px; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }

.footer-heading {
  font-size: 13px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13.5px; color: var(--text-muted); }
.footer-links a:hover { color: var(--cyan); }

.footer-contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-contact-list li { display: flex; gap: 10px; font-size: 13px; color: var(--text-muted); align-items: flex-start; }
.footer-contact-list li i { color: var(--cyan); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.footer-contact-list a { color: var(--text-muted); }
.footer-contact-list a:hover { color: var(--cyan); }

.footer-bottom {
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  font-size: 12.5px; color: var(--text-muted);
}
.footer-mission { color: var(--cyan); font-weight: 500; font-size: 12px; letter-spacing: 1px; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 1000;
  width: 44px; height: 44px;
  background: var(--gradient-main);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(14,165,233,0.3);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(14,165,233,0.4); }

/* ===== AOS (simple) ===== */
[data-aos] { opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease; }
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="zoom-in"] { transform: scale(0.92); }
[data-aos].aos-animate { opacity: 1; transform: none !important; }

/* ===== LIGHT THEME OVERRIDES ===== */
[data-theme="light"] .hero-section { background: linear-gradient(135deg, #e8f4fd 0%, #dbeafe 100%); }
[data-theme="light"] #cyberCanvas { opacity: 0.15; }
[data-theme="light"] .hero-grid-overlay {
  background-image:
    linear-gradient(rgba(14,165,233,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.08) 1px, transparent 1px);
}
[data-theme="light"] .hero-glow.glow-1 { background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%); }
[data-theme="light"] .stats-bg { opacity: 0.5; }
[data-theme="light"] .contact-form { box-shadow: 0 4px 30px rgba(14,165,233,0.08); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-pad { padding: 60px 0; }
  .hero-actions { flex-direction: column; }
  .btn-primary-custom, .btn-outline-custom { width: 100%; justify-content: center; }
  .expertise-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .why-visual { margin-bottom: 40px; }
  .wsc-1 { bottom: -10px; left: -10px; }
  .wsc-2 { top: -10px; right: -10px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .stat-num { font-size: 32px; }
}
