/* ============================================================
   CyberSecDPA – Dual-Theme (Dark + Light) Cybersecurity Theme
   Bootstrap 5.3 Base + Custom Neon / Professional Overrides
   ============================================================ */

/* ── DARK THEME (default) ───────────────────────────────── */
:root,
[data-theme="dark"] {
  --cs-bg: #070e18;
  --cs-bg-alt: #0c1628;
  --cs-surface: rgba(14, 28, 50, 0.65);
  --cs-surface-2: rgba(18, 35, 60, 0.55);
  --cs-surface-glass: rgba(12, 24, 48, 0.45);
  --cs-border: rgba(0, 212, 255, 0.12);
  --cs-border-hover: rgba(0, 212, 255, 0.35);
  --cs-cyber: #00d4ff;
  --cs-cyber-glow: rgba(0, 212, 255, 0.25);
  --cs-pink: #ff3d8a;
  --cs-pink-glow: rgba(255, 61, 138, 0.3);
  --cs-purple: #8b5cf6;
  --cs-purple-glow: rgba(139, 92, 246, 0.25);
  --cs-teal: #00ffaa;
  --cs-amber: #f59e0b;
  --cs-amber-glow: rgba(245, 158, 11, 0.2);
  --cs-text: #d4dde8;
  --cs-text-muted: #6a8ea8;
  --cs-hero-text: #ffffff;
  --cs-card-text: #f0f4f8;
  --cs-navbar-bg: rgba(7, 14, 24, 0.6);
  --cs-navbar-scrolled: rgba(7, 14, 24, 0.88);
  --cs-glass-blur: 20px;
  --cs-gradient-primary: linear-gradient(135deg, #00d4ff, #8b5cf6);
  --cs-gradient-hot: linear-gradient(135deg, #ff3d8a, #f59e0b);
  --cs-gradient-neon: linear-gradient(135deg, #00ffaa, #00d4ff);
  --cs-gradient-aurora: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 40%, #ff3d8a 80%, #f59e0b 100%);
  --cs-font-body: 'Inter', sans-serif;
  --cs-font-display: 'Space Grotesk', sans-serif;
  --cs-font-mono: 'JetBrains Mono', monospace;
  --cs-radius: 14px;
  --cs-radius-lg: 22px;
  --cs-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── LIGHT THEME ────────────────────────────────────────── */
[data-theme="light"] {
  --cs-bg: #f0f5fa;
  --cs-bg-alt: #e4edf6;
  --cs-surface: rgba(255, 255, 255, 0.72);
  --cs-surface-2: rgba(234, 241, 248, 0.65);
  --cs-surface-glass: rgba(255, 255, 255, 0.5);
  --cs-border: rgba(0, 90, 140, 0.14);
  --cs-border-hover: rgba(0, 90, 140, 0.3);
  --cs-cyber: #0076a3;
  --cs-cyber-glow: rgba(0, 118, 163, 0.18);
  --cs-pink: #d61a5e;
  --cs-pink-glow: rgba(214, 26, 94, 0.18);
  --cs-purple: #6d28d9;
  --cs-purple-glow: rgba(109, 40, 217, 0.15);
  --cs-teal: #059669;
  --cs-amber: #d97706;
  --cs-amber-glow: rgba(217, 119, 6, 0.15);
  --cs-text: #1a2840;
  --cs-text-muted: #4a6880;
  --cs-hero-text: #0d1f38;
  --cs-card-text: #0d1f38;
  --cs-navbar-bg: rgba(240, 245, 250, 0.6);
  --cs-navbar-scrolled: rgba(240, 245, 250, 0.88);
  --cs-glass-blur: 20px;
  --cs-gradient-primary: linear-gradient(135deg, #0076a3, #6d28d9);
  --cs-gradient-hot: linear-gradient(135deg, #d61a5e, #d97706);
  --cs-gradient-neon: linear-gradient(135deg, #059669, #0076a3);
  --cs-gradient-aurora: linear-gradient(135deg, #0076a3 0%, #6d28d9 40%, #d61a5e 80%, #d97706 100%);
}

/* ── BOOTSTRAP THEME SYNC ───────────────────────────────── */
[data-bs-theme="dark"] {
  --bs-body-bg: var(--cs-bg);
  --bs-body-color: var(--cs-text);
  --bs-card-bg: var(--cs-surface);
  --bs-border-color: var(--cs-border);
}

[data-bs-theme="light"] {
  --bs-body-bg: var(--cs-bg);
  --bs-body-color: var(--cs-text);
  --bs-card-bg: var(--cs-surface);
  --bs-border-color: var(--cs-border);
  --bs-secondary-color: var(--cs-text-muted);
}

/* Smooth theme transition for entire page */
*,
*::before,
*::after {
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease,
    box-shadow 0.35s ease !important;
}

/* But NOT layout/transform/opacity animations — let them run freely */
.shield-ring,
.badge-dot,
.scroll-wheel,
.status-dot,
.preloader-fill,
.cyber-logo,
img,
canvas,
.cyber-shield-visual,
.shield-center,
.orbit-node,
.orbit-node i,
.about-img,
.about-img-glow,
.about-img-border,
.about-experience-badge {
  transition: none !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--cs-font-body);
  background-color: var(--cs-bg);
  color: var(--cs-text);
  overflow-x: hidden;
}

.font-mono {
  font-family: var(--cs-font-mono);
}

.text-cyber {
  color: var(--cs-cyber) !important;
}

.text-gradient {
  background: var(--cs-gradient-aurora);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.py-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.mt-6 {
  margin-top: 4rem !important;
}

.mb-6 {
  margin-bottom: 4rem !important;
}

.fw-black {
  font-weight: 900;
}

/* ── PRELOADER ──────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cs-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.cyber-logo {
  font-size: 3rem;
  color: var(--cs-cyber);
  margin-bottom: 1.5rem;
  animation: pulse-glow 1.5s ease-in-out infinite;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  margin: 0 auto 1rem;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cs-cyber), var(--cs-purple));
  border-radius: 50px;
  animation: load-fill 2s ease forwards;
}

.preloader-text {
  font-size: 0.7rem;
  color: var(--cs-text-muted);
  letter-spacing: 0.15em;
}

@keyframes load-fill {
  to {
    width: 100%;
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    filter: drop-shadow(0 0 8px var(--cs-cyber));
  }

  50% {
    filter: drop-shadow(0 0 24px var(--cs-cyber));
  }
}

/* ── THEME TOGGLE BUTTON ────────────────────────────────── */
.theme-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--cs-surface-2);
  border: 1px solid var(--cs-border-hover);
  border-radius: 50px;
  cursor: pointer;
  flex-shrink: 0;
  outline: none;
  transition: background 0.35s ease, border-color 0.35s ease;
  display: flex;
  align-items: center;
  padding: 0 4px;
}

.theme-toggle:hover {
  border-color: var(--cs-cyber);
  box-shadow: 0 0 10px var(--cs-cyber-glow);
}

.theme-toggle-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cs-cyber), var(--cs-purple));
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #000;
  box-shadow: 0 2px 8px var(--cs-cyber-glow);
}

[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(24px);
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 2px 8px rgba(251, 146, 60, 0.5);
}

[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(0);
}

.theme-icon-moon,
.theme-icon-sun {
  position: absolute;
  font-size: 0.7rem;
}

.theme-icon-moon {
  right: 7px;
  color: var(--cs-text-muted);
}

.theme-icon-sun {
  left: 7px;
  color: #f59e0b;
}

[data-theme="dark"] .theme-icon-sun {
  opacity: 0;
}

[data-theme="light"] .theme-icon-moon {
  opacity: 0;
}

[data-theme="dark"] .theme-icon-moon {
  opacity: 1;
}

[data-theme="light"] .theme-icon-sun {
  opacity: 1;
}

/* ── NAVBAR ──────────────────────────────────────────────── */
.cs-navbar {
  background: var(--cs-navbar-bg) !important;
  backdrop-filter: blur(var(--cs-glass-blur));
  -webkit-backdrop-filter: blur(var(--cs-glass-blur));
  border-bottom: 1px solid var(--cs-border);
  padding: 12px 0;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.cs-navbar.scrolled {
  background: var(--cs-navbar-scrolled) !important;
  box-shadow: 0 4px 30px var(--cs-cyber-glow), 0 1px 0 rgba(255,255,255,0.04) inset;
  border-bottom-color: rgba(0, 212, 255, 0.15);
}

.cs-brand {
  font-family: var(--cs-font-display);
  font-size: 1.35rem !important;
  font-weight: 800;
  color: var(--cs-text) !important;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.cs-nav-link {
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: var(--cs-text-muted) !important;
  padding: 8px 14px !important;
  border-radius: 10px;
  transition: var(--cs-transition);
  letter-spacing: 0.02em;
  position: relative;
}

.cs-nav-link:hover {
  color: var(--cs-cyber) !important;
  background: rgba(0, 212, 255, 0.08);
}

.cs-nav-link.active {
  color: var(--cs-cyber) !important;
  background: rgba(0, 212, 255, 0.12);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.15);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.cs-btn-primary {
  background: var(--cs-gradient-primary);
  background-size: 180% 180%;
  color: #000 !important;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 24px;
  transition: var(--cs-transition);
  box-shadow: 0 4px 24px var(--cs-cyber-glow), 0 0 0 0 rgba(139, 92, 246, 0);
  position: relative;
  overflow: hidden;
  animation: btn-gradient-shift 4s ease infinite;
}

@keyframes btn-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cs-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(0, 212, 255, 0.45);
  color: #000 !important;
}

.cs-btn-outline {
  background: transparent;
  color: var(--cs-cyber) !important;
  border: 1px solid var(--cs-cyber) !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 24px;
  transition: var(--cs-transition);
}

.cs-btn-outline:hover {
  background: var(--cs-cyber-glow);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--cs-cyber-glow);
}

/* ── HERO ────────────────────────────────────────────────── */
.cs-hero {
  position: relative;
  background: var(--cs-bg);
  overflow: hidden;
  min-height: 100vh;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.cs-hero .container {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cs-cyber);
  box-shadow: 0 2px 14px rgba(0, 212, 255, 0.08);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cs-cyber);
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.2
  }
}

.hero-title {
  font-family: var(--cs-font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--cs-hero-text);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--cs-text-muted);
  max-width: 520px;
  line-height: 1.75;
}

/* Hero stats */
.hero-stat {}

.stat-number {
  font-family: var(--cs-font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--cs-cyber);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--cs-text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--cs-border);
}

/* Hero visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.cyber-shield-visual {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Slow rotation of the whole component */
  animation: visual-spin 40s linear infinite !important;
  animation-play-state: running !important;
}

@keyframes visual-spin {
  to {
    transform: rotate(360deg);
  }
}

/* The shield center & icons must counter-rotate to stay upright */
.shield-center,
.orbit-node i {
  animation-name: counter-spin;
  animation-duration: 40s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-play-state: running !important;
}

.shield-center {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--cs-cyber), var(--cs-purple));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  z-index: 2;
  box-shadow: 0 0 50px var(--cs-cyber-glow), 0 0 100px rgba(124, 58, 237, 0.2);
  /* Combine counter-spin + pulse */
  animation: counter-spin 40s linear infinite, shield-pulse 3s ease-in-out infinite;
  animation-play-state: running !important;
}

@keyframes counter-spin {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes shield-pulse {

  0%,
  100% {
    box-shadow: 0 0 50px var(--cs-cyber-glow), 0 0 100px rgba(124, 58, 237, 0.2);
  }

  50% {
    box-shadow: 0 0 80px rgba(0, 212, 255, 0.5), 0 0 160px rgba(124, 58, 237, 0.4);
  }
}

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: rotate-ring linear infinite !important;
  animation-play-state: running !important;
}

.ring-1 {
  width: 100%;
  height: 100%;
  border-color: rgba(0, 212, 255, 0.2);
  animation-duration: 20s;
}

.ring-2 {
  width: 72%;
  height: 72%;
  border-color: rgba(124, 58, 237, 0.3);
  animation-duration: 15s;
  animation-direction: reverse;
}

.ring-3 {
  width: 44%;
  height: 44%;
  border-color: rgba(0, 255, 136, 0.2);
  animation-duration: 10s;
}

@keyframes rotate-ring {
  to {
    transform: rotate(360deg);
  }
}

.orbit-node {
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--cs-surface-2);
  border: 1px solid var(--cs-border-hover);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cs-cyber);
  font-size: 1rem;
  box-shadow: 0 0 15px var(--cs-cyber-glow);
}

.node-1 {
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.node-2 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.node-3 {
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.node-4 {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* Scale down on tablet (visible at lg but smaller) */
@media (max-width: 1199px) {
  .cyber-shield-visual {
    width: 260px;
    height: 260px;
  }

  .shield-center {
    width: 64px;
    height: 64px;
    font-size: 2rem;
  }

  .orbit-node {
    width: 34px;
    height: 34px;
    font-size: 0.88rem;
  }
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--cs-text-muted);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel {
  width: 4px;
  height: 10px;
  background: var(--cs-cyber);
  border-radius: 50px;
  animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% {
    transform: translateY(0);
    opacity: 1
  }

  100% {
    transform: translateY(12px);
    opacity: 0
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(-8px)
  }
}

/* ── TRUST BAR ───────────────────────────────────────────── */
.cs-trust-bar {
  background: rgba(11, 21, 37, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--cs-border);
  border-bottom: 1px solid var(--cs-border);
}

[data-theme="light"] .cs-trust-bar {
  background: rgba(228, 237, 246, 0.5);
}

.trust-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}

.trust-logo {
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: var(--cs-transition);
}

.trust-logo:hover {
  opacity: 1 !important;
  transform: scale(1.1);
  color: var(--cs-cyber) !important;
}

/* ── SECTIONS ────────────────────────────────────────────── */
.cs-section {
  position: relative;
}

.cs-bg-alt {
  background: var(--cs-bg-alt);
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.section-title {
  font-family: var(--cs-font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lead-sm {
  font-size: 1.05rem;
}

/* ── CARDS ───────────────────────────────────────────────── */
.cs-card {
  background: var(--cs-surface);
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius-lg);
  transition: var(--cs-transition);
}

.cs-card:hover {
  border-color: var(--cs-border-hover);
  box-shadow: 0 0 30px var(--cs-cyber-glow);
}

/* ── ABOUT – Image Showcase ──────────────────────────────── */
.about-image-showcase {
  position: relative;
  padding: 20px;
}

/* Main image frame */
.about-img-frame {
  position: relative;
  border-radius: var(--cs-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--cs-radius-lg);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.about-img-frame:hover .about-img {
  transform: scale(1.03);
}

/* Glow behind image */
.about-img-glow {
  position: absolute;
  inset: -30px;
  z-index: -1;
  background: radial-gradient(ellipse at 30% 50%, var(--cs-cyber-glow) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
  border-radius: 50%;
  filter: blur(40px);
  animation: about-glow-pulse 4s ease-in-out infinite alternate;
}

@keyframes about-glow-pulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Animated gradient border overlay */
.about-img-border {
  position: absolute;
  inset: 0;
  border-radius: var(--cs-radius-lg);
  border: 2px solid transparent;
  background: linear-gradient(var(--cs-surface), var(--cs-surface)) padding-box,
    linear-gradient(135deg, var(--cs-cyber), var(--cs-purple), var(--cs-pink), var(--cs-cyber)) border-box;
  background-size: 100% 100%, 300% 300%;
  z-index: 2;
  pointer-events: none;
  animation: border-shift 6s ease infinite;
}

@keyframes border-shift {
  0% {
    background-position: 0 0, 0% 0%;
  }

  50% {
    background-position: 0 0, 100% 100%;
  }

  100% {
    background-position: 0 0, 0% 0%;
  }
}

/* Corner accents */
.about-img-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  z-index: 3;
  pointer-events: none;
}

.corner-tl {
  top: -6px;
  left: -6px;
  border-top: 3px solid var(--cs-cyber);
  border-left: 3px solid var(--cs-cyber);
  border-radius: 8px 0 0 0;
  box-shadow: -4px -4px 15px var(--cs-cyber-glow);
}

.corner-br {
  bottom: -6px;
  right: -6px;
  border-bottom: 3px solid var(--cs-purple);
  border-right: 3px solid var(--cs-purple);
  border-radius: 0 0 8px 0;
  box-shadow: 4px 4px 15px rgba(124, 58, 237, 0.3);
}

/* ── Floating Stat Badges (Glassmorphism) ──────────────── */
.about-float-stat {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 31, 53, 0.5);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--cs-radius);
  padding: 12px 16px;
  z-index: 10;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.about-float-stat:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--cs-cyber-glow);
}

[data-theme="light"] .about-float-stat {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 32px rgba(0, 60, 100, 0.12);
}

.float-stat-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.1);
}

.about-float-stat:nth-child(3) .float-stat-icon {
  background: rgba(255, 45, 120, 0.1);
}

.about-float-stat:nth-child(4) .float-stat-icon {
  background: rgba(0, 255, 136, 0.1);
}

.float-stat-val {
  font-family: var(--cs-font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cs-card-text);
  line-height: 1.1;
}

.float-stat-lbl {
  font-size: 0.7rem;
  color: var(--cs-text-muted);
  font-family: var(--cs-font-mono);
  letter-spacing: 0.03em;
}

/* Badge positions */
.stat-top-right {
  top: 8px;
  right: -12px;
}

.stat-bottom-left {
  bottom: 60px;
  left: -16px;
}

.stat-bottom-right {
  bottom: 8px;
  right: -12px;
}

/* ── Experience Badge ───────────────────────────────────── */
.about-experience-badge {
  position: absolute;
  top: 0;
  left: -10px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cs-cyber), var(--cs-purple));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 8px 30px var(--cs-cyber-glow), 0 0 60px rgba(124, 58, 237, 0.15);
  animation: badge-float 3s ease-in-out infinite;
}

@keyframes badge-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.exp-number {
  font-family: var(--cs-font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.exp-plus {
  font-size: 1rem;
}

.exp-text {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mvv-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mvv-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--cs-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius);
  padding: 18px;
  margin-bottom: 14px;
  transition: var(--cs-transition);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mvv-card:hover {
  border-color: var(--cs-border-hover);
  background: rgba(0, 212, 255, 0.04);
}

.mvv-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.mvv-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--cs-card-text);
  margin-bottom: 3px;
}

.mvv-text {
  font-size: 0.83rem;
  color: var(--cs-text-muted);
}

/* ── TIMELINE ──────────────────────────────────────────── */
.cs-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.cs-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--cs-cyber), var(--cs-purple));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
  padding-right: 52%;
  position: relative;
}

.timeline-item.right {
  flex-direction: row-reverse;
  padding-right: 0;
  padding-left: 52%;
}

.timeline-year {
  font-family: var(--cs-font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cs-cyber);
  white-space: nowrap;
  background: var(--cs-surface-2);
  border: 1px solid var(--cs-border-hover);
  border-radius: 50px;
  padding: 4px 14px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 4px;
}

.timeline-card {
  background: var(--cs-surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius);
  padding: 20px;
  flex: 1;
  transition: var(--cs-transition);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.timeline-card:hover {
  border-color: var(--cs-cyber);
  box-shadow: 0 6px 24px var(--cs-cyber-glow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.timeline-card h5 {
  font-weight: 700;
  color: var(--cs-card-text);
  margin-bottom: 8px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .cs-timeline::before {
    display: none;
  }

  .timeline-item,
  .timeline-item.right {
    flex-direction: column;
    padding: 0;
    margin-bottom: 20px;
  }
}

/* ── SERVICE CARDS (Glass) ─────────────────────────────── */
.service-card {
  background: var(--cs-surface-glass);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius-lg);
  padding: 32px 28px;
  height: 100%;
  transition: var(--cs-transition);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--service-color, var(--cs-cyber)), transparent);
  opacity: 0;
  transition: var(--cs-transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--cs-border-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  border: 1px solid currentColor;
  background: rgba(0, 212, 255, 0.06);
  transition: var(--cs-transition);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.05);
}

.service-title {
  font-family: var(--cs-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cs-card-text);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--cs-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  font-size: 0.82rem;
  color: var(--cs-text-muted);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--service-color, var(--cs-cyber));
  flex-shrink: 0;
}

/* ── PROJECT CARDS (Glass) ─────────────────────────────── */
.project-card {
  background: var(--cs-surface-glass);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius-lg);
  overflow: hidden;
  transition: var(--cs-transition);
  height: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--cs-purple);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 24px var(--cs-purple-glow);
}

.project-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease !important;
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 13, 22, 0.75) 0%, transparent 50%);
}

.project-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--cs-cyber);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  font-family: var(--cs-font-mono);
}

.project-body {
  padding: 24px;
}

.project-title {
  font-family: var(--cs-font-display);
  font-weight: 700;
  color: var(--cs-card-text);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--cs-text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.project-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--cs-text-muted);
  margin-bottom: 14px;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-tag {
  font-size: 0.72rem;
  font-family: var(--cs-font-mono);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--cs-cyber);
  padding: 3px 10px;
  border-radius: 50px;
}

/* Filter Buttons */
.filter-btn {
  background: var(--cs-surface);
  border: 1px solid var(--cs-border);
  color: var(--cs-text-muted);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.83rem;
  font-weight: 600;
  transition: var(--cs-transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--cs-cyber);
  color: var(--cs-cyber);
}

/* ── TEAM CARDS (Glass) ────────────────────────────────── */
.team-card {
  background: var(--cs-surface-glass);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius-lg);
  overflow: hidden;
  transition: var(--cs-transition);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--cs-pink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 20px var(--cs-pink-glow);
}

.team-photo-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease !important;
}

.team-card:hover .team-photo-wrap img {
  transform: scale(1.05);
}

.team-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 20, 40, 0.92) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
  opacity: 0;
  transition: opacity 0.3s ease !important;
}

.team-card:hover .team-photo-overlay {
  opacity: 1;
}

.team-socials {
  display: flex;
  gap: 10px;
}

.team-social-btn {
  width: 34px;
  height: 34px;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  color: var(--cs-cyber);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--cs-transition);
}

.team-social-btn:hover {
  background: var(--cs-cyber);
  color: #000;
}

.team-body {
  padding: 20px;
}

.team-name {
  font-family: var(--cs-font-display);
  font-weight: 700;
  color: var(--cs-card-text);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.83rem;
  color: var(--cs-cyber);
  font-weight: 600;
  margin-bottom: 4px;
}

.team-dept {
  font-size: 0.75rem;
  color: var(--cs-text-muted);
  font-family: var(--cs-font-mono);
}

/* ── TESTIMONIALS ──────────────────────────────────────── */
.testimonials-swiper {
  padding-bottom: 50px !important;
}

.testimonial-card {
  background: var(--cs-surface-glass);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius-lg);
  padding: 36px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: var(--cs-transition);
}

.testimonial-card:hover {
  border-color: var(--cs-amber);
  box-shadow: 0 12px 36px var(--cs-amber-glow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--cs-cyber);
  line-height: 1;
  margin-bottom: 20px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--cs-text);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-stars {
  margin-bottom: 16px;
}

.star {
  color: #f59e0b;
  font-size: 0.95rem;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cs-border-hover);
  transition: transform 0.3s ease !important;
}

.client-name {
  font-weight: 700;
  color: var(--cs-card-text);
  font-size: 0.95rem;
}

.client-title {
  font-size: 0.78rem;
  color: var(--cs-text-muted);
}

.swiper-pagination-bullet {
  background: var(--cs-text-muted) !important;
}

.swiper-pagination-bullet-active {
  background: var(--cs-cyber) !important;
}

/* ── CTA BANNER (Glass + Aurora) ────────────────────────── */
.cs-cta-section {
  background: var(--cs-bg-alt);
  position: relative;
  overflow: hidden;
}

.cs-cta-card {
  position: relative;
  overflow: hidden;
  background: var(--cs-surface-glass);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid transparent;
  border-radius: var(--cs-radius-lg);
  padding: 60px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 50px rgba(0, 212, 255, 0.08);
}

/* Animated gradient border on CTA */
.cs-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--cs-radius-lg);
  padding: 1px;
  background: var(--cs-gradient-aurora);
  background-size: 300% 300%;
  animation: gradient-shift 6s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15), rgba(139, 92, 246, 0.08), transparent 65%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: cta-glow-drift 8s ease-in-out infinite alternate;
}

@keyframes cta-glow-drift {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
  100% { transform: translate(-30%, -30%) scale(1.3); opacity: 1; }
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-info-card {
  padding: 40px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ci-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.ci-label {
  font-size: 0.75rem;
  color: var(--cs-text-muted);
  margin-bottom: 2px;
  font-family: var(--cs-font-mono);
}

.ci-val {
  font-size: 0.9rem;
}

.map-container {
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius);
  overflow: hidden;
}

.cs-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cs-text-muted);
  font-family: var(--cs-font-mono);
  letter-spacing: 0.05em;
}

.cs-input {
  background: var(--cs-surface-glass) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid var(--cs-border) !important;
  border-radius: var(--cs-radius) !important;
  color: var(--cs-text) !important;
  font-size: 0.9rem !important;
  padding: 12px 16px !important;
  transition: var(--cs-transition) !important;
}

.cs-input:focus {
  border-color: var(--cs-cyber) !important;
  box-shadow: 0 0 0 3px var(--cs-cyber-glow), 0 0 14px rgba(0, 212, 255, 0.1) !important;
  outline: none !important;
  background: var(--cs-surface-2) !important;
}

.cs-input option {
  background: var(--cs-surface-2);
}

/* ── Contact Form Card (Glass) ─────────────────────────── */
.contact-form-card {
  background: var(--cs-surface-glass);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ── Contact Info Block ────────────────────────────────── */
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: var(--cs-surface-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--cs-border);
  flex-shrink: 0;
  transition: var(--cs-transition);
}

.contact-icon:hover {
  border-color: currentColor;
  box-shadow: 0 4px 16px currentColor;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.cs-footer {
  background: var(--cs-bg);
  border-top: 1px solid var(--cs-border);
}

.footer-heading {
  font-family: var(--cs-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--cs-cyber);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--cs-text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--cs-transition);
}

.footer-links a:hover {
  color: var(--cs-cyber);
  padding-left: 6px;
}

.social-link {
  color: var(--cs-text-muted);
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--cs-transition);
}

.social-link:hover {
  color: var(--cs-cyber);
}

.cs-hr {
  border-color: var(--cs-border);
}

.footer-status-card {
  background: var(--cs-surface-2);
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-family: var(--cs-font-mono);
  color: var(--cs-text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.online {
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88;
  animation: blink 2s infinite;
}

.status-dot.warning {
  background: #ffa500;
  box-shadow: 0 0 8px #ffa500;
  animation: blink 1s infinite;
}

/* ── BACK TO TOP ─────────────────────────────────────────── */
.btn-back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--cs-cyber), var(--cs-purple));
  border: none;
  border-radius: 12px;
  color: #000;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--cs-transition);
  box-shadow: 0 4px 20px var(--cs-cyber-glow);
}

.btn-back-top.visible {
  opacity: 1;
  pointer-events: all;
}

.btn-back-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

/* ── UTILS ──────────────────────────────────────────────── */
.spinner-border.text-cyber {
  color: var(--cs-cyber) !important;
  border-right-color: transparent;
}

/* Lazy image fade */
img.lazy {
  opacity: 0;
}

img.lazy.loaded {
  opacity: 1;
}

/* ── LIGHT THEME SPECIFIC OVERRIDES ────────────────────── */
/* Navbar: use dark text colour on light bg */
[data-theme="light"] .cs-nav-link {
  color: var(--cs-text-muted) !important;
}

[data-theme="light"] .cs-brand {
  color: var(--cs-text) !important;
}

/* Hero background override */
[data-theme="light"] .cs-hero {
  background: linear-gradient(160deg, #e8f2fc 0%, #f0f5fa 60%, #eaf1f8 100%);
}

[data-theme="light"] .hero-grid-overlay {
  background-image:
    linear-gradient(rgba(0, 118, 163, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 118, 163, 0.04) 1px, transparent 1px);
}

/* Preloader */
[data-theme="light"] #preloader {
  background: var(--cs-bg);
}

[data-theme="light"] .preloader-bar {
  background: rgba(0, 0, 0, 0.08);
}

/* CTA section */
[data-theme="light"] .cs-cta-card {
  box-shadow: 0 8px 40px rgba(0, 90, 140, 0.1);
}

/* Ensure map border shows */
[data-theme="light"] .map-container {
  border-color: var(--cs-border);
}

/* Footer text readable on light */
[data-theme="light"] .footer-links a {
  color: var(--cs-text-muted);
}

[data-theme="light"] .cs-footer {
  border-top-color: var(--cs-border);
}

/* Status dots – keep green/orange on light */
[data-theme="light"] .status-dot.online {
  background: #059669;
  box-shadow: 0 0 6px #059669;
}

[data-theme="light"] .status-dot.warning {
  background: #d97706;
  box-shadow: 0 0 6px #d97706;
}

/* Form inputs */
[data-theme="light"] .cs-input option {
  background: #ffffff;
  color: #1a2840;
}

/* Back to top */
[data-theme="light"] .btn-back-top {
  color: #fff;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .cs-cta-card {
    padding: 32px;
  }

  .contact-info-card {
    padding: 24px;
  }

  /* Navbar: stack theme toggle + buttons nicely on collapse */
  .cs-navbar .collapse .d-flex {
    flex-wrap: wrap;
    gap: 12px !important;
    padding: 12px 0;
  }

  /* Trust bar: smaller gap on tablet */
  .trust-logos {
    gap: 24px !important;
  }

  /* ── Hamburger fix: keep it aligned with the same right margin as the brand ── */
  .cs-navbar .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .cs-navbar .navbar-toggler {
    margin-right: 0;
    padding-right: 0.25rem;
  }

  /* About image showcase */
  .about-image-showcase {
    padding: 10px;
  }

  .about-experience-badge {
    width: 76px;
    height: 76px;
  }

  .exp-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .py-6 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .hero-stats {
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero-stat-divider {
    display: none;
  }

  /* CTA buttons stack vertically */
  .cs-cta-card .col-lg-5 {
    text-align: center !important;
  }

  .cs-cta-card .btn {
    display: block;
    width: 100%;
    margin: 0 0 12px 0 !important;
  }

  /* Testimonial card padding */
  .testimonial-card {
    padding: 24px 20px;
  }

  /* Contact form card */
  .cs-card.p-lg-5 {
    padding: 24px !important;
  }

  /* Footer */
  .cs-footer .row {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links {
    align-items: center;
  }

  /* About image showcase */
  .about-image-showcase {
    padding: 5px;
    margin-bottom: 20px;
  }

  .stat-top-right {
    top: -5px;
    right: -5px;
  }

  .stat-bottom-left {
    bottom: 50px;
    left: -5px;
  }

  .stat-bottom-right {
    bottom: -5px;
    right: -5px;
  }

  .about-experience-badge {
    width: 70px;
    height: 70px;
    left: -5px;
    top: -5px;
  }

  .exp-number {
    font-size: 1.4rem;
  }

  .exp-text {
    font-size: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 5px 14px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .about-float-stat {
    padding: 8px 12px;
    gap: 8px;
  }

  .float-stat-icon {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }

  .float-stat-val {
    font-size: 1rem;
  }

  .float-stat-lbl {
    font-size: 0.6rem;
  }

  .about-experience-badge {
    width: 64px;
    height: 64px;
  }

  .exp-number {
    font-size: 1.2rem;
  }

  .cs-cta-card {
    padding: 24px 16px;
  }

  .testimonial-card {
    padding: 20px 16px;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  .trust-logos {
    gap: 16px !important;
  }

  .trust-logo {
    font-size: 0.85rem;
  }
}

/* ── ADVANCED AESTHETICS & INTERACTIVE ANIMATIONS ───────── */
#particles-canvas, #matrix-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
  cursor: crosshair;
}

.cyber-cursor {
  display: inline-block;
  color: var(--cs-cyber);
  font-weight: 300;
  animation: cyber-blink 0.8s infinite ease-in-out;
  margin-left: 3px;
  vertical-align: baseline;
}

@keyframes cyber-blink {
  0%, 100% { opacity: 1; text-shadow: 0 0 10px var(--cs-cyber); }
  50% { opacity: 0; }
}

.hero-visual {
  perspective: 1000px;
}

.cyber-shield-visual {
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.shield-ambient-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.18) 0%, rgba(124, 58, 237, 0.1) 45%, transparent 70%);
  filter: blur(25px);
  z-index: 0;
  animation: ambient-pulse 4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ambient-pulse {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 1; filter: blur(35px); }
}

/* Live Threat Telemetry Ticker */
.cs-threat-ticker-bar {
  background: rgba(6, 13, 22, 0.88);
  backdrop-filter: blur(12px);
  border-color: var(--cs-border) !important;
  z-index: 10;
  position: relative;
}

.threat-radar-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 0 rgba(0, 255, 136, 0.4);
  animation: radar-pulse 1.8s infinite;
  display: inline-block;
}

@keyframes radar-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

.threat-ticker-container {
  height: 24px;
  position: relative;
  overflow: hidden;
}

.threat-ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

/* Floating Badges Animation on About */
.float-anim-1 { animation: floatLevitate 5s ease-in-out infinite; }
.float-anim-2 { animation: floatLevitate 6s ease-in-out infinite 1.2s; }
.float-anim-3 { animation: floatLevitate 5.5s ease-in-out infinite 0.6s; }

@keyframes floatLevitate {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-9px) scale(1.02); }
}

/* Card Glow Spotlight & Hover Elevation */
.service-card, .project-card, .team-card, .mvv-card, .timeline-card {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.mvv-card:hover {
  transform: translateY(-5px) !important;
  border-color: var(--cs-cyber) !important;
  box-shadow: 0 10px 24px var(--cs-cyber-glow) !important;
}

/* Back to Top Floating Button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cs-cyber), var(--cs-purple));
  color: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px var(--cs-cyber-glow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.6);
  color: #000;
}

/* ── AURORA SECTION DIVIDERS ───────────────────────────── */
.aurora-divider {
  height: 2px;
  border: none;
  background: var(--cs-gradient-aurora);
  background-size: 300% 100%;
  animation: gradient-shift 6s ease infinite;
  opacity: 0.4;
  margin: 0;
}

/* ── FLOATING ORB BACKGROUND ELEMENTS ──────────────────── */
.section-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}

.section-orb.orb-cyan {
  background: var(--cs-cyber);
  width: 300px;
  height: 300px;
}

.section-orb.orb-purple {
  background: var(--cs-purple);
  width: 250px;
  height: 250px;
}

.section-orb.orb-pink {
  background: var(--cs-pink);
  width: 200px;
  height: 200px;
}

.section-orb.orb-amber {
  background: var(--cs-amber);
  width: 180px;
  height: 180px;
}

/* ── GLASS UTILITY CLASSES ─────────────────────────────── */
.glass-card {
  background: var(--cs-surface-glass) !important;
  backdrop-filter: blur(18px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.4) !important;
  border: 1px solid var(--cs-border) !important;
  border-radius: var(--cs-radius-lg) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.glass-card:hover {
  border-color: var(--cs-border-hover) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 32px rgba(0, 0, 0, 0.15) !important;
}

/* ── ANIMATED GRADIENT TEXT UTILITY ─────────────────────── */
.text-gradient-hot {
  background: var(--cs-gradient-hot);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

.text-gradient-neon {
  background: var(--cs-gradient-neon);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 5s ease infinite;
}

/* ── ENHANCED FILTER BUTTONS ───────────────────────────── */
.filter-btn {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.filter-btn.active {
  background: var(--cs-gradient-primary) !important;
  background-size: 180% 180% !important;
  color: #000 !important;
  border-color: transparent !important;
  animation: btn-gradient-shift 4s ease infinite;
  box-shadow: 0 4px 16px var(--cs-cyber-glow);
}

/* ── SECTION LABEL ANIMATED UNDERLINE ──────────────────── */
.section-label {
  position: relative;
  display: inline-block;
}

.section-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--cs-gradient-primary);
  margin-top: 6px;
  border-radius: 2px;
  animation: label-expand 3s ease-in-out infinite alternate;
}

@keyframes label-expand {
  0% { width: 30px; opacity: 0.5; }
  100% { width: 60px; opacity: 1; }
}

/* ── COLORFUL SERVICE ICON WRAPS ───────────────────────── */
.service-icon-wrap {
  background: rgba(0, 212, 255, 0.06);
  box-shadow: none;
  transition: var(--cs-transition);
}

.service-card:hover .service-icon-wrap {
  background: rgba(0, 212, 255, 0.1);
  transform: scale(1.05);
}