/* ════════════════════════════════════════════════════════════
   Freedom Discovery — Homepage (Strong Evolution)
   Palette from logo: royal blue · orange · white
   ════════════════════════════════════════════════════════════ */

:root {
  --blue:        #1a4ec8;   /* brand royal blue (wordmark) */
  --blue-bright: #2f64e0;   /* lighter accent blue */
  --blue-deep:   #081a4d;   /* dark sections / hero base */
  --blue-deep-2: #0f2a6b;   /* gradient companion */
  --orange:      #f47c1f;   /* accent / CTA only */
  --orange-dark: #e06a10;
  --ink:         #14213d;   /* headings */
  --body:        #4a5568;   /* body text */
  --muted:       #8794ab;   /* muted text / labels */
  --line:        rgba(20,33,61,0.08);
  --soft:        #f5f7fc;   /* soft section bg */
  --white:       #ffffff;
  --ease:        cubic-bezier(0.32, 0.72, 0.22, 1);
  --nav-h:       86px;
  --nav-h-sm:    64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--white);
  color: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
main { padding-top: var(--nav-h); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ─── shared section scaffolding ─── */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.bg-soft { background: var(--soft); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto clamp(44px, 6vw, 72px); }
.section-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.section-eyebrow.eyebrow-muted { color: var(--orange); }
.section-title {
  font-size: clamp(27px, 4.2vw, 44px);
  font-weight: 800; color: var(--ink); line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-title.light { color: #fff; }
.section-title .accent { color: var(--orange); }
.section-intro {
  margin-top: 18px; font-size: clamp(15px, 1.9vw, 17px);
  color: var(--body); line-height: 1.7;
}

/* ─── What We Do — capability pillars ─── */
.pillars-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.pillar {
  text-align: center; padding: 36px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.pillar:hover {
  transform: translateY(-6px); border-color: rgba(47,100,224,0.3);
  box-shadow: 0 22px 50px rgba(8,26,77,0.12);
}
.pillar-icon {
  width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 18px;
  display: grid; place-items: center; font-size: 27px; color: #fff;
  background: linear-gradient(150deg, var(--blue-bright), var(--blue));
  box-shadow: 0 12px 26px rgba(26,78,200,0.32);
}
.pillar h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 11px; }
.pillar p { font-size: 14px; color: var(--body); line-height: 1.7; }
@media (max-width: 900px) { .pillars-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pillars-grid { grid-template-columns: 1fr; } }

/* ─── buttons ─── */
.btn-primary {
  display: inline-block;
  background: var(--orange); color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 34px; border-radius: 999px; border: none; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 24px rgba(244,124,31,0.28);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(244,124,31,0.4); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85);
  padding: 15px 26px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.btn-ghost i { transition: transform 0.2s ease; }
.btn-ghost:hover i { transform: translateX(4px); }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 16px 30px; border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-whatsapp:hover { background: #20bd5a; transform: translateY(-2px); }

.center-cta { text-align: center; margin-top: 52px; }

/* ════════ NAVBAR ════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); padding: 0 28px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: height 0.4s var(--ease), padding 0.4s var(--ease),
              background 0.35s ease, border-radius 0.4s var(--ease),
              box-shadow 0.35s ease, top 0.4s var(--ease),
              left 0.4s var(--ease), right 0.4s var(--ease), border-color 0.35s ease;
}
.navbar.shrunk {
  height: var(--nav-h-sm); top: 14px; left: 24px; right: 24px;
  padding: 0 22px; border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border-color: rgba(20,33,61,0.06);
  box-shadow: 0 8px 30px rgba(8,26,77,0.14), 0 1px 3px rgba(8,26,77,0.1);
}
.nav-inner {
  height: 100%; max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 38px; width: auto; transition: height 0.4s var(--ease); }
.navbar.shrunk .brand-logo { height: 30px; }

.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  position: relative;
  font-size: 14px; font-weight: 600; color: var(--ink);
  padding: 8px 14px; border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--orange); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--blue); }

.nav-cta {
  flex-shrink: 0; background: var(--blue); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 11px 22px; border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--blue-deep-2); transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; padding: 9px; margin-left: auto;
  background: none; border: none; cursor: pointer; border-radius: 10px;
}
.hamburger span { display: block; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s ease; }
.navbar.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar.menu-open .hamburger span:nth-child(2) { opacity: 0; }
.navbar.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 2px;
  padding: 0 16px; max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.navbar.menu-open .mobile-menu { display: flex; max-height: 460px; padding: 8px 16px 18px; }
.mobile-menu a { font-size: 15px; font-weight: 600; color: var(--ink); padding: 12px 14px; border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease; }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--soft); color: var(--blue); }
.mobile-cta { margin-top: 8px; background: var(--orange) !important; color: #fff !important; text-align: center; }

@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .navbar.shrunk { border-radius: 22px; }

  /* When the menu is open, let the bar grow to wrap the dropdown so its
     frosted background covers the links instead of the page showing through.
     height:auto tracks the menu's animating max-height, so it stays smooth. */
  .navbar.menu-open {
    height: auto;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 14px 44px rgba(8,26,77,0.16);
  }
  .navbar.menu-open .nav-inner { height: var(--nav-h); }
  .navbar.shrunk.menu-open { border-radius: 22px; }
  .navbar.shrunk.menu-open .nav-inner { height: var(--nav-h-sm); }
}

/* ════════ HERO ════════ */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  padding: 90px 28px 110px;
  background: linear-gradient(-45deg, var(--blue-deep), var(--blue-deep-2), #123a8f, var(--blue-deep));
  background-size: 400% 400%;
  animation: gradient-flow 16s ease infinite;
}
@keyframes gradient-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.orb-1 { width: 540px; height: 540px; background: rgba(47,100,224,0.4); top: -160px; right: -120px;
  animation: orb-float 14s ease-in-out infinite alternate; }
.orb-2 { width: 440px; height: 440px; background: rgba(244,124,31,0.22); bottom: -140px; left: -90px;
  animation: orb-float 11s ease-in-out infinite alternate-reverse; }
@keyframes orb-float { from { transform: translate(0,0) scale(1); } to { transform: translate(46px,32px) scale(1.16); } }

.hero-inner {
  position: relative; z-index: 2; max-width: 880px; margin: 0 auto;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.hero-kickers {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.hero-kicker {
  display: inline-flex; align-items: center;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange);
  background: rgba(244,124,31,0.12); border: 1px solid rgba(244,124,31,0.34);
  padding: 8px 18px; border-radius: 999px;
}
.hero-headline {
  font-size: clamp(34px, 6.6vw, 70px);
  font-weight: 800; line-height: 1.07; color: #fff;
  letter-spacing: -0.025em; max-width: 18ch;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18.5px); font-weight: 400;
  color: rgba(255,255,255,0.78); max-width: 640px; line-height: 1.7;
}
.hero-sub strong { color: #fff; font-weight: 600; }
/* artisan signature — typewriter line */
.hero-signature {
  min-height: 1.5em; margin-top: -8px;
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(15px, 2vw, 19px); color: rgba(255,255,255,0.6);
}
.tw-text {
  color: rgba(255,255,255,0.78);
  border-right: 2px solid var(--orange); padding-right: 3px;
  animation: cursor-blink 1s step-end infinite;
}
.tw-text.tw-done { border-right-color: transparent; animation: none; }
@keyframes cursor-blink { 50% { border-color: transparent; } }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.hero-cta { animation: pulse-ring 2.6s ease-out infinite; }
@keyframes pulse-ring {
  0% { box-shadow: 0 8px 24px rgba(244,124,31,0.28), 0 0 0 0 rgba(244,124,31,0.5); }
  70% { box-shadow: 0 8px 24px rgba(244,124,31,0.28), 0 0 0 20px rgba(244,124,31,0); }
  100% { box-shadow: 0 8px 24px rgba(244,124,31,0.28), 0 0 0 0 rgba(244,124,31,0); }
}

.hero-proof {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 8px;
}
.hero-proof i { color: #34d399; margin-right: 5px; }
.hero-proof .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.3); }

/* ─── Interior page hero (shared by About, Services, etc.) ─── */
.page-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(84px, 12vw, 150px) 28px clamp(60px, 8vw, 98px);
  background: linear-gradient(-45deg, var(--blue-deep), var(--blue-deep-2), #123a8f, var(--blue-deep));
  background-size: 400% 400%; animation: gradient-flow 16s ease infinite;
}
.page-hero .hero-inner { gap: 22px; }
.page-hero .hero-headline { max-width: 22ch; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.5); font-size: 18px;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* word-stagger */
.word {
  display: inline-block; opacity: 0;
  transform: translateY(46px) rotateX(-20deg);
  animation: word-rise 0.7s var(--ease) forwards;
}
.word.accent { color: var(--orange); }
@keyframes word-rise { to { opacity: 1; transform: translateY(0) rotateX(0); } }

/* ════════ AUTHORITY STRIP ════════ */
.authority { background: var(--white); border-bottom: 1px solid var(--line); padding: 30px 28px; }
.authority-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: center;
}
.authority-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.authority-logos { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: center; }
.logo-item { height: 46px; display: flex; align-items: center;
  filter: grayscale(1); opacity: 0.66; transition: filter 0.3s ease, opacity 0.3s ease; }
.logo-item img { height: 100%; width: auto; object-fit: contain; }
.logo-item:hover { filter: grayscale(0); opacity: 1; }
.text-credential {
  font-size: 15px; font-weight: 800; color: var(--blue); letter-spacing: -0.01em;
  filter: none; opacity: 0.8;
}
.logo-divider { width: 1px; height: 30px; background: var(--line); }

@media (max-width: 640px) {
  .logo-divider { display: none; }
  .logo-item { height: 38px; }
}

/* ════════ STATS ════════ */
.stats { background: var(--blue-deep); padding: clamp(54px, 7vw, 84px) 28px; }
.stats-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-item { text-align: center; padding: 14px; position: relative; }
.stat-item::after {
  content: ''; position: absolute; right: -12px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 56px; background: rgba(255,255,255,0.1);
}
.stat-item:last-child::after { display: none; }
.stat-num { font-size: clamp(38px, 5.5vw, 62px); font-weight: 800; color: #fff; line-height: 1; }
.stat-num .sfx { color: var(--orange); }
.stat-lbl { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: 12px; }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-item:nth-child(2)::after { display: none; }
}

/* ════════ VISION & MISSION (purpose) ════════ */
.purpose { background: var(--blue-deep); padding: clamp(72px, 9vw, 120px) 28px;
  border-top: 1px solid rgba(255,255,255,0.06); }
.purpose-inner { max-width: 1080px; margin: 0 auto; }
.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.purpose-card {
  background: linear-gradient(160deg, rgba(47,100,224,0.16), rgba(244,124,31,0.06));
  border: 1px solid rgba(255,255,255,0.12); border-radius: 24px;
  padding: 42px 38px; position: relative; overflow: hidden;
}
.purpose-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-bright), var(--orange));
}
.purpose-icon {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(244,124,31,0.16); color: var(--orange); font-size: 25px; margin-bottom: 22px;
}
.purpose-card h3 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.purpose-card p { font-size: 15px; color: rgba(255,255,255,0.74); line-height: 1.8; }

.charter {
  margin-top: 26px; text-align: center;
  background: linear-gradient(160deg, rgba(244,124,31,0.10), rgba(47,100,224,0.10));
  border: 1px solid rgba(255,255,255,0.12); border-radius: 24px;
  padding: clamp(34px, 5vw, 56px) clamp(26px, 5vw, 60px);
}
.charter-lead {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(19px, 2.6vw, 27px); line-height: 1.55; color: rgba(255,255,255,0.9);
  max-width: 760px; margin: 0 auto;
}
.charter-punch {
  font-size: clamp(17px, 2.4vw, 24px); font-weight: 800; color: #fff; margin-top: 18px;
}
.charter-punch span { color: var(--orange); }
.charter-points {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 38px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,0.10);
  text-align: left;
}
.charter-point { display: flex; gap: 16px; align-items: flex-start; }
.charter-point i {
  flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(244,124,31,0.16); color: var(--orange); font-size: 19px;
}
.charter-point strong { display: block; color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.charter-point span { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.65; }

.philosophy {
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.08);
}
.philosophy-step {
  font-size: clamp(14px, 2vw, 18px); font-weight: 700; color: #fff; letter-spacing: 0.01em;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  padding: 11px 24px; border-radius: 999px;
}
.philosophy > i { color: var(--orange); font-size: 18px; }
@media (max-width: 720px) {
  .purpose-grid { grid-template-columns: 1fr; }
  .charter-points { grid-template-columns: 1fr; gap: 24px; }
  .philosophy { flex-direction: column; gap: 14px; }
  .philosophy > i { transform: rotate(90deg); }
}

/* ════════ WHY FDM ════════ */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.why-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 34px 30px;
  transform-style: preserve-3d; transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.why-card:hover { box-shadow: 0 22px 60px rgba(8,26,77,0.12); border-color: rgba(26,78,200,0.18); }
.why-flag {
  position: absolute; top: 18px; right: 18px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange); background: rgba(244,124,31,0.1);
  padding: 5px 10px; border-radius: 999px;
}
.why-icon {
  width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(26,78,200,0.12), rgba(47,100,224,0.06));
  color: var(--blue); font-size: 24px; margin-bottom: 22px;
}
.why-card h3 { font-size: 18.5px; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 12px; }
.why-card p { font-size: 14px; color: var(--body); line-height: 1.7; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }

/* ════════ SERVICES ════════ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px;
  display: flex; flex-direction: column;
  transform-style: preserve-3d; transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.svc-card:hover { box-shadow: 0 22px 60px rgba(8,26,77,0.12); border-color: rgba(26,78,200,0.18); }
.svc-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--blue-deep); color: #fff; font-size: 24px; margin-bottom: 22px;
  position: relative;
}
.svc-icon::after {
  content: ''; position: absolute; inset: 0; border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.svc-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 11px; }
.svc-card p { font-size: 13.7px; color: var(--body); line-height: 1.7; flex-grow: 1; }
.svc-more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue);
}
.svc-more i { transition: transform 0.2s ease; }
.svc-card:hover .svc-more i { transform: translateX(5px); }
@media (max-width: 980px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ════════ PROCESS — Timeline ════════ */
.timeline-section { background: var(--blue-deep); padding: clamp(72px, 9vw, 120px) 28px; }
.timeline-inner { max-width: 720px; margin: 0 auto; }
.timeline-track { position: relative; padding-left: 42px; }
.timeline-track::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px;
  background: rgba(255,255,255,0.12);
}
.timeline-track::after {
  content: ''; position: absolute; left: 0; top: 6px; width: 2px;
  background: linear-gradient(var(--blue-bright), var(--orange)); height: var(--fill, 0%);
  transition: height 0.7s var(--ease);
}
.timeline-item { position: relative; padding-bottom: 46px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -50px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--orange); border: 3px solid var(--blue-deep); box-shadow: 0 0 0 2px var(--orange);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-item.in .timeline-dot { transform: scale(1.18); box-shadow: 0 0 0 5px rgba(244,124,31,0.28); }
.timeline-step { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 8px; }
.timeline-content h3 { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 9px; }
.timeline-content p { font-size: 14px; color: rgba(255,255,255,0.62); line-height: 1.75; }

/* ════════ REVIEWS ════════ */
.reviews { background: var(--soft); padding: clamp(72px, 9vw, 120px) 0; }
.reviews-rating {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 18px;
}
.reviews-rating .stars { color: #f5a623; font-size: 20px; letter-spacing: 2px; }
.reviews-rating-text { font-size: 14px; color: var(--body); }
.reviews-rating-text strong { color: var(--ink); }
.reviews-rating-text .fa-google { color: var(--blue); margin: 0 2px; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.review-card:hover { box-shadow: 0 22px 60px rgba(8,26,77,0.1); transform: translateY(-4px);
  border-color: rgba(26,78,200,0.18); }
.review-top { display: flex; align-items: center; gap: 13px; }
.review-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 700;
}
.review-id { flex: 1; min-width: 0; }
.review-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.review-meta { font-size: 12px; color: var(--muted); }
.review-g { color: #4285f4; font-size: 20px; flex-shrink: 0; }
.review-card .stars { color: #f5a623; font-size: 15px; letter-spacing: 1px; }
.review-card p { font-size: 14px; color: var(--body); line-height: 1.7; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* ════════ FINAL CTA ════════ */
.final-cta {
  position: relative; overflow: hidden;
  background: var(--blue-deep); padding: clamp(72px, 9vw, 120px) 0;
}
.gradient-bg::before, .gradient-bg::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.3;
  animation: blob-drift 13s ease-in-out infinite alternate; pointer-events: none;
}
.gradient-bg::before { width: 480px; height: 480px; background: var(--blue-bright); top: -120px; left: -100px; }
.gradient-bg::after { width: 380px; height: 380px; background: var(--orange); bottom: -100px; right: -90px; animation-delay: -6s; }
@keyframes blob-drift { from { transform: translate(0,0) scale(1); } to { transform: translate(60px,40px) scale(1.15); } }

.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 720px; }
.cta-inner h2 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; color: #fff; line-height: 1.15; letter-spacing: -0.02em; }
.cta-inner p { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.75; margin: 18px auto 36px; max-width: 560px; }
.cta-inner p strong { color: #fff; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.mag-wrap { display: inline-block; position: relative; }
.cta-trust {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 40px;
  font-size: 13px; color: rgba(255,255,255,0.65);
}
.cta-trust span { display: inline-flex; align-items: center; gap: 7px; }
.cta-trust i { color: #34d399; }

/* ════════ FOOTER ════════ */
.footer { background: #061436; color: rgba(255,255,255,0.6); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 44px; padding-bottom: 48px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-about p { font-size: 14px; line-height: 1.75; max-width: 40ch; }
.social-icons { display: flex; gap: 12px; margin-top: 20px; }
.social-icons a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); color: #fff; transition: background 0.2s ease, transform 0.2s ease;
}
.social-icons a:hover { background: var(--orange); transform: translateY(-2px); }
.footer-links h4, .footer-contact h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-links a:hover { color: var(--orange); padding-left: 4px; }
.footer-contact p { font-size: 14px; margin-bottom: 13px; display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--orange); width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; text-align: center; }
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.4); }
.admin-trigger {
  position: absolute; right: 18px; bottom: 16px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.25);
  font-size: 11px; transition: background 0.2s ease, color 0.2s ease;
}
.footer { position: relative; }
.admin-trigger:hover { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.6); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ════════ ANNOUNCEMENT CAPSULE (Dynamic Island, bottom-center) ════════ */
.cap {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 2000; display: flex; justify-content: center;
}
.cap[hidden] { display: none; }

/* PILL state */
.cap-pill {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--blue-deep); color: #fff; border: 1px solid rgba(255,255,255,0.12);
  padding: 11px 16px; border-radius: 999px; cursor: pointer;
  font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 600;
  box-shadow: 0 12px 34px rgba(8,26,77,0.4);
  max-width: min(92vw, 460px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
}
.cap-pill:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(8,26,77,0.5); }
.cap-pill i { color: var(--orange); font-size: 14px; flex-shrink: 0; }
.cap-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; flex-shrink: 0;
  animation: cap-pulse 2s ease-out infinite; }
@keyframes cap-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.5); } 70% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } }
.cap-pill-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cap-pill-cta {
  flex-shrink: 0; background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}

/* CARD state — two separate cards side by side (stack on mobile) */
.cap-card { position: relative; display: none; }
.cap-deck { display: flex; align-items: stretch; gap: 14px; }
.cap-slide {
  width: var(--cap-w, 300px); flex: 0 0 auto; display: flex; flex-direction: column;
  background: var(--blue-deep); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(8,26,77,0.45), 0 4px 20px rgba(8,26,77,0.3);
}
.cap-poster-btn {
  display: block; width: 100%; padding: 0; border: none; background: var(--blue-deep);
  cursor: zoom-in; position: relative; overflow: hidden;
}
.cap-poster { width: 100%; height: var(--cap-h, auto); object-fit: contain; display: block;
  transition: transform 0.4s var(--ease); }
.cap-poster-btn:hover .cap-poster { transform: scale(1.07); }
.cap-zoom-hint {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%) translateY(6px);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 11.5px; font-weight: 600; color: #fff;
  background: rgba(8,26,77,0.72); backdrop-filter: blur(6px);
  padding: 6px 13px; border-radius: 999px; pointer-events: none;
  opacity: 0; transition: opacity 0.25s ease, transform 0.25s ease;
}
.cap-poster-btn:hover .cap-zoom-hint { opacity: 1; transform: translateX(-50%) translateY(0); }
/* touch devices have no hover — keep the hint visible so users know to tap */
@media (hover: none) {
  .cap-zoom-hint { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* full-screen poster preview */
.cap-lightbox {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(4,12,38,0.9); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.cap-lightbox.open { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }
.cap-lightbox img {
  max-width: 92vw; max-height: 92vh; width: auto; height: auto;
  border-radius: 14px; box-shadow: 0 30px 90px rgba(0,0,0,0.6);
  transform: scale(0.94); transition: transform 0.3s var(--ease);
}
.cap-lightbox.open img { transform: scale(1); }
.cap-lightbox-close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 18px; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease;
}
.cap-lightbox-close:hover { background: rgba(255,255,255,0.28); transform: scale(1.08); }
/* training-hall text card — matches the poster's height so the action bars line up */
.cap-hall {
  flex: 1; min-height: var(--cap-h, 360px); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  gap: 14px; padding: 30px 26px;
  background: linear-gradient(160deg, var(--blue-deep-2), var(--blue-deep));
}
.cap-hall-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange); background: rgba(244,124,31,0.14);
  border: 1px solid rgba(244,124,31,0.4); padding: 5px 14px; border-radius: 999px;
}
.cap-hall-icon {
  width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(47,100,224,0.22); color: #fff; font-size: 28px;
}
.cap-hall h3 { font-size: 21px; font-weight: 800; color: #fff; line-height: 1.3; }
.cap-hall p { font-size: 14px; color: rgba(255,255,255,0.76); line-height: 1.75; max-width: 280px; }
.cap-close {
  position: absolute; top: -14px; right: -14px; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-deep); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.22); color: #fff; cursor: pointer; font-size: 14px;
  box-shadow: 0 6px 18px rgba(8,26,77,0.5);
  transition: background 0.2s ease, transform 0.2s ease;
}
.cap-close:hover { background: var(--blue); transform: scale(1.08); }
.cap-action {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--orange); color: #fff;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 15px; transition: background 0.2s ease, letter-spacing 0.3s ease;
}
.cap-action:hover { background: var(--orange-dark); letter-spacing: 0.1em; }
.cap-action i { transition: transform 0.2s ease; }
.cap-action:hover i { transform: translateX(4px); }

/* state switching */
.cap[data-state="card"] .cap-pill { display: none; }
.cap[data-state="card"] .cap-card { display: block; }
.cap[data-state="pill"] .cap-card { display: none; }
.cap[data-state="pill"] .cap-pill { display: inline-flex; }

/* animated collapse/expand: only when .cap-anim present */
.cap.cap-anim .cap-card,
.cap.cap-anim .cap-pill {
  animation: cap-pop 0.45s var(--ease);
}
@keyframes cap-pop { from { transform: scale(0.86); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* stack the two cards on narrower screens */
@media (max-width: 760px) {
  .cap-deck { flex-direction: column; gap: 12px; }
  .cap-card { max-height: 82vh; overflow-y: auto; overflow-x: hidden; }
  .cap-slide { width: 100%; }
  .cap-close { top: 8px; right: 8px; }
}
@media (max-width: 480px) {
  .cap { bottom: 84px; left: 12px; right: 12px; transform: none; }
  .cap-pill-text { font-size: 12.5px; }
}

/* ════════ PROGRAMME VIDEOS — click-to-play YouTube facades ════════
   The iframe player is injected by home.js only when a thumbnail is
   clicked, so pages never pay the YouTube-player cost up front.
   The section is a dark branded band so it reads as a promo strip. */
.video-section { position: relative; overflow: hidden; background: var(--blue-deep); }
.video-section .container { position: relative; z-index: 1; }
.video-section .section-intro { color: rgba(255,255,255,0.72); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 14px 40px rgba(8,26,77,0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 22px 54px rgba(8,26,77,0.14); }
.video-facade {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  padding: 0; border: none; background: var(--blue-deep); cursor: pointer; overflow: hidden;
}
.video-facade img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s var(--ease);
}
.video-facade:hover img { transform: scale(1.05); }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(8,26,77,0.72); color: #fff; font-size: 20px;
  border: 2px solid rgba(255,255,255,0.65); backdrop-filter: blur(4px);
  transition: transform 0.25s var(--ease), background 0.25s ease;
  pointer-events: none;
}
.video-play i { margin-left: 3px; } /* optically centre the triangle */
.video-facade:hover .video-play { transform: scale(1.1); background: var(--orange); }
.video-facade iframe,
.video-facade video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-facade video { object-fit: contain; }
.video-info { padding: 18px 20px 22px; }
.video-info h3 { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.video-info p { font-size: 13.5px; color: var(--body); line-height: 1.6; }
@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

/* ════════ WHATSAPP FAB ════════ */
.wa-btn {
  position: fixed; bottom: 26px; right: 26px; z-index: 1800;
  width: 56px; height: 56px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  animation: wa-pulse 2.6s ease-out infinite;
  transition: transform 0.2s ease, background 0.2s ease;
}
.wa-btn:hover { background: #20bd5a; transform: scale(1.1); animation: none; }
.wa-icon { width: 28px; height: 28px; }
.wa-tooltip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 8px; pointer-events: none; opacity: 0; transition: opacity 0.2s ease;
}
.wa-tooltip::after { content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--ink); }
.wa-btn:hover .wa-tooltip { opacity: 1; }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 560px) { .wa-btn { width: 52px; height: 52px; bottom: 22px; right: 16px; } .wa-tooltip { display: none; } }

/* ════════ BACK TO TOP ════════ */
#backToTop {
  position: fixed; bottom: 26px; right: 92px; z-index: 1700;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--blue); color: #fff; font-size: 16px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
  box-shadow: 0 8px 24px rgba(8,26,77,0.3);
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--blue-deep-2); }
@media (max-width: 560px) { #backToTop { right: 16px; bottom: 82px; width: 42px; height: 42px; } }

/* ════════ REVEAL ════════ */
.reveal { opacity: 0; transform: translateY(42px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ════════ REDUCED MOTION ════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .word { opacity: 1 !important; transform: none !important; }
}
