/* ==========================================================
   MEI — Mahalaxmi English Institute
   v2 · Plus Jakarta Sans + Hind (Devanagari)
   ========================================================== */
@font-face { font-family: "Jakarta"; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Hind"; src: url("../fonts/hind-devanagari-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Hind"; src: url("../fonts/hind-devanagari-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }

:root {
  --ink: #2b1b3d;
  --muted: #685a78;
  --plum: #3f1663;
  --purple: #7a2fb5;
  --purple-d: #5b1f8c;
  --lav-50: #fbf8fe;
  --lav-100: #f4edfc;
  --lav-200: #e7dbf7;
  --sun: #ffb72b;
  --sun-d: #f29a0e;
  --sun-soft: #fff5de;
  --rose: #ff7a9c;
  --rose-soft: #ffeaf0;
  --mint-soft: #e5f7ef;
  --maroon: #8e1c2b;
  --white: #fff;
  --shadow: 0 10px 30px -12px rgba(74, 26, 120, .22);
  --shadow-lg: 0 30px 60px -24px rgba(74, 26, 120, .35);
  --r: 22px;
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 32px);
  --ease: cubic-bezier(.22,.8,.3,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Jakarta", "Hind", system-ui, sans-serif; font-size: 17px; line-height: 1.7;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
.hi { font-family: "Hind", "Jakarta", sans-serif; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; color: var(--plum); font-weight: 800; letter-spacing: -0.015em; line-height: 1.18; }
.h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.1; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); }
.h3 { font-size: 22px; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); line-height: 1.75; }
.muted { color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--purple); margin-bottom: 14px; }
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--sun); }
.center { text-align: center; }
.center .kicker { justify-content: center; }
.sec-title { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.sec-title .lead { margin: 14px 0 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; border: 0; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--purple), var(--purple-d)); color: #fff; box-shadow: 0 12px 24px -10px rgba(122,47,181,.65); }
.btn-primary:hover { box-shadow: 0 18px 30px -12px rgba(122,47,181,.75); }
.btn-sun { background: var(--sun); color: #3a2300; box-shadow: 0 12px 24px -10px rgba(242,154,14,.7); }
.btn-sun:hover { background: #ffc348; }
.btn-ghost { background: #fff; color: var(--plum); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--purple); border: 2px solid var(--lav-200); }
.btn-outline:hover { border-color: var(--purple); }
.btn-white { background: #fff; color: var(--purple-d); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-glass:hover { background: rgba(255,255,255,.22); }
.link { color: var(--purple); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { gap: 10px; }
.link svg { width: 18px; height: 18px; transition: transform .2s; }

/* ---------- topbar + header ---------- */
.topbar { background: var(--plum); color: #e8dcf5; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .sep { opacity: .35; margin: 0 12px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); transition: box-shadow .25s; }
.header.scrolled { box-shadow: 0 6px 24px -14px rgba(60,20,100,.35); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 60px; width: auto; }
.brand b { display: block; font-size: 21px; color: var(--maroon); font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; }
.brand small { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--ink); transition: color .2s, background .2s; }
.nav a:hover { color: var(--purple); background: var(--lav-100); }
.nav a[aria-current="page"] { color: var(--purple); }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 3px; border-radius: 3px; background: var(--sun); margin-top: 2px; }
.nav .btn { margin-left: 12px; padding: 12px 22px; color: #fff; }
.nav .btn:hover { background: linear-gradient(135deg, var(--purple), var(--purple-d)); color: #fff; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: var(--lav-100); border-radius: 14px; color: var(--plum); cursor: pointer; place-items: center; }
.burger svg { width: 24px; height: 24px; }
@media (max-width: 1080px) {
  .burger { display: grid; }
  .nav { position: fixed; top: 124px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; background: #fff; border-radius: 22px; padding: 12px; box-shadow: var(--shadow-lg); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .25s var(--ease); }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 16px; font-size: 17px; }
  .nav a[aria-current="page"] { background: var(--lav-100); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 8px 0 0; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 480px) { .brand img { height: 50px; } .brand b { font-size: 18px; } .brand small { font-size: 11px; } .header .wrap { height: 74px; } .nav { top: 114px; } }

/* ---------- sections ---------- */
section { padding: clamp(70px, 9vw, 110px) 0; position: relative; }
.bg-lav { background: var(--lav-50); }
.bg-soft { background: linear-gradient(180deg, var(--lav-100), #fff); }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(70px, 8vw, 100px); background: radial-gradient(1100px 520px at 85% 10%, #f1e4ff 0%, transparent 60%), radial-gradient(700px 420px at 0% 100%, var(--sun-soft) 0%, transparent 65%), #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--lav-200); padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--plum); box-shadow: 0 4px 14px -8px rgba(60,20,100,.3); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.hero h1 { margin-bottom: 20px; }
.hero h1 .hl { position: relative; white-space: nowrap; color: var(--purple); }
.hero h1 .hl svg { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 14px; color: var(--sun); }
.hero .lead { max-width: 33em; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.faces { display: flex; }
.faces img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -12px; box-shadow: 0 4px 10px -4px rgba(0,0,0,.3); }
.faces img:first-child { margin-left: 0; }
.trust b { display: block; color: var(--plum); font-size: 17px; }
.trust span { font-size: 14px; color: var(--muted); }
.stars { color: var(--sun-d); letter-spacing: 1px; }

.hero-art { position: relative; padding: 20px 10px 30px 30px; }
.arch { position: relative; border-radius: 260px 260px 32px 32px; overflow: hidden; aspect-ratio: 4/4.6; box-shadow: var(--shadow-lg); border: 8px solid #fff; background: var(--lav-200); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; }
.hero-art .blob.a { width: 220px; height: 220px; background: var(--sun); opacity: .35; right: -30px; top: 10px; }
.hero-art .blob.b { width: 160px; height: 160px; background: var(--rose); opacity: .25; left: 0; bottom: 30px; }
.float { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 12px 16px; display: flex; align-items: center; gap: 12px; animation: bob 5s ease-in-out infinite; }
.float b { display: block; color: var(--plum); font-size: 15px; line-height: 1.25; }
.float span { font-size: 13px; color: var(--muted); }
.float .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float .ic svg { width: 22px; height: 22px; }
.float.f1 { left: -10px; top: 26%; }
.float.f1 img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.float.f2 { right: -14px; bottom: 16%; animation-delay: -2.5s; }
.float.f2 .ic { background: var(--sun-soft); color: var(--sun-d); }
.sticker { position: absolute; right: 8%; top: 4%; background: #1d4fa3; color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .02em; padding: 8px 14px; border-radius: 8px; border: 2.5px solid #fff; box-shadow: var(--shadow); transform: rotate(6deg); line-height: 1.2; text-align: center; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { max-width: 520px; margin: 10px auto 0; } }
@media (max-width: 520px) { .float { padding: 10px 12px; } .float b { font-size: 13.5px; } .float span { font-size: 12px; } .float.f1 { left: 0; } .float.f2 { right: 0; } }

/* ---------- stats ---------- */
.stats { margin-top: -50px; position: relative; z-index: 2; padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 28px 26px; display: flex; gap: 16px; align-items: center; }
.stat + .stat { border-left: 1px solid var(--lav-100); }
.stat .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.stat .ic svg { width: 26px; height: 26px; }
.stat b { display: block; font-size: 30px; font-weight: 800; color: var(--plum); line-height: 1.1; }
.stat span { font-size: 14.5px; color: var(--muted); line-height: 1.4; display: block; }
.c-purple { background: var(--lav-100); color: var(--purple); }
.c-sun { background: var(--sun-soft); color: var(--sun-d); }
.c-rose { background: var(--rose-soft); color: #e0466e; }
.c-mint { background: var(--mint-soft); color: #14915a; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--lav-100); } }
@media (max-width: 480px) { .stat { padding: 20px 16px; gap: 12px; flex-direction: column; align-items: flex-start; } .stat b { font-size: 25px; } }

/* ---------- course cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border-radius: var(--r); padding: 30px 28px; box-shadow: var(--shadow); border: 1px solid var(--lav-100); transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column; text-decoration: none; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 20px; }
.card .ic svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; flex: 1; }
.card .tag { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--lav-100); color: var(--purple); margin-bottom: 16px; }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ---------- why ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.collage { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 200px 200px; gap: 16px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.collage img:first-child { grid-row: span 2; }
.collage .chip { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); background: var(--plum); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; box-shadow: var(--shadow-lg); white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.collage .chip .hi { color: var(--sun); font-weight: 600; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; margin-top: 30px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h4 { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.55; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } .collage { grid-template-rows: 150px 150px; } }

/* ---------- method ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 22px; align-items: stretch; position: relative; }
.step { background: #fff; border-radius: var(--r); padding: 30px 26px; box-shadow: var(--shadow); position: relative; }
.step .n { width: 46px; height: 46px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 0 0 7px var(--lav-100); }
.step:nth-child(2) .n { background: var(--rose); box-shadow: 0 0 0 7px var(--rose-soft); }
.step:nth-child(3) .n { background: var(--sun-d); box-shadow: 0 0 0 7px var(--sun-soft); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }
.success { display: grid; place-items: center; text-align: center; background: linear-gradient(150deg, var(--purple), var(--purple-d)); color: #fff; border-radius: var(--r); padding: 26px 30px; font-weight: 800; font-size: 26px; line-height: 1.2; box-shadow: var(--shadow-lg); }
.success small { display: block; font-size: 14px; font-weight: 600; opacity: .8; margin-bottom: 6px; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- shorts ---------- */
.shorts { background: radial-gradient(800px 400px at 15% 0%, #8a3cc7 0%, transparent 60%), radial-gradient(700px 400px at 100% 100%, #c2337a55 0%, transparent 60%), #2e0f4c; color: #e9dcf7; overflow: hidden; }
.shorts h2 { color: #fff; }
.shorts .kicker { color: var(--sun); }
.shorts .lead { color: #d3c1e6; }
.shorts-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.shorts-top > div:first-child { max-width: 560px; }
.ctrl { display: flex; gap: 10px; align-items: center; }
.icon-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: rgba(255,255,255,.16); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn[aria-pressed="true"] { background: var(--sun); color: #3a2300; border-color: var(--sun); }
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 26px; scrollbar-width: none; align-items: center; }
.rail::-webkit-scrollbar { display: none; }
.reel { flex: none; width: 220px; aspect-ratio: 9/16; position: relative; border-radius: 26px; overflow: hidden; background: #3d1a5e; scroll-snap-align: center; cursor: pointer; border: 0; padding: 0; color: #fff; text-align: left; transition: width .5s var(--ease), transform .5s var(--ease), box-shadow .5s; transform: scale(.94); opacity: .8; }
.reel.active { width: 300px; transform: none; opacity: 1; box-shadow: 0 0 0 4px var(--sun), 0 30px 60px -20px rgba(0,0,0,.6); cursor: default; }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel .player, .reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel .cap { position: absolute; inset: auto 0 0 0; padding: 50px 16px 16px; background: linear-gradient(transparent, rgba(25,6,40,.9)); font-weight: 700; font-size: 15px; z-index: 2; pointer-events: none; }
.reel.active .cap { opacity: 0; transition: opacity .4s 1.5s; }
.reel .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--purple); display: grid; place-items: center; z-index: 2; box-shadow: 0 10px 20px -6px rgba(0,0,0,.4); }
.reel .play svg { width: 22px; height: 22px; margin-left: 3px; }
.reel.active .play, .reel.playing .play { display: none; }
.progress { position: absolute; left: 14px; right: 14px; top: 12px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); z-index: 3; overflow: hidden; display: none; }
.reel.active .progress { display: block; }
.progress i { display: block; height: 100%; width: 0; background: var(--sun); }
.now { font-size: 15px; color: #cdb8e3; margin-top: 6px; }
.now b { color: #fff; }
@media (max-width: 640px) { .reel { width: 170px; } .reel.active { width: 240px; } }

/* ---------- mentors ---------- */
.mentors { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mentor { background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-columns: 44% 1fr; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mentor:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.mentor .photo { position: relative; background: var(--lav-100); min-height: 340px; }
.mentor .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.mentor .body { padding: 30px 28px; display: flex; flex-direction: column; }
.role { display: inline-block; align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--purple); background: var(--lav-100); padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.mentor h3 { font-size: 26px; margin-bottom: 10px; }
.mentor p { color: var(--muted); font-size: 15.5px; flex: 1; }
@media (max-width: 980px) { .mentors { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .mentor { grid-template-columns: 1fr; } .mentor .photo { min-height: 320px; } }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: #fff; border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--lav-100); display: flex; flex-direction: column; position: relative; }
.review::before { content: "“"; position: absolute; right: 22px; top: 2px; font-size: 90px; line-height: 1; color: var(--lav-200); font-weight: 800; }
.review blockquote { margin: 12px 0 22px; font-size: 16.5px; line-height: 1.7; color: var(--ink); flex: 1; }
.who { display: flex; align-items: center; gap: 12px; }
.av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--purple), var(--rose)); flex: none; }
.who b { display: block; font-size: 15.5px; color: var(--plum); line-height: 1.3; }
.who span { font-size: 13.5px; color: var(--muted); }
.g-pill { display: inline-flex; align-items: center; gap: 14px; background: #fff; border-radius: 18px; padding: 14px 22px; box-shadow: var(--shadow); }
.g-pill b { font-size: 34px; font-weight: 800; color: var(--plum); line-height: 1; }
.g-pill span { font-size: 14px; color: var(--muted); display: block; }
@media (max-width: 980px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- gallery strip ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; grid-auto-flow: dense; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; transition: transform .4s var(--ease); }
.mosaic a, .mosaic div { overflow: hidden; border-radius: 20px; }
.mosaic a:hover img { transform: scale(1.05); }
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } .mosaic .wide { grid-column: span 2; } }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--purple) 0%, var(--purple-d) 60%, #4a1572 100%); border-radius: 34px; padding: clamp(36px, 6vw, 64px); color: #f1e6fb; display: grid; grid-template-columns: 1.3fr .7fr; gap: 36px; align-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--sun); opacity: .18; right: -90px; top: -120px; }
.cta::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(255,255,255,.07); left: -60px; bottom: -110px; }
.cta h2 { color: #fff; }
.cta p { margin: 14px 0 0; color: #e3d2f3; }
.cta .acts { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } }

/* ---------- page hero ---------- */
.phero { padding: clamp(56px, 7vw, 90px) 0 clamp(56px, 7vw, 80px); background: radial-gradient(800px 380px at 90% 0%, #efe0ff 0%, transparent 60%), radial-gradient(600px 300px at 0% 100%, var(--sun-soft) 0%, transparent 60%), var(--lav-50); text-align: center; }
.phero .crumb { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.phero .crumb a { color: var(--purple); text-decoration: none; font-weight: 700; }
.phero h1 { font-size: clamp(36px, 5vw, 56px); }
.phero .lead { max-width: 640px; margin: 16px auto 0; }

/* ---------- about ---------- */
.story-img { position: relative; }
.story-img img { border-radius: 28px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.story-img .since { position: absolute; right: -14px; bottom: -22px; background: var(--sun); color: #3a2300; border-radius: 22px; padding: 18px 22px; font-weight: 800; text-align: center; line-height: 1.1; box-shadow: var(--shadow-lg); }
.story-img .since b { display: block; font-size: 34px; }
.motto { margin-top: 28px; background: var(--lav-100); border-radius: 22px; padding: 26px 28px; position: relative; }
.motto p { font-size: 19px; font-weight: 600; color: var(--plum); line-height: 1.6; margin: 0; }
.motto small { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { background: #fff; border-radius: var(--r); padding: 28px 24px; box-shadow: var(--shadow); text-align: center; }
.value b { display: block; font-size: 40px; font-weight: 800; color: var(--purple); line-height: 1.1; margin-bottom: 6px; }
.value span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr 1fr; } }
.campuses { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.campus { background: #fff; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.campus .pic { aspect-ratio: 16/9; overflow: hidden; background: var(--lav-100) url("../img/map-fallback.svg") center/cover; }
.campus .pic img { width: 100%; height: 100%; object-fit: cover; }
.campus .pic iframe { width: 100%; height: 100%; border: 0; display: block; }
.campus .body { padding: 26px 28px 30px; }
.campus .num { display: inline-block; background: var(--sun); color: #3a2300; font-weight: 800; font-size: 14px; padding: 4px 14px; border-radius: 999px; margin-bottom: 10px; }
.campus h3 { margin-bottom: 8px; }
.campus p { color: var(--muted); font-size: 16px; }
.campus .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.campus .acts .btn { padding: 11px 20px; font-size: 15px; }
@media (max-width: 820px) { .campuses { grid-template-columns: 1fr; } }
.hindi-band { text-align: center; }
.hindi-band p.hi { font-size: clamp(24px, 3vw, 34px); color: var(--plum); font-weight: 600; line-height: 1.6; margin: 18px 0 0; }

/* ---------- courses page ---------- */
.course { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; padding: 50px 0; }
.course + .course { border-top: 1px dashed var(--lav-200); }
.course:nth-child(even) .cimg { order: 2; }
.cimg { position: relative; }
.cimg img { border-radius: 26px; width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-lg); }
.cimg .ic { position: absolute; left: -14px; top: -14px; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; box-shadow: var(--shadow); border: 4px solid #fff; }
.course:nth-child(even) .cimg .ic { left: auto; right: -14px; }
.cimg .ic svg { width: 28px; height: 28px; }
.course h2 { font-size: clamp(28px, 3vw, 38px); margin: 6px 0 14px; }
.course ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.course li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 500; }
.course li svg { width: 20px; height: 20px; color: #16a34a; flex: none; margin-top: 3px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.pills span { font-size: 13.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: var(--sun-soft); color: #9a5b00; }
@media (max-width: 860px) { .course { grid-template-columns: 1fr; } .course:nth-child(even) .cimg { order: 0; } .course:nth-child(even) .cimg .ic { right: auto; left: -8px; } .course ul { grid-template-columns: 1fr; } }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 17.5px; color: var(--plum); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--lav-100); color: var(--purple); display: grid; place-items: center; font-size: 20px; font-weight: 700; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- mentors page ---------- */
.profile { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 72px); align-items: center; }
.profile + .profile { margin-top: 90px; }
.profile.flip .pimg { order: 2; }
.pimg { position: relative; }
.pimg img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; object-position: 50% 15%; border-radius: 200px 200px 28px 28px; border: 8px solid #fff; box-shadow: var(--shadow-lg); background: var(--lav-100); }
.pimg::before { content: ""; position: absolute; inset: 30px -18px -18px 30px; border-radius: 200px 200px 28px 28px; background: var(--sun-soft); z-index: -1; }
.profile h2 { margin: 4px 0 14px; }
.pull { font-size: 20px; font-weight: 600; color: var(--purple); line-height: 1.55; margin-bottom: 18px; padding-left: 18px; border-left: 4px solid var(--sun); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.tags span { font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--lav-100); color: var(--plum); }
@media (max-width: 860px) { .profile, .profile.flip { grid-template-columns: 1fr; } .profile.flip .pimg { order: 0; } .pimg { max-width: 420px; } }

/* ---------- shorts page ---------- */
.reels-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.reels-grid .reel { width: auto; transform: none; opacity: 1; }
.yt { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: #fff; border-radius: 24px; padding: 22px 26px; box-shadow: var(--shadow); margin-bottom: 36px; }
.yt .ch { display: flex; align-items: center; gap: 16px; }
.yt .ch img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 18px; border: 1px solid var(--lav-200); padding: 4px; }
.yt b { display: block; font-size: 19px; color: var(--plum); }
.yt span { color: var(--muted); font-size: 15px; }
.btn-yt { background: #ff0033; color: #fff; }

/* ---------- gallery page ---------- */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.chip { padding: 10px 20px; border-radius: 999px; border: 0; background: #fff; box-shadow: var(--shadow); font-weight: 700; font-size: 15px; color: var(--plum); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--purple); color: #fff; }
.masonry { columns: 3 280px; column-gap: 18px; }
.masonry figure { margin: 0 0 18px; break-inside: avoid; cursor: zoom-in; position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.masonry img { width: 100%; transition: transform .4s var(--ease); }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; color: #fff; font-weight: 600; font-size: 14.5px; background: linear-gradient(transparent, rgba(30,8,50,.8)); }
.masonry figure[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(28,8,46,.92); display: none; place-items: center; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 82vh; border-radius: 20px; }
.lightbox p { color: #eadcf7; text-align: center; margin-top: 14px; }
.lightbox .icon-btn { position: absolute; top: 20px; right: 20px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
.form { background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); padding: clamp(26px, 4vw, 42px); }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label { font-size: 14.5px; font-weight: 700; color: var(--plum); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 14px 16px; border: 1.5px solid var(--lav-200); border-radius: 14px; background: var(--lav-50); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px var(--lav-100); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; margin-top: 22px; }
.note { text-align: center; font-size: 14.5px; color: var(--muted); margin: 14px 0 0; }
.note a { color: var(--purple); font-weight: 700; }
.done { display: none; text-align: center; padding: 30px 0; }
.form.sent .inner { display: none; }
.form.sent .done { display: block; }
.done .tick { width: 76px; height: 76px; border-radius: 50%; background: var(--mint-soft); color: #16a34a; display: grid; place-items: center; margin: 0 auto 16px; }
.info { display: grid; gap: 16px; }
.info a, .info .item { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow); text-decoration: none; transition: transform .25s var(--ease); }
.info a:hover { transform: translateX(4px); }
.info .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.info .ic svg { width: 24px; height: 24px; }
.info b { display: block; color: var(--plum); font-size: 16.5px; }
.info span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: #250c3d; color: #cbb6e0; padding: 80px 0 30px; margin-top: 0; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.1); }
.fbrand { display: inline-flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 10px 16px 10px 10px; text-decoration: none; }
.fbrand img { height: 54px; }
.fbrand b { color: var(--maroon); font-size: 18px; font-weight: 800; display: block; line-height: 1.1; }
.fbrand small { color: var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #ddcdef; text-decoration: none; font-size: 15.5px; }
.footer a:hover { color: var(--sun); }
.footer p { font-size: 15.5px; line-height: 1.7; }
.footer .hi { color: #fff; font-size: 19px; margin-top: 16px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s; }
.social a:hover { background: var(--purple); }
.social svg { width: 20px; height: 20px; color: #fff; }
.fbot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 14px; }
@media (max-width: 900px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }

.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); animation: pulse 2.6s infinite; }
.wa svg { width: 30px; height: 30px; color: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 14px 30px -10px rgba(0,0,0,.45); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0), 0 14px 30px -10px rgba(0,0,0,.45); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 14px 30px -10px rgba(0,0,0,.45); } }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv, .preview .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
