/* ==========================================================================
   VERTXA TECHNOLOGIES — PRODUCTION-GRADE DEEP TECH DESIGN SYSTEM
   Colors: Royal Sapphire Blue (#1428A0) & Pristine White (#FFFFFF)
   Style: Magic Island Menu, Quantum Glassmorphism, Enterprise Layout Hierarchy
   ========================================================================== */

:root {
  /* Brand Palette */
  --brand-blue: #1428A0;
  --brand-blue-hover: #0E1E7D;
  --brand-blue-light: #2A48E0;
  --brand-blue-glow: rgba(20, 40, 160, 0.22);
  --brand-blue-subtle: rgba(20, 40, 160, 0.05);
  --brand-blue-border: rgba(20, 40, 160, 0.12);
  --blue-tint: rgba(20, 40, 160, 0.05);
  --blue-border: rgba(20, 40, 160, 0.12);

  /* Quantum Electric Accents */
  --electric-blue: #2563EB;
  --electric-cyan: #0284C7;
  --electric-sky: #E0E7FF;

  /* Surfaces & Neutrals */
  --bg-white: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-surface-elevated: #F1F5FD;
  --navy-dark: #070F2B;
  --navy-slate: #1E293B;
  --navy-muted: #475569;
  --border-glass: rgba(20, 40, 160, 0.10);
  --border-light: rgba(226, 232, 240, 0.8);

  /* Glassmorphism Specs */
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-blur: blur(24px) saturate(190%);
  --glass-shadow: 0 16px 36px -12px rgba(20, 40, 160, 0.08), 0 0 1px 1px rgba(255, 255, 255, 0.9) inset;
  --glass-card-shadow: 0 12px 30px -10px rgba(20, 40, 160, 0.07), 0 1px 3px rgba(0,0,0,0.03);

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Transitions */
  --transition-fast: 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, html.scroll-smooth {
  font-family: var(--font-body);
  scroll-behavior: smooth;
  scroll-padding-top: 135px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-surface);
  color: var(--navy-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

::selection, .selection\:bg-brand-blue::selection {
  background-color: var(--brand-blue);
  color: #FFFFFF;
}

::-moz-selection {
  background-color: var(--brand-blue);
  color: #FFFFFF;
}

.selection\:text-white::selection {
  color: #FFFFFF;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

/* Anchor Target Scroll Offset (Prevents clipping under floating Magic Island) */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 135px;
}

section[id],
div[id],
[id="education"] {
  scroll-margin-top: 135px;
}

@media (max-width: 768px) {
  html, html.scroll-smooth {
    scroll-padding-top: 95px;
  }
  section[id],
  div[id],
  [id="education"] {
    scroll-margin-top: 95px;
  }
}

/* Ambient Backdrops */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.45;
  transition: opacity 0.5s ease;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, transparent 70%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 40, 160, 0.18) 0%, transparent 70%);
  top: 40%;
  right: -100px;
}

.glow-3 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, transparent 70%);
  bottom: 10%;
  left: -150px;
}

/* Containers & Section Padding */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1360px;
  }
}

.section-padding {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

.bg-section-gradient {
  background: linear-gradient(180deg, rgba(241, 245, 253, 0.65) 0%, rgba(255, 255, 255, 0.95) 100%);
}

/* Section Header Typography */
.section-header {
  margin-bottom: 3.5rem;
  position: relative;
}

.section-header.text-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: rgba(20, 40, 160, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.95rem;
  border: 1px solid rgba(20, 40, 160, 0.14);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3.25rem;
  }
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--navy-muted);
  line-height: 1.7;
  margin-top: 1rem;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #1428A0 0%, #2563EB 50%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Glass Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  box-shadow: var(--glass-card-shadow);
  border-radius: 1.5rem;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(20, 40, 160, 0.22);
  box-shadow: 0 20px 45px -12px rgba(20, 40, 160, 0.12), 0 0 1px 1px rgba(255, 255, 255, 0.9) inset;
}

.hover-glow:hover {
  transform: translateY(-4px);
}

/* ==========================================================================
   PRODUCTION UTILITY ENGINE (FLEX, GRID, SPACING, TYPOGRAPHY, ANIMATIONS)
   ========================================================================== */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:justify-end { justify-content: flex-end; }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-6 { grid-column: span 6 / span 6; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:col-span-12 { grid-column: span 12 / span 12; }
  .md\:border-t-0 { border-top-width: 0px !important; }
  .md\:border-l { border-left-width: 1px !important; }
  .md\:pt-0 { padding-top: 0px !important; }
  .md\:pl-6 { padding-left: 1.5rem !important; }
}

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:col-span-9 { grid-column: span 9 / span 9; }
  .lg\:col-span-12 { grid-column: span 12 / span 12; }
  .lg\:text-right { text-align: right; }
  .lg\:text-3xl { font-size: 1.875rem; line-height: 1.25; }
  .lg\:text-4xl { font-size: 2.25rem; line-height: 1.2; }
  .lg\:p-8 { padding: 2rem; }
  .lg\:p-10 { padding: 2.5rem; }
}

.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-8 { padding-top: 2rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.w-full { width: 100%; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

.text-xs { font-size: 0.75rem; line-height: 1.4; }
.text-sm { font-size: 0.875rem; line-height: 1.5; }
.text-base { font-size: 1rem; line-height: 1.5; }
.text-lg { font-size: 1.125rem; line-height: 1.5; }
.text-xl { font-size: 1.25rem; line-height: 1.4; }
.text-2xl { font-size: 1.5rem; line-height: 1.3; }
.text-3xl { font-size: 1.875rem; line-height: 1.25; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.leading-relaxed { line-height: 1.65; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.whitespace-nowrap { white-space: nowrap; }

.text-white { color: #FFFFFF; }
.text-white\/60 { color: rgba(255, 255, 255, 0.6); }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.hover\:text-white\/80:hover { color: rgba(255, 255, 255, 0.85); }
.hover\:underline:hover { text-decoration: underline; }

.bg-quantum-white { background-color: #FFFFFF; }
.bg-navy-dark { background-color: var(--navy-dark); }
.bg-blue-tint { background-color: rgba(20, 40, 160, 0.04); }

.border { border-width: 1px; border-style: solid; border-color: rgba(20, 40, 160, 0.1); }
.border-t { border-top-width: 1px; border-top-style: solid; border-top-color: rgba(20, 40, 160, 0.1); }
.border-blue-border { border-color: rgba(20, 40, 160, 0.14); }
.border-slate-200\/60 { border-color: rgba(226, 232, 240, 0.6); }
.border-white\/10 { border-top-color: rgba(255, 255, 255, 0.1); }
.rounded-xl { border-radius: 0.75rem; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.z-10 { z-index: 10; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

.shadow-lg { box-shadow: 0 10px 25px -5px rgba(20, 40, 160, 0.25); }
.hover\:shadow-xl:hover { box-shadow: 0 16px 35px -5px rgba(20, 40, 160, 0.35); }

/* Animation Keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up { animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.animate-fade-down { animation: fadeInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

/* Structural Component Additions */
.hero-content { display: flex; flex-direction: column; z-index: 2; }
.island-actions { display: flex; align-items: center; }
.contact-quick { display: flex; align-items: center; }
.mobile-nav-brand { display: flex; align-items: center; }
.active-node { position: relative; }
.bar-1 { }
.bar-2 { }
.bar-3 { }
.initiative-info { display: flex; flex-direction: column; }
.initiative-visual { display: flex; align-items: center; justify-content: center; }
.education-block { position: relative; }
.solutions-showcase { display: flex; flex-direction: column; gap: 2rem; }
.solution-card { border-radius: 2rem; overflow: hidden; }
.solution-text { display: flex; flex-direction: column; }
.solution-visual { display: flex; align-items: center; justify-content: center; }
.cqws-banner { border-radius: 1.75rem; padding: 2rem 2.25rem; }
.cqws-header { display: flex; flex-direction: column; gap: 1.25rem; }
.community-banner {
  border-radius: 1.75rem;
  padding: 2rem 1.75rem;
}

@media (min-width: 1024px) {
  .community-banner {
    padding: 2.25rem 2.5rem;
  }
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .community-grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 2.5rem;
  }
  .community-action {
    text-align: right;
  }
}

.community-main {
  min-width: 0;
}
.leader-info { display: flex; flex-direction: column; align-items: center; text-align: center; }
.philosophy-title { font-size: clamp(1.4rem, 2.5vw, 1.85rem); font-weight: 800; color: var(--navy-dark); line-height: 1.3; }
.philosophy-text { font-size: 0.925rem; color: var(--navy-muted); line-height: 1.7; }
.footer-brand-col { display: flex; flex-direction: column; }
.footer-brand-link { display: inline-block; }
.footer-nav-col { display: flex; flex-direction: column; }
.footer-bottom { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.25rem; font-size: 0.775rem; color: rgba(255, 255, 255, 0.6); text-align: center; }
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; text-align: left; }
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) {
  .form-row { grid-template-columns: repeat(2, 1fr); }
}
.form-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.location-badge { margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: 1rem; background: linear-gradient(135deg, rgba(20, 40, 160, 0.04) 0%, rgba(37, 99, 235, 0.07) 100%); border: 1px solid rgba(20, 40, 160, 0.14); }
.email { }
.phone { }

/* ==========================================================================
   MAGIC ISLAND FLOATING NAVIGATION (CENTERED COMPACT CAPSULE)
   ========================================================================== */
.magic-island-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  pointer-events: none;
  padding: 0.65rem 1rem;
  transition: all var(--transition-normal);
}

.magic-island-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 75px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.72) 60%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.magic-island-wrapper.scrolled::before {
  opacity: 1;
}

.magic-island {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(20, 40, 160, 0.14);
  box-shadow: 0 10px 28px -6px rgba(20, 40, 160, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  border-radius: 9999px;
  padding: 4px 6px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.2s ease;
  width: auto;
  max-width: calc(100vw - 2rem);
  box-sizing: border-box;
}

.magic-island-wrapper.scrolled .magic-island {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 34px -8px rgba(20, 40, 160, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.95) inset;
  border-color: rgba(20, 40, 160, 0.20);
}

.magic-island.expanded-telemetry {
  border-radius: 1.5rem;
}

.island-main {
  display: flex;
  align-items: center;
  height: 34px;
  gap: 0.35rem;
  box-sizing: border-box;
  width: 100%;
}

/* Clean Borderless Brand Link inside Island */
.island-brand {
  display: inline-flex;
  align-items: center;
  padding: 0 0.5rem 0 0.4rem;
  text-decoration: none;
  border-radius: 9999px;
  height: 32px;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.island-brand:hover {
  background: rgba(20, 40, 160, 0.04);
}

.island-logo-img {
  height: 19px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Subtle Vertical Divider */
.island-divider {
  width: 1px;
  height: 16px;
  background: rgba(20, 40, 160, 0.12);
  margin: 0 0.15rem;
  flex-shrink: 0;
}

/* Desktop Navigation Links */
.island-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--navy-muted);
  text-decoration: none;
  padding: 0 0.65rem;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover {
  color: var(--brand-blue);
  background: rgba(20, 40, 160, 0.06);
}

.nav-link.active {
  color: #FFFFFF !important;
  background: var(--brand-blue) !important;
  font-weight: 700;
  box-shadow: 0 2px 8px -1px rgba(20, 40, 160, 0.35);
}

/* Dynamic Status Pill */
.island-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  padding: 0 0.7rem;
  height: 32px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-blue);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.island-status-pill:hover, .island-status-pill.active {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.35);
}

.island-status-pill .status-label {
  white-space: nowrap;
  display: inline-block;
  line-height: 1;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10B981;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.chevron-icon {
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.island-status-pill.active .chevron-icon {
  transform: rotate(180deg);
}

/* Island Theme Mode Toggle */
.island-theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: rgba(20, 40, 160, 0.06);
  border: 1px solid rgba(20, 40, 160, 0.14);
  color: var(--navy-dark);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.island-theme-btn:hover {
  background: rgba(20, 40, 160, 0.14);
  color: var(--brand-blue);
  transform: rotate(15deg);
}

.island-theme-btn .sun-icon {
  display: none;
}

.island-theme-btn .moon-icon {
  display: block;
}

/* Island Controls Group (Theme + Desktop CTA + Mobile Toggle) */
.island-controls-group {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
}

/* Island CTA Actions */
.island-actions {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.btn-island-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--brand-blue);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0 0.9rem;
  height: 32px;
  border-radius: 9999px;
  box-shadow: 0 3px 10px rgba(20, 40, 160, 0.22);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.btn-island-primary:hover {
  background: var(--brand-blue-hover);
  box-shadow: 0 5px 14px rgba(20, 40, 160, 0.32);
  transform: translateY(-1px);
}

/* Mobile Toggle Hamburger inside Island */
.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 9999px;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.mobile-toggle-btn:hover {
  background: rgba(20, 40, 160, 0.06);
}

.toggle-bar {
  display: block;
  width: 17px;
  height: 2px;
  background-color: var(--brand-blue);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

/* Island Telemetry Expanded Drawer */
.island-telemetry-drawer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, transform 0.25s ease;
}

.magic-island.expanded-telemetry .island-telemetry-drawer {
  max-height: 110px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-top: 1px solid rgba(20, 40, 160, 0.08);
}

.telemetry-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.telemetry-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--brand-blue);
}

.telemetry-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy-muted);
  margin-top: 0.1rem;
}

.telemetry-divider {
  width: 1px;
  height: 22px;
  background: rgba(20, 40, 160, 0.12);
}

.telemetry-email-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(20, 40, 160, 0.06);
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
  transition: background var(--transition-fast);
}

.telemetry-email-chip:hover {
  background: rgba(20, 40, 160, 0.12);
}

/* ==========================================================================
   MOBILE VIEWPORT-LEVEL NAVIGATION OVERLAY
   ========================================================================== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 15, 43, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mobile-nav-container {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 440px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(20, 40, 160, 0.18);
  border-radius: 2rem;
  box-shadow: 0 24px 60px -15px rgba(20, 40, 160, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  padding: 1.25rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  transform: translateY(-16px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.open .mobile-nav-container {
  transform: translateY(0) scale(1);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(20, 40, 160, 0.08);
}

.mobile-nav-logo {
  height: 22px;
  width: auto;
}

.mobile-nav-close-btn {
  background: rgba(20, 40, 160, 0.06);
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  transition: background var(--transition-fast);
}

.mobile-nav-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-top: 1rem;
}

.mobile-cell-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  background: rgba(241, 245, 253, 0.7);
  border: 1px solid rgba(20, 40, 160, 0.08);
  border-radius: 1rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.mobile-cell-link:hover, .mobile-cell-link:active {
  background: rgba(20, 40, 160, 0.08);
  border-color: rgba(20, 40, 160, 0.22);
  transform: translateX(3px);
}

.cell-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.75rem;
  background: #FFFFFF;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(20, 40, 160, 0.08);
  flex-shrink: 0;
}

.cell-content {
  display: flex;
  flex-direction: column;
}

.cell-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--navy-dark);
}

.cell-desc {
  font-size: 0.7rem;
  color: var(--navy-muted);
}

.mobile-nav-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(20, 40, 160, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-contact-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-contact-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
  background: rgba(20, 40, 160, 0.04);
  padding: 0.6rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(20, 40, 160, 0.1);
}

/* ==========================================================================
   BUTTON DESIGN SYSTEM
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #1428A0 0%, #1D3FE0 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px -5px rgba(20, 40, 160, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0E1E7D 0%, #1428A0 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -5px rgba(20, 40, 160, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-blue);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid rgba(20, 40, 160, 0.2);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: #FFFFFF;
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(20, 40, 160, 0.14);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: transparent;
  color: var(--brand-blue);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(20, 40, 160, 0.25);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  background: rgba(20, 40, 160, 0.05);
  border-color: var(--brand-blue);
}

/* ==========================================================================
   HERO SECTION DESIGN
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 30px);
  padding-top: 7.5rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 50% 20%, rgba(241, 245, 253, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
}

.quantum-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
  opacity: 0.85;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.inline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(20, 40, 160, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(20, 40, 160, 0.06);
  width: fit-content;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-blue);
  border-radius: 50%;
  display: inline-block;
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--navy-dark);
}

.badge-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--brand-blue);
  background: rgba(20, 40, 160, 0.08);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-top: 1.25rem;
  letter-spacing: -0.035em;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--navy-muted);
  line-height: 1.7;
  margin-top: 1.25rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-direct-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
  padding: 0.6rem 0.85rem;
  border-radius: 9999px;
  background: rgba(20, 40, 160, 0.04);
  border: 1px solid rgba(20, 40, 160, 0.1);
  transition: all var(--transition-fast);
}

.hero-direct-mail:hover {
  background: rgba(20, 40, 160, 0.08);
  border-color: var(--brand-blue);
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(20, 40, 160, 0.12);
}

@media (min-width: 640px) {
  .hero-metrics-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-card {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.1;
  white-space: nowrap;
}

.metric-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* Hero 3D Card */
.hero-visual-wrapper {
  position: relative;
}

.hero-visual-card {
  padding: 1.25rem;
  border-radius: 2rem;
  border: 1px solid rgba(20, 40, 160, 0.16);
  box-shadow: 0 30px 70px -15px rgba(20, 40, 160, 0.20), 0 0 1px 1px rgba(255, 255, 255, 0.9) inset;
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.visual-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-beacon {
  width: 8px;
  height: 8px;
  background-color: #2563EB;
  border-radius: 50%;
  box-shadow: 0 0 8px #2563EB;
}

.visual-title {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy-dark);
}

.visual-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--brand-blue);
  background: rgba(20, 40, 160, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(20, 40, 160, 0.14);
}

.visual-image-container {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 10px 30px rgba(7, 15, 43, 0.12);
}

.hero-core-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-card:hover .hero-core-img {
  transform: scale(1.03);
}

.visual-overlay-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 40, 160, 0.08) 50%, transparent 100%);
  pointer-events: none;
  opacity: 0.6;
}

.visual-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

@media (max-width: 480px) {
  .visual-footer {
    grid-template-columns: 1fr;
  }
}

.telemetry-chip {
  background: rgba(241, 245, 253, 0.9);
  padding: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(20, 40, 160, 0.08);
  display: flex;
  flex-direction: column;
}

.chip-title {
  font-size: 0.625rem;
  text-transform: uppercase;
  color: var(--navy-muted);
  font-weight: 600;
}

.chip-val {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-top: 0.15rem;
}

/* ==========================================================================
   WHAT WE DO SECTION (CORE ECOSYSTEM MESSAGING)
   ========================================================================== */
.what-we-do-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .what-we-do-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .what-we-do-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.wwd-card {
  padding: 1.85rem 1.65rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  background: #FFFFFF;
  border: 1px solid rgba(20, 40, 160, 0.1);
  border-radius: 1.25rem;
  box-shadow: 0 4px 20px -4px rgba(20, 40, 160, 0.06);
}

.wwd-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(20, 40, 160, 0.14);
  border-color: rgba(20, 40, 160, 0.28);
}

.wwd-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-tint);
  border: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.wwd-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.wwd-desc {
  font-size: 0.875rem;
  color: var(--navy-muted);
  line-height: 1.6;
  flex-grow: 1;
}

.wwd-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(20, 40, 160, 0.08);
}

.wwd-link {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.wwd-link:hover {
  transform: translateX(3px);
  color: var(--brand-blue-hover);
}

/* ==========================================================================
   OVERVIEW SECTION (BRAND POSITIONING & ECOSYSTEM)
   ========================================================================== */
.brand-positioning-banner {
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 247, 255, 0.95) 100%);
  border: 1px solid rgba(20, 40, 160, 0.14);
  box-shadow: 0 12px 32px -8px rgba(20, 40, 160, 0.08);
  padding: 2.25rem 2rem;
}

@media (min-width: 1024px) {
  .brand-positioning-banner {
    padding: 2.75rem 2.5rem;
  }
}

.brand-positioning-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .brand-positioning-grid {
    grid-template-columns: 1.45fr 1fr;
    gap: 2.75rem;
  }
}

.brand-positioning-main {
  min-width: 0;
}

.brand-positioning-side {
  min-width: 0;
}

.brand-creed-box {
  background: #FFFFFF;
  border-radius: 1.25rem;
  border: 1px solid rgba(20, 40, 160, 0.12);
  box-shadow: 0 4px 16px -2px rgba(20, 40, 160, 0.05);
  padding: 1.75rem 1.5rem;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .vision-mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

.goals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .goals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .goals-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.creed-item {
  padding-bottom: 0.5rem;
}

.creed-item:not(:last-child) {
  border-bottom: 1px solid rgba(20, 40, 160, 0.07);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .overview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(20, 40, 160, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(20, 40, 160, 0.14);
}

.card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.card-description {
  color: var(--navy-muted);
  font-size: 0.925rem;
  line-height: 1.7;
  margin-top: 0.85rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-pills {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill-sm {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--brand-blue);
  background: rgba(20, 40, 160, 0.06);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(20, 40, 160, 0.1);
}

.priorities-box {
  border-radius: 2rem;
  padding: 2.25rem 2rem;
}

@media (min-width: 1024px) {
  .priorities-box {
    padding: 2.75rem 2.5rem;
  }
}

.priorities-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .priorities-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.priorities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .priorities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .priorities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.goal-bullet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 5px;
}

.pillar-sub-scope {
  font-size: 0.775rem;
  line-height: 1.55;
  color: var(--navy-dark);
  background: rgba(20, 40, 160, 0.04);
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(20, 40, 160, 0.09);
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
}

.edu-clarification-banner {
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 246, 255, 0.92) 100%);
  border: 1px solid rgba(20, 40, 160, 0.12);
  box-shadow: 0 10px 28px -6px rgba(20, 40, 160, 0.07);
  padding: 2rem 1.75rem;
}

@media (min-width: 1024px) {
  .edu-clarification-banner {
    padding: 2.25rem 2rem;
  }
}

.edu-clarification-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .edu-clarification-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 2.25rem;
  }
}

.edu-clarification-main {
  min-width: 0;
}

.edu-clarification-sidebar {
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  padding-top: 1.25rem;
  min-width: 0;
}

@media (min-width: 860px) {
  .edu-clarification-sidebar {
    border-top: none;
    border-left: 1px solid rgba(20, 40, 160, 0.12);
    padding-top: 0;
    padding-left: 2rem;
  }
}

.priority-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #FFFFFF;
  padding: 1.5rem 1.35rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(20, 40, 160, 0.09);
  box-shadow: 0 4px 16px -4px rgba(20, 40, 160, 0.05);
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.priority-card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 40, 160, 0.22);
  box-shadow: 0 12px 28px -6px rgba(20, 40, 160, 0.12);
}

.priority-num-badge {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-blue);
  background: rgba(20, 40, 160, 0.06);
  border: 1px solid rgba(20, 40, 160, 0.12);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  margin-bottom: 1.1rem;
}

.priority-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.priority-card-desc {
  font-size: 0.825rem;
  color: var(--navy-muted);
  line-height: 1.6;
  margin-top: auto;
}

/* ==========================================================================
   4 TECHNOLOGY PILLARS (EQUAL HEIGHT ALIGNMENT)
   ========================================================================== */
.pillars-deck {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .pillars-deck {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pillars-deck {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar-card {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.pillar-indicator {
  font-family: var(--font-mono);
  font-size: 0.685rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  background: rgba(20, 40, 160, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  align-self: flex-start;
  margin-bottom: 1.25rem;
}

.pillar-icon {
  width: 54px;
  height: 54px;
  border-radius: 1.25rem;
  background: #FFFFFF;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(20, 40, 160, 0.1);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(20, 40, 160, 0.1);
  transition: transform var(--transition-normal);
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.08) rotate(-4deg);
}

.pillar-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--navy-muted);
  line-height: 1.6;
  margin-top: 0.75rem;
}

.pillar-list {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--navy-slate);
  font-weight: 500;
  flex-grow: 1;
}

.pillar-list li span {
  color: var(--brand-blue);
  font-weight: bold;
  margin-right: 0.25rem;
}

.pillar-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(20, 40, 160, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-blue);
}

/* ==========================================================================
   QBHARAT EDUCATION & INSIDER MEDIA
   ========================================================================== */
.initiative-hero-card {
  padding: 2.5rem;
  border-radius: 2rem;
}

.initiative-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .initiative-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bullet-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.check-icon {
  width: 22px;
  height: 22px;
  background: var(--brand-blue);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.image-frame {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(20, 40, 160, 0.2);
  border: 1px solid rgba(20, 40, 160, 0.14);
}

.feature-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.frame-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(7, 15, 43, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.675rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.education-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .education-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.edu-stat-card {
  padding: 2.25rem 1.75rem;
  text-align: center;
  height: 100%;
}

.stat-highlight {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brand-blue);
}

.academic-callout {
  border-radius: 1.5rem;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .academic-callout {
    flex-direction: row;
    align-items: center;
  }
}

/* ==========================================================================
   QUANTUM CYBERSECURITY (PQC & CQWS)
   ========================================================================== */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
}

@media (min-width: 1024px) {
  .solution-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.sol-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  background: rgba(20, 40, 160, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  display: inline-block;
}

.tech-specs-list {
  background: rgba(241, 245, 253, 0.75);
  border: 1px solid rgba(20, 40, 160, 0.1);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.spec-row {
  display: flex;
  flex-direction: column;
  font-size: 0.825rem;
  gap: 0.25rem;
}

@media (min-width: 640px) {
  .spec-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
  }

  .spec-val {
    text-align: right;
  }
}

.spec-label {
  font-weight: 700;
  color: var(--navy-dark);
  flex-shrink: 0;
}

.spec-val {
  color: var(--brand-blue);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
}

.cqws-banner {
  border-radius: 1.75rem;
  padding: 2.25rem 2.5rem;
}

.cqws-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cqws-header {
    flex-direction: row;
    align-items: center;
  }
}

.cqws-badge-shield {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #1428A0 0%, #2563EB 100%);
  color: #FFFFFF;
  padding: 0.65rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(20, 40, 160, 0.25);
  flex-shrink: 0;
}

.shield-text {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
}

.shield-sub {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  opacity: 0.85;
}

.cqws-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cqws-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cqws-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #FFFFFF;
  padding: 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(20, 40, 160, 0.08);
  height: 100%;
}

.cqws-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-blue);
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

/* ==========================================================================
   TIMELINE SECTION (BALANCED 4 COLUMNS - DATES ABOVE THE LINE)
   ========================================================================== */
.timeline-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .timeline-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .timeline-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-top: 0.25rem;
  }

  /* The horizontal line that connects the nodes, placed exactly through the marker dots */
  .timeline-container::before {
    content: '';
    position: absolute;
    top: 59px;
    left: calc(12.5% + 11px);
    right: calc(12.5% + 11px);
    height: 3px;
    background: linear-gradient(90deg, rgba(20, 40, 160, 0.15) 0%, rgba(37, 99, 235, 0.55) 66%, rgba(20, 40, 160, 0.15) 100%);
    z-index: 1;
    border-radius: 9999px;
  }
}

.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Date Header strictly ABOVE the line */
.node-date-header {
  height: 36px;
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

.marker-year-pill {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-dark);
  background: rgba(20, 40, 160, 0.05);
  border: 1px solid rgba(20, 40, 160, 0.12);
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.marker-year-pill.active-year-pill {
  color: var(--brand-blue);
  background: rgba(20, 40, 160, 0.12);
  border-color: rgba(20, 40, 160, 0.3);
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(20, 40, 160, 0.1);
}

/* Line anchor holding the dot on the line */
.node-marker-line {
  position: relative;
  height: 22px;
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
  z-index: 2;
}

.marker-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid rgba(20, 40, 160, 0.35);
  box-shadow: 0 0 0 3px rgba(20, 40, 160, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.marker-dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(20, 40, 160, 0.4);
}

.marker-dot.active-dot {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(20, 40, 160, 0.18), 0 0 14px rgba(20, 40, 160, 0.35);
}

.marker-dot.active-dot::after {
  background: var(--brand-blue);
  box-shadow: 0 0 6px var(--brand-blue);
}

.node-card {
  padding: 1.5rem 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.border-brand {
  border-color: var(--brand-blue) !important;
  box-shadow: 0 16px 36px -10px rgba(20, 40, 160, 0.18) !important;
}

.node-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--navy-muted);
  margin-bottom: 0.5rem;
}

.node-badge.active-badge {
  color: var(--brand-blue);
}

.node-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.node-desc {
  font-size: 0.825rem;
  color: var(--navy-muted);
  line-height: 1.6;
  margin-top: 0.5rem;
  flex-grow: 1;
}

.community-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.com-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-blue);
  background: #FFFFFF;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid rgba(20, 40, 160, 0.14);
}

/* ==========================================================================
   LEADERSHIP & PHILOSOPHY
   ========================================================================== */
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.leader-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.leader-avatar-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.avatar-ring {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1428A0 0%, #2563EB 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 36px -6px rgba(20, 40, 160, 0.32), 0 0 0 4px #FFFFFF;
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.leader-card:hover .avatar-ring {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px -6px rgba(20, 40, 160, 0.42), 0 0 0 4px #FFFFFF;
}

.leader-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transition: transform var(--transition-normal);
}

.leader-card:hover .leader-photo {
  transform: scale(1.06);
}

.avatar-initials {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
}

.leader-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  color: var(--brand-blue);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.25rem 0.8rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(20, 40, 160, 0.16);
  white-space: nowrap;
  letter-spacing: 0.05em;
  z-index: 2;
}

.leader-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.leader-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-top: 0.2rem;
}

.leader-bio {
  font-size: 0.875rem;
  color: var(--navy-muted);
  line-height: 1.65;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.leader-contact {
  margin-top: auto;
}

.leader-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
  background: rgba(20, 40, 160, 0.04);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(20, 40, 160, 0.1);
  transition: all var(--transition-fast);
}

.leader-email-link:hover {
  background: rgba(20, 40, 160, 0.1);
}

.philosophy-card {
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  text-align: center;
}

.quote-icon {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--brand-blue);
  opacity: 0.35;
  margin-bottom: -1rem;
}

/* ==========================================================================
   CONTACT SECTION & BOTTOM BOXES (BALANCED DUAL-COLUMN LAYOUT)
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1.08fr;
    gap: 2.25rem;
  }
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.contact-detail-card {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: 1.5rem;
  box-shadow: var(--glass-card-shadow);
}

.contact-detail-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #FFFFFF;
  padding: 0.95rem 1.15rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(20, 40, 160, 0.12);
  box-shadow: 0 2px 10px rgba(20, 40, 160, 0.03);
  transition: all var(--transition-fast);
}

.contact-channel-item:hover {
  border-color: rgba(20, 40, 160, 0.3);
  box-shadow: 0 8px 24px -4px rgba(20, 40, 160, 0.1);
  transform: translateY(-1px);
}

.channel-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(20, 40, 160, 0.08) 0%, rgba(37, 99, 235, 0.1) 100%);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(20, 40, 160, 0.12);
}

.channel-meta {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.channel-type {
  font-family: var(--font-mono);
  font-size: 0.675rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-muted);
}

.channel-link {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.1rem;
  transition: color var(--transition-fast);
}

.channel-link:hover {
  color: var(--brand-blue-hover);
  text-decoration: underline;
}

.channel-hint {
  font-size: 0.675rem;
  color: var(--navy-muted);
  margin-top: 0.1rem;
}

.btn-copy-channel {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 0.65rem;
  background: rgba(20, 40, 160, 0.04);
  border: 1px solid rgba(20, 40, 160, 0.1);
  color: var(--navy-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-channel:hover {
  color: var(--brand-blue);
  background: rgba(20, 40, 160, 0.12);
  border-color: var(--brand-blue);
}

.location-badge {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(20, 40, 160, 0.04) 0%, rgba(37, 99, 235, 0.07) 100%);
  border: 1px solid rgba(20, 40, 160, 0.14);
}

.enterprise-security-box {
  padding: 1.35rem 1.5rem;
  border-radius: 1.25rem;
  background: #FFFFFF;
  border: 1px solid rgba(20, 40, 160, 0.12);
  box-shadow: 0 4px 16px -2px rgba(20, 40, 160, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.security-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1428A0 0%, #2563EB 100%);
  color: #FFFFFF;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.badge-status-dot.online {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #10B981;
}

.badge-status-dot.online::before {
  content: '●';
  margin-right: 4px;
}

/* Contact Form Column */
.contact-form-col {
  height: 100%;
}

.contact-form-card {
  padding: 2.25rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: 1.5rem;
  box-shadow: var(--glass-card-shadow);
}

.contact-form-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-dark);
  letter-spacing: 0.01em;
}

.required {
  color: #EF4444;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(20, 40, 160, 0.16);
  border-radius: 0.85rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--navy-dark);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(20, 40, 160, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.form-feedback {
  border-radius: 0.75rem;
  padding: 0.85rem 1.1rem;
  font-size: 0.825rem;
  font-weight: 600;
  margin-top: 1rem;
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #065F46;
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #991B1B;
}

.form-feedback.info {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: #1E40AF;
}

.form-direct-mail-note {
  font-size: 0.8rem;
  color: var(--navy-muted);
  line-height: 1.5;
  text-align: center;
}

.form-direct-mail-note a {
  transition: color var(--transition-fast);
}

/* ==========================================================================
   FOOTER (RICH 4-COLUMN HIERARCHY & METADATA BAR)
   ========================================================================== */
.site-footer {
  background: #050B24;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 3.5rem;
}

.footer-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 40, 160, 0.35) 0%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
    max-width: 580px;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1.25fr 1fr 1fr;
    gap: 2.5rem 1.75rem;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-link {
  display: inline-block;
}

.footer-logo-img {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.footer-brand-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 1rem;
}

.footer-brand-sub {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(147, 197, 253, 0.95);
  margin-top: 0.35rem;
}

.footer-brand-desc {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  margin-top: 0.5rem;
  max-width: 340px;
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.footer-link-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-link-item:hover {
  color: #FFFFFF;
  transform: translateX(2px);
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
}

.footer-nav-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list a {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-nav-list a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

@media (min-width: 768px) {
  .footer-bottom > div {
    justify-content: flex-end;
  }
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(7, 15, 43, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #FFFFFF;
  padding: 0.8rem 1.2rem;
  border-radius: 1rem;
  font-size: 0.825rem;
  font-weight: 600;
  box-shadow: 0 14px 35px -8px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: toast-slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toast-slide-in {
  from {
    transform: translateY(20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE POLISH & BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1080px) {
  .magic-island-wrapper {
    top: 0.65rem;
    padding: 0 0.85rem;
    width: 100%;
    box-sizing: border-box;
  }

  .magic-island {
    width: 100%;
    max-width: 480px;
    height: 48px;
    padding: 0 0.85rem;
    display: flex;
    align-items: center;
    border-radius: 9999px;
    box-sizing: border-box;
    box-shadow: 0 8px 26px -4px rgba(20, 40, 160, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  }

  .island-main {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .island-brand {
    padding: 0;
    height: 100%;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
  }

  .island-logo-img {
    height: 22px;
    width: auto;
    object-fit: contain;
    display: block;
  }

  /* Completely remove desktop links, dividers, status pill, and CTA button */
  .island-nav,
  .island-divider,
  .island-status-pill,
  .island-actions,
  .desktop-only {
    display: none !important;
  }

  /* Anchor controls (Theme Toggle + Hamburger) firmly to the FAR RIGHT edge */
  .island-controls-group {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto !important; /* Forces items all the way to the right */
    flex-shrink: 0;
  }

  .island-theme-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 40, 160, 0.05);
    border: 1px solid rgba(20, 40, 160, 0.12);
    color: var(--navy-dark);
    padding: 0;
    cursor: pointer;
  }

  .mobile-toggle-btn {
    display: inline-flex !important;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(20, 40, 160, 0.05);
    border: 1px solid rgba(20, 40, 160, 0.12);
    cursor: pointer;
    padding: 0;
  }

  .toggle-bar {
    width: 17px;
    height: 2px;
    background-color: var(--brand-blue);
    border-radius: 2px;
  }

  .contact-detail-card, .contact-form-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ==========================================================================
   9. INSTITUTIONAL LEGAL & COMPLIANCE MODAL SYSTEM
   ========================================================================== */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.legal-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.legal-modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(7, 15, 43, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.legal-modal-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 880px;
  max-height: 88vh;
  background: #FFFFFF;
  border-radius: 1.5rem;
  border: 1px solid rgba(20, 40, 160, 0.15);
  box-shadow: 0 25px 60px -15px rgba(7, 15, 43, 0.35), 0 0 1px 1px rgba(255, 255, 255, 0.8) inset;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform var(--transition-normal);
}

.legal-modal-backdrop.open .legal-modal-container {
  transform: translateY(0) scale(1);
}

.legal-modal-header {
  padding: 1.5rem 1.75rem 1.25rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-bottom: 1px solid rgba(20, 40, 160, 0.08);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.legal-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
  background: rgba(20, 40, 160, 0.06);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(20, 40, 160, 0.12);
  margin-bottom: 0.4rem;
}

.legal-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 8px rgba(20, 40, 160, 0.6);
}

.legal-modal-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.25;
}

.legal-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-legal-icon, .btn-legal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(20, 40, 160, 0.12);
  background: #FFFFFF;
  color: var(--navy-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-legal-icon:hover, .btn-legal-close:hover {
  background: rgba(20, 40, 160, 0.06);
  color: var(--brand-blue);
  border-color: rgba(20, 40, 160, 0.25);
  transform: translateY(-1px);
}

/* Legal Tabs */
.legal-tabs-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1.5rem;
  background: #F1F5FD;
  border-bottom: 1px solid rgba(20, 40, 160, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}

.legal-tabs-bar::-webkit-scrollbar {
  display: none;
}

.legal-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--navy-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.legal-tab-btn:hover {
  color: var(--brand-blue);
  background: rgba(255, 255, 255, 0.6);
}

.legal-tab-btn.active {
  background: #FFFFFF;
  color: var(--brand-blue);
  border-color: rgba(20, 40, 160, 0.15);
  box-shadow: 0 2px 8px rgba(20, 40, 160, 0.08);
}

/* Legal Modal Body */
.legal-modal-body {
  padding: 1.75rem 2rem;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 40, 160, 0.2) transparent;
}

.legal-modal-body::-webkit-scrollbar {
  width: 6px;
}

.legal-modal-body::-webkit-scrollbar-thumb {
  background: rgba(20, 40, 160, 0.2);
  border-radius: 3px;
}

.legal-tab-panel {
  display: none;
}

.legal-tab-panel.active {
  display: block;
  animation: legalFadeIn 0.25s ease-out;
}

@keyframes legalFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.legal-doc-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.legal-doc-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.legal-doc-meta {
  font-size: 0.775rem;
  color: var(--navy-muted);
  margin-top: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-doc-section {
  margin-bottom: 1.5rem;
}

.legal-section-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: var(--brand-blue);
}

.legal-paragraph {
  font-size: 0.875rem;
  color: var(--navy-slate);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.legal-list {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-list-item {
  font-size: 0.85rem;
  color: var(--navy-slate);
  line-height: 1.55;
  padding-left: 1.25rem;
  position: relative;
}

.legal-list-item::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  color: var(--brand-blue);
  font-weight: bold;
}

.legal-callout-card {
  background: linear-gradient(135deg, rgba(20, 40, 160, 0.04) 0%, rgba(37, 99, 235, 0.06) 100%);
  border: 1px solid rgba(20, 40, 160, 0.12);
  border-radius: 0.85rem;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}

.legal-callout-card strong {
  color: var(--brand-blue);
}

/* Modal Footer */
.legal-modal-footer {
  padding: 1rem 1.75rem;
  background: #F8FAFC;
  border-top: 1px solid rgba(20, 40, 160, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-footer-info {
  font-size: 0.75rem;
  color: var(--navy-muted);
}

.legal-footer-btns {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-legal-contact {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border-radius: 0.5rem;
  background: rgba(20, 40, 160, 0.08);
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-legal-contact:hover {
  background: var(--brand-blue);
  color: #FFFFFF;
}

.btn-legal-dismiss {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 0.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(20, 40, 160, 0.15);
  color: var(--navy-dark);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-legal-dismiss:hover {
  background: #F1F5FD;
}

/* ==========================================================================
   10. COOKIE CONSENT BANNER DESIGN
   ========================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9990;
  width: calc(100% - 2rem);
  max-width: 760px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(20, 40, 160, 0.16);
  border-radius: 1.25rem;
  box-shadow: 0 20px 45px -10px rgba(7, 15, 43, 0.22), 0 0 1px 1px rgba(255, 255, 255, 0.9) inset;
  padding: 1.15rem 1.4rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
  visibility: hidden;
}

.cookie-consent-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.cookie-banner-icon {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(20, 40, 160, 0.08) 0%, rgba(37, 99, 235, 0.12) 100%);
  border: 1px solid rgba(20, 40, 160, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
}

.cookie-banner-text {
  flex: 1;
  min-width: 0;
}

.cookie-banner-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.2rem;
}

.cookie-banner-desc {
  font-size: 0.775rem;
  color: var(--navy-muted);
  line-height: 1.45;
}

.cookie-banner-desc .cookie-link {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-cookie-primary {
  padding: 0.5rem 1rem;
  border-radius: 0.65rem;
  background: var(--brand-blue);
  color: #FFFFFF;
  border: none;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-cookie-primary:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-1px);
}

.btn-cookie-secondary {
  padding: 0.5rem 0.85rem;
  border-radius: 0.65rem;
  background: transparent;
  color: var(--navy-muted);
  border: 1px solid rgba(20, 40, 160, 0.15);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-cookie-secondary:hover {
  background: rgba(20, 40, 160, 0.05);
  color: var(--navy-dark);
}

.btn-cookie-tertiary {
  padding: 0.5rem 0.6rem;
  background: transparent;
  color: var(--navy-muted);
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.btn-cookie-tertiary:hover {
  color: var(--brand-blue);
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner-actions {
    width: 100%;
    margin-top: 0.5rem;
    flex-wrap: wrap;
  }
  .btn-cookie-primary, .btn-cookie-secondary {
    flex: 1;
    text-align: center;
  }
}

/* Footer Legal Links */
.footer-legal-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.footer-legal-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.form-legal-notice {
  font-size: 0.725rem;
  color: var(--navy-muted);
  line-height: 1.45;
  margin-top: 0.5rem;
}

.form-legal-notice a {
  cursor: pointer;
}

/* Utilities */
.hidden { display: none !important; }
.text-navy-muted { color: var(--navy-muted); }
.text-navy-dark { color: var(--navy-dark); }
.text-brand-blue { color: var(--brand-blue); }

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS & TOUCH OPTIMIZATIONS (320px - 768px)
   ========================================================================== */
@media (max-width: 1023px) {
  /* Prevent horizontal line clipping across vertical/stacked nodes on tablet/mobile */
  .timeline-container::before {
    display: none;
  }

  .node-marker-line {
    margin-bottom: 0.85rem;
  }
}

@media (max-width: 768px) {
  /* Global Layout Tightening */
  section.section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-title {
    font-size: 1.85rem !important;
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 0.9rem !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Hero Section Mobile Polish */
  .hero-section {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: 2.35rem !important;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 0.925rem !important;
    margin-top: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary,
  .hero-cta-group .hero-direct-mail {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-metrics-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    margin-top: 2rem !important;
  }

  .metric-card {
    padding: 0.85rem 0.75rem !important;
  }

  .metric-number {
    font-size: 1.35rem !important;
  }

  .metric-label {
    font-size: 0.7rem !important;
  }

  /* What We Do & Overview */
  .wwd-card {
    padding: 1.35rem 1.15rem;
  }

  .brand-positioning-banner {
    padding: 1.5rem 1.25rem;
  }

  .brand-creed-box {
    padding: 1.25rem 1rem;
  }

  .priorities-box {
    padding: 1.5rem 1.15rem;
  }

  .priority-card {
    padding: 1.25rem 1rem;
  }

  /* QBHARAT Education & Media */
  .initiative-hero-card {
    padding: 1.5rem 1.15rem;
  }

  .edu-clarification-banner {
    padding: 1.25rem 1rem;
  }

  /* Form Inputs (16px to prevent iOS auto-zoom) */
  input.form-input,
  select.form-select,
  textarea.form-textarea {
    font-size: 16px !important;
  }

  /* Footer Clean Stacking */
  .site-footer {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
  }

  .footer-grid {
    gap: 2rem;
  }

  .footer-nav-title {
    margin-bottom: 0.85rem;
  }

  .footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    gap: 1rem;
  }

  .footer-bottom p {
    text-align: center;
    line-height: 1.5;
  }
}

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

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .overview-grid,
  .what-we-do-grid,
  .pillars-deck {
    gap: 1.15rem;
  }

  .leader-card {
    padding: 1.75rem 1.25rem;
  }

  .leader-name {
    font-size: 1.25rem;
  }

  .leader-role {
    font-size: 0.825rem;
  }
}

/* ==========================================================================
   PRODUCTION-GRADE DEEP TECH DARK MODE SYSTEM (HIGH-CONTRAST & WCAG AAA)
   ========================================================================== */

/* 1. Dark Mode Color Tokens */
[data-theme="dark"] {
  --brand-blue: #3B82F6;
  --brand-blue-hover: #60A5FA;
  --brand-blue-light: #93C5FD;
  --brand-blue-glow: rgba(59, 130, 246, 0.45);
  --brand-blue-subtle: rgba(59, 130, 246, 0.15);
  --brand-blue-border: rgba(96, 165, 250, 0.32);

  --electric-blue: #60A5FA;
  --electric-cyan: #38BDF8;
  --electric-sky: #1E293B;

  --bg-white: #0A0F24;
  --bg-surface: #060919;
  --bg-surface-elevated: #0E1632;
  --bg-body: #050816;

  /* Guaranteed High-Contrast Text Tokens */
  --navy-dark: #F8FAFC;
  --navy-slate: #E2E8F0;
  --navy-muted: #CBD5E1;

  --border-glass: rgba(59, 130, 246, 0.22);
  --border-light: rgba(148, 163, 184, 0.2);

  --glass-bg: rgba(14, 22, 48, 0.82);
  --glass-blur: blur(28px) saturate(210%);
  --glass-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.75), 0 0 1px 1px rgba(255, 255, 255, 0.08) inset;
  --glass-card-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(59, 130, 246, 0.18) inset;

  --blue-tint: rgba(59, 130, 246, 0.15);
  --blue-border: rgba(96, 165, 250, 0.3);
}

/* 2. Global Dark Backgrounds & Typography Inversion */
[data-theme="dark"] body {
  background-color: #060919;
  color: #F8FAFC;
}

[data-theme="dark"] .bg-quantum-white {
  background-color: #060919 !important;
}

[data-theme="dark"] .hero-section {
  background: radial-gradient(circle at 50% 15%, #0B1437 0%, #060919 70%, #040612 100%) !important;
}

[data-theme="dark"] .bg-section-gradient {
  background: linear-gradient(180deg, rgba(10, 16, 38, 0.95) 0%, rgba(6, 9, 25, 0.98) 100%) !important;
}

[data-theme="dark"] .bg-section-light {
  background: linear-gradient(180deg, rgba(14, 22, 48, 0.75) 0%, rgba(8, 12, 30, 0.9) 100%) !important;
}

/* 3. Explicit High-Contrast Text Visibility (No dark-on-dark text) */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .text-navy-dark,
[data-theme="dark"] .section-title,
[data-theme="dark"] .hero-title,
[data-theme="dark"] .card-title,
[data-theme="dark"] .wwd-title,
[data-theme="dark"] .pillar-title,
[data-theme="dark"] .timeline-card-title,
[data-theme="dark"] .leader-name,
[data-theme="dark"] .form-label,
[data-theme="dark"] .spec-label,
[data-theme="dark"] .legal-modal-title,
[data-theme="dark"] .legal-doc-section-title,
[data-theme="dark"] .cookie-banner-title,
[data-theme="dark"] .philosophy-title {
  color: #F8FAFC !important;
}

[data-theme="dark"] p,
[data-theme="dark"] .text-navy-muted,
[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .hero-subtitle,
[data-theme="dark"] .hero-desc,
[data-theme="dark"] .wwd-desc,
[data-theme="dark"] .card-description,
[data-theme="dark"] .priority-card-desc,
[data-theme="dark"] .timeline-card-desc,
[data-theme="dark"] .leader-bio,
[data-theme="dark"] .philosophy-text,
[data-theme="dark"] .legal-paragraph,
[data-theme="dark"] .legal-list-item,
[data-theme="dark"] .cookie-banner-desc,
[data-theme="dark"] .cell-desc {
  color: #CBD5E1 !important;
}

[data-theme="dark"] .text-brand-blue,
[data-theme="dark"] .channel-link,
[data-theme="dark"] .wwd-link,
[data-theme="dark"] .spec-val,
[data-theme="dark"] .leader-role,
[data-theme="dark"] .telemetry-value,
[data-theme="dark"] .status-tag,
[data-theme="dark"] .active-badge,
[data-theme="dark"] .quote-icon,
[data-theme="dark"] .legal-badge-chip,
[data-theme="dark"] .cookie-link,
[data-theme="dark"] .hover\:text-brand-blue:hover {
  color: #60A5FA !important;
}

[data-theme="dark"] .gradient-text-blue {
  background: linear-gradient(135deg, #60A5FA 0%, #38BDF8 50%, #93C5FD 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* 4. Ambient Glowing Backdrop in Dark Mode */
[data-theme="dark"] .ambient-glow {
  opacity: 0.65;
}

[data-theme="dark"] .glow-1 {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
}

[data-theme="dark"] .glow-2 {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
}

[data-theme="dark"] .glow-3 {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.26) 0%, transparent 70%);
}

/* 5. Magic Island Navigation Bar */
[data-theme="dark"] .magic-island {
  background: rgba(10, 15, 36, 0.88);
  border: 1px solid rgba(59, 130, 246, 0.28);
  box-shadow: 0 14px 34px -6px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

[data-theme="dark"] .magic-island-wrapper.scrolled .magic-island {
  background: rgba(8, 12, 30, 0.95);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 18px 42px -8px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

[data-theme="dark"] .magic-island-wrapper::before {
  background: linear-gradient(180deg, rgba(6, 9, 25, 0.96) 0%, rgba(6, 9, 25, 0.7) 60%, rgba(6, 9, 25, 0) 100%);
}

[data-theme="dark"] .nav-link {
  color: #CBD5E1;
}

[data-theme="dark"] .nav-link:hover {
  color: #FFFFFF;
  background: rgba(59, 130, 246, 0.18);
}

[data-theme="dark"] .nav-link.active {
  color: #FFFFFF !important;
  background: #2563EB !important;
  box-shadow: 0 2px 10px -1px rgba(37, 99, 235, 0.5);
}

[data-theme="dark"] .island-divider {
  background: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .island-status-pill {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #93C5FD;
}

[data-theme="dark"] .island-status-pill:hover,
[data-theme="dark"] .island-status-pill.active {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(96, 165, 250, 0.45);
}

[data-theme="dark"] .island-telemetry-drawer {
  border-top-color: rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .telemetry-value {
  color: #60A5FA;
}

[data-theme="dark"] .telemetry-label {
  color: #94A3B8;
}

[data-theme="dark"] .telemetry-divider {
  background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .telemetry-email-chip {
  color: #60A5FA;
  background: rgba(59, 130, 246, 0.16);
}

[data-theme="dark"] .island-logo-img,
[data-theme="dark"] .mobile-nav-logo {
  filter: brightness(0) invert(1);
}

/* 6. Theme Toggle Button Active States */
[data-theme="dark"] .island-theme-btn {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(96, 165, 250, 0.32);
  color: #FBBF24;
}

[data-theme="dark"] .island-theme-btn:hover {
  background: rgba(59, 130, 246, 0.28);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.4);
  color: #FDE68A;
}

[data-theme="dark"] .island-theme-btn .sun-icon {
  display: block;
}

[data-theme="dark"] .island-theme-btn .moon-icon {
  display: none;
}

[data-theme="dark"] .mobile-toggle-btn {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(96, 165, 250, 0.32);
}

[data-theme="dark"] .mobile-toggle-btn:hover {
  background: rgba(59, 130, 246, 0.28);
}

[data-theme="dark"] .mobile-toggle-btn .toggle-bar {
  background-color: #93C5FD;
}

/* 7. Cards, Banners & Modules in Dark Mode */
[data-theme="dark"] .glass-card {
  background: rgba(14, 22, 48, 0.82);
  border-color: rgba(59, 130, 246, 0.22);
}

[data-theme="dark"] .glass-card:hover {
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.75), 0 0 15px rgba(59, 130, 246, 0.2), 0 0 1px 1px rgba(255, 255, 255, 0.12) inset;
}

[data-theme="dark"] .wwd-card {
  background: rgba(14, 22, 48, 0.85);
  border-color: rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .wwd-card:hover {
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.65), 0 0 15px rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .wwd-icon {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(96, 165, 250, 0.28);
  color: #60A5FA;
}

[data-theme="dark"] .card-icon-box {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(96, 165, 250, 0.25);
  color: #60A5FA;
}

[data-theme="dark"] .brand-positioning-banner {
  background: linear-gradient(135deg, rgba(14, 22, 48, 0.95) 0%, rgba(10, 16, 38, 0.98) 100%);
  border-color: rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .brand-creed-box {
  background: rgba(18, 28, 58, 0.9) !important;
  border-color: rgba(59, 130, 246, 0.28) !important;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .creed-item:not(:last-child) {
  border-bottom-color: rgba(59, 130, 246, 0.18);
}

[data-theme="dark"] .pill-sm,
[data-theme="dark"] .com-pill,
[data-theme="dark"] .section-tag,
[data-theme="dark"] .badge-tag {
  color: #93C5FD !important;
  background: rgba(59, 130, 246, 0.16) !important;
  border-color: rgba(96, 165, 250, 0.3) !important;
}

[data-theme="dark"] .priorities-box {
  background: rgba(14, 22, 48, 0.88);
  border-color: rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .priority-card {
  background: rgba(20, 32, 68, 0.9);
  border-color: rgba(59, 130, 246, 0.22);
}

[data-theme="dark"] .priority-card:hover {
  border-color: rgba(96, 165, 250, 0.45);
}

[data-theme="dark"] .priority-num-badge {
  color: #60A5FA;
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(96, 165, 250, 0.3);
}

[data-theme="dark"] .goal-item,
[data-theme="dark"] .bg-white {
  background-color: rgba(20, 32, 68, 0.9) !important;
  border-color: rgba(59, 130, 246, 0.22) !important;
}

[data-theme="dark"] .pillar-icon {
  background: rgba(20, 32, 68, 0.9);
  color: #60A5FA;
  border-color: rgba(96, 165, 250, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .pillar-indicator {
  color: #93C5FD;
  background: rgba(59, 130, 246, 0.16);
}

[data-theme="dark"] .pillar-sub-scope {
  background: rgba(59, 130, 246, 0.14);
  color: #E2E8F0;
  border-color: rgba(96, 165, 250, 0.28);
}

[data-theme="dark"] .pillar-mandate {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.28);
  color: #93C5FD;
}

[data-theme="dark"] .edu-stat-card {
  background: rgba(14, 22, 48, 0.85);
  border-color: rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .stat-highlight {
  color: #60A5FA;
  text-shadow: 0 0 24px rgba(59, 130, 246, 0.4);
}

[data-theme="dark"] .edu-clarification-banner {
  background: linear-gradient(135deg, rgba(14, 22, 48, 0.95) 0%, rgba(10, 16, 38, 0.98) 100%);
  border-color: rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .edu-clarification-sidebar {
  border-left-color: rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .academic-callout {
  background: rgba(14, 22, 48, 0.85);
  border-color: rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .tech-specs-list,
[data-theme="dark"] .spec-box {
  background: rgba(10, 16, 38, 0.85) !important;
  border: 1px solid rgba(59, 130, 246, 0.28) !important;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .sol-num {
  color: #60A5FA !important;
  background: rgba(59, 130, 246, 0.18) !important;
  border: 1px solid rgba(96, 165, 250, 0.3) !important;
}

[data-theme="dark"] .spec-label {
  color: #F8FAFC !important;
  font-weight: 700 !important;
}

[data-theme="dark"] .spec-val {
  color: #60A5FA !important;
  font-weight: 600 !important;
}

[data-theme="dark"] .cqws-banner {
  background: linear-gradient(135deg, rgba(14, 22, 48, 0.95) 0%, rgba(10, 16, 38, 0.98) 100%);
  border-color: rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .cqws-item {
  background: rgba(20, 32, 68, 0.9);
  border-color: rgba(59, 130, 246, 0.22);
}

[data-theme="dark"] .cqws-dot {
  background-color: #60A5FA;
}

[data-theme="dark"] .timeline-axis {
  background: rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .marker-year-pill {
  color: #F8FAFC;
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(96, 165, 250, 0.3);
}

[data-theme="dark"] .marker-dot {
  background: #0A0F24;
  border-color: #3B82F6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .marker-dot::after {
  background: #60A5FA;
}

[data-theme="dark"] .timeline-card {
  background: rgba(14, 22, 48, 0.85);
  border-color: rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .timeline-milestone-pill {
  color: #93C5FD;
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(96, 165, 250, 0.28);
}

[data-theme="dark"] .community-banner {
  background: rgba(14, 22, 48, 0.85);
  border-color: rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .avatar-ring {
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.6), 0 0 0 4px #0A0F24;
}

[data-theme="dark"] .leader-card:hover .avatar-ring {
  box-shadow: 0 20px 42px -6px rgba(59, 130, 246, 0.35), 0 0 0 4px #0A0F24;
}

[data-theme="dark"] .leader-badge {
  background: #141E3C;
  color: #60A5FA;
  border-color: rgba(96, 165, 250, 0.3);
}

[data-theme="dark"] .leader-credentials {
  background: rgba(59, 130, 246, 0.14);
  color: #E2E8F0;
  border-color: rgba(96, 165, 250, 0.25);
}

[data-theme="dark"] .company-philosophy-box {
  background: rgba(14, 22, 48, 0.85);
  border-color: rgba(59, 130, 246, 0.25);
}

/* 8. Contact Section, Form Controls & Badges */
[data-theme="dark"] .contact-detail-card,
[data-theme="dark"] .contact-form-card {
  background: rgba(14, 22, 48, 0.85);
  border-color: rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .contact-channel-item {
  background: rgba(18, 28, 58, 0.85);
  border-color: rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .channel-icon-box {
  background: rgba(59, 130, 246, 0.18);
  color: #60A5FA;
  border-color: rgba(96, 165, 250, 0.25);
}

[data-theme="dark"] .channel-type {
  color: #94A3B8 !important;
}

[data-theme="dark"] .location-badge {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(96, 165, 250, 0.28);
}

[data-theme="dark"] .enterprise-security-box {
  background: rgba(18, 28, 58, 0.85);
  border-color: rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea {
  background: #0E1630 !important;
  border-color: rgba(96, 165, 250, 0.28) !important;
  color: #F8FAFC !important;
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] .form-textarea:focus {
  border-color: #60A5FA !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35) !important;
}

[data-theme="dark"] .form-input::placeholder,
[data-theme="dark"] .form-textarea::placeholder {
  color: #94A3B8 !important;
}

[data-theme="dark"] .form-select option {
  background: #0E1630;
  color: #F8FAFC;
}

/* 9. Legal Modal in Dark Mode */
[data-theme="dark"] .legal-modal-backdrop {
  background: rgba(3, 6, 18, 0.84);
}

[data-theme="dark"] .legal-modal-container {
  background: #0A0F24;
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 1px 1px rgba(255, 255, 255, 0.08) inset;
}

[data-theme="dark"] .legal-modal-header {
  background: linear-gradient(180deg, #0E1632 0%, #0A0F24 100%);
  border-bottom-color: rgba(59, 130, 246, 0.18);
}

[data-theme="dark"] .legal-modal-footer {
  background: #0E1632;
  border-top-color: rgba(59, 130, 246, 0.18);
}

[data-theme="dark"] .btn-legal-icon,
[data-theme="dark"] .btn-legal-close {
  background: #141E3C;
  border-color: rgba(96, 165, 250, 0.2);
  color: #CBD5E1;
}

[data-theme="dark"] .btn-legal-icon:hover,
[data-theme="dark"] .btn-legal-close:hover {
  background: rgba(59, 130, 246, 0.25);
  color: #FFFFFF;
}

[data-theme="dark"] .legal-tabs-bar {
  background: #0E1632;
  border-bottom-color: rgba(59, 130, 246, 0.18);
}

[data-theme="dark"] .legal-tab-btn {
  background: #141E3C;
  color: #94A3B8;
  border-color: rgba(96, 165, 250, 0.18);
}

[data-theme="dark"] .legal-tab-btn.active {
  background: #2563EB;
  color: #FFFFFF;
}

[data-theme="dark"] .legal-callout-box {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(59, 130, 246, 0.25);
  color: #E2E8F0;
}

[data-theme="dark"] .btn-legal-dismiss {
  background: #141E3C;
  color: #F8FAFC;
  border-color: rgba(96, 165, 250, 0.25);
}

[data-theme="dark"] .btn-legal-dismiss:hover {
  background: #1E293B;
}

/* 10. Cookie Banner in Dark Mode */
[data-theme="dark"] .cookie-consent-banner {
  background: rgba(10, 15, 36, 0.96);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.8), 0 0 1px 1px rgba(255, 255, 255, 0.08) inset;
}

[data-theme="dark"] .btn-cookie-secondary {
  background: #141E3C;
  color: #F8FAFC;
  border-color: rgba(96, 165, 250, 0.25);
}

[data-theme="dark"] .btn-cookie-secondary:hover {
  background: #1E293B;
}

/* 11. Mobile Nav Overlay in Dark Mode */
[data-theme="dark"] .mobile-nav-container {
  background: rgba(10, 15, 36, 0.96);
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

[data-theme="dark"] .mobile-cell-link {
  background: rgba(18, 28, 58, 0.65);
  border-color: rgba(59, 130, 246, 0.16);
}

[data-theme="dark"] .mobile-cell-link:hover {
  background: rgba(25, 40, 80, 0.85);
  border-color: rgba(96, 165, 250, 0.35);
}

[data-theme="dark"] .cell-title {
  color: #F8FAFC !important;
}

[data-theme="dark"] .cell-desc {
  color: #CBD5E1 !important;
}

[data-theme="dark"] .cell-icon {
  background: rgba(59, 130, 246, 0.18);
  color: #60A5FA;
}

[data-theme="dark"] .mobile-nav-close-btn {
  background: rgba(59, 130, 246, 0.14);
  color: #CBD5E1;
}

/* 12. Miscellaneous Border Corrections */
[data-theme="dark"] .border-slate-200,
[data-theme="dark"] .border-slate-200\/70,
[data-theme="dark"] .border-slate-200\/60,
[data-theme="dark"] .border-blue-200\/60 {
  border-color: rgba(59, 130, 246, 0.22) !important;
}

/* 13. Hero Typography, Badge, Visual & CTAs in Dark Mode */
[data-theme="dark"] .hero-title {
  color: #FFFFFF !important;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .hero-subtitle {
  color: #CBD5E1 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .inline-badge {
  background: rgba(14, 22, 48, 0.9) !important;
  border-color: rgba(96, 165, 250, 0.35) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 12px rgba(59, 130, 246, 0.15) !important;
}

[data-theme="dark"] .badge-text {
  color: #F8FAFC !important;
}

[data-theme="dark"] .badge-dot {
  background-color: #60A5FA !important;
  box-shadow: 0 0 10px #60A5FA !important;
}

[data-theme="dark"] .badge-tag {
  background: rgba(59, 130, 246, 0.22) !important;
  color: #93C5FD !important;
  border: 1px solid rgba(96, 165, 250, 0.35) !important;
}

[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  box-shadow: 0 10px 25px -4px rgba(37, 99, 235, 0.5) !important;
}

[data-theme="dark"] .btn-secondary {
  background: rgba(18, 28, 58, 0.9) !important;
  color: #F8FAFC !important;
  border-color: rgba(96, 165, 250, 0.35) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .btn-secondary:hover {
  background: rgba(30, 48, 96, 0.95) !important;
  border-color: #60A5FA !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.35) !important;
}

[data-theme="dark"] .hero-direct-mail {
  background: rgba(18, 28, 58, 0.85) !important;
  border-color: rgba(96, 165, 250, 0.3) !important;
  color: #93C5FD !important;
}

[data-theme="dark"] .hero-direct-mail:hover {
  background: rgba(30, 48, 96, 0.95) !important;
  border-color: #60A5FA !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] .hero-metrics-strip {
  border-top-color: rgba(59, 130, 246, 0.22) !important;
}

[data-theme="dark"] .metric-number {
  color: #60A5FA !important;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

[data-theme="dark"] .metric-label {
  color: #CBD5E1 !important;
}

[data-theme="dark"] .hero-visual-card {
  background: rgba(10, 16, 38, 0.9) !important;
  border-color: rgba(59, 130, 246, 0.28) !important;
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(59, 130, 246, 0.15), 0 0 1px 1px rgba(255, 255, 255, 0.1) inset !important;
}

[data-theme="dark"] .visual-title {
  color: #F8FAFC !important;
}

[data-theme="dark"] .visual-badge {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(96, 165, 250, 0.3);
  color: #93C5FD;
}

[data-theme="dark"] .telemetry-chip {
  background: rgba(20, 32, 68, 0.85);
  border-color: rgba(59, 130, 246, 0.22);
}

[data-theme="dark"] .chip-title {
  color: #94A3B8 !important;
}

[data-theme="dark"] .chip-val {
  color: #60A5FA !important;
}

/* 14. Site Footer in Dark Mode */
[data-theme="dark"] .site-footer {
  background: #030614 !important;
  border-top: 1px solid rgba(59, 130, 246, 0.2) !important;
}

[data-theme="dark"] .footer-brand-tagline {
  color: #F8FAFC !important;
}

[data-theme="dark"] .footer-brand-sub {
  color: #60A5FA !important;
}

[data-theme="dark"] .footer-brand-desc {
  color: #CBD5E1 !important;
}

[data-theme="dark"] .footer-nav-title {
  color: #F8FAFC !important;
}

[data-theme="dark"] .footer-nav-list a {
  color: #94A3B8 !important;
}

[data-theme="dark"] .footer-nav-list a:hover {
  color: #60A5FA !important;
}

[data-theme="dark"] .footer-contact-links .footer-link-item {
  color: #CBD5E1 !important;
}

[data-theme="dark"] .footer-contact-links .footer-link-item:hover {
  color: #60A5FA !important;
}

[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .footer-bottom p {
  color: #94A3B8 !important;
}

[data-theme="dark"] .footer-legal-link {
  color: #94A3B8 !important;
}

[data-theme="dark"] .footer-legal-link:hover {
  color: #60A5FA !important;
}

/* 15. Form Notices & Helpers in Dark Mode */
[data-theme="dark"] .form-direct-mail-note {
  color: #94A3B8 !important;
}

[data-theme="dark"] .form-legal-notice {
  color: #94A3B8 !important;
}

