/* ============================================================
   Figuraid Enterprise Telecom â€” Design System v2.0 â€” REVAMP
   Premium Dark-First Design with Glassmorphism & Gradients
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* â”€â”€ DESIGN TOKENS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root {
  /* Brand Palette */
  --brand-black:      #0f1115;
  --brand-ash-dark:   #4b5563;
  --brand-ash:        #9ca3af;
  --brand-ash-light:  #f3f4f6;
  --brand-white:      #ffffff;
  --brand-blue:       #6366f1;

  /* Semantic Layer â€” Light */
  --color-bg:             #ffffff;
  --color-surface:        #f8f9fa;
  --color-surface-2:      #e9ecef;
  --color-text:           #0f1115;
  --color-text-muted:     #4b5563;
  --color-text-subtle:    #6c757d;
  --color-border:         rgba(15,17,21,0.12);
  --color-navbar-bg:      rgba(255,255,255,0.95);
  --color-card-hover:     rgba(15,17,21,0.03);
  --color-primary:        #6366f1;
  --color-primary-light:  #818cf8;
  --color-accent:         #8b5cf6;

  /* Typography */
  --font-display: 'Roboto', system-ui, sans-serif;
  --font-body:    'Roboto', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Shadows */
  --shadow-xs:   0 1px 3px rgba(15,17,21,0.08), 0 1px 2px rgba(15,17,21,0.06);
  --shadow-sm:   0 4px 12px rgba(15,17,21,0.10);
  --shadow-md:   0 8px 32px rgba(15,17,21,0.14);
  --shadow-lg:   0 20px 64px rgba(15,17,21,0.20);
  --shadow-glow: 0 0 40px rgba(13,110,253,0.30);

  /* Transitions */
  --transition:       all 0.28s cubic-bezier(0.4,0,0.2,1);
  --transition-fast:  all 0.15s cubic-bezier(0.4,0,0.2,1);
  --transition-slow:  all 0.50s cubic-bezier(0.4,0,0.2,1);

  /* Animation Easing */
  --ease-out-expo:    cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out-sine: cubic-bezier(0.45, 0.05, 0.55, 0.95);

  /* Layout */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-pill: 999px;

  /* Bootstrap Overrides */
  --bs-primary:       #6366f1;
  --bs-primary-rgb:   99, 102, 241;
  --bs-font-sans-serif: var(--font-body);
}

/* â”€â”€ DARK MODE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
[data-theme="dark"] {
  --color-bg:           #08090b;
  --color-surface:      #111318;
  --color-surface-2:    #1a1d24;
  --color-text:         #f3f4f6;
  --color-text-muted:   #9ca3af;
  --color-text-subtle:  #6b7280;
  --color-border:       rgba(243,244,246,0.12);
  --color-navbar-bg:    rgba(8,9,11,0.95);
  --color-card-hover:   rgba(243,244,246,0.04);
  --color-primary:      #818cf8;
  --color-primary-light:#a5b4fc;
  --color-accent:       #c4b5fd;
}

/* â”€â”€ DARK MODE OVERRIDES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
[data-theme="dark"] .text-dark { color: var(--color-text) !important; }
[data-theme="dark"] .text-muted { color: var(--color-text-muted) !important; }
[data-theme="dark"] .bg-light { background-color: var(--color-surface) !important; }
[data-theme="dark"] .bg-white { background-color: var(--color-bg) !important; }

[data-theme="dark"] .mega-menu .dropdown-menu,
[data-theme="dark"] .dropdown-menu {
  background-color: var(--color-surface) !important;
  border-color: var(--color-border) !important;
}

[data-theme="dark"] .mega-menu-item .fw-bold {
  color: var(--color-text) !important;
}

[data-theme="dark"] .mega-menu-item .small.text-muted {
  color: var(--color-text-subtle) !important;
}

[data-theme="dark"] .mega-menu h6 {
  color: var(--color-primary-light) !important;
  opacity: 0.9;
}

[data-theme="dark"] .dropdown-item {
  color: var(--color-text) !important;
}

[data-theme="dark"] .dropdown-item:hover {
  background-color: var(--color-card-hover) !important;
  color: var(--color-primary-light) !important;
}

/* Navbar Toggler */
[data-theme="dark"] .navbar-toggler {
  color: var(--color-text) !important;
}
[data-theme="dark"] .navbar-toggler-icon {
  filter: invert(1) brightness(2);
}

/* Improved Contrast for Navbar */
[data-theme="dark"] .figuraid-navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Dark Mode Close Button Fix (Global) */
[data-theme="dark"] .offcanvas .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* Dark Mode Scrollbar */
[data-theme="dark"] ::-webkit-scrollbar {
  width: 10px;
}
[data-theme="dark"] ::-webkit-scrollbar-track {
  background: var(--color-bg);
}
[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: var(--color-surface-2);
  border-radius: 5px;
}
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: var(--brand-ash-dark);
}

/* Base Styles Update */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.3s ease;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img { max-width: 100%; display: block; }

section { padding: 6rem 0; }

/* â”€â”€ UTILITY CLASSES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.text-primary-brand  { color: var(--color-primary)  !important; }
.text-accent         { color: var(--color-accent)   !important; }
.text-muted-brand    { color: var(--color-text-muted)!important; }
.font-display        { font-family: var(--font-display); }
.ls-wide             { letter-spacing: 0.12em; }
.ls-wider            { letter-spacing: 0.20em; }
.gradient-text {
  background: linear-gradient(135deg, var(--brand-black), var(--brand-ash-dark) 60%, var(--brand-ash));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="dark"] .gradient-text {
  background: linear-gradient(135deg, var(--brand-white), var(--brand-ash-light) 60%, var(--brand-ash));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Forced Light Gradient for Dark Backgrounds (Heroes, etc.) */
.text-white { color: #ffffff !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.5) !important; }

.text-gradient-light {
  background: linear-gradient(135deg, #ffffff, #f3f4f6 60%, #9ca3af) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Aggressive white text override for dark banners */
.force-white-text, 
.force-white-text h1, 
.force-white-text h2, 
.force-white-text h3, 
.force-white-text h4, 
.force-white-text h5, 
.force-white-text h6,
.force-white-text p,
.force-white-text span:not(.text-gradient-light):not(.gradient-text) {
  color: #ffffff !important;
}

.force-white-text .text-white-50 {
  color: rgba(255, 255, 255, 0.6) !important;
}

.text-gradient-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  background: rgba(13,110,253,0.08); /* blue tint */
  border: 1px solid rgba(13,110,253,0.15);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}
[data-theme="dark"] .section-tag {
  background: rgba(59,130,246,0.10);
  border-color: rgba(59,130,246,0.18);
  color: var(--brand-white);
}

/* â”€â”€ BUTTONS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.btn-primary {
  background: #6366f1;
  border: none;
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,0.30);
}
.btn-primary:hover, .btn-primary:focus {
  background: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99,102,241,0.40);
  color: #fff;
}
[data-theme="dark"] .btn-primary {
  background: #818cf8;
  color: #fff;
  box-shadow: 0 4px 20px rgba(129,140,248,0.30);
}
[data-theme="dark"] .btn-primary:hover {
  background: #6366f1;
  color: #fff;
}

.btn-outline-primary {
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(15,17,21,0.08);
  border: 1px solid rgba(15,17,21,0.15);
  color: var(--color-primary);
}
.btn-ghost:hover {
  background: rgba(15,17,21,0.12);
  color: var(--color-primary);
}
[data-theme="dark"] .btn-ghost {
  background: rgba(243,244,246,0.08);
  border-color: rgba(243,244,246,0.15);
  color: var(--brand-white);
}

.btn-glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
}
.btn-glass:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
  transform: translateY(-2px);
}

/* â”€â”€ NAVBAR â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.figuraid-navbar {
  background-color: var(--color-navbar-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.figuraid-navbar.navbar-scrolled {
  padding: 0.6rem 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand .brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--brand-black), var(--brand-ash-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="dark"] .navbar-brand .brand-text {
  background: linear-gradient(135deg, var(--brand-white), var(--brand-ash));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text) !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--color-primary) !important;
  background-color: var(--color-card-hover);
}

/* Mega Menu */
.mega-menu { position: static !important; }

.mega-menu .dropdown-menu {
  width: 100vw;
  left: 0; right: 0;
  border: none;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 2rem 0;
  margin-top: 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  display: block !important;
  visibility: hidden;
  pointer-events: none;
  border-radius: 0;
}

.mega-menu:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}
.mega-menu-item:hover {
  background: var(--color-card-hover);
}

.mega-menu-icon {
  font-size: 1.4rem;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
  width: 2.2rem;
  height: 2.2rem;
  background: rgba(13,110,253,0.08); /* blue tint */
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
[data-theme="dark"] .mega-menu-icon {
  color: var(--color-primary-light);
  background: rgba(59,130,246,0.10);
}

.dropdown-menu {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  color: var(--color-text);
  font-size: 0.88rem;
  padding: 0.65rem 1.25rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: var(--color-card-hover);
  color: var(--color-primary);
  padding-left: 1.5rem;
}

/* Theme Toggle */
#theme-toggle {
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-fast);
}
#theme-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* â”€â”€ HERO SECTION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero-section {
  height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* Always-dark hero â€” used on index and all sub-pages */
.hero-always-dark,
.hero-section {
  background: radial-gradient(ellipse 70% 60% at 75% 30%, rgba(99,102,241,0.20) 0%, transparent 60%),
              radial-gradient(ellipse 50% 40% at 10% 80%, rgba(99,102,241,0.12) 0%, transparent 55%),
              #08090b !important;
}

/* Override: theme has NO effect on the hero background */
[data-theme="light"] .hero-section,
[data-theme="dark"]  .hero-section,
[data-theme="light"] .hero-always-dark,
[data-theme="dark"]  .hero-always-dark {
  background: radial-gradient(ellipse 70% 60% at 75% 30%, rgba(99,102,241,0.20) 0%, transparent 60%),
              radial-gradient(ellipse 50% 40% at 10% 80%, rgba(99,102,241,0.12) 0%, transparent 55%),
              #08090b !important;
}

/* Force text to white inside hero, always */
.hero-section h1,
.hero-section h2,
.hero-section p,
.hero-section .hero-subtitle,
.hero-always-dark h1,
.hero-always-dark h2,
.hero-always-dark p {
  color: #f3f4f6;
}
.hero-section .hero-subtitle { color: #9ca3af; }

/* Hero image still uses full-bleed overlays that are always dark */
.voice-hero-bg::after,
.net-hero-bg::after,
.ana-hero-bg::after,
.sc-hero-bg::after,
.msg-hero-bg::after {
  background: linear-gradient(105deg, rgba(5,7,15,0.93) 0%, rgba(5,7,15,0.80) 48%, rgba(5,7,15,0.18) 100%) !important;
}

/* Animated grid pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,17,21,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,17,21,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  opacity: 0.8;
}
[data-theme="dark"] .hero-grid {
  background-image:
    linear-gradient(rgba(243,244,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243,244,246,0.04) 1px, transparent 1px);
}

.hero-section .container { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.30);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 1.75rem;
}
/* Always white/indigo in dark hero â€” no theme branching */
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: #a5b4fc;
  border-radius: 50%;
  animation: ping 2s infinite;
}

@keyframes ping {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 540px;
  line-height: 1.8;
}

.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* --- HERO BUTTON GROUP (Standardized for Side-by-Side Mobile) --- */
.hero-btns-group {
  display: flex !important;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (max-width: 576px) {
  .hero-btns-group {
    flex-direction: column !important;
    gap: 1rem !important;
    width: 100%;
  }
  .hero-btns-group .btn {
    width: 100% !important;
    flex: none !important;
    padding: 1rem 1.5rem !important;
    font-size: 1rem !important;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
  }
}

/* Hero Stats */
.hero-stats {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* Hero visual card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-dashboard-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
  position: relative;
  overflow: hidden;
}
.hero-dashboard-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(156,163,175,0.15),transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
[data-theme="dark"] .hero-dashboard-card {
  background: rgba(17,19,24,0.95);
  border-color: rgba(243,244,246,0.08);
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.dashboard-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.d-dot-red   { background: #ff5f57; }
.d-dot-yellow{ background: #febc2e; }
.d-dot-green { background: #28c840; }

.dashboard-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-left: auto;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.metric-card {
  flex: 1;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
}
[data-theme="dark"] .metric-card {
  background: rgba(255,255,255,0.04);
}
.metric-label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text);
}
.metric-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
}
.badge-up   { background: rgba(34,197,94,0.12); color: #16a34a; }
.badge-down { background: rgba(239,68,68,0.12);  color: #dc2626; }

/* Mini bar chart */
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
  margin-top: 0.5rem;
}
.mini-bar {
  flex: 1;
  background: linear-gradient(to top, var(--color-text-muted), var(--brand-ash));
  border-radius: 3px 3px 0 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.mini-bar.active { opacity: 1; background: var(--color-primary); }
[data-theme="dark"] .mini-bar {
  background: linear-gradient(to top, var(--brand-ash-dark), var(--brand-ash));
}


/* ── TRUST BAR ────────────────────────────────────────────────────────────── */
.trust-bar {
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  overflow: hidden;
}
.trust-bar-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-subtle);
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 3rem;
  opacity: 0.55;
  filter: grayscale(1);
  flex-wrap: wrap;
}
.trust-logos span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ── CRAZY STUNNING CARDS (LIGHT PURPLE THEME) ────────────── */
.service-card,
.card-figuraid,
.solution-card,
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid rgba(99, 102, 241, 0.15); /* Light purple border base */
  border-radius: 2rem;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.05); /* Subtle purple shadow */
  z-index: 1;
}

/* Watermark Background Element */
.service-card::before,
.card-figuraid::before,
.solution-card::before,
.testimonial-card::before {
  content: '';
  position: absolute;
  right: -20%;
  bottom: -20%;
  width: 300px;
  height: 300px;
  background-image: radial-gradient(circle, rgba(99, 102, 241, 1) 10%, transparent 10.5%),
                    radial-gradient(circle, transparent 20%, rgba(99, 102, 241, 1) 20.5%, rgba(99, 102, 241, 1) 21%, transparent 21.5%),
                    radial-gradient(circle, transparent 30%, rgba(99, 102, 241, 1) 30.5%, rgba(99, 102, 241, 1) 31%, transparent 31.5%),
                    radial-gradient(circle, transparent 40%, rgba(99, 102, 241, 1) 40.5%, rgba(99, 102, 241, 1) 41%, transparent 41.5%);
  background-position: center;
  background-size: 100% 100%;
  opacity: 0.05; /* Low opacity watermark */
  z-index: -1;
  border-radius: 50%;
  transition: transform 0.8s ease-out, opacity 0.4s ease;
  pointer-events: none;
}

.service-card, .card-figuraid, .testimonial-card {
  padding: 2.5rem;
}

/* Hover States: Lift, Glow, and Watermark Spin */
.service-card:hover,
.card-figuraid:hover,
.solution-card:hover,
.testimonial-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px rgba(99, 102, 241, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.3) inset;
  border-color: rgba(99, 102, 241, 0.4);
}

.service-card:hover::before,
.card-figuraid:hover::before,
.solution-card:hover::before,
.testimonial-card:hover::before {
  transform: rotate(45deg) scale(1.1);
  opacity: 0.08;
}

/* Dark Mode Enhancements */
[data-theme="dark"] .service-card,
[data-theme="dark"] .card-figuraid,
[data-theme="dark"] .solution-card,
[data-theme="dark"] .testimonial-card {
  background: linear-gradient(145deg, #111827 0%, #0f121d 100%);
  border-color: rgba(192, 132, 252, 0.1); /* Darker purple base for dark mode */
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.03);
}

[data-theme="dark"] .service-card::before,
[data-theme="dark"] .card-figuraid::before,
[data-theme="dark"] .solution-card::before,
[data-theme="dark"] .testimonial-card::before {
  background-image: radial-gradient(circle, rgba(216, 180, 254, 1) 10%, transparent 10.5%),
                    radial-gradient(circle, transparent 20%, rgba(216, 180, 254, 1) 20.5%, rgba(216, 180, 254, 1) 21%, transparent 21.5%),
                    radial-gradient(circle, transparent 30%, rgba(216, 180, 254, 1) 30.5%, rgba(216, 180, 254, 1) 31%, transparent 31.5%),
                    radial-gradient(circle, transparent 40%, rgba(216, 180, 254, 1) 40.5%, rgba(216, 180, 254, 1) 41%, transparent 41.5%);
  opacity: 0.06;
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .card-figuraid:hover,
[data-theme="dark"] .solution-card:hover,
[data-theme="dark"] .testimonial-card:hover {
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Card Header Layout */
.card-header-fig {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  width: 100%;
}

.card-header-fig h3,
.card-header-fig h5 {
  margin: 0;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.05em;
  font-size: 1.15rem;
  color: var(--color-text);
  line-height: 1.4;
  padding-right: 1rem;
}

/* Light Purple Neon Icon Setup */
.card-icon-fig {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: rgba(129, 140, 248, 0.08); /* Very faint light purple */
  border: 1px solid rgba(129, 140, 248, 0.3); /* Distinct purple stroke */
  border-radius: 12px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.service-card:hover .card-icon-fig,
.card-figuraid:hover .card-icon-fig {
  transform: scale(1.1) rotate(5deg);
  background: rgba(165, 180, 252, 0.15); /* Lights up on hover */
  border-color: rgba(165, 180, 252, 0.6);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.card-icon-fig i {
  /* Radiant light purple to bright fuchsia gradient */
  background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.5)); /* Adds a little base glow to the text itself */
}

/* Specific text color for icons in dark mode so they pop more */
[data-theme="dark"] .card-icon-fig i {
  background: linear-gradient(135deg, #c7d2fe 0%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(165, 180, 252, 0.6));
}

.card-body-fig {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body-fig p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: auto;
  font-size: 0.95rem;
}

/* Light Purple Animated Bottom Line */
.card-bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #a5b4fc 0%, #6366f1 50%, #818cf8 100%);
  background-size: 200% 100%;
  animation: bgPan 4s linear infinite;
  opacity: 0.7;
  transition: height 0.3s ease, opacity 0.3s ease;
}

.service-card:hover .card-bottom-line,
.card-figuraid:hover .card-bottom-line {
  height: 6px;
  opacity: 1;
  box-shadow: 0 -4px 15px rgba(129, 140, 248, 0.5); /* Casts a glow upwards onto the card body */
}

@keyframes bgPan {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #6366f1; /* Matches the light purple theme */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  margin-top: 2rem;
  padding: 0.5rem 0;
}
.service-link i {
  transition: transform 0.3s ease;
}
.service-link:hover { 
  gap: 0.6rem; 
  color: #818cf8; 
  text-shadow: 0 0 10px rgba(129, 140, 248, 0.4);
}
.service-link:hover i {
  transform: translateX(4px);
}

/* --- Light Mode Watermark Fixes --- */
[data-theme="light"] .dashed-path { stroke: #000; opacity: 0.15; }
[data-theme="light"] .hero-dots { background-image: radial-gradient(#000 1.5px, transparent 1.5px); opacity: 0.1; }
[data-theme="light"] .decor-blob { background-color: #000; opacity: 0.04; }
[data-theme="light"] .blob-circle-outline { background: transparent; border-color: #000; opacity: 0.1; }
[data-theme="light"] .blob-large-arc { background: transparent; border-color: #000; opacity: 0.04; }

/* Featureâ€”tab section */
.feat-tab-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.feat-tab-btn {
  all: unset;
  cursor: pointer;
  display: block;
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition-fast);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  position: relative;
}
.feat-tab-btn:hover {
  background: var(--color-card-hover);
  color: var(--color-text);
}
.feat-tab-btn.active {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text);
  box-shadow: var(--shadow-xs);
}
.feat-tab-btn.active::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3px;
  background: linear-gradient(to bottom, var(--brand-ash-dark), var(--color-text-muted));
  border-radius: 0 3px 3px 0;
}

.feat-tab-pane { display: none; }
.feat-tab-pane.active { display: block; }

/* â”€â”€ STATS STRIP â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.stats-strip {
  background: linear-gradient(135deg, var(--brand-black) 0%, var(--brand-ash-dark) 100%);
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  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='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.4rem;
}

/* â”€â”€ WHO WE ARE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.feature-list-item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-bottom: 1.25rem;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.05), 
    0 2px 4px -1px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

[data-theme="dark"] .feature-list-item {
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.7) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.3), 
    0 10px 10px -5px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

/* Luxury Light Sweep */
.feature-list-item::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -150%;
  width: 100%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: rotate(45deg);
  transition: 0.8s;
  pointer-events: none;
}

[data-theme="light"] .feature-list-item::after {
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
}

.feature-list-item:hover::after {
  left: 150%;
}

.feature-list-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--color-primary);
  box-shadow: 
    0 30px 40px -10px rgba(0, 0, 0, 0.15), 
    0 15px 15px -10px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .feature-list-item:hover {
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 1) 100%);
  box-shadow: 
    0 40px 60px -15px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(59, 130, 246, 0.1);
}

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: #ffffff !important;
  flex-shrink: 0;
  box-shadow: 
    0 8px 16px rgba(37, 99, 235, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-list-item:hover .feature-icon {
  transform: rotate(-10deg) scale(1.15);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.5);
}

/* â”€â”€ TESTIMONIALS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.testimonial-card {
  position: relative;
}
.testimonial-card::after {
  content: '"';
  position: absolute;
  top: -10px; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 900;
  color: var(--color-primary);
  opacity: 0.06;
  line-height: 1;
}
.testimonial-card {
  box-shadow: var(--shadow-md);
}
.stars { color: #F59E0B; font-size: 0.9rem; display: flex; gap: 2px; }
.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin: 1rem 0 1.5rem;
}
.testimonial-author-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-author-role {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-text-muted), var(--brand-ash));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}

/* â”€â”€ SOLUTIONS CARDS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.solution-card:hover { box-shadow: var(--shadow-md); }
.solution-card-img {
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  width: 100%;
}
.solution-card-body { padding: 1.5rem; }
.solution-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
}
[data-theme="dark"] .solution-card-tag {
  color: var(--brand-white);
}

/* â”€â”€ CTA BANNER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cta-banner {
  background: linear-gradient(135deg, #050506 0%, #111318 50%, #1f232b 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(156,163,175,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, var(--brand-black) 0%, var(--brand-ash-dark) 100%);
}

/* â”€â”€ FOOTER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.figuraid-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
}
[data-theme="dark"] .figuraid-footer {
  background: #0D0A0E;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  transition: var(--transition-fast);
}
.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.social-links a {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted);
  font-size: 1rem;
  transition: var(--transition-fast);
}
.social-links a:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}
[data-theme="dark"] .social-links a:hover {
  background: var(--brand-ash);
  border-color: var(--brand-ash);
  color: #0f1115;
}

/* â”€â”€ SLEEK CARDS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* Combined into main card section above */

/* â”€â”€ SECTION ANIMATIONS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

.animate-slide-left  { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-slide-right { opacity: 0; transform: translateX(30px);  transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-slide-left.visible,
.animate-slide-right.visible { opacity: 1; transform: translateX(0); }

/* â”€â”€ SECTION LABEL (LEGACY) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  display: block;
}

/* â”€â”€ SERVICE TABS (legacy index support) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.service-tabs .nav-pills .nav-link {
  background: transparent; border: 1px solid transparent;
  color: var(--color-text-muted) !important;
  text-align: left; margin-bottom: 0.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display); font-weight: 600;
}
.service-tabs .nav-pills .nav-link.active {
  background: var(--color-primary) !important;
  color: #fff !important;
}

/* â”€â”€ STATS BANNER (LEGACY) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.stats-banner {
  background: linear-gradient(135deg, var(--brand-black), var(--brand-ash-dark));
  color: #fff;
}

/* â”€â”€ PREMIUM PAGE HERO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero-premium {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--brand-black), #1a1e26);
  color: #fff;
  overflow: hidden;
}

.hero-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(13, 110, 253, 0.12), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(156, 163, 175, 0.05), transparent 40%);
  z-index: 0;
}

.hero-premium .container {
  position: relative;
  z-index: 1;
}

.hero-premium .badge {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-primary-light);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.75rem;
  margin-bottom: 2rem;
  display: inline-block;
}

.hero-premium h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-premium .lead {
  font-size: 1.2rem;
  max-width: 700px;
  opacity: 0.85;
}

/* â”€â”€ OFFCANVAS MOBILE NAV â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.offcanvas {
  background: var(--color-surface);
  color: var(--color-text);
}
.offcanvas-header { border-bottom: 1px solid var(--color-border); }
.accordion-button {
  font-family: var(--font-display);
  font-weight: 700;
  background: transparent !important;
  color: var(--color-text) !important;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) { color: var(--color-primary) !important; }
.accordion-item { border-color: var(--color-border); }

/* â”€â”€ RESPONSIVE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 991px) {
  .hero-section { padding-top: 100px; text-align: center; }
  .hero-subtitle { max-width: 100%; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 3rem; }
  .float-card-1 { display: none; }
  .float-card-2 { display: none; }
  .mega-menu .dropdown-menu { display: none !important; }
}

@media (max-width: 767px) {
  section { padding: 4rem 0; }
  .stat-num { font-size: 2.2rem; }
  .hero-title { font-size: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Hero content is always in viewport â€” ensure it's visible without observer */
.hero-section .animate-on-scroll,
.hero-section .animate-slide-left,
.hero-section .animate-slide-right {
  opacity: 1;
  transform: none;
}

/* â”€â”€ CUSTOM HERO LAYOUT (Like template) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.custom-hero-layout {
  position: relative;
  background-color: transparent;
  overflow: hidden;
}
.hero-decorations {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
}
.decor-dashed {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}
.dashed-path {
  stroke: var(--color-text);
  opacity: 0.15;
}

/* Dots patterns */
.hero-dots {
  position: absolute;
  background-image: radial-gradient(var(--color-text) 1.5px, transparent 1.5px);
  background-size: 15px 15px;
  opacity: 0.12;
}
.dots-top-left {
  top: 15%; left: 5%;
  width: 120px; height: 90px;
}
.dots-bottom-left {
  bottom: 15%; left: 30%;
  width: 150px; height: 75px;
}

/* â”€â”€ ORCHESTRA-STYLE RING WATERMARKS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero-watermark-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: visible;
  pointer-events: none;
}

/* Base ring style */
.wm-ring {
  fill: none;
  stroke-width: 1.5;
  animation: wm-breathe 8s ease-in-out infinite;
}

/* Standard rings â€” light mode */
[data-theme="light"] .wm-ring {
  stroke: rgba(15, 17, 21, 0.12);
}

/* Standard rings â€” dark mode */
[data-theme="dark"] .wm-ring {
  stroke: rgba(255, 255, 255, 0.10);
}

/* Smaller accent rings */
.wm-ring-sm {
  stroke-width: 1;
  animation-duration: 10s;
  animation-delay: -2s;
}

[data-theme="light"] .wm-ring-sm {
  stroke: rgba(13, 110, 253, 0.14);
}

[data-theme="dark"] .wm-ring-sm {
  stroke: rgba(59, 130, 246, 0.18);
}

/* Gentle breathing animation */
@keyframes wm-breathe {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

/* Stagger breathing on each ring so they feel organic */
.hero-watermark-svg circle:nth-child(2)  { animation-delay: -1.5s; }
.hero-watermark-svg circle:nth-child(3)  { animation-delay: -3s;   }
.hero-watermark-svg circle:nth-child(4)  { animation-delay: -0.8s; }
.hero-watermark-svg circle:nth-child(5)  { animation-delay: -2.2s; }
.hero-watermark-svg circle:nth-child(6)  { animation-delay: -4s;   }
.hero-watermark-svg circle:nth-child(7)  { animation-delay: -1s;   }
.hero-watermark-svg circle:nth-child(8)  { animation-delay: -3.5s; }
.hero-watermark-svg circle:nth-child(9)  { animation-delay: -5s;   }
.hero-watermark-svg circle:nth-child(10) { animation-delay: -6s;   }
.hero-watermark-svg circle:nth-child(11) { animation-delay: -2.8s; }
.hero-watermark-svg circle:nth-child(12) { animation-delay: -4.5s; }

/* Keep the blob-large-arc at bottom-right of hero */
.blob-large-arc {
  bottom: 5%; right: 5%;
  width: 450px; height: 450px;
  background: transparent;
  border: 40px solid var(--brand-ash);
  border-radius: 50%;
  clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
  transform: rotate(-15deg);
  opacity: 0.15;
}

/* Custom left col tweaks */
.custom-hero-badge {
  display: inline-block;
  background: var(--color-primary) !important;
  color: #fff !important;
  border: none !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 1.25rem !important;
  border-radius: var(--radius-sm) !important;
}
.hero-socials .social-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background-color: var(--color-surface-2);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
  text-decoration: none;
}
.hero-socials .social-circle:hover {
  background-color: var(--color-primary);
  color: #fff;
}
[data-theme="dark"] .hero-socials .social-circle {
  background-color: rgba(243, 244, 246, 0.05);
}

@media (max-width: 991px) {
  .blob-large-arc {
    width: 300px; height: 300px; border-width: 25px;
    bottom: 0; right: 0;
  }
}


/* â”€â”€ HEALTHCARE HERO REDESIGN â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero-healthcare {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/doc.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}

.hero-healthcare .container {
  z-index: 2;
  position: relative;
}

.badge-healthcare {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-primary);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-healthcare::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-primary);
}

.hero-healthcare .hero-title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
  color: #fff !important;
}

.hero-healthcare .hero-title span,
.hero-healthcare .gradient-text {
  background: linear-gradient(135deg, var(--brand-white), var(--brand-ash-light) 60%, var(--brand-ash));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--brand-white) !important;
}

.hero-healthcare .hero-subtitle {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 3.5rem;
  opacity: 0.85;
  line-height: 1.6;
  color: #fff !important;
}

.btn-orange {
  background: var(--color-primary) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 800 !important;
  padding: 1.1rem 2.2rem !important;
  border-radius: 4px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-orange:hover {
  background: #0b5ed7 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

.btn-ghost-white {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  font-weight: 800 !important;
  padding: 1.1rem 2.2rem !important;
  border-radius: 4px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #fff !important;
  transform: translateY(-3px);
}

.btn-play-wrap {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  color: #fff !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.btn-play-icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  padding-left: 4px; /* Align play icon */
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-play-wrap:hover .btn-play-icon {
  background: #0b5ed7;
  transform: scale(1.1);
}

/* â”€â”€ ABOUT US REDESIGN UTILITIES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.collage-container {
  padding-bottom: 40px;
}

.collage-overlap {
  transition: var(--transition);
}

.collage-container:hover .collage-overlap {
  transform: translate(-10px, -10px);
}

.hover-up {
  transition: var(--transition);
}

.hover-up:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md) !important;
}

.transition {
  transition: var(--transition);
}

.bg-white-5 { background: rgba(255, 255, 255, 0.05) !important; }
.bg-white-10 { background: rgba(255, 255, 255, 0.1) !important; }
.border-white-10 { border: 1px solid rgba(255, 255, 255, 0.1) !important; }

.bg-gradient-dark {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.progress-bar-animated {
  animation: progress-bar-stripes 1s linear infinite;
}

[data-theme="dark"] .bg-light {
  background-color: var(--color-surface-2) !important;
}

[data-theme="dark"] .bg-white {
  background-color: var(--color-surface) !important;
}

[data-theme="dark"] .border-light-subtle {
  border-color: rgba(255,255,255,0.05) !important;
}

/* Ensure section tags in dark mode on dark backgrounds are visible */
.stats-skills .section-tag {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: white !important;
}

/* â”€â”€ BLOG ENHANCEMENTS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.blog-category-card {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.blog-category-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-xl);
}
.blog-category-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.newsletter-box,
.bnk-cta-editorial {
  background: #0f172a;
  border-radius: 2rem;
  padding: 2.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.bnk-cta-editorial { 
  background: linear-gradient(135deg, #09090b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-2xl);
}
.newsletter-input {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: white !important;
  padding: 1rem 2rem !important;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }

/* â”€â”€ CONTACT SPLIT LAYOUT â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.contact-info-card {
  padding: 3rem;
  border-radius: 2.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.contact-method-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  background: rgba(13,110,253,0.08);
  color: var(--color-primary);
  font-size: 1.5rem;
}

/* â”€â”€ OFFICE HUBS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.office-card {
  border-radius: 2rem;
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.office-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
}
.office-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  opacity: 0.8;
  filter: grayscale(1);
  transition: var(--transition-slow);
}
.office-card:hover .office-img {
  opacity: 1;
  filter: grayscale(0);
}

/* â”€â”€ ENDPOINT GRID â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.endpoint-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: var(--transition);
}
.endpoint-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-xl);
}
.endpoint-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.endpoint-body {
  padding: 1.5rem;
}
.method-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.3rem 0.8rem;
  border-radius: 0.5rem;
}
.method-post { background: rgba(13,110,253,0.1); color: var(--color-primary); }
.method-get { background: rgba(25,135,84,0.1); color: #198754; }

/* â”€â”€ PLAYGROUND PREVIEW â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.playground-mock {
  background: #0f172a;
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.playground-header {
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  gap: 0.5rem;
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

/* â”€â”€ JOB GRID & FILTERS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.job-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  transition: var(--transition);
  cursor: pointer;
}
.job-card:hover {
  background: var(--color-surface-2);
  border-color: var(--color-primary);
  transform: translateX(10px);
}

.job-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
}

/* â”€â”€ PERKS SECTION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.perk-card {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 2.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.perk-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}
.perk-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,110,253,0.08);
  color: var(--color-primary);
  border-radius: 2rem;
  font-size: 2rem;
}

/* â”€â”€ VERTICAL TIMELINE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.timeline-vertical {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-vertical::after {
  content: '';
  position: absolute;
  width: 2px;
  background: var(--color-border);
  top: 0; bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-event {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
.timeline-event::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: var(--color-bg);
  border: 4px solid var(--color-primary);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left-event { left: 0; text-align: right; }
.right-event { left: 50%; text-align: left; }

.left-event::after { left: auto; right: -8px; }
.right-event::after { left: -8px; }

@media screen and (max-width: 768px) {
  .timeline-vertical::after { left: 31px; }
  .timeline-event { width: 100%; padding-left: 70px; padding-right: 25px; text-align: left; }
  .timeline-event::after { left: 23px; right: auto; }
  .right-event { left: 0%; }
}

/* â”€â”€ TEAM GRID ENHANCEMENTS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.team-card-premium {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  transition: var(--transition);
}
.team-card-premium:hover {
  transform: translateY(-10px);
}
.team-member-img {
  width: 100%;
  aspect-ratio: 1/1.2;
  object-fit: cover;
  transition: var(--transition-slow);
}
.team-card-premium:hover .team-member-img {
  transform: scale(1.05);
}
.team-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: white;
}

/* â”€â”€ MASONRY RESOURCE GRID â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.masonry-grid {
  display: flex;
  margin-left: -30px; /* gutter size offset */
  width: auto;
}
.masonry-column {
  padding-left: 30px; /* gutter size */
  background-clip: padding-box;
}

.masonry-item {
  margin-bottom: 30px;
}

/* â”€â”€ DEVELOPER SPECIFIC â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.code-window {
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  transition: var(--transition);
}
.code-window:hover {
  transform: translateY(-5px) scale(1.01);
}

.mono { font-family: var(--font-mono); }
.text-purple { color: #c678dd; }
.text-warning { color: #d19a66; }
.text-info { color: #61afef; }
.text-success { color: #98c379; }

.tech-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: var(--transition);
}
.tech-card:hover {
  background: var(--color-surface-2);
  border-color: var(--color-primary);
  transform: translateY(-8px);
}

.api-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  background: #28c840;
  box-shadow: 0 0 10px rgba(40,200,64,0.5);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40,200,64,0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(40,200,64,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40,200,64,0); }
}

/* â”€â”€ NETWORK DESIGN SECTION (BEHANCE STYLE) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.network-feature-banner {
  background: #eef7ff;
  border-radius: 2.5rem;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(13, 110, 253, 0.1);
}

[data-theme="dark"] .network-feature-banner {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-banner-img {
  padding: 2rem;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-banner-img img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.value-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.value-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.bg-success-soft { background: rgba(34, 197, 94, 0.1); }
.bg-warning-soft { background: rgba(245, 158, 11, 0.1); }
.bg-orange-soft  { background: rgba(249, 115, 22, 0.1); }
.bg-info-soft    { background: rgba(14, 165, 233, 0.1); }

.text-orange { color: #f97316; }

.read-more {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  transition: var(--transition-fast);
}

.read-more:hover {
  gap: 0.75rem;
}

[data-theme="dark"] .value-card {
  background: var(--color-surface);
}

/* â”€â”€ MESSAGING PAGE REDESIGN (MUSIC SCHOOL STYLE) â”€â”€â”€â”€â”€â”€ */
:root {
  --color-navy: #1a2c5b;
  --color-navy-light: #2a3e7a;
  --color-blue-accent: #a7c1ff;
}

.bg-navy {
  background-color: var(--color-navy) !important;
}

.messaging-section-header {
  padding: 5rem 0 10rem;
}

.messaging-cards-wrapper {
  margin-top: -8rem;
  position: relative;
  z-index: 5;
}

.messaging-service-card {
  background: white;
  border-radius: 0;
  padding: 3.5rem 2.5rem;
  text-align: center;
  transition: var(--transition);
  border: none;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.messaging-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.messaging-service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
  border-radius: 50%;
}

.messaging-service-card h4 {
  color: var(--color-navy);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.messaging-service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 2rem;
}

.btn-navy-outline {
  border: 1.5px solid var(--color-navy);
  color: var(--color-navy);
  padding: 0.75rem 2rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  background: transparent;
  transition: var(--transition-fast);
}

.btn-navy-outline:hover {
  background: var(--color-navy);
  color: white !important;
}

/* Education Grid */
.education-section {
  padding: 8rem 0;
  background: #fff;
}

.education-title {
  color: var(--color-navy);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.education-subtitle {
  max-width: 800px;
  margin: 0 auto 4rem;
  color: #555;
}

.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  text-align: left;
}

.edu-item h5 {
  font-weight: 800;
  color: #000;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.edu-item p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* What We Do */
.what-we-do-section {
  padding: 8rem 0;
  background: #fff;
}

.circle-img-wrap {
  position: relative;
  width: 100%;
  max-width: 450px;
}

.circle-img-main {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.circle-bg-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--color-blue-accent);
  border-radius: 50%;
  z-index: 1;
}

/* Performances & Activities */
.activities-section {
  padding: 8rem 0;
  background: var(--color-navy);
  color: white;
}

.activities-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.activities-images {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 1rem;
}

.act-grid-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  grid-column: span 2;
}

.act-grid-right {
  grid-column: span 1;
  grid-row: span 2;
}

.act-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* Person Sitting */
.sitting-section {
  padding: 8rem 0;
  background: #fff;
}

/* Bottom School Banner */
.school-banner {
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6rem;
}

.school-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 44, 91, 0.6) 0%, transparent 60%);
}

.school-banner h2 {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 4rem;
  font-weight: 800;
  margin-left: 10%;
}

/* Dark Mode Overrides for New Sections */
[data-theme="dark"] .messaging-service-card {
  background: var(--color-surface-2);
}
[data-theme="dark"] .messaging-service-card h4 {
  color: var(--brand-white);
}
[data-theme="dark"] .messaging-service-icon {
  color: var(--color-primary-light);
  border-color: var(--color-primary-light);
}
[data-theme="dark"] .btn-navy-outline {
  border-color: var(--color-primary-light);
  color: var(--color-primary-light);
}
[data-theme="dark"] .btn-navy-outline:hover {
  background: var(--color-primary-light);
  color: white !important;
}
[data-theme="dark"] .education-section,
[data-theme="dark"] .what-we-do-section,
[data-theme="dark"] .sitting-section {
  background: var(--color-bg);
}
[data-theme="dark"] .education-title,
[data-theme="dark"] .edu-item h5 {
  color: white;
}

/* Staggered Education Grid */
.education-staggered {
  padding: 10rem 0;
  background: var(--color-navy);
  color: white;
}

.edu-staggered-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  align-items: flex-start;
}

.edu-item-staggered {
  text-align: left;
  transition: var(--transition);
}

.edu-item-staggered:nth-child(even) {
  margin-top: 5rem;
}

.edu-icon-circle {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  transition: var(--transition-fast);
}

.edu-item-staggered:hover .edu-icon-circle {
  background: white;
  color: var(--color-navy);
  transform: scale(1.1);
}

.edu-item-staggered h4 {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
}

.edu-item-staggered p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.7;
}

@media (max-width: 991px) {
  .edu-staggered-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem 2rem;
  }
  .edu-item-staggered:nth-child(even) {
    margin-top: 0;
  }
}

@media (max-width: 576px) {
  .edu-staggered-grid {
    grid-template-columns: 1fr;
  }
}

/* â”€â”€ MESSAGING SHOWCASE COMPONENT â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.messaging-showcase-section {
    padding: 100px 0;
    background: var(--brand-black); /* Dark base for contrast */
}

.messaging-showcase-card {
    background: #e8f5f1; /* Mint base from design */
    border-radius: 40px;
    padding: 60px;
    color: #0f1115;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.3);
}

.showcase-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.showcase-metrics {
    display: flex;
    gap: 4rem;
    margin-bottom: 4rem;
}

.metric-item .metric-val {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.04em;
}

.metric-item .metric-desc {
    font-size: 1rem;
    opacity: 0.7;
    max-width: 200px;
    line-height: 1.4;
}

.showcase-sidebar {
    background: rgba(255,255,255,0.4);
    border-radius: 24px;
    padding: 40px;
    height: 100%;
}

.showcase-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.showcase-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.showcase-checklist li i {
    color: #2e7d32;
    font-size: 1.1rem;
}

.showcase-selection {
    margin-top: 2rem;
}

.selection-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.selection-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.selection-item {
    font-size: 0.9rem;
    font-weight: 800;
    padding: 12px 20px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-fast);
}

.selection-item.active {
    background: #c8e6c9;
}

.detail-box {
    background: rgba(255,255,255,0.4);
    border-radius: 20px;
    padding: 30px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.detail-label {
    opacity: 0.6;
}

.detail-val {
    font-weight: 700;
}

.btn-showcase-cta {
    background: #ff8a65;
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    font-weight: 700;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(255,138,101,0.3);
}

.btn-showcase-cta:hover {
    background: #f4511e;
    transform: translateY(-3px);
    color: white;
}

/* Response Fixes */
@media (max-width: 991px) {
    .showcase-metrics { flex-direction: column; gap: 2rem; }
    .messaging-showcase-card { padding: 30px; }
    .showcase-sidebar { margin-top: 2rem; }
}

[data-theme="dark"] .messaging-showcase-card {
    background: #1e293b;
    color: #f3f4f6;
}
[data-theme="dark"] .showcase-sidebar,
[data-theme="dark"] .detail-box {
    background: rgba(255,255,255,0.05);
}
[data-theme="dark"] .selection-item.active {
    background: #334155;
}

/* ============================================================ 
   SCROLL ANIMATIONS 
   ============================================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
    will-change: opacity, transform;
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
    will-change: opacity, transform;
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
    will-change: opacity, transform;
}

.animate-zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
    will-change: opacity, transform;
}

/* Reveal State */
.animate-on-scroll.visible,
.animate-slide-left.visible,
.animate-slide-right.visible,
.animate-zoom-in.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Staggered Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Pulse Animation (for active elements) */
@keyframes softPulse {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.pulse-primary {
    animation: softPulse 2s infinite;
}

/* --- MIGRATED COMPONENTS --- */

/* Protocol/Service Cards (from API Portal) */
.protocol-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.protocol-card:hover {
  transform: translateY(-12px);
  border-color: var(--color-primary);
  box-shadow: 0 30px 60px rgba(99, 102, 241, 0.1);
}
.protocol-card::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  transition: all 0.5s ease;
}
.protocol-card:hover::before { transform: scale(1.5); opacity: 0.2; }

/* Method Badges */
.method-tag {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.method-post { background: rgba(99, 102, 241, 0.1); color: #818cf8; border: 1px solid rgba(129, 140, 248, 0.3); }
.method-get { background: rgba(16, 185, 129, 0.1); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.3); }

/* IDE/Code Playground */
.ide-window {
  background: #0d1117;
  border-radius: 16px;
  border: 1px solid #30363d;
  box-shadow: 0 50px 100px rgba(0,0,0,0.4);
  overflow: hidden;
}
.ide-header {
  background: #161b22;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #30363d;
  display: flex;
  align-items: center;
}
.ide-dot { width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; }
.ide-code {
  padding: 2rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.6;
  color: #c9d1d9;
}
.code-keyword { color: #ff7b72; }
.code-string { color: #a5d6ff; }
.code-func { color: #d2a8ff; }

/* Developer/Metric Panels */
.dev-tool-panel, .abt-value-panel {
  position: relative;
  padding: 4.5rem 3.5rem;
  background: var(--color-surface);
  border-radius: 32px;
  border: 1px solid var(--color-border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  overflow: hidden;
  z-index: 1;
}
.dev-tool-panel:hover, .abt-value-panel:hover {
  transform: translateY(-10px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}
.dev-tool-num, .abt-v-num {
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-size: 12rem;
  font-weight: 950;
  color: var(--color-text);
  opacity: 0.03;
  line-height: 1;
  z-index: -1;
  transition: all 0.6s ease;
}
.dev-tool-panel:hover .dev-tool-num, .abt-value-panel:hover .abt-v-num { opacity: 0.08; color: var(--color-primary); transform: scale(1.1); }

/* Infrastructure Pillars */
.dev-pillar, .abt-pillar, .infra-pillar {
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border: 1px solid var(--color-border);
  border-radius: 32px;
  padding: 3rem;
  height: 100%;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}
.dev-pillar:hover, .abt-pillar:hover, .infra-pillar:hover {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.04) 0%, var(--color-bg) 100%);
  border-color: rgba(99, 102, 241, 0.2);
}

/* Metric Floats */
.abt-metric-float {
  background: rgba(15, 17, 21, 0.65);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  color: #f3f4f6;
}
.amf-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--color-primary-light); margin-bottom: 0.5rem; }
.amf-value { font-size: 3.5rem; font-weight: 900; line-height: 1; margin-bottom: 1.5rem; color: #fff; letter-spacing: -1px; }
.amf-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.9rem; font-weight: 500; }
.amf-row:last-child { border-bottom: none; padding-bottom: 0; }
.amf-ping { display: inline-block; width: 8px; height: 8px; background: #34d399; border-radius: 50%; box-shadow: 0 0 12px #34d399; animation: pulseGlow 2s infinite; }
@keyframes pulseGlow { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.5); opacity: 1; } }

/* Responsive Adjustments for Migrated Components */
@media (max-width: 991px) {
  .dev-tool-panel, .abt-value-panel { padding: 2.5rem; }
  .dev-tool-num, .abt-v-num { font-size: 8rem; }
}

/* ============================================================
   HERO SECTION — GLOBAL COMPREHENSIVE FIX
   Fixes height:100vh hero sections on mobile across ALL pages.
   Specifically: about, developers, retail, sales-marketing,
   short-code, network, number-analytics, retail hero variants.
   ============================================================ */

/* Pattern: pages using `height: 100vh` with no top padding */
/* Fix: switch to min-height so hero expands with content, add
   top padding for fixed navbar, and ensure content rows fill it */
#abt-hero-section.abt-hero,
.dev-hero,
.ret-hero,
.sm-hero,
.sc-hero,
.net-hero,
.ana-hero {
  height: auto !important;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
}

/* Fix inner row that uses style="min-height:100vh" to only apply on desktop */
@media (max-width: 767px) {
  .sm-hero .row[style*="min-height:100vh"],
  .sc-hero .row[style*="min-height:100vh"],
  .net-hero .row[style*="min-height:100vh"],
  .ana-hero .row[style*="min-height:100vh"] {
    min-height: unset !important;
  }

  /* Hero bg images — keep visible but subtle on mobile */
  .sm-hero-bg, .sc-hero-bg, .net-hero-bg, .ana-hero-bg {
    opacity: 0.8;
  }

  /* Headings specific to these pages */
  .sm-h1, .sc-hero-h1, .net-hero-h1, .ana-hero-h1 {
    font-size: clamp(1.9rem, 7vw, 2.8rem) !important;
    line-height: 1.2 !important;
  }

  /* Left-aligned button groups in hero — constrain to auto width */
  .sm-hero .d-flex.flex-wrap.gap-3,
  .sc-hero .d-flex.flex-wrap.gap-3,
  .net-hero .d-flex.flex-wrap.gap-3,
  .ana-hero .d-flex.flex-wrap.gap-3,
  #abt-hero-section .d-flex.flex-wrap.gap-3,
  .dev-hero .d-flex.flex-wrap.gap-3 {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .sm-hero .btn,
  .sc-hero .btn,
  .net-hero .btn,
  .ana-hero .btn,
  #abt-hero-section .btn,
  .dev-hero .btn {
    width: auto !important;
    min-width: 200px;
    padding: 0.6rem 1.4rem !important;
    font-size: 0.9rem !important;
  }

  /* Sales-marketing specific accent heading */
  .sm-accent-heading {
    font-size: 1.9rem !important;
    padding-left: 1.25rem !important;
  }
  .sm-row-editorial,
  .sm-row-editorial.reverse {
    flex-direction: column !important;
    gap: 2.5rem !important;
  }

  /* about.html hero: hidden right-side image panel */
  #abt-hero-section .abt-hero-bg {
    width: 100% !important;
    opacity: 0.1 !important;
  }

  /* analytics CTA padding */
  .ana-cta-dark { padding: 2.5rem 1.5rem !important; border-radius: 24px !important; }
  
  /* index.html hero */
  .hero-section { height: auto !important; min-height: 100vh; padding-top: 100px !important; }
}

/* ============================================================
   GLOBAL RESPONSIVENESS REFINEMENTS
   ============================================================ */

/* ── 991px: Tablet / Small Laptop ── */
@media (max-width: 991px) {
  section { padding: 4rem 0; }

  /* Hero generics */
  .hero-section { height: auto; min-height: 90vh; padding: 110px 0 60px; }
  .hero-title    { font-size: 3rem; }
  .hero-subtitle { font-size: 1rem; max-width: 100%; }
}

/* ── 768px: Tablet portrait ── */
@media (max-width: 768px) {
  section { padding: 3rem 0; }

  /* Typography — clamp so it still scales fluidly on tablets */
  .display-1 { font-size: clamp(2.4rem, 8vw, 3.5rem) !important; }
  .display-2 { font-size: clamp(2.2rem, 7vw, 3rem)   !important; }
  .display-3 { font-size: clamp(2rem,   6vw, 2.5rem)  !important; line-height: 1.15 !important; }
  .display-4 { font-size: clamp(1.8rem, 5vw, 2.2rem)  !important; line-height: 1.2  !important; }
  .display-5 { font-size: clamp(1.6rem, 5vw, 2rem)    !important; line-height: 1.2  !important; }

  .hero-title { font-size: 2.6rem; letter-spacing: -1px; }
  .bank-h1    { font-size: 2.2rem !important; }

  /* Hero bank / api / voice / messaging hero h1 (custom class) */
  .bank-h1, .msg-hero-h1, .voice-hero-h1, .ret-h1 {
    font-size: clamp(1.8rem, 6vw, 2.8rem) !important;
    line-height: 1.15 !important;
  }

  /* ── Buttons: scope to hero/CTA contexts ONLY ── */
  /* We do NOT set width:100% globally — that breaks nav, card, tab buttons */
  .hero-actions .btn,
  .editorial-cta-box .btn {
    width: auto;
    padding: 0.7rem 1.6rem !important;
    font-size: 0.9rem;
    min-width: 160px;
  }
  .hero-actions { flex-direction: column; gap: 0.75rem !important; }

  /* ── Hero action groups → stack vertically ── */
  .editorial-cta-box .d-flex.flex-wrap,
  .editorial-cta-box .d-flex.gap-3 {
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
    gap: 0.75rem !important;
  }

  /* ── Layout ── */
  .hero-visual { display: none; }
  .dev-hero-bg { width: 100% !important; opacity: 0.12; }

  .infra-pillar-grid,
  .edu-staggered-grid,
  .network-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
}

/* ── 576px: Mobile portrait ── */
@media (max-width: 576px) {
  section { padding: 2.5rem 0; }

  .hero-title  { font-size: 2rem; }
  .hero-eyebrow { font-size: 0.65rem; padding: 0.35rem 0.8rem; }

  /* Eliminate the large fixed px values to allow natural wrapping */
  .hero-section { padding: 90px 0 50px; }

  /* Navbar brand */
  .navbar-brand .brand-text { font-size: 1.3rem; }

  /* Global spacing reductions */
  .mb-5  { margin-bottom: 2rem !important; }
  .mt-5  { margin-top:    2rem !important; }
  .p-5   { padding: 1.75rem !important; }
  .px-5  { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  .py-3  { padding-top: 0.7rem !important; padding-bottom: 0.7rem !important; }

  /* CTA boxes */
  .rounded-5 { border-radius: 1.5rem !important; }
  .editorial-cta-box {
    text-align: center !important;
    padding: 2rem 1.25rem !important;
  }
  .editorial-cta-box .section-tag {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Override left-aligned text inside CTA for mobile */
  .editorial-cta-box .text-lg-start,
  .editorial-cta-box .text-start {
    text-align: center !important;
  }

  /* Heading inside CTA */
  .editorial-cta-box .display-3 { font-size: 1.65rem !important; }
  .editorial-cta-box .display-4 { font-size: 1.5rem  !important; }
  .editorial-cta-box .display-5 { font-size: 1.4rem  !important; }

  /* Buttons inside CTA boxes — full width, reasonable height */
  .editorial-cta-box .btn {
    width: 100% !important;
    max-width: 320px;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .editorial-cta-box .d-flex.flex-wrap,
  .editorial-cta-box .d-flex.gap-3 {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
}

/* Hero Section Description Text - Force white for legibility on dark/editorial backgrounds */
[class*="-hero"] p,
.hero-content p,
.lead-white {
  color: #ffffff !important;
  opacity: 1 !important;
}


