:root {
  --color-midnight: #081225;
  --color-blue: #3b82f6;
  --color-indigo: #5b4bff;
  --color-gold: #f4b942;
  --color-success: #22c55e;
  --color-bg: #f8fafc;
  --color-surface: #0f172a;
  --color-accent: #eef2ff;
  --navy: #081225;
  --navy-dark: #050d1a;
  --navy-light: #3b82f6;
  --gold: #f4b942;
  --gold-dark: #d9a02e;
  --gold-glow: rgba(244, 185, 66, 0.45);
  --red: #ef4444;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #eef2ff;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --shadow: 0 4px 24px rgba(8, 18, 37, 0.1);
  --shadow-lg: 0 24px 56px rgba(8, 18, 37, 0.18);
  --radius: 14px;
  --radius-lg: 20px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font: var(--font-body);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.35rem;
  --text-2xl: 1.75rem;
  --text-3xl: clamp(1.75rem, 4vw, 2.5rem);
  --text-4xl: clamp(2rem, 5vw, 3.25rem);
  --gradient-brand: linear-gradient(135deg, var(--color-blue), var(--color-indigo));
  --gradient-hero: linear-gradient(125deg, var(--navy-dark) 0%, var(--navy) 40%, #1e3a5f 70%, #2563eb 100%);
  --gradient-gold: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-800);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10001;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}
:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); }

.container { width: min(1140px, 92%); margin: 0 auto; }
@media (min-width: 1201px) {
  .site-header .container {
    width: 95%;
    max-width: 1300px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  transition: background 0.3s var(--ease-out), box-shadow 0.3s;
}
.page-home .site-header {
  background: rgba(0, 26, 61, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
.page-home .site-header .main-nav a,
.page-home .site-header .logo-link {
  color: var(--white);
}
.page-home .site-header .main-nav a:hover {
  color: var(--gold);
}
.page-home .site-header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
.page-home .site-header.scrolled .main-nav a {
  color: var(--navy);
}
.page-home .site-header.scrolled .main-nav a:hover {
  color: var(--gold-dark);
}
@media (max-width: 1200px) {
  .page-home .site-header,
  .page-home .site-header.scrolled {
    background: var(--white);
  }
  .page-home .site-header .main-nav a {
    color: var(--navy);
  }
  .page-home .main-nav.open {
    background: var(--white);
  }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 0;
  gap: 1rem;
}
.logo-link { display: flex; align-items: center; gap: .5rem; }
.logo-link img { height: 56px; width: auto; }

.nav-toggle {
  display: none;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: .5rem .75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 0.95rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav li {
  position: relative;
}
.main-nav a {
  font-weight: 600;
  font-size: .85rem;
  color: var(--navy);
}
.main-nav a:hover { color: var(--gold-dark); }

/* Dropdown Styles */
.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.dropdown-arrow {
  font-size: 0.6em;
  transition: transform 0.2s;
}
.main-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 1000;
  gap: 0;
}
.main-nav .dropdown li {
  width: 100%;
}
.main-nav .dropdown a {
  padding: 0.5rem 1.25rem;
  display: block;
  font-weight: 500;
  color: var(--navy) !important;
}
.main-nav .dropdown a:hover {
  background: var(--gray-50);
  color: var(--gold-dark) !important;
}
.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .has-dropdown:hover .dropdown-arrow,
.main-nav .has-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}
@media (max-width: 1200px) {
  .main-nav .dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding-left: 1rem;
  }
  .main-nav .has-dropdown:hover .dropdown,
  .main-nav .has-dropdown:focus-within .dropdown,
  .main-nav .has-dropdown.open .dropdown {
    display: flex;
  }
}
.header-cta {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .75rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary {
  background: var(--gradient-gold);
  color: var(--navy-dark);
  border-color: transparent;
  min-height: 44px;
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-secondary {
  background: var(--gradient-brand);
  color: var(--white);
  border-color: transparent;
  min-height: 44px;
}
.btn-secondary:hover { filter: brightness(1.08); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.btn-glow {
  box-shadow: 0 4px 24px var(--gold-glow);
}
.btn-glow:hover {
  box-shadow: 0 8px 32px var(--gold-glow);
}
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }

/* Animated hero banner (home) */
.hero-banner {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding: calc(var(--header-h) + 2rem) 0 4.5rem;
  color: var(--white);
  overflow-x: hidden;
  overflow-y: visible;
}
.banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--navy-dark);
  overflow: hidden;
}
.banner-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.banner-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: orbFloat 18s ease-in-out infinite;
}
.banner-orb--1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  top: -15%;
  right: -8%;
  animation-delay: 0s;
}
.banner-orb--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 74, 159, 0.6), transparent 70%);
  bottom: 10%;
  left: -5%;
  animation-delay: -6s;
}
.banner-orb--3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(198, 40, 40, 0.25), transparent 70%);
  top: 40%;
  left: 35%;
  animation-delay: -12s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}
.banner-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
}
.banner-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleDrift 8s ease-in-out infinite;
}
.banner-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.banner-particles span:nth-child(2) { left: 25%; top: 60%; animation-delay: 1s; width: 4px; height: 4px; }
.banner-particles span:nth-child(3) { left: 45%; top: 30%; animation-delay: 2s; }
.banner-particles span:nth-child(4) { left: 70%; top: 15%; animation-delay: 0.5s; width: 5px; height: 5px; }
.banner-particles span:nth-child(5) { left: 85%; top: 45%; animation-delay: 3s; }
.banner-particles span:nth-child(6) { left: 55%; top: 75%; animation-delay: 1.5s; width: 4px; height: 4px; }
.banner-particles span:nth-child(7) { left: 15%; top: 80%; animation-delay: 2.5s; }
.banner-particles span:nth-child(8) { left: 90%; top: 70%; animation-delay: 4s; width: 5px; height: 5px; }
@keyframes particleDrift {
  0%, 100% { opacity: 0; transform: translateY(0); }
  20% { opacity: 0.7; }
  50% { opacity: 0.4; transform: translateY(-40px); }
  80% { opacity: 0; }
}
.hero-banner-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-banner-visual {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 184, 28, 0.45);
  animation: ringSpin 24s linear infinite;
}
@keyframes ringSpin {
  to { transform: rotate(360deg); }
}
.hero-visual-core {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 184, 28, 0.95), var(--gold-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 48px rgba(255, 184, 28, 0.35);
  animation: corePulse 4s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.hero-visual-icon {
  font-size: 3rem;
  line-height: 1;
}
.hero-visual-label {
  font-weight: 800;
  color: var(--navy-dark);
  font-size: 1.1rem;
  margin-top: 0.25rem;
}
.hero-float-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  animation: chipFloat 5s ease-in-out infinite;
}
.chip-1 { top: 5%; left: 0; animation-delay: 0s; }
.chip-2 { top: 5%; right: 0; animation-delay: 0.8s; }
.chip-3 { bottom: 25%; left: -5%; animation-delay: 1.6s; }
.chip-4 { bottom: 5%; right: 15%; animation-delay: 2.4s; }
.chip-5 { top: 40%; left: -10%; animation-delay: 0.4s; }
.chip-6 { bottom: 5%; left: 15%; animation-delay: 1.2s; }
.chip-7 { top: 40%; right: -10%; animation-delay: 2.0s; }
.chip-8 { bottom: 25%; right: -5%; animation-delay: 2.8s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-banner h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}
.hero-banner h1 .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}
.hero-banner .tagline {
  color: var(--gold);
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
.hero-banner .lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1.5rem;
  max-width: 36em;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
}
.badge {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 184, 28, 0.55);
  padding: .4rem .95rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--white);
  backdrop-filter: blur(4px);
  transition: transform 0.2s var(--ease-out), background 0.2s;
}
.badge:hover {
  transform: translateY(-2px);
  background: rgba(255, 184, 28, 0.2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.banner-animate {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
  .banner-animate {
    opacity: 0;
    transform: translateY(28px);
    animation: bannerFadeUp 0.85s var(--ease-out) forwards;
  }
  .banner-animate[data-delay="0"] { animation-delay: 0.1s; }
  .banner-animate[data-delay="1"] { animation-delay: 0.25s; }
  .banner-animate[data-delay="2"] { animation-delay: 0.4s; }
  .banner-animate[data-delay="3"] { animation-delay: 0.55s; }
  .banner-animate[data-delay="4"] { animation-delay: 0.7s; }
  .banner-animate[data-delay="5"] { animation-delay: 0.85s; }
}
@keyframes bannerFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}
.hero-card-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: .75rem;
  font-weight: 800;
  padding: .3rem .75rem;
  border-radius: 999px;
  margin-bottom: .85rem;
}
.hero-card h3 {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
}
.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
}
.hero-card li {
  margin-bottom: .5rem;
  line-height: 1.5;
}
.hero-card--light {
  background: var(--white);
  color: var(--gray-800);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow);
}
.hero-card--light h3 { color: var(--navy); }
.hero-card--light p,
.hero-card--light li { color: var(--gray-600); }
.hero-card--light a { font-weight: 700; }

.banner-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: color 0.2s;
}
.banner-scroll-hint:hover {
  color: var(--gold);
}
.banner-scroll-icon {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  position: relative;
}
.banner-scroll-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.4; }
}

/* Stats bar below banner */
.stats-bar {
  background: var(--white);
  padding: 0;
  margin-top: -2rem;
  position: relative;
  z-index: 5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(0, 45, 98, 0.08);
}
.stat-item {
  text-align: center;
  padding: .5rem;
  border-right: 1px solid var(--gray-100);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  display: block;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.stat-label {
  display: block;
  font-size: .8rem;
  color: var(--gray-600);
  font-weight: 600;
  margin-top: .25rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cards-grid .card.reveal:nth-child(2) { transition-delay: 0.08s; }
.cards-grid .card.reveal:nth-child(3) { transition-delay: 0.16s; }
.cards-grid .card.reveal:nth-child(4) { transition-delay: 0.24s; }
.cards-grid .card.reveal:nth-child(5) { transition-delay: 0.32s; }
.cards-grid .card.reveal:nth-child(6) { transition-delay: 0.4s; }
.features-grid .feature-item.reveal:nth-child(2) { transition-delay: 0.1s; }
.features-grid .feature-item.reveal:nth-child(3) { transition-delay: 0.2s; }
.features-grid .feature-item.reveal:nth-child(4) { transition-delay: 0.3s; }

/* Legacy hero (inner pages) */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 55%, #003d7a 100%);
  color: var(--white);
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 50%;
  height: 140%;
  background: radial-gradient(circle, rgba(255,184,28,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}
.hero .tagline { color: var(--gold); font-style: italic; font-size: 1.15rem; margin-bottom: 1rem; }
.hero p.lead { font-size: 1.1rem; opacity: .95; margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Sections */
section { padding: 4rem 0; }
section:nth-child(even):not(.hero-banner):not(.stats-bar):not(.cta-band) { background: var(--gray-50); }
#services { padding-top: 5rem; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-header h2 { color: var(--navy); font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .75rem; }
.section-header p { color: var(--gray-600); margin: 0; }
.section-label {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .25rem .65rem;
  border-radius: 4px;
  margin-bottom: .5rem;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-top: 4px solid var(--color-indigo);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  position: relative;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-8px) perspective(800px) rotateX(2deg);
    box-shadow: var(--shadow-lg);
  }
}
.card h3 { color: var(--navy); margin: 0 0 .5rem; font-size: 1.1rem; }
.card p { color: var(--gray-600); margin: 0 0 1rem; font-size: .95rem; }
.card .card-link { font-weight: 700; color: var(--navy); font-size: .9rem; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.feature-item {
  text-align: center;
  padding: 1.25rem;
}
.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto .75rem;
  background: var(--gradient-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-display);
}
.feature-item h3 { color: var(--navy); margin: 0 0 .5rem; font-size: 1rem; }
.feature-item p { color: var(--gray-600); font-size: .9rem; margin: 0; }

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.two-col h2 { color: var(--navy); margin-top: 0; }
.two-col ul { padding-left: 1.2rem; }
.two-col li { margin-bottom: .4rem; }

/* CTA band */
.cta-band {
  background: var(--accent);
  color: var(--color-indigo);
  padding: 3rem 0;
  text-align: center;
}
.cta-band h2 { margin: 0 0 .75rem; font-size: clamp(1.35rem, 3vw, 1.85rem); color: var(--color-indigo) !important; }
.cta-band p { margin: 0 0 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; color: var(--color-indigo) !important; opacity: 0.9; }
.cta-band .btn { margin: 0 .35rem; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item button::after { content: "+"; font-size: 1.25rem; color: var(--gold-dark); }
.faq-item.open button::after { content: "−"; }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  padding: 0 1.25rem;
  color: var(--gray-600);
  transition: max-height 0.4s var(--ease-out), padding 0.3s;
}
.faq-item.open .faq-answer {
  padding: 0 1.25rem 1rem;
}

/* Page hero (inner) */
.page-hero {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(91, 75, 255, 0.35), transparent 50%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin: 0 0 .5rem; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.page-hero .breadcrumb { font-size: .85rem; opacity: .8; }
.page-hero .breadcrumb a { color: var(--gold); }

/* Content prose */
.prose { max-width: 800px; }
.prose h2 { color: var(--navy); margin-top: 2rem; }
.prose h3 { color: var(--navy); margin-top: 1.5rem; font-size: 1.1rem; }
.prose p, .prose li { color: var(--gray-600); }
.prose-wide { max-width: 100%; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-card {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}
.contact-card h3 { margin-top: 0; color: var(--navy); }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: .75rem;
  margin-bottom: .75rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
}
.contact-form label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: .25rem; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.85);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h4 { color: var(--gold); margin: 0 0 1rem; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: rgba(255,255,255,.8); font-size: .9rem; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
  text-align: center;
  font-size: .85rem;
  opacity: .7;
}
.phone-float {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  z-index: 997;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.phone-float a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.35rem;
  box-shadow: var(--shadow);
}
.phone-float .call { background: var(--gradient-brand); }
.phone-float .whatsapp { background: #25d366; }

.footer-address {
  font-size: var(--text-sm);
  opacity: 0.85;
  margin: 0.75rem 0 0.5rem;
  line-height: 1.5;
}
.footer-directions {
  color: var(--gold);
  font-weight: 700;
  font-size: var(--text-sm);
}
.footer-directions:hover { color: var(--white); }

/* Mobile sticky CTA */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  box-shadow: 0 -8px 32px rgba(8, 18, 37, 0.12);
  padding: 0.5rem;
  gap: 0.35rem;
  grid-template-columns: 1fr 1fr 1.2fr;
}
.mobile-cta-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--navy);
  background: var(--gray-50);
  text-decoration: none;
}
.mobile-cta-whatsapp {
  background: #25d366;
  color: var(--white);
}
.mobile-cta-demo {
  background: var(--gradient-gold);
  color: var(--navy-dark);
}

/* Map embed */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  margin-top: var(--space-md);
}
.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Testimonials slider */
.testimonial-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s var(--ease-out);
}
.testimonial-slide {
  min-width: 100%;
  padding: 0.25rem;
  box-sizing: border-box;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.testimonial-quote {
  font-size: var(--text-lg);
  color: var(--gray-800);
  line-height: 1.7;
  margin: 0 0 1rem;
  font-style: italic;
}
.testimonial-author {
  font-weight: 700;
  color: var(--navy);
}
.testimonial-role {
  font-size: var(--text-sm);
  color: var(--gray-600);
}
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.slider-prev,
.slider-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-blue);
  background: var(--white);
  color: var(--navy);
  font-size: 1.25rem;
  cursor: pointer;
  font-weight: 700;
}

/* Faculty & results cards */
.faculty-grid,
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.faculty-card,
.result-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.faculty-card:hover,
.result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.faculty-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  font-family: var(--font-display);
}
.result-score {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-indigo);
  font-family: var(--font-display);
}
.result-label {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin-top: 0.25rem;
}
.placeholder-note {
  font-size: var(--text-sm);
  color: var(--gray-600);
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}

/* Outcomes strip */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.outcome-card {
  background: var(--gradient-brand);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
}
.outcome-card h3 {
  margin: 0 0 0.5rem;
  font-size: var(--text-xl);
}
.outcome-card p {
  margin: 0;
  opacity: 0.92;
  font-size: var(--text-sm);
}

/* Responsive table → cards */
.table-responsive { overflow-x: auto; }
@media (max-width: 700px) {
  .info-table thead { display: none; }
  .info-table tr {
    display: block;
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
  }
  .info-table td {
    display: block;
    padding: 0.5rem 1rem;
    border: none;
    text-align: left;
  }
  .info-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--navy);
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
  }
  .outcomes-grid { grid-template-columns: 1fr; }
}

/* Blog */
.blog-topics { columns: 2; column-gap: 2rem; }
.blog-topics li { break-inside: avoid; margin-bottom: .5rem; }

/* Tables */
.info-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.info-table th, .info-table td {
  padding: .75rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.info-table th { background: var(--navy); color: var(--white); }

/* Responsive */
@media (max-width: 1100px) {
  .hero-banner-inner {
    grid-template-columns: 1fr 1fr;
  }
  .hero-banner-visual {
    display: none;
  }
}
@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  
  /* Flex ordering for alignment */
  .logo-link {
    order: 1;
  }
  .header-cta {
    order: 2;
    margin-left: auto;
  }
  .header-cta .btn-secondary { display: none; }
  .nav-toggle {
    order: 3;
  }
  
  /* Mobile menu full width & dropdown arrow alignment */
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav li {
    width: 100%;
  }
  .main-nav a {
    display: block;
    width: 100%;
    padding: 0.6rem 0;
  }
  .main-nav .dropdown a {
    padding: 0.5rem 1rem;
  }
  .main-nav .has-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
@media (max-width: 900px) {
  .hero-banner-inner,
  .hero-grid,
  .two-col,
  .contact-grid,
  .footer-grid,
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--gray-100);
    padding-bottom: 1rem;
  }
  .stat-item:last-child { border-bottom: none; padding-bottom: .5rem; }
  .hero-banner { min-height: auto; padding-bottom: 5rem; }
  .banner-scroll-hint { display: none; }
  .blog-topics { columns: 1; }
}
@media (max-width: 768px) {
  .mobile-cta-bar { display: grid; }
  body { padding-bottom: 64px; }
  .phone-float { display: none; }
}
@media (max-width: 600px) {
  .hero,
  .hero-banner { padding: calc(var(--header-h) + 1.5rem) 0 3rem; }
  section { padding: 2.5rem 0; }
  #services { padding-top: 3.5rem; }
  .stats-bar { margin-top: -1rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .phone-float { bottom: 5rem; }
  .map-embed iframe { height: 280px; }
  
  /* Center contact and assessment form buttons */
  .contact-form button[type="submit"] {
    width: 100%;
  }
}

/* Tribute Card Styles */
.tribute-card {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: var(--gray-50);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-left: 5px solid var(--color-blue);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 12px rgba(8, 18, 37, 0.04);
}
.tribute-img-container {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
}
.tribute-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease-out);
}
.tribute-card:hover .tribute-img-container {
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 10px 25px rgba(8, 18, 37, 0.18);
  border-color: var(--color-blue);
}
.tribute-card:hover .tribute-img {
  transform: scale(1.15);
}
.tribute-text h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
}
.tribute-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-600);
}
@media (max-width: 600px) {
  .tribute-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }
  .tribute-img-container {
    margin: 0 auto 0.5rem;
  }
}

/* Founder Card Styles */
.founder-card {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(244, 185, 66, 0.2);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow);
}
.founder-img-container {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
}
.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease-out);
}
.founder-card:hover .founder-img-container {
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 0 10px 25px rgba(244, 185, 66, 0.28);
  border-color: var(--gold);
}
.founder-card:hover .founder-img {
  transform: scale(1.15);
}
.founder-text h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
}
.founder-text .subtitle {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.founder-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-600);
}
@media (max-width: 600px) {
  .founder-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }
  .founder-img-container {
    margin: 0 auto 0.5rem;
  }
}

/* Social Buttons */
.btn-facebook {
  background: #1877f2;
  color: var(--white);
  border-color: transparent;
}
.btn-facebook:hover {
  background: #166fe5;
  color: var(--white);
  filter: brightness(1.05);
}
.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--white);
  border-color: transparent;
}
.btn-instagram:hover {
  filter: brightness(1.08);
  color: var(--white);
}

.social-grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}
@media (max-width: 600px) {
  .social-grid {
    flex-direction: column;
  }
  .social-grid .btn {
    width: 100%;
  }
}

/* Gallery Filter and Lightbox System */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--gray-100);
  background: var(--white);
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  font-family: var(--font-display);
}

.gallery-filter-btn:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
  transform: translateY(-1px);
}

.gallery-filter-btn.active {
  background: var(--gradient-brand);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.gallery-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(59, 130, 246, 0.08);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), opacity 0.4s var(--ease-out), scale 0.4s var(--ease-out);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transform-origin: center;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-media {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: var(--gray-50);
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.gallery-card:hover .gallery-media img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 37, 0.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s var(--ease-out);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(8, 18, 37, 0.25);
  transform: scale(0.8);
  transition: transform 0.3s var(--ease-out);
}

.gallery-card:hover .gallery-zoom-icon {
  transform: scale(1);
}

.gallery-details {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.gallery-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-blue);
  background: var(--gray-100);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}

.gallery-details h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.35;
}

.gallery-details p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 13, 26, 0.96);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 68vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.lightbox-caption {
  color: var(--white);
  text-align: center;
  margin-top: 1.25rem;
  max-width: 600px;
}

.lightbox-caption h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 700;
}

.lightbox-caption p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.25rem;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s, transform 0.2s;
  padding: 0.5rem;
  line-height: 1;
}

.lightbox-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, opacity 0.25s, transform 0.25s;
  opacity: 0.75;
  user-select: none;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

@media (max-width: 1024px) {
  .lightbox-prev {
    left: -60px;
  }
  .lightbox-next {
    right: -60px;
  }
}

@media (max-width: 900px) {
  .lightbox-prev {
    left: 10px;
    background: rgba(8, 18, 37, 0.6);
    border-color: rgba(255,255,255,0.1);
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  .lightbox-next {
    right: 10px;
    background: rgba(8, 18, 37, 0.6);
    border-color: rgba(255,255,255,0.1);
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  .lightbox-close {
    right: 5px;
    top: -50px;
  }
}

/* Interactive Blog Hub CSS Styles */
.blog-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.blog-featured-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(59, 130, 246, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.blog-featured-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-featured-media {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--gray-50);
}

.blog-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.blog-featured-card:hover .blog-featured-media img {
  transform: scale(1.04);
}

.blog-featured-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-featured-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-indigo);
  background: var(--gray-100);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.blog-featured-content h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.4;
}

.blog-featured-content p {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.blog-read-more-btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-blue);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}

.blog-read-more-btn:hover {
  color: var(--color-indigo);
}

.blog-search-box {
  background: var(--gray-50);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: inset 0 2px 8px rgba(8, 18, 37, 0.02);
}

.blog-search-box-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.blog-search-input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3rem;
  border-radius: 12px;
  border: 2px solid #cbd5e1;
  font-family: inherit;
  font-size: 1.05rem;
  box-shadow: var(--shadow);
  transition: all 0.3s var(--ease-out);
}

.blog-search-input:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.blog-search-icon-svg {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-600);
  pointer-events: none;
  font-size: 1.2rem;
}

.blog-accordion-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.blog-accordion-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(8, 18, 37, 0.08);
  box-shadow: 0 2px 10px rgba(8, 18, 37, 0.04);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s;
}

.blog-accordion-item:hover {
  box-shadow: var(--shadow);
  border-color: rgba(59, 130, 246, 0.2);
}

.blog-accordion-item.active {
  box-shadow: var(--shadow);
  border-color: var(--color-blue);
}

.blog-accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
}

.blog-accordion-trigger-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.blog-accordion-category-badge {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.blog-accordion-trigger h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s;
}

.blog-accordion-item:hover .blog-accordion-trigger h3 {
  color: var(--color-blue);
}

.blog-accordion-chevron {
  font-size: 0.8rem;
  color: var(--color-blue);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
  background: var(--gray-50);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-100);
}

.blog-accordion-item.active .blog-accordion-chevron {
  transform: rotate(180deg);
  background: var(--accent);
  border-color: rgba(59, 130, 246, 0.2);
}

.blog-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.blog-content-body {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px dashed var(--gray-100);
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.65;
}

.blog-content-body p {
  margin: 1rem 0 0;
}

.blog-content-body strong {
  color: var(--navy);
}

.blog-content-body ul, .blog-content-body ol {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.blog-content-body li {
  margin-bottom: 0.4rem;
}

.blog-content-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-weight: 700;
  color: var(--color-success);
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.blog-content-cta:hover {
  transform: translateX(3px);
  color: #16a34a;
}

.blog-search-no-results {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--white);
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  color: var(--gray-600);
  display: none;
}

.blog-search-no-results-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.blog-search-no-results h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1.2rem;
}

.blog-search-no-results p {
  margin: 0;
  font-size: 0.92rem;
}

/* Scroll Up Button */
.scroll-up-btn {
  position: fixed;
  bottom: 85px; /* Above the mobile CTA bar if present */
  right: 20px;
  width: 45px;
  height: 45px;
  background: var(--gradient-gold);
  color: var(--navy-dark);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, box-shadow 0.2s ease;
  z-index: 999;
}

.scroll-up-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-up-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .scroll-up-btn {
    bottom: 30px;
    right: 30px;
  }
}

/* WhatsApp Float Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 140px; /* Above the scroll-up button on mobile */
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 998;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-float-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  color: #fff;
}

@media (min-width: 768px) {
  .whatsapp-float-btn {
    bottom: 85px; /* Above the scroll-up button on desktop */
    right: 30px;
    width: 60px;
    height: 60px;
  }
  .whatsapp-float-btn svg {
    width: 34px;
    height: 34px;
  }
}
