/* ============================================
   UNACADEMY COIMBATORE — DESIGN TOKENS
   ============================================ */
:root {
  --green: #00b375;
  --green-dark: #00975f;
  --green-light: #e5f8f1;
  --blue: #2678be;
  --blue-dark: #1c5f99;
  --blue-light: #e8f2fb;
  --black: #0a0a0a;
  --ink: #14161a;
  --white: #ffffff;
  --off-white: #f5f7f6;
  --gray-500: #6b7280;
  --gray-300: #d4d8d6;
  --gray-200: #e8ebe9;

  /* Added: these were referenced by the new Hero / lead-form styles below
     but were never defined, which is part of what broke the layout */
  --gold: #ffc857;
  --text: var(--ink);
  --muted: var(--gray-500);
  --border: var(--gray-300);

  --gradient-brand: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  --gradient-green: linear-gradient(140deg, #00c885 0%, var(--green) 55%, var(--green-dark) 100%);
  --gradient-dark: linear-gradient(160deg, #1c1e22 0%, var(--black) 70%);

  --shadow-sm: 0 2px 10px rgba(10,10,10,0.06);
  --shadow-md: 0 12px 32px -12px rgba(10,10,10,0.18);
  --shadow-lg: 0 30px 60px -20px rgba(10,10,10,0.28);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; }

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-mark {
  font-family: var(--font-display); font-weight: 700;
  font-size: 3rem; color: var(--white);
}
.preloader-mark .dot { color: var(--green); }

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; scroll-margin-top: 88px; }
.section-inner { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.section-inner-narrow { max-width: 760px; }
.section-tint { background: var(--off-white); }
.section-dark { background: var(--gradient-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--gradient-brand); border-radius: 2px; }
.eyebrow-light { color: var(--green); }

.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08;
  letter-spacing: -0.01em; margin-bottom: 1.2rem;
}
.text-white { color: var(--white); }
.section-sub { font-size: 1.1rem; color: var(--gray-500); max-width: 560px; margin-bottom: 3.5rem; }
.section-sub-light { color: #b8bcc4; }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: 100px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 4px 20px rgba(0,179,117,0.25); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,179,117,0.35); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1rem; }
.btn-ghost { border: 1.5px solid rgba(10,10,10,0.15); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(10,10,10,0.04); }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,0.25); color: var(--white); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-blue { border: 1.5px solid var(--blue); color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }
.play-ic { font-size: 0.7rem; }

/* ============================================
   NAV
   ============================================ */
/* .nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10,10,10,0.06);
  transition: transform 0.4s var(--ease);
}
.nav.nav-hidden { transform: translateY(-100%); }
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 1.1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  display: flex; flex-direction: column; line-height: 1;
}
.nav-logo-sub { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.1em; color: var(--green-dark); text-transform: uppercase; margin-top: 0.2rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--ink); position: relative; padding: 0.3rem 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--green); transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { font-size: 0.85rem; padding: 0.7rem 1.4rem; }
.nav-burger { display: none; flex-direction: column; gap: 5px; width: 26px; }
.nav-burger span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-mobile {
  display: none; flex-direction: column; gap: 0.2rem;
  background: var(--white); padding: 0 2rem 1.5rem;
  border-bottom: 1px solid rgba(10,10,10,0.06);
}
.nav-mobile a { padding: 0.8rem 0; font-weight: 500; border-bottom: 1px solid var(--gray-200); }
.nav-mobile .btn { margin-top: 1rem; width: 100%; }
.nav-mobile.open { display: flex; } */

/* ============================================
   HERO
   ============================================ */
/* .hero {
  position: relative; padding: 10rem 2rem 0; overflow: hidden;
  background: var(--white);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,10,10,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 40%, transparent 100%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; animation: drift 9s ease-in-out infinite alternate; }
.hero-glow-green { width: 920px; height: 920px; background: var(--green); top: -120px; left: -100px; }
.hero-glow-blue { width: 880px; height: 880px; background: var(--blue); top: -60px; right: -120px; animation-delay: -3s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(30px, 20px) scale(1.08); } }

.hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; }

.hero-highlight {
  display: inline-flex; align-items: center; gap: 0.8rem;
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: 100px; padding: 0.5rem 1.3rem 0.5rem 0.5rem;
  margin-bottom: 1.8rem; box-shadow: 0 8px 24px -12px rgba(10,10,10,0.15);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.hero-highlight:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 12px 28px -12px rgba(0,179,117,0.3); }
.hero-highlight-num {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--white);
  background: var(--green); border-radius: 100px; padding: 0.4rem 0.9rem; line-height: 1;
}
.hero-highlight-text { font-size: 0.85rem; color: var(--ink); text-align: left; max-width: 260px; }
.hero-highlight-text strong { color: var(--green-dark); }
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem, 1vw, 1rem); line-height: 0.98; letter-spacing: -0.02em;
  margin-bottom: 1.6rem;
}





.text-outline {
  color: transparent; -webkit-text-stroke: 2px var(--black);
}
.hero-sub {
  font-size: 1.2rem; color: var(--gray-500); max-width: 560px; margin: 0 auto 2.4rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 4.5rem; }

.stat-strip {
  position: relative; z-index: 1;
  max-width: 1000px; margin: 0 auto; padding: 2.4rem 1rem;
  background: var(--black); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  transform: translateY(50%);
  box-shadow: 0 30px 60px -20px rgba(10,10,10,0.35);
}
.stat { flex: 1; min-width: 140px; text-align: center; padding: 0.6rem 0.5rem; }
.stat-lead .stat-num { color: var(--green); }
.stat-num {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--white); line-height: 1;
}
.stat-label { display: block; font-size: 0.78rem; color: #9ba0a8; margin-top: 0.5rem; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.12); } */

/* ============================================
   TRUST BAR (marquee)
   ============================================ */
.trust-bar {
  background: var(--blue); padding: 1.5rem 0 1.6rem;
  overflow: hidden; border-bottom: 1px solid var(--gray-200);
}
.trust-track {
  display: flex; align-items: center; gap: 1.2rem; white-space: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.trust-item { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; color: var(--gray-200); }
.trust-dot { color: var(--gray-200); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  


/* ============================================
   RESULTS / TRACK RECORD TABLE
   (This entire block was missing — it's why the Results section
   lost its styling once the new .pill class was introduced by the
   Hero update. .rtab/.results-tabs, .table-wrap/.results-table,
   .td-name/.td-rank and .table-footnote had no CSS at all, and the
   exam badges were inheriting the big green "hero pill" button style.)
   ============================================ */
.results-tabs { display: flex; gap: 0.6rem; margin-bottom: 2rem; flex-wrap: wrap; }
.rtab {
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  padding: 0.6rem 1.3rem; border-radius: 100px; border: 1.5px solid var(--gray-300);
  color: var(--gray-500); transition: all 0.25s var(--ease);
}
.rtab:hover { border-color: var(--green); color: var(--green-dark); }
.rtab.active { background: var(--black); border-color: var(--black); color: var(--white); }

.table-wrap {
  overflow-x: auto; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.results-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.results-table thead th {
  background: var(--off-white); color: var(--black); text-align: left;
  padding: 1rem 1.3rem; font-family: var(--font-display); font-weight: 600;
  font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap;
}
.results-table tbody td {
  padding: 1rem 1.3rem; border-bottom: 1px solid var(--gray-200);
  font-size: 0.92rem; color: var(--gray-500); white-space: nowrap;
}
.results-table tbody tr:last-child td { border-bottom: none; }
.results-table tbody tr { transition: background 0.2s var(--ease); }
.results-table tbody tr:hover { background: var(--off-white); }
.results-table tbody tr.hidden-row { display: none; }

.td-name { font-family: var(--font-display); font-weight: 500; }
.td-rank { font-family: var(--font-display); font-weight: 700; color: var(--green-dark); }

/* Scoped so these don't collide with the generic .pill button used in the Hero */
.results-table .pill {
  display: inline-block; padding: 0.35rem 0.85rem; border-radius: 100px;
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.02em; white-space: nowrap;
}
.results-table .pill-blue { background: var(--blue-light); color: var(--blue-dark); }
.results-table .pill-green { background: var(--green-light); color: var(--green-dark); }
.results-table .pill-dark { background: var(--gray-200); color: var(--ink); }

.table-footnote { font-size: 0.8rem; color: var(--gray-500); margin-top: 1.2rem; }

/* ============================================
   TOPPER GALLERY — CSS (fixed)
   ============================================ */
.ranker-block { margin-bottom: 3rem; }
.ranker-block:last-child { margin-bottom: 0; }

.ranker-block-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.4rem; gap: 1rem;
}
.ranker-block-head h3 {
  display: flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--white);
}
.ranker-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 0.35rem 0.8rem; border-radius: 100px; color: var(--white);
}
.ranker-tag-blue { background: var(--blue); }
.ranker-tag-green { background: var(--green); }

.rcarousel-controls { display: flex; gap: 0.6rem; flex-shrink: 0; }
.rcarousel-controls .vcarousel-btn { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: var(--white); }
.rcarousel-controls .vcarousel-btn:hover { background: var(--green); border-color: var(--green); }

.ranker-carousel {
  display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding-bottom: 0.4rem; scrollbar-width: none;
}
.ranker-carousel::-webkit-scrollbar { display: none; }
.ranker-carousel .topper-card { flex: 0 0 calc((100% - 2 * 1.1rem) / 3); scroll-snap-align: start; }

/* Card: fixed shape, clips whatever image is dropped in */
.topper-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;              /* REQUIRED for object-fit crop to visually clip */
  aspect-ratio: 3/4;
  background: #1a1c20;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.topper-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -20px rgba(0,0,0,0.5); }

/* Image: force-fill the card, crop to fit, no distortion.
   !important + higher specificity beats any global `img { height:auto }` reset */
.ranker-carousel .topper-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;   /* keeps faces in frame; change to `center` if needed */
  display: block;
  max-width: none;                /* overrides common global img resets */
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.94);
}
.topper-card:hover img { transform: scale(1.06); filter: saturate(1.08); }

.topper-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.3rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  display: flex; flex-direction: column; gap: 0.15rem;
}
.topper-card figcaption strong { font-family: var(--font-display); font-size: 0.95rem; color: var(--white); }
.topper-card figcaption span { font-size: 0.78rem; color: var(--green); }

/* ============================================
   PROGRAMS
   ============================================ */
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.program-card {
  border-radius: var(--radius-lg); padding: 2.2rem;
  display: flex; flex-direction: column; gap: 1.4rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.program-card:hover { transform: translateY(-6px); }
.program-card-green { background: var(--green); color: var(--white); box-shadow: 0 20px 40px -20px rgba(0,179,117,0.4); }
.program-card-blue { background: var(--blue-light); color: var(--ink); border: 1px solid rgba(38,120,190,0.15); }
.program-card-dark { background: var(--black); color: var(--white); }
.program-top { display: flex; flex-direction: column; gap: 0.7rem; }
.program-tag {
  align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.35rem 0.8rem; border-radius: 100px; background: rgba(255,255,255,0.2);
}
.program-card-blue .program-tag { background: rgba(38,120,190,0.12); color: var(--blue-dark); }
.program-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.2; }
.program-card p { font-size: 0.95rem; opacity: 0.92; }
.program-list { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.program-list li { font-size: 0.88rem; padding-left: 1.3rem; position: relative; opacity: 0.92; }
.program-list li::before { content: "→"; position: absolute; left: 0; }
.program-cta { width: 100%; margin-top: auto; }
.program-card-dark .program-cta.btn-ghost-light:hover { background: rgba(255,255,255,0.1); }

/* ============================================
   FACILITIES — filterable gallery grid
   ============================================ */
.gallery-tabs { display: flex; gap: 0.6rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.gtab {
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  padding: 0.6rem 1.3rem; border-radius: 100px; border: 1.5px solid var(--gray-300);
  color: var(--gray-500); transition: all 0.25s var(--ease);
}
.gtab:hover { border-color: var(--green); color: var(--green-dark); }
.gtab.active { background: var(--black); border-color: var(--black); color: var(--white); }

.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.gallery-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer; background: #1a1c20;
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease);
}
.gallery-item.gfiltered-out { display: none; }
.gallery-item.gcollapsed { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover { transform: translateY(-3px); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0.9rem 1rem;
  background: linear-gradient(to top, rgba(10,10,10,0.82), transparent);
  color: var(--white); font-size: 0.8rem; font-weight: 500;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery-loadmore { display: flex; margin: 2.2rem auto 0; }
.gallery-loadmore.hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(10,10,10,0.94);
  display: none; align-items: center; justify-content: center; flex-direction: column;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: min(900px, 88vw); max-height: 74vh; border-radius: var(--radius-md); object-fit: contain; }
.lightbox-caption { color: var(--white); font-family: var(--font-display); font-size: 0.95rem; margin-top: 1.2rem; }
.lightbox-close {
  position: absolute; top: 1.6rem; right: 1.6rem; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: var(--white); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease);
}
.lightbox-close:hover { background: var(--green); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.1);
  color: var(--white); font-size: 1.8rem; display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease);
}
.lightbox-nav:hover { background: var(--green); }
.lightbox-prev { left: 1.6rem; }
.lightbox-next { right: 1.6rem; }

/* ============================================
   VIDEO CAROUSEL
   ============================================ */
.video-carousel-wrap { position: relative; display: flex; align-items: center; gap: 1rem; }
.video-carousel {
  display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.video-carousel::-webkit-scrollbar { display: none; }
.video-card { flex: 0 0 min(420px, 82vw); scroll-snap-align: start; }
.video-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-md); overflow: hidden; background: var(--black); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-caption { margin-top: 0.9rem; font-size: 0.9rem; color: var(--gray-500); }
.video-caption strong { color: var(--ink); font-family: var(--font-display); }
.vcarousel-btn {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--off-white); border: 1px solid var(--gray-200); font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.vcarousel-btn:hover { background: var(--green); color: var(--white); }
.vcarousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.vdot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-300); transition: background 0.3s var(--ease), width 0.3s var(--ease); }
.vdot.active { background: var(--green); width: 22px; border-radius: 4px; }

/* ============================================
   FAQ ACCORDION
   ============================================ */
/* ============================================
   FAQ — two column layout with WhatsApp card
   ============================================ */
.faq-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 2.5rem; align-items: start; }

.accordion { display: flex; flex-direction: column; gap: 0.9rem; }
.acc-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.acc-item:hover { border-color: var(--gray-300); }
.acc-item.active { border-color: var(--green); box-shadow: 0 12px 32px -20px rgba(0,179,117,0.3); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 1rem;
  padding: 1.3rem 1.5rem; text-align: left;
}
.acc-num {
  flex-shrink: 0; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: var(--green-dark); background: var(--green-light);
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.acc-item.active .acc-num { background: var(--green); color: var(--white); }
.acc-q { flex: 1; font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.acc-icon { font-size: 1.3rem; color: var(--green); transition: transform 0.3s var(--ease); flex-shrink: 0; }
.acc-item.active .acc-icon { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.acc-body p { padding: 0 1.5rem 1.3rem 4.3rem; font-size: 0.94rem; color: var(--gray-500); }
.acc-item.active .acc-body { max-height: 220px; }

.faq-side { position: sticky; top: 110px; }
.faq-side-card {
  background: var(--black); border-radius: var(--radius-lg); padding: 2.2rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem;
  position: relative; overflow: hidden;
}
.faq-side-card::before {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: var(--green); opacity: 0.18; filter: blur(60px); top: -80px; right: -80px;
}
.faq-side-icon {
  position: relative; z-index: 1;
  width: 50px; height: 50px; border-radius: 50%; background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.faq-side-card h3 { position: relative; z-index: 1; font-family: var(--font-display); font-size: 1.3rem; color: var(--white); }
.faq-side-card p { position: relative; z-index: 1; font-size: 0.92rem; color: #b8bcc4; }
.faq-side-note { position: relative; z-index: 1; font-size: 0.78rem; color: #7d818a; }

/* ============================================
   WHATSAPP BUTTONS
   ============================================ */
.btn-whatsapp {
  background: #25D366; color: var(--white); box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover { background: #1fb959; transform: translateY(-2px); box-shadow: 0 8px 26px rgba(37,211,102,0.4); }

.btn-wa-icon {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: #25D366; color: var(--white); margin-right: 0.6rem;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.btn-wa-icon:hover { background: #1fb959; transform: translateY(-2px) scale(1.05); }

.footer-wa-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; color: #25D366; font-weight: 500; margin-top: 0.3rem;
  transition: color 0.25s var(--ease);
}
.footer-wa-link:hover { color: #3ee083; }

.wa-float {
  position: fixed; left: 2rem; bottom: 2rem; z-index: 500;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 14px 34px -6px rgba(37,211,102,0.7); }
.wa-float-pulse {
  position: absolute; inset: 0; border-radius: 50%; background: #25D366;
  animation: wa-pulse 2.2s ease-out infinite; z-index: -1;
}
@keyframes wa-pulse {
  0% { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.8); }
}

/* ============================================
   FORM
   ============================================ */
.form-card { background: #16181c; border-radius: var(--radius-lg); padding: 2.2rem; border: 1px solid rgba(255,255,255,0.08); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field-full { grid-column: 1 / -1; margin-bottom: 1.6rem; }
.field label { font-size: 0.85rem; font-weight: 500; color: #d6d9dc; }
.field label .optional { color: #7d818a; font-weight: 400; }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm); padding: 0.85rem 1rem; color: var(--white);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #6b6f78; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); background: rgba(255,255,255,0.08); outline: none; }
.field select option { background: #16181c; }
.field.error input, .field.error select, .field.error textarea { border-color: #e0554f; }
.field-error { font-size: 0.78rem; color: #e0554f; min-height: 1em; }
.form-submit { width: 100%; margin-top: 0.5rem; }
.form-success { display: none; text-align: center; margin-top: 1rem; color: var(--green); font-size: 0.9rem; font-weight: 500; }
.form-success.show { display: block; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--black); color: #b8bcc4; padding: 4.5rem 2rem 2rem; }
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { color: var(--white); margin-bottom: 0.9rem; }
.footer-tag { font-size: 0.9rem; max-width: 280px; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.85rem; color: var(--white); margin-bottom: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-col a, .footer-col p { display: block; font-size: 0.9rem; margin-bottom: 0.6rem; line-height: 1.6; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  max-width: 1180px; margin: 0 auto; padding-top: 1.8rem;
  display: flex; justify-content: space-between; font-size: 0.8rem; flex-wrap: wrap; gap: 0.5rem;
}

/* ============================================
   SCROLL TOP
   ============================================ */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  width: 48px; height: 48px; border-radius: 50%; background: var(--black); color: var(--white);
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease), background 0.3s var(--ease);
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--green); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .program-grid { grid-template-columns: 1fr; }
  .ranker-carousel .topper-card { flex-basis: calc((100% - 1.1rem) / 2); }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-side { position: static; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta, .btn-wa-icon { display: none; }
  .nav-burger { display: flex; }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 4.5rem 0; }
  .hero { padding-top: 8rem; }
  .hero-highlight { flex-direction: column; text-align: center; padding: 1.1rem 1.3rem; border-radius: var(--radius-md); }
  .hero-highlight-text { text-align: center; max-width: 220px; }
  .wa-float { width: 50px; height: 50px; left: 1.2rem; bottom: 1.2rem; }
  .scroll-top { width: 42px; height: 42px; right: 1.2rem; bottom: 1.2rem; }
  .stat-strip { flex-direction: column; gap: 1.4rem; padding: 2rem 1.5rem; transform: translateY(30%); }
  .stat-divider { display: none; }
  .trust-bar { padding-top: 5.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .ranker-carousel .topper-card { flex-basis: 62%; }
  .ranker-block-head { flex-wrap: wrap; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox-nav { width: 42px; height: 42px; font-size: 1.4rem; }
  .lightbox-prev { left: 0.6rem; }
  .lightbox-next { right: 0.6rem; }
  .results-table thead th, .results-table tbody td { padding: 0.8rem 1rem; font-size: 0.85rem; }
}

/* ============================================================
   FEATURED STORIES CAROUSEL  ← NEW
   ============================================================ */

.featured-stories-section {
  background: #FFF;
  padding: 60px 48px 70px;
}

.fs-header {
  margin-bottom: 36px;
}
.fs-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.fs-title {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #111;
  line-height: 1.1;
  letter-spacing: -.5px;
  margin-bottom: 6px;
}

.fs-title em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
}

.fs-sub {
  font-size: .875rem;
  color: #888;
  font-weight: 400;
}

/* Wrapper with arrows */
.fs-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.fs-track-outer {
  overflow: hidden;
  width: 100%;
}

.fs-track {
  display: flex;
  gap: 16px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* Card */
.fs-card {
  flex: 0 0 calc((100% - 3 * 16px) / 4.6);
  min-width: 200px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 14;
  cursor: pointer;
  background: #1a1a2e;
  box-shadow: 0 4px 20px rgba(0,0,0,.14);
  transition: transform .3s ease, box-shadow .3s ease;
}

.fs-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0,0,0,.24);
}

.fs-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .5s ease;
}

.fs-card:hover .fs-thumb { transform: scale(1.05); }

.fs-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,.72) 100%);
  opacity: .85;
  transition: opacity .3s;
}

.fs-card:hover .fs-overlay { opacity: 1; }

/* Play button */
.fs-play-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  transition: transform .25s, background .25s;
}

.fs-play-btn svg {
  width: 13px;
  height: 13px;
  margin-left: 2px;
}

.fs-card:hover .fs-play-btn {
  transform: scale(1.12);
  background: #fff;
}

/* Card info */
.fs-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 14px;
  z-index: 2;
}

.fs-card-title {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.1px;
  margin-bottom: 3px;
}

.fs-card-cta {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

/* Nav arrows */
.fs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
  color: #333;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}

.fs-nav svg { width: 18px; height: 18px; }

.fs-nav:hover {
  background: #111;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.28);
}

.fs-prev { left: -20px; }
.fs-next { right: -20px; }

.fs-nav:disabled { opacity: .3; pointer-events: none; }

/* Modal */
.fs-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.fs-modal.open { display: flex; }

.fs-modal-box {
  position: relative;
  width: min(860px, 92vw);
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  animation: fsModalIn .3s cubic-bezier(.34,1.3,.64,1) forwards;
}

@keyframes fsModalIn {
  from { opacity:0; transform:scale(.88); }
  to   { opacity:1; transform:scale(1); }
}

.fs-modal-box iframe { width:100%; height:100%; border:none; display:block; }

.fs-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: transform .2s;
}

.fs-modal-close:hover { transform: rotate(90deg); }


/* navbar */
.navbar {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
}
.navbar img { height: 65px; width: auto; display: block; }


.pill{
  display:inline-block;
  padding:12px 24px;
  background:#00B375;
  color:#fff;
  border-radius:50px;
  text-decoration:none; /* removes underline */
  font-weight:600;
}
/* ============ HERO ============ */
.hero {
  background-color: #00B375;
  padding: 70px 40px 60px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(8,189,128,.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content { min-width: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #2678be; border: 1px solid rgba(8,189,128,.4);
  border-radius: 100px; padding: 6px 16px;
  font-size: 13px; font-weight: 600; color: var(--gold); margin-bottom: 20px;
}
.hero-badge::before {
  content: ''; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(1.3); }
}
.hero h1 {
  font-family: 'Sora', sans-serif; font-size: 44px; font-weight: 800;
  color: white; line-height: 1.15; margin-bottom: 16px;
}
.hero h1 span { color: var(--gold); }
.hero p { color: rgba(255,255,255,.85); font-size: 17px; line-height: 1.7; max-width: 520px; margin-bottom: 32px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.hero-pills .pill {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px; padding: 7px 18px; color: white; font-size: 13px; font-weight: 500;
}
.stats-row { display: flex; flex-wrap: wrap; gap: 32px; }
.stat { color: white; }
.stat-num { font-family:'Sora',sans-serif; font-size:26px; font-weight:800; color:var(--gold); display:block; }
.stat-label { font-size:12px; color:rgba(255,255,255,.7); }

/* ============ LEAD FORM ============ */
.lead-form {
  background: white; border-radius: 16px; padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.25); width: 100%; max-width: 420px;
}
.lead-form h2 { font-family:'Sora',sans-serif; font-size:22px; font-weight:700; color:var(--text); margin-bottom:4px; }
.lead-form .sub { font-size:13px; color:var(--muted); margin-bottom:22px; }
.form-group { margin-bottom: 14px; }
.form-group label { display:block; font-size:12px; font-weight:600; color:var(--text); margin-bottom:6px; text-transform:uppercase; letter-spacing:.05em; }
.form-group input,
.form-group select {
  width:100%; padding:11px 14px; border:1.5px solid var(--border); border-radius:9px;
  font-size:14px; font-family:'Inter',sans-serif; color:var(--text); background:white; outline:none; transition:border-color .2s;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--green); }
.form-group input::placeholder { color:#9CA3AF; }
.cta-btn {
  width:100%; background:var(--green); color:white; font-size:16px; font-weight:700;
  font-family:'Sora',sans-serif; padding:14px; border-radius:10px; border:none; cursor:pointer; margin-top:6px; transition:background .2s,transform .1s;
}
.cta-btn:hover:not(:disabled) { background:var(--green-dark); transform:translateY(-1px); }
.cta-btn:active:not(:disabled) { transform:translateY(0); }
.cta-btn:disabled { opacity:.7; cursor:not-allowed; }
.form-status { text-align:center; font-size:13px; margin-top:12px; min-height:18px; font-weight:500; line-height:1.5; padding:0 8px; }
.form-status.success { color:var(--green-dark); }
.form-status.error { color:#d33; }
.form-note { text-align:center; font-size:13px; color:var(--black); margin-top:0; }
.honeypot { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; overflow:hidden; pointer-events:none; }


/* ============ WORKSHOP / VIDEO SECTION ============ */
.container { max-width:1200px; margin:0 auto; padding:80px 20px 50px; }
.eyebrow-green { text-align:center; color:#2bb673; font-size:18px; font-weight:500; margin-bottom:14px; }
.headline { text-align:center; font-size:40px; font-weight:800; color:#0f1c2e; line-height:1.25; max-width:900px; margin:0 auto 50px; }
.content { display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.video-wrapper { position:relative; width:100%; padding-bottom:56.25%; border-radius:8px; overflow:hidden; box-shadow:0 4px 20px rgba(0,0,0,.08); }
.video-wrapper iframe { position:absolute; top:0; left:0; width:100%; height:100%; border:none; }
.info { display:flex; flex-direction:column; gap:16px; }
.info .pill { background:#E7F0FA; border-radius:10px; padding:18px 22px; color:#0f1c2e; }
.date-pill { display:flex; align-items:center; gap:16px; }
.date-pill .icon { width:44px; height:44px; flex-shrink:0; }
.date-pill .date-text .day { font-size:18px; font-weight:600; }
.date-pill .date-text .time { font-size:14px; margin-top:4px; color:#1a2a3d; }
.meta-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.meta-pill { text-align:center; }
.meta-pill .label { font-size:16px; margin-bottom:6px; }
.meta-pill .value { font-size:16px; font-weight:700; }
.register-btn {
  display:block; width:100%; padding:18px;
  background:linear-gradient(180deg,#1f7a44 0%,#0a3d1f 100%);
  color:#fff; border:none; border-radius:10px; font-size:18px; font-weight:700;
  cursor:pointer; text-align:center; transition:transform .15s,box-shadow .15s;
}
.register-btn:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(10,61,31,.25); }
#offer-timer { text-align:center; font-size:14px; margin-top:10px; color:#000; }