/* ─────────────────────────────────────────
   SECTIONS — all interior page sections
   ───────────────────────────────────────── */


/* ── Why Us ── */
.feat-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.feat-card {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 32px; border-radius: 12px;
  border: 1px solid var(--line); background-color: #fff;
  transition: border-color 220ms, box-shadow 220ms, transform 250ms var(--ease);
}
.feat-card:hover {
  border-color: var(--blue-b);
  box-shadow: 0 10px 32px rgba(3,105,161,.1);
  transform: translateY(-4px);
}
.feat-icon {
  width: 60px; height: 60px; border-radius: 12px;
  background: var(--blue-l); display: grid; place-items: center; flex-shrink: 0;
}
.feat-icon i  { font-size: 28px; color: var(--blue); }
.feat-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -.01em; }
.feat-desc  { font-size: 15px; color: var(--muted); line-height: 1.72; }

/* ── About ── */
.about-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); display: flex; align-items: center; margin-bottom: 16px;
}
.about h2 { font-size: clamp(28px, 3.5vw, 46px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); margin-bottom: 20px; }
.about p  { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.about-bullets { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.about-bullet  { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.about-bullet i { font-size: 20px; color: var(--blue); flex-shrink: 0; }

/* Stats grid */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-box {
  padding: 32px 20px; border-radius: 12px; text-align: center;
  border: 1px solid var(--line); background: #fff;
  transition: border-color 220ms, box-shadow 220ms, transform 250ms var(--ease);
}
.stat-box:hover { border-color: var(--blue-b); box-shadow: 0 8px 28px rgba(3,105,161,.12); transform: translateY(-3px); }
.stat-icon { font-size: 24px; color: var(--blue); display: block; margin-bottom: 12px; opacity: .75; }
.stat-num { font-size: clamp(32px, 4vw, 48px); font-weight: 800; color: var(--blue); letter-spacing: -.05em; line-height: 1; margin-bottom: 8px; }
.stat-lbl { font-size: 11px; font-weight: 700; color: var(--subtle); text-transform: uppercase; letter-spacing: .08em; }

/* ── How It Works ── */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.step-card {
  padding: 36px 32px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); position: relative;
  transition: border-color 220ms, box-shadow 220ms, transform 250ms var(--ease);
}
.step-card:hover { border-color: var(--blue-b); box-shadow: 0 10px 32px rgba(29,78,216,.1); transform: translateY(-4px); }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 16px; font-weight: 800; display: grid; place-items: center;
  margin-bottom: 24px; letter-spacing: -.01em;
  box-shadow: 0 4px 14px rgba(3,105,161,.35);
}
.step-title { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 10px; letter-spacing: -.01em; }
.step-desc  { font-size: 15px; color: var(--muted); line-height: 1.72; }

/* ── Steps flow ── */
.steps-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
}

/* Large display number */
.steps-flow .step-num {
  width: auto; height: auto; border-radius: 0;
  background: none; color: var(--blue);
  font-size: clamp(48px, 6vw, 72px); font-weight: 800;
  letter-spacing: -.05em; line-height: 1;
  display: inline-block; margin-bottom: 20px;
  box-shadow: none; position: relative;
}

/* Accent underline that draws in after the card reveals */
.steps-flow .step-num::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 1px;
  width: 0; height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transition: width 420ms var(--ease);
  transition-delay: 380ms;
}
.steps-flow .step-card.in .step-num::after { width: 32px; }

/* Override generic translateY reveal — steps slide in from the left instead */
.steps-flow .step-card.reveal         { transform: translateX(-36px); }
.steps-flow .step-card.reveal.in      { transform: translateX(0); }

/* ── Desktop: open 3-column layout with a drawing top line ── */
@media (min-width: 1024px) {
  .steps-flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding-top: 1px; /* clearance so ::before line is not clipped */
  }

  /* Full-width grey track */
  .steps-flow::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--line);
  }

  /* Blue fill that draws left to right on scroll */
  .steps-flow::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    height: 1px;
    width: 0;
    background: var(--blue);
    transition: width 1100ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .steps-flow.line-drawn::after { width: 100%; }

  /* Strip card borders, open layout */
  .steps-flow .step-card {
    border: none;
    border-right: 1px solid var(--line);
    border-radius: 0;
    padding: 40px 48px 0 0;
    background: none;
    box-shadow: none;
  }
  .steps-flow .step-card:last-child { border-right: none; padding-right: 0; }
  .steps-flow .step-card:hover      { transform: none; box-shadow: none; border-color: var(--line); }
}

/* ── Courses ── */
.course-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.course-card {
  padding: 32px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  overflow: hidden;
  transition: border-color 220ms, box-shadow 220ms, transform 250ms var(--ease);
}
.course-card:hover { border-color: var(--blue-b); box-shadow: 0 10px 32px rgba(29,78,216,.1); transform: translateY(-4px); }

/* Course card header image — full-bleed strip at top */
.course-img-wrap {
  margin: -32px -32px 24px -32px;
  height: 160px;
  overflow: hidden;
  line-height: 0;
}
.course-img {
  width: 100%; height: 100%;
  display: block; object-fit: cover;
  filter: brightness(.93) saturate(.88);
  transition: transform 600ms var(--ease), filter 400ms;
}
.course-card:hover .course-img { transform: scale(1.06); filter: brightness(.98) saturate(.95); }
.c-pill {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 100px; margin-bottom: 16px;
}
.pill-jee    { background: var(--blue-l);  color: var(--blue); }
.pill-neet   { background: #f0fdf4;         color: #15803d; }
.pill-mhcet  { background: #f5f3ff;         color: #6d28d9; }
.pill-boards { background: #fefce8;         color: #a16207; }
.pill-found  { background: #fff1f2;         color: #be123c; }
.pill-ask    { background: var(--line-l);   color: var(--ink-3); }
.course-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 10px; letter-spacing: -.02em; }
.course-card p  { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.course-bullets { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.cbullet    { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.cbullet i  { font-size: 15px; color: var(--blue); flex-shrink: 0; }
.c-link     { font-size: 14px; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 5px; transition: gap 180ms; }
.c-link:hover { gap: 9px; }
.course-cta-card {
  background: var(--blue); border-color: var(--blue);
  padding: 36px 32px; display: flex; flex-direction: column;
}
.course-cta-card h3 { color: #fff; font-size: 20px; }
.course-cta-card p  { color: rgba(219,234,254,.8); }
.course-cta-card:hover { border-color: var(--blue-d); transform: translateY(-4px); }

/* ── Tagline reveal (dark section) ── */
.section-promise {
  background: var(--dark-bg);
  background-image: repeating-linear-gradient(
    -55deg, transparent, transparent 60px,
    rgba(255,255,255,.018) 60px, rgba(255,255,255,.018) 61px
  );
  padding: 112px 0 88px;
}
.tagline-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #3b82f6; display: flex; align-items: center;
  margin-bottom: 36px; opacity: 0; transform: translateY(10px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.tagline-eyebrow.in { opacity: 1; transform: none; }
.tagline-text {
  font-size: clamp(32px, 5.5vw, 64px); font-weight: 800; color: #fff;
  line-height: 1.18; letter-spacing: -.04em; max-width: 920px;
}
.word { display: inline-block; margin-right: .28em; opacity: .18; transition: opacity 420ms var(--ease); }
.word.lit { opacity: 1; }

/* ── Achievements (dark) ── */
.section-achievements {
  background: var(--dark-bg);
  background-image: repeating-linear-gradient(
    -55deg, transparent, transparent 60px,
    rgba(255,255,255,.018) 60px, rgba(255,255,255,.018) 61px
  );
  padding-top: 0; padding-bottom: 112px;
}
.achieve-divider { height: 1px; background: var(--dark-ln); margin-bottom: 80px; }
.achieve-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  border-radius: 16px; overflow: hidden; border: 1px solid var(--dark-ln);
}
.achieve-cell {
  text-align: center; padding: 60px 24px; background: var(--dark-mid);
  border-right: 1px solid var(--dark-ln); border-bottom: 1px solid var(--dark-ln);
  transition: background 220ms; cursor: default;
}
.achieve-cell:hover { background: #172034; }
.achieve-cell:nth-child(even)        { border-right: none; }
.achieve-cell:nth-last-child(-n+2)   { border-bottom: none; }
/* MASSIVE achievement numbers — the centrepiece of the dark section */
.achieve-val { font-size: clamp(52px, 7vw, 88px); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.05em; margin-bottom: 14px; }
.achieve-val sup { font-size: .44em; color: #60a5fa; vertical-align: super; }
.achieve-lbl { font-size: 11px; font-weight: 700; color: #60809e; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.achieve-sub { font-size: 13px; color: #4b6180; }

/* ── About image ── */
.about-img-wrap {
  border-radius: 14px; overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  line-height: 0;
}
.about-img {
  width: 100%; height: auto; display: block;
  transform: scale(1.06);
  transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* When parent reveal fires, image settles from slightly enlarged to natural */
.reveal.in .about-img { transform: scale(1); }
.about-img-wrap:hover .about-img { transform: scale(1.03); }

/* ── Toppers — infinite horizontal marquee ── */
.toppers-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}
.toppers-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.topper-card {
  flex-shrink: 0;
  width: 190px;
  padding: 28px 20px 24px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; text-align: center;
  position: relative; overflow: hidden;
  transition: border-color 220ms, box-shadow 220ms, transform 250ms var(--ease);
}
/* Gold credential accent */
.topper-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: #f59e0b;
}
.topper-card:hover { border-color: var(--blue-b); box-shadow: 0 8px 28px rgba(3,105,161,.12); transform: translateY(-4px); }

/* Photo-based avatars — topper cards and testimonials */
.t-avatar { overflow: hidden; }
.t-avatar img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; border-radius: 50%;
}
.t-ava { overflow: hidden; }
.t-ava img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; border-radius: 50%;
}

.t-avatar {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center;
  font-size: 20px; font-weight: 800; color: #fff; background: var(--blue);
  box-shadow: 0 4px 14px rgba(3,105,161,.3);
}
.t-name { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.t-rank { font-size: 15px; font-weight: 800; color: var(--blue); margin-bottom: 5px; letter-spacing: -.01em; }
.t-exam { font-size: 11px; font-weight: 700; color: var(--subtle); text-transform: uppercase; letter-spacing: .07em; }

/* ── Testimonials ── */
.tgrid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.tcard {
  padding: 32px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  transition: border-color 220ms, box-shadow 220ms, transform 250ms var(--ease);
}
.tcard:hover { border-color: var(--blue-b); box-shadow: 0 10px 32px rgba(29,78,216,.1); transform: translateY(-3px); }
.tcard-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.star { width: 15px; height: 15px; fill: #f59e0b; color: #f59e0b; }
.tcard blockquote { font-size: 15px; color: var(--ink-2); line-height: 1.82; margin-bottom: 24px; font-style: normal; }
.tcard blockquote::before { content: '\201C'; font-size: 32px; color: var(--blue-b); line-height: 0; vertical-align: -10px; margin-right: 2px; }
.tcard-author { display: flex; align-items: center; gap: 14px; }
.t-ava { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; font-size: 15px; font-weight: 700; color: #fff; flex-shrink: 0; }
.t-nm  { font-size: 15px; font-weight: 700; color: var(--ink); }
.t-rl  { font-size: 12px; font-weight: 600; color: var(--blue); margin-top: 2px; }

/* ── FAQ ── */
.faq-item { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 10px; transition: border-color 200ms; }
.faq-item:has(.faq-btn[aria-expanded="true"]) { border-color: var(--blue-b); }
.faq-btn {
  width: 100%; text-align: left; display: flex; align-items: center;
  justify-content: space-between; gap: 14px;
  padding: 18px 24px; background: none; border: none;
  font-family: inherit; font-size: 16px; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: background 180ms;
  min-height: 44px;
}
.faq-btn:hover { background: var(--bg-off); }
.faq-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.faq-icon { font-size: 20px; color: var(--subtle); flex-shrink: 0; transition: transform 400ms var(--ease), color 180ms; }
.faq-btn[aria-expanded="true"] .faq-icon { transform: rotate(180deg); color: var(--blue); }
.faq-panel { max-height: 0; overflow: hidden; transition: max-height 400ms var(--ease); }
.faq-body  { padding: 0 24px 20px; font-size: 15px; color: var(--muted); line-height: 1.82; }

/* ── Contact ── */
.form-label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-2); margin-bottom: 7px; letter-spacing: .01em; }
.form-input {
  width: 100%; padding: 12px 16px;
  min-height: 44px;
  border: 1.5px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 15px; color: var(--ink);
  background: #fff; outline: none; appearance: none;
  transition: border-color 180ms, box-shadow 180ms;
}
.form-input::placeholder { color: var(--subtle); }
.form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(3,105,161,.12); }
.form-row   { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { margin-bottom: 14px; }
.btn-submit {
  width: 100%; padding: 14px 24px;
  background: var(--blue); color: #fff; border: none; border-radius: 8px;
  font-family: inherit; font-size: 16px; font-weight: 700;
  cursor: pointer; letter-spacing: -.01em;
  transition: background 180ms, box-shadow 180ms, transform 120ms;
}
.btn-submit:hover { background: var(--blue-d); box-shadow: 0 6px 24px rgba(3,105,161,.32); }
.btn-submit:active  { transform: scale(.98); }
.btn-submit:disabled{ opacity: .6; cursor: not-allowed; }
.btn-submit:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.form-status { font-size: 14px; text-align: center; margin-top: 12px; display: none; font-weight: 500; }
.form-status.ok  { color: #15803d; }
.form-status.err { color: #dc2626; }

.contact-info { display: flex; flex-direction: column; gap: 12px; }
.ccard {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px; border-radius: 10px;
  background: var(--bg-off); border: 1px solid var(--line);
  transition: background 180ms, border-color 180ms;
}
.ccard:hover { background: var(--blue-l); border-color: var(--blue-bb); }
.ccard-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.ccard-icon i { font-size: 20px; color: #fff; }
.ccard-lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--subtle); margin-bottom: 3px; }
.ccard-val { font-size: 15px; color: var(--ink-2); font-weight: 500; }
.ccard-val.link { color: var(--blue); }

.wa-cta { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 10px; background: #f0fdf4; border: 1px solid #bbf7d0; transition: background 180ms; }
.wa-cta:hover { background: #dcfce7; }
.wa-icon-box { width: 40px; height: 40px; border-radius: 8px; background: #16a34a; display: grid; place-items: center; flex-shrink: 0; }
.wa-icon-box i { font-size: 22px; color: #fff; }
.wa-cta-lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #15803d; margin-bottom: 3px; }
.wa-cta-val { font-size: 15px; color: #166534; font-weight: 600; }

/* ── Final CTA ── */
.final-cta {
  background:
    linear-gradient(rgba(10,16,30,.87), rgba(10,16,30,.93)),
    url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?w=1600&q=80') center / cover no-repeat;
  padding: 112px 0; text-align: center;
  position: relative; overflow: hidden;
}
.final-cta h2    { font-size: clamp(28px, 4.5vw, 56px); font-weight: 800; color: #fff; letter-spacing: -.04em; margin-bottom: 20px; position: relative; line-height: 1.1; }
.final-cta p     { font-size: 18px; color: rgba(219,234,254,.75); max-width: 440px; margin: 0 auto 40px; line-height: 1.7; position: relative; }
.final-cta-btns  { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; position: relative; }
