/* Learn with Nidhi — clean, minimal light theme.
   Layout: navy hero with the teacher's photo, amber credentials band, then calm white/mist sections of cards.
   Single light theme by choice (parents' sites read best light); every colour is set explicitly. */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #1A2B5F;
  --navy-2: #24387A;
  --amber: #F2B233;
  --amber-soft: #FDF3DC;
  --ink: #1A2B5F;
  --text: #3E4A66;
  --muted: #6B7690;
  --bg: #FFFFFF;
  --mist: #F5F7FB;
  --line: #E3E8F1;
  --wa: #1F8A4C;
  --error: #C62828;
  --ok: #1D7A4C;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gut-l: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  --radius: 16px;
  --shadow: 0 1px 2px rgba(26, 43, 95, .04), 0 8px 24px rgba(26, 43, 95, .06);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.2; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #B7791F; }
.lead { font-size: 1.06rem; color: var(--text); max-width: 60ch; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 12px;
  font: 600 .98rem var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; border-radius: 10px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-accent { background: var(--amber); color: var(--navy); box-shadow: 0 6px 18px rgba(242, 178, 51, .35); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-call { background: #fff; color: var(--navy); font-variant-numeric: tabular-nums; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-weight: 500; font-size: .94rem; color: var(--ink); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: #B7791F; }
@media (max-width: 920px) { .nav-links { display: none; } }
@media (max-width: 420px) { .brand img { height: 36px; } .nav .btn-sm { padding: 0 14px; } }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 70% 30%, #2A3F84 0%, var(--navy) 60%); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 64px 72px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.pill { align-self: flex-start; font-size: .82rem; font-weight: 500; color: var(--amber); border: 1px solid rgba(242, 178, 51, .45); padding: 6px 14px; border-radius: 999px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 3.8rem); font-weight: 700; line-height: 1.12; }
.hero h1 .accent { color: var(--amber); }
.hero-lead { color: #D6DDF0; font-size: 1.06rem; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero .text-link { color: #fff; }
.contact-box { border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; max-width: 540px; }
.contact-box p { font-size: .92rem; font-weight: 500; color: #E7ECF8; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-btns .btn { min-height: 46px; padding: 0 20px; }

.hero-photo { margin: 0; position: relative; justify-self: center; width: 100%; max-width: 420px; }
.hero-photo::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--amber); right: -8%; top: 4%; }
.photo-frame { position: relative; border-radius: 24px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 24px 48px rgba(6, 14, 40, .35); }
.photo-frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-chip { position: absolute; left: -22px; bottom: 36px; background: #fff; color: var(--navy); border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 12px 30px rgba(6, 14, 40, .25); }
.photo-chip strong { font-size: 1.7rem; font-weight: 700; line-height: 1; }
.photo-chip span { font-size: .78rem; line-height: 1.3; color: var(--muted); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-block: 40px 56px; }
  .hero-photo { order: -1; max-width: 280px; }
  .photo-chip { left: -12px; bottom: 20px; padding: 10px 12px; }
  .photo-chip strong { font-size: 1.4rem; }
}

/* Credentials band */
.creds { background: var(--amber); color: var(--navy); }
.creds ul { list-style: none; margin: 0; padding: 16px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; font-size: .98rem; font-weight: 500; }
.creds li { display: inline-block; white-space: nowrap; }
.creds li + li::before { content: ""; display: inline-block; width: 1.5px; height: 18px; background: var(--navy); margin: 0 20px; vertical-align: middle; position: relative; top: -1px; opacity: .3; }
.creds strong { font-weight: 700; }
@media (max-width: 560px) { .creds ul { justify-content: flex-start; font-size: .9rem; } .creds li + li::before { margin: 0 12px; } }
.subject-list:has(li:only-child) { grid-template-columns: minmax(0, 360px); justify-content: center; }

/* Sections */
section { scroll-margin-top: 84px; }
.section { padding-block: 88px; }
.alt { background: var(--mist); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
@media (max-width: 600px) { .section { padding-block: 64px; } }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.about-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.about-copy > p:not(.eyebrow):not(.lead) { max-width: 60ch; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 40px; } }

.card-report { padding: 24px; max-width: 440px; width: 100%; justify-self: center; margin: 0; }
.card-report header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.rc-title { font-weight: 600; color: var(--ink); font-size: 1.1rem; }
.rc-meta { font-size: .78rem; color: var(--muted); }
.rc-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rc-table th { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; font-weight: 600; padding: 12px 0 6px; }
.rc-table th:not(:first-child), .rc-table td:not(:first-child) { text-align: right; }
.rc-table td { padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); }
.rc-table td.was { color: var(--muted); }
.rc-table td.now { font-weight: 700; }
.rc-table td.now::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-left: 8px; vertical-align: middle; }
.rc-note { margin-top: 12px; font-size: .78rem; color: var(--muted); }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why .card { padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.why p { font-size: .94rem; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--amber-soft); color: #B7791F; display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; }
@media (max-width: 1000px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* Steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 10px; min-width: 0; text-align: center; align-items: center; }
.steps li::before { content: counter(step); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.steps p { font-size: .94rem; max-width: 30ch; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Plan finder */
.finder { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; overflow: hidden; }
.finder-form { padding: 32px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 600; color: var(--ink); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; font-size: .92rem; font-weight: 500; background: #fff; color: var(--ink); transition: all .15s; }
.chip input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.result { background: var(--navy); color: #D6DDF0; padding: 32px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.result .eyebrow { color: var(--amber); }
.result h3 { color: #fff; font-size: 1.6rem; }
.result ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.result-note { color: var(--amber); font-weight: 600; }
.result .btn-primary { background: var(--amber); color: var(--navy); }
@media (max-width: 860px) { .finder { grid-template-columns: 1fr; } .finder-form, .result { padding: 24px; } }

/* Subjects */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.tab { min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 .92rem var(--font); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.subject-list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; }
.subject-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.subject-list strong { font-weight: 600; color: var(--ink); }
.subject-list span { font-size: .88rem; color: var(--muted); }
.fine { font-size: .85rem; color: var(--muted); margin-top: 18px; text-align: center; }
@media (max-width: 760px) { .subject-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .subject-list { grid-template-columns: 1fr; } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.plan.featured { border: 2px solid var(--navy); }
.badge { align-self: flex-start; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8A5A0B; background: var(--amber-soft); padding: 4px 10px; border-radius: 6px; }
.plan ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; font-size: .95rem; }
.price { font-weight: 600; color: var(--ink); font-size: 1.1rem; }
.plan .btn { align-self: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quotes figure { margin: 0; padding: 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.quotes figure::before { content: "“"; font-size: 3rem; line-height: .6; color: var(--amber); font-weight: 700; }
.quotes blockquote { margin: 0; color: var(--ink); font-size: 1.02rem; }
.quotes figcaption { font-size: .88rem; color: var(--muted); }
.placeholder-note { margin: 22px auto 0; width: fit-content; font-size: .82rem; background: var(--amber-soft); color: #6B4A08; padding: 4px 12px; border-radius: 6px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 20px; max-width: 68ch; }

/* Enquiry */
.enquire { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.enquire-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.talk-to { display: flex; gap: 14px; align-items: center; }
.talk-to img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; flex: none; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-lines li { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-lines .k { color: var(--muted); min-width: 70px; }
.contact-lines .v { font-weight: 600; color: var(--ink); user-select: all; font-variant-numeric: tabular-nums; }
.lead-form { padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #CFD6E4; border-radius: 10px; padding: 11px 13px; min-height: 48px; width: 100%; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(242, 178, 51, .4); }
.field .err { font-size: .82rem; color: var(--error); min-height: 1.2em; }
.field [aria-invalid="true"] { border-color: var(--error); }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.form-actions .btn { width: 100%; }
.form-status { font-size: .94rem; }
.form-status.ok { color: var(--ok); font-weight: 600; }
.form-status.bad { color: var(--error); }
.success { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; }
.success h3 { font-size: 1.6rem; }
@media (max-width: 900px) { .enquire { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { .lead-form { grid-template-columns: 1fr; padding: 22px; } }

/* Footer */
.site-footer { background: var(--navy); color: #B9C3DD; padding-block: 48px 120px; font-size: .9rem; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot img { height: 44px; width: auto; display: block; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { color: #fff; text-decoration: none; font-weight: 500; }
.foot nav a:hover { color: var(--amber); }
.foot-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 20px; }
.disclaimer { margin-top: 16px; max-width: 90ch; font-size: .8rem; color: #8F9BBB; }
@media (min-width: 761px) { .site-footer { padding-bottom: 48px; } }

/* Floating WhatsApp (desktop) and sticky bar (mobile) */
.wa-float { position: fixed; z-index: 30; right: max(24px, calc(env(safe-area-inset-right, 0px) + 16px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--wa); color: #fff;
  font-weight: 600; text-decoration: none; box-shadow: 0 10px 26px rgba(15, 60, 35, .3); transition: transform .15s ease; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; gap: 10px;
  padding: 10px var(--gut-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gut-l); background: #fff; border-top: 1px solid var(--line); }
.mobile-cta .btn { flex: 1; min-height: 48px; padding: 0 12px; }
@media (max-width: 760px) { .wa-float { display: none; } .mobile-cta { display: flex; } }

/* Reviews: centre 1–2 cards nicely; keep section bands alternating when reviews are hidden */
.quotes[data-count="1"] { grid-template-columns: minmax(0, 560px); justify-content: center; }
.quotes[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin: 0 auto; }
.quotes figcaption strong { color: var(--ink); font-weight: 600; }
#results[hidden] + .alt { background: var(--bg); }
@media (max-width: 860px) { .quotes[data-count="2"] { grid-template-columns: 1fr; } }
.hero-cta.center { justify-content: center; }
