/* Takshila Academy. Colours from the school crest. System fonts only, so pages load fast on mobile data. */
:root {
  --green: #0e3b2c;
  --green-2: #15553f;
  --green-3: #2f7a5c;
  --gold: #c98f3a;
  --gold-d: #a8732a;
  --gold-l: #f6e7cc;
  --cream: #fbf7ef;
  --cream-2: #f4ecdd;
  --mint: #e3f1ea;
  --ink: #17251f;
  --muted: #5a6962;
  --line: #e7dfcf;
  --white: #fff;
  --r: 22px;
  --sh: 0 1px 2px rgba(14, 59, 44, .06), 0 14px 34px rgba(14, 59, 44, .10);
  --sh-lg: 0 30px 70px rgba(14, 59, 44, .22);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Nirmala UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); }
h1, h2, h3 { margin: 0 0 .45em; color: var(--green); line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
h1, h2 { text-wrap: balance; }
p { margin: 0 0 1em; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; box-shadow: 0 8px 20px rgba(14, 59, 44, .22); }
.btn:hover { background: var(--green-2); transform: translateY(-2px); }
.btn.gold { background: var(--gold); box-shadow: 0 8px 20px rgba(201, 143, 58, .3); }
.btn.gold:hover { background: var(--gold-d); }
.btn.ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn.ghost:hover { background: var(--green); color: #fff; }
.btn.ghost-light { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn.ghost-light:hover { background: rgba(255, 255, 255, .2); }
.btn.wa { background: #1fa855; box-shadow: 0 8px 20px rgba(31, 168, 85, .28); }
.btn.wa:hover { background: #178a45; }
.btn.sm { padding: 9px 18px; font-size: .94rem; }
.btn.lg { padding: 16px 30px; font-size: 1.06rem; }

/* Top ribbon and header */
.ribbon { background: var(--green); color: #e6efe9; font-size: .88rem; }
.ribbon-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; }
.ribbon a { color: #fff; text-decoration: none; margin-left: 18px; white-space: nowrap; }
.ribbon .ic { color: var(--gold-l); }
.rb-news { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #6fe0a7; box-shadow: 0 0 0 0 rgba(111, 224, 167, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(111, 224, 167, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 224, 167, 0); } }

.top { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 239, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.top.solid { border-color: var(--line); box-shadow: 0 6px 24px rgba(14, 59, 44, .06); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green); }
.brand img { width: 48px; height: auto; }
.brand span { font-family: var(--serif); font-size: 1.32rem; line-height: 1.1; color: var(--green); }
.brand b { color: var(--green); }
.brand small { display: block; font-family: var(--sans); font-size: .74rem; letter-spacing: .04em; color: var(--muted); font-weight: 600; margin-top: 3px; }
.brand.light span, .brand.light b { color: #fff; }
.brand.light small { color: #b9cfc4; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 8px 12px; border-radius: 999px; transition: background .2s; }
.nav a:not(.btn):hover { background: var(--cream-2); }
.nav a[aria-current="page"] { background: var(--mint); color: var(--green); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--green); cursor: pointer; }
.menu-btn .ic { width: 24px; height: 24px; }

/* Hero */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 143, 58, .22), transparent 65%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; left: -220px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 122, 92, .16), transparent 65%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); color: var(--green-2); padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: .86rem; box-shadow: 0 4px 14px rgba(14, 59, 44, .06); margin-bottom: 20px; }
.eyebrow .ic { color: var(--gold); }
.hl { position: relative; white-space: nowrap; color: var(--green-2); }
.hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .28em; background: var(--gold-l); z-index: -1; border-radius: 6px; transform: rotate(-1deg); }
.hero h1 { position: relative; z-index: 0; }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 36em; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 28px; }
.hero-pts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--green); font-weight: 600; font-size: .96rem; }
.hero-pts .ic { color: var(--gold); }

.hero-art { position: relative; }
.photo-main { border-radius: 32px 32px 32px 120px; overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4 / 3.3; background: var(--cream-2); }
.photo-main img { width: 100%; height: 100%; object-fit: cover; }
.float { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--sh); padding: 12px 16px; display: flex; align-items: center; gap: 12px; animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-size: 1.35rem; color: var(--green); line-height: 1.1; font-family: var(--serif); }
.float small { color: var(--muted); font-size: .82rem; font-weight: 600; }
.float .fi { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.float .fi .ic { width: 22px; height: 22px; }
.f1 { left: -34px; bottom: 54px; }
.f2 { right: -20px; top: 26px; animation-delay: -3s; }
.f3 { right: 26px; bottom: -22px; animation-delay: -1.5s; }
.fi.g { background: var(--mint); color: var(--green-2); }
.fi.y { background: var(--gold-l); color: var(--gold-d); }
.fi.r { background: #fde6e1; color: #c2543d; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.crest-badge { position: absolute; left: 28px; top: -24px; width: 92px; height: 92px; background: #fff; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--sh); }
.crest-badge img { width: 64px; }

/* Stats strip */
.stats { position: relative; z-index: 2; margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--green); color: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-lg); }
.stats li { list-style: none; padding: 24px 22px; border-right: 1px solid rgba(255, 255, 255, .1); }
.stats li:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--gold-l); line-height: 1.1; }
.stats span { color: #cfe0d7; font-size: .95rem; }
.stats { padding: 0; margin-bottom: 0; }
.stats .si { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 12px; background: rgba(230, 180, 106, .14); color: var(--gold-l); }
.stats .si svg { width: 22px; height: 22px; }
.stats strong { font-variant-numeric: tabular-nums; }

/* Sections */
.sec { padding: 92px 0; }
.sec.white { background: #fff; }
.sec.mint { background: var(--mint); }
.head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.head.left { text-align: left; margin-left: 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-d); margin-bottom: 12px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.sub { color: var(--muted); font-size: 1.1rem; }

/* Highlight cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.c-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; }
.c-ic .ic { width: 26px; height: 26px; }
.t1 { background: var(--mint); color: var(--green-2); }
.t2 { background: var(--gold-l); color: var(--gold-d); }
.t3 { background: #e5edfb; color: #3559a8; }
.t4 { background: #fde6e1; color: #c2543d; }
.t5 { background: #efe6fb; color: #6c45b5; }
.t6 { background: #e2f4f6; color: #217a86; }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.collage { position: relative; padding: 0 0 50px 40px; }
.collage .p1 { border-radius: 28px; overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 16 / 10.5; }
.collage .p2 { position: absolute; left: 0; bottom: 0; width: 46%; border-radius: 22px; overflow: hidden; border: 6px solid var(--cream); box-shadow: var(--sh); aspect-ratio: 1; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .since { position: absolute; right: -14px; bottom: 12px; background: var(--gold); color: #fff; border-radius: 20px; padding: 16px 20px; box-shadow: var(--sh); max-width: 220px; }
.collage .since b { display: block; font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; }
.ticks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { color: #fff; background: var(--green-3); border-radius: 50%; padding: 4px; width: 26px; height: 26px; flex: none; margin-top: 1px; }

/* Vision / mission */
.vmm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vm { background: #fff; border-radius: var(--r); padding: 30px 26px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.vm::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--green-3), var(--gold)); }
.vm .sk { font-family: "Nirmala UI", "Noto Sans Devanagari", var(--serif); color: var(--gold-d); font-weight: 600; margin-top: 14px; font-size: 1.04rem; }
.vm p { color: var(--muted); }
.vm ul { margin: 0; padding-left: 18px; color: var(--muted); }
.vm li { margin-bottom: 4px; }

/* Learning journey */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: st; }
.stage { position: relative; background: #fff; border-radius: var(--r); padding: 30px 26px 26px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(14, 59, 44, .05); }
.stage .age { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.stage h3 { font-family: var(--serif); font-size: 1.5rem; }
.stage p { color: var(--muted); }
.stage ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stage li { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .88rem; font-weight: 600; color: var(--green); }
.stage .new { position: absolute; right: 18px; top: 18px; background: var(--gold); color: #fff; font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }

/* Facilities: photo + list */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat .card { display: flex; gap: 16px; align-items: flex-start; }
.feat .c-ic { margin: 0; }
.feat h3 { margin-bottom: 4px; }

/* Band */
.band { position: relative; background: var(--green); color: #fff; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 85% 10%, rgba(201, 143, 58, .3), transparent 50%), radial-gradient(ellipse at 0% 100%, rgba(111, 224, 167, .12), transparent 50%); }
.band .wrap { position: relative; }
.band h2 { color: #fff; }
.band .kicker { color: var(--gold-l); }
.band .kicker::before { background: var(--gold-l); }
.band .sub { color: #cfe0d7; }
.band-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding: 84px 0; }
.band-photo { border-radius: 28px; overflow: hidden; box-shadow: var(--sh-lg); transform: rotate(1.5deg); aspect-ratio: 16 / 10.5; }
.band-photo img { width: 100%; height: 100%; object-fit: cover; }
.band-list { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; gap: 14px; }
.band-list li { display: flex; gap: 14px; align-items: flex-start; }
.band-list .c-ic { width: 44px; height: 44px; margin: 0; background: rgba(255, 255, 255, .1); color: var(--gold-l); border-radius: 14px; }
.band-list .c-ic .ic { width: 22px; height: 22px; }
.band-list b { display: block; }
.band-list span { color: #cfe0d7; font-size: .96rem; }

/* Teachers */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.tch { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 18px 22px; text-align: center; transition: transform .25s, box-shadow .25s; }
.tch:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.av { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, var(--green-3), var(--green)); box-shadow: 0 0 0 5px var(--mint); }
.tch:nth-child(2n) .av { background: linear-gradient(135deg, #d9a456, var(--gold-d)); box-shadow: 0 0 0 5px var(--gold-l); }
.tch h3 { margin: 0 0 2px; font-size: 1.06rem; }
.tch p { margin: 0; color: var(--muted); font-size: .92rem; }
.tch .role { display: inline-block; margin-top: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-d); }

/* Gallery */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.gal figure { margin: 0; position: relative; border-radius: 20px; overflow: hidden; background: var(--cream-2); }
.gal figure.wide { grid-column: span 2; grid-row: span 2; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gal figure:hover img { transform: scale(1.05); }
.gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-weight: 600; font-size: .92rem; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
.gal .more { display: grid; place-items: center; text-align: center; background: var(--green); color: #fff; padding: 20px; }
.gal .more p { color: #cfe0d7; margin: 6px 0 14px; font-size: .95rem; }
.gal .more h3 { color: #fff; font-family: var(--serif); font-size: 1.3rem; }

/* Testimonial */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote .qi { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--gold-l); color: var(--gold-d); display: grid; place-items: center; }
.quote .qi .ic { width: 30px; height: 30px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.45; color: var(--green); }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-weight: 700; color: var(--muted); }
.stars { color: var(--gold); display: inline-flex; gap: 2px; margin-bottom: 14px; }
.stars .ic { fill: currentColor; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; position: relative; }
.steps li::before { content: counter(s); position: absolute; right: 18px; top: 10px; font-family: var(--serif); font-size: 3rem; font-weight: 700; color: var(--cream-2); line-height: 1; }
.steps b { display: block; font-size: 1.08rem; color: var(--green); margin: 12px 0 4px; }
.steps span { color: var(--muted); font-size: .95rem; }
.steps .c-ic { margin: 0; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; transition: box-shadow .2s; }
details[open] { box-shadow: var(--sh); }
summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--green); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { content: "−"; background: var(--gold-l); }
details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* CTA */
.cta { background: linear-gradient(120deg, var(--gold) 0%, #d9a456 100%); border-radius: 30px; padding: 46px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--sh-lg); }
.cta::after { content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { margin: 0; color: #fff8ec; font-size: 1.08rem; }
.cta .acts { margin: 0; position: relative; z-index: 1; flex: none; }
.cta .btn { background: #fff; color: var(--green); box-shadow: none; }
.cta .btn.wa { background: var(--green); color: #fff; }

/* Page hero (inner pages) */
.phero { position: relative; padding: 64px 0 56px; background: var(--green); color: #fff; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 90% 0%, rgba(201, 143, 58, .32), transparent 50%), radial-gradient(ellipse at 0% 100%, rgba(111, 224, 167, .12), transparent 50%); }
.phero .wrap { position: relative; }
.phero h1 { color: #fff; margin-bottom: 10px; }
.phero p { color: #cfe0d7; font-size: 1.12rem; max-width: 40em; margin: 0; }
.crumbs { font-size: .9rem; margin-bottom: 14px; color: #b9cfc4; }
.crumbs a { color: var(--gold-l); text-decoration: none; }

/* Forms */
.formbox { background: #fff; border-radius: 26px; padding: 34px 32px; box-shadow: var(--sh-lg); border: 1px solid var(--line); }
.formbox h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 4px; }
.formbox .note-sm { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
label { display: block; font-weight: 700; font-size: .92rem; color: var(--green); margin: 14px 0 6px; }
label small { color: var(--muted); font-weight: 500; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: border-color .2s, background .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-3); background: #fff; }
textarea { resize: vertical; min-height: 84px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.btn.full { width: 100%; margin-top: 20px; }
.fine { font-size: .85rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; }
.note { border-radius: 16px; padding: 14px 18px; margin-bottom: 14px; font-weight: 600; }
.note.bad { background: #fde6e1; color: #9d3a26; }
.note.good { background: var(--mint); color: var(--green); text-align: center; padding: 34px 20px; }
.note.good .big { width: 64px; height: 64px; border-radius: 50%; background: var(--green-3); color: #fff; display: grid; place-items: center; margin: 0 auto 12px; }
.note.good .big .ic { width: 32px; height: 32px; }
.note.good strong { display: block; font-family: var(--serif); font-size: 1.4rem; }
.note.good p { margin: 6px 0 0; font-weight: 500; }

/* Contact */
.contact { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: start; }
.cinfo { display: grid; gap: 14px; }
.cline { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
a.cline:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.cline .c-ic { margin: 0; width: 48px; height: 48px; }
.cline b { display: block; color: var(--green); }
.cline span { color: var(--muted); font-size: .96rem; }

/* Download card */
.dl { display: flex; align-items: center; gap: 18px; background: #fff; border: 1.5px dashed var(--gold); border-radius: 22px; padding: 22px 24px; }
.dl .c-ic { margin: 0; }
.dl b { display: block; color: var(--green); font-size: 1.08rem; }
.dl span { color: var(--muted); font-size: .95rem; }
.dl .btn { margin-left: auto; flex: none; }

/* Footer */
.foot { background: #0a2c21; color: #cfe0d7; padding: 70px 0 0; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.foot h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.foot nav a { display: block; color: #cfe0d7; text-decoration: none; padding: 4px 0; }
.foot nav a:hover { color: var(--gold-l); }
.foot-brand p { margin: 16px 0 0; max-width: 30em; }
.shloka { font-family: "Nirmala UI", "Noto Sans Devanagari", serif; color: var(--gold-l); font-size: 1.1rem; }
.foot-line { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; }
.foot-line .ic { color: var(--gold); margin-top: 3px; }
.foot-line a { color: #fff; text-decoration: none; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s; }
.social a:hover { background: var(--gold); }
.copy { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0 24px; font-size: .88rem; color: #8fa89c; }

/* Mobile quick bar */
.mbar { display: none; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1040px) {
  .hero-in, .split, .band-in, .contact { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { max-width: 620px; margin: 10px auto 0; width: 100%; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .vmm, .journey, .feat { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .menu-btn { display: grid; place-items: center; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(14, 59, 44, .12); padding: 8px 20px 18px; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"] { background: transparent; color: var(--gold-d); }
  .nav .btn { margin: 14px 0 0; }
  .band-photo { transform: none; }
  .cta { flex-direction: column; align-items: flex-start; padding: 36px 30px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 66px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .hide-sm { display: none; }
  .ribbon a { margin-left: 0; }
  .ribbon-in { font-size: .8rem; }
  .brand span { font-size: 1.12rem; }
  .brand small { font-size: .68rem; }
  .brand img { width: 40px; }
  .hero { padding: 34px 0 26px; }
  .acts .btn { flex: 1 1 100%; }
  .sec { padding: 64px 0; }
  .head { margin-bottom: 34px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(2) { border-right: 0; }
  .stats li:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .f1 { left: -6px; bottom: 30px; }
  .f2 { right: -6px; top: 14px; }
  .f3 { display: none; }
  .float { padding: 9px 12px; }
  .float b { font-size: 1.1rem; }
  .float .fi { width: 36px; height: 36px; }
  .crest-badge { width: 70px; height: 70px; left: 16px; top: -18px; }
  .crest-badge img { width: 48px; }
  .collage { padding: 0 0 40px 20px; }
  .collage .since { right: -4px; max-width: 170px; padding: 12px 14px; }
  .gal { grid-auto-rows: 150px; gap: 10px; }
  .row2 { grid-template-columns: 1fr; }
  .formbox { padding: 26px 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .dl { flex-wrap: wrap; }
  .dl .btn { margin-left: 0; width: 100%; }
  .mbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(14, 59, 44, .1); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 0 8px; text-decoration: none; color: var(--green); font-size: .78rem; font-weight: 700; }
  .mbar .ic { width: 22px; height: 22px; }
  .mbar .wa { color: #178a45; }
  .mbar .go { background: var(--green); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Privacy & terms page */
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 12px; font-size: clamp(1.5rem, 3vw, 1.9rem); }
.prose h2:first-of-type { margin-top: 18px; }
.prose h3 { margin: 26px 0 8px; font-size: 1.15rem; }
.prose p, .prose li { color: #3d4a44; line-height: 1.7; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--green); font-weight: 600; }
.prose .muted { font-size: .92rem; opacity: .8; }
.copy a { color: #cfe0d7; text-decoration: underline; text-underline-offset: 2px; }
.fine a { color: inherit; text-decoration: underline; }

/* Map on contact page */
.map-box { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-lg); background: #e8efe9; aspect-ratio: 16 / 7; }
.map-box iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .map-box { aspect-ratio: 4 / 5; } }

/* Smart school (technology for parents) */
.tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tech .card { display: flex; flex-direction: column; }
.tech h3 { margin-bottom: 6px; }
.wa-ic { background: #dff6e7; color: #1a9e4b; }
.soon { margin-top: 22px; display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: var(--r); background: var(--green); color: #fff; box-shadow: var(--sh-lg); }
.soon .c-ic { margin: 0; flex: none; background: rgba(230, 180, 106, .16); color: var(--gold-l); }
.soon b { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1.12rem; margin-bottom: 2px; }
.soon em { font-style: normal; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--gold); color: var(--green); padding: 3px 10px; border-radius: 999px; }
.soon span { color: #cfe0d7; }
@media (max-width: 1040px) { .tech { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .tech { grid-template-columns: 1fr; } .soon { align-items: flex-start; padding: 18px; } }

/* Quick actions under the hero buttons */
.quick { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: -12px 0 24px; font-size: .96rem; }
.quick a { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-weight: 700; text-decoration: none; border-bottom: 1px dashed rgba(14, 59, 44, .35); padding-bottom: 2px; }
.quick a:hover { color: var(--gold-d); border-color: var(--gold-d); }
.quick .ic { width: 18px; height: 18px; }

/* Closing call-to-action with four choices */
.cta.cta-4 { flex-direction: column; align-items: stretch; text-align: left; }
.cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cta-tile { display: flex; flex-direction: column; gap: 4px; background: #fff; color: var(--green); text-decoration: none; border-radius: 18px; padding: 18px; transition: transform .2s, box-shadow .2s; }
.cta-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, .14); }
.cta-tile .c-ic { width: 44px; height: 44px; border-radius: 12px; margin: 0 0 8px; background: var(--mint); color: var(--green-2); }
.cta-tile .c-ic .ic { width: 22px; height: 22px; }
.cta-tile b { font-size: 1.02rem; }
.cta-tile small { color: var(--muted); font-size: .88rem; }
@media (max-width: 1040px) { .cta-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cta-grid { grid-template-columns: 1fr; } .cta-tile { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; } .cta-tile .c-ic { margin: 0; } .cta-tile b { flex: 1; } .cta-tile small { flex-basis: 100%; padding-left: 56px; margin-top: -6px; } .quick { margin-top: -6px; } }

/* Google reviews */
.g-score { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin-top: 6px; color: var(--muted); font-weight: 600; }
.g-score b { font-family: var(--serif); font-size: 1.6rem; color: var(--green); }
.g-score .stars, .rev .stars { display: inline-flex; gap: 2px; color: #f4b400; }
.g-score .stars .ic, .rev .stars .ic { width: 18px; height: 18px; fill: currentColor; }
.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rev { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.rev blockquote { margin: 0; flex: 1; font-family: var(--serif); font-size: 1.12rem; line-height: 1.55; color: var(--green); }
.rev figcaption { display: flex; align-items: center; gap: 12px; }
.rev .rev-av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--green-2); font-weight: 800; }
.rev figcaption b { display: block; color: var(--ink); }
.rev figcaption small { color: var(--muted); }
.rev-more { text-align: center; margin: 28px 0 0; }
@media (max-width: 1040px) { .revs { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }

/* Parent app, faculty, campus */
.soon .btn { margin-left: auto; flex: none; }
.tech.three { grid-template-columns: repeat(3, 1fr); }
.tag-soon { display: inline-block; vertical-align: middle; font-family: var(--sans, inherit); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--gold); color: var(--green); padding: 4px 12px; border-radius: 999px; }
.rev-more .btn + .btn { margin-left: 10px; }
.area-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.area-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--green); font-weight: 700; text-decoration: none; }
.area-nav a .ic { width: 18px; height: 18px; }
.area { margin-bottom: 48px; scroll-margin-top: 90px; }
.area-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.area-head .c-ic { margin: 0; flex: none; }
.area-head h2 { margin: 0 0 2px; }
.area-head p { margin: 0; color: var(--muted); }
@media (max-width: 1040px) { .tech.three { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .soon { flex-wrap: wrap; } .soon .btn { margin-left: 0; } .rev-more .btn { margin: 6px 4px; } .rev-more .btn + .btn { margin-left: 4px; } }

/* Principal's message */
.pmsg { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; background: var(--cream); border: 1px solid var(--line); border-radius: 30px; padding: 44px; }
.pmsg-side { text-align: center; position: sticky; top: 100px; }
.pmsg-side .av { width: 110px; height: 110px; font-size: 2.2rem; }
.pmsg-side b { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--green); }
.pmsg-side span { color: var(--muted); font-size: .92rem; }
.pmsg-body h2 { margin-bottom: 16px; }
.pmsg-body p { font-size: 1.06rem; }
.pmsg-body em { font-family: var(--serif); color: var(--green); font-style: italic; }
.pmsg-sign { margin: 22px 0 0; display: flex; flex-direction: column; }
.pmsg-sign b { font-family: var(--serif); font-size: 1.2rem; color: var(--green); }
.pmsg-sign span { color: var(--muted); font-size: .92rem; }
@media (max-width: 1040px) { .pmsg { grid-template-columns: 1fr; gap: 20px; padding: 30px; } .pmsg-side { position: static; } .pmsg-side .av { width: 84px; height: 84px; font-size: 1.7rem; } }
@media (max-width: 640px) { .pmsg { padding: 24px 20px; border-radius: 22px; } }

/* Admission chat box */
.tchat { position: fixed; right: 22px; bottom: 22px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: 15px; }
.tchat-fab { width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 12px 28px rgba(14, 59, 44, .35); transition: transform .2s, background .2s; }
.tchat-fab:hover { transform: translateY(-2px); background: var(--green-2); }
.tchat-fab svg { width: 28px; height: 28px; }
.tchat-teaser { border: 0; cursor: pointer; font: inherit; font-weight: 700; color: var(--green); background: #fff; padding: 10px 16px; border-radius: 18px 18px 4px 18px; box-shadow: 0 10px 26px rgba(14, 59, 44, .2); animation: tchat-pop .35s ease-out; }
@keyframes tchat-pop { from { opacity: 0; transform: translateY(8px); } }
.tchat-panel { width: 360px; height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(14, 59, 44, .28); border: 1px solid var(--line); }
.tchat-panel[hidden], .tchat-teaser[hidden] { display: none; }
.tchat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px 14px 16px; background: var(--green); color: #fff; }
.tchat-who { display: flex; align-items: center; gap: 10px; }
.tchat-who img { background: #fff; border-radius: 10px; padding: 3px; }
.tchat-who b { display: block; font-family: var(--serif); font-size: 1.05rem; }
.tchat-who span { font-size: .8rem; color: #cfe0d7; }
.tchat-x { border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.tchat-x svg { width: 18px; height: 18px; }
.tchat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--cream); }
.tchat-msg { max-width: 85%; padding: 9px 13px; border-radius: 16px; line-height: 1.45; white-space: pre-line; }
.tchat-msg p { margin: 0; }
.tchat-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.tchat-msg.me { align-self: flex-end; background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
.tchat-link { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--green); }
.tchat-foot { padding: 12px; border-top: 1px solid var(--line); background: #fff; max-height: 46%; overflow-y: auto; }
.tchat-opts { display: flex; flex-wrap: wrap; gap: 7px; }
.tchat-opts button { font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--green); background: #fff; color: var(--green); }
.tchat-opts button:hover { background: var(--green); color: #fff; }
.tchat-opts button.ghost { border-style: dashed; border-color: var(--muted); color: var(--muted); }
.tchat-in { display: flex; gap: 8px; }
.tchat-in input { flex: 1; min-width: 0; font: inherit; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--cream); }
.tchat-in input:focus { outline: none; border-color: var(--green); }
.tchat-in button { font: inherit; font-weight: 700; border: 0; cursor: pointer; padding: 0 16px; border-radius: 999px; background: var(--green); color: #fff; }
.tchat-err { margin: 6px 4px 0; color: #c2543d; font-size: .85rem; }
.tchat-skip { margin-top: 8px; border: 0; background: none; font: inherit; font-size: .85rem; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 2px 4px; }
.tchat-note { margin: 8px 4px 0; font-size: .76rem; color: var(--muted); }
.tchat-acts { display: grid; gap: 8px; }
.tchat-acts a { display: block; text-align: center; padding: 10px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.tchat-wa { background: #1fa855; color: #fff; }
.tchat-call { border: 1.5px solid var(--green); color: var(--green); }
@media (max-width: 640px) {
  .tchat { right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .tchat-fab { width: 54px; height: 54px; }
  .tchat.open { inset: 0; right: 0; bottom: 0; gap: 0; }
  .tchat.open .tchat-fab { display: none; }
  .tchat-panel { width: 100%; height: 100%; border-radius: 0; border: 0; }
  .tchat-in input { font-size: 16px; }
}
@media print { .tchat { display: none; } }

/* Private enquiries page */
.adm h1 { font-size: 1.8rem; margin: 0 0 4px; }
.adm-box { max-width: 440px; margin: 0 auto; }
.adm-box form label { display: block; margin-top: 12px; }
.adm-box .btn { margin-top: 18px; }
.adm-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.adm-top .acts { margin: 0; display: flex; gap: 10px; align-items: center; }
.adm-top form { margin: 0; }
.adm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.adm-stats div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.adm-stats b { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--green); line-height: 1.1; }
.adm-stats span { color: var(--muted); font-size: .88rem; }
.adm-list { display: grid; gap: 12px; }
.adm-row { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.adm-main { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.adm-main b { font-size: 1.08rem; color: var(--ink); }
.adm-main time { margin-left: auto; color: var(--muted); font-size: .85rem; }
.adm-tag { font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; background: var(--mint); color: var(--green-2); }
.adm-tag.chat { background: var(--gold-l); color: var(--gold-d); }
.adm-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; color: var(--muted); font-size: .92rem; }
.adm-meta span { display: inline-flex; align-items: center; gap: 5px; }
.adm-meta .ic { width: 16px; height: 16px; }
.adm-row p { margin: 8px 0 0; }
.adm-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.adm-empty { text-align: center; color: var(--muted); padding: 40px 0; }
@media (max-width: 640px) { .adm-stats { grid-template-columns: 1fr 1fr; } .adm-main time { margin-left: 0; flex-basis: 100%; } }
