/* =====================================================================
   TNC INDIA PRATIBHA PRIKSHA 2027 — public website
   Palette: Ink navy · Sindoor red · Marigold · Leaf green · Sky wash
   Type: Baloo 2 (display, Devanagari + Latin) · Hind (text)
   ===================================================================== */
:root {
  --ink: #0d2b6b;
  --ink-deep: #081d4d;
  --ink-soft: #1d4294;
  --sindoor: #d9262b;
  --sindoor-dark: #b31a20;
  --marigold: #f6b21b;
  --marigold-soft: #ffe7ad;
  --leaf: #138a4e;
  --leaf-dark: #0d6a3b;
  --sky: #eaf1ff;
  --mist: #f5f7fc;
  --peach: #fff4e3;
  --text: #1b2540;
  --muted: #586482;
  --line: #d9e1f0;
  --white: #fff;
  --radius-s: 6px;
  --radius: 12px;
  --radius-l: 20px;
  --shadow: 0 10px 30px -14px rgba(13, 43, 107, .35);
  --display: "Baloo 2", "Hind", system-ui, sans-serif;
  --body: "Hind", "Baloo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-soft); text-underline-offset: 3px; }
a:hover { color: var(--sindoor); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.18; margin: 0 0 .5em; color: var(--ink); font-weight: 800; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 4px; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--marigold); color: var(--ink); padding: 8px 14px; z-index: 99; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mt { margin-top: 1rem; } .mb0 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1; padding: .85em 1.35em; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .15s; background: var(--ink); color: #fff; }
.btn:hover { background: var(--ink-soft); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--sindoor); color: #fff; box-shadow: 0 6px 16px -8px rgba(217, 38, 43, .8); }
.btn-red:hover { background: var(--sindoor-dark); color: #fff; }
.btn-gold { background: var(--marigold); color: var(--ink-deep); }
.btn-gold:hover { background: #ffc43f; color: var(--ink-deep); }
.btn-green { background: var(--leaf); }
.btn-green:hover { background: var(--leaf-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--sky); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-sm { font-size: .88rem; padding: .55em .95em; }
.btn-lg { font-size: 1.15rem; padding: .95em 1.6em; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn .ic { width: 1.2em; height: 1.2em; }

/* ---------- Top bar & masthead ---------- */
.topbar { background: var(--ink-deep); color: rgba(255, 255, 255, .88); font-size: .85rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--marigold); }
.tb-contact, .tb-logins { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.tb-contact > *, .tb-logins > a { display: inline-flex; align-items: center; gap: 6px; }
.tb-social { display: inline-flex; gap: 6px; margin-left: 4px; }
.tb-social a { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; color: #fff; }
.s-fb { background: #1877f2; } .s-ig { background: linear-gradient(45deg, #f9a825, #e1306c 55%, #833ab4); } .s-yt { background: #e62117; }
.tb-social .ic { width: 15px; height: 15px; }

.masthead { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.mast-in { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand .emblem { width: 56px; height: 63px; object-fit: contain; }
.brand-txt { display: grid; line-height: 1.02; }
.brand-txt b { font-family: var(--display); font-weight: 800; font-size: 1.32rem; color: var(--sindoor); letter-spacing: .01em; }
.brand-txt strong { font-family: var(--display); font-weight: 800; font-size: 1.32rem; color: var(--ink); }
.brand-txt em { font-style: normal; color: var(--sindoor); }
.brand-txt small { margin-top: 5px; font-size: .64rem; font-weight: 600; color: var(--marigold); background: var(--ink); border-radius: 999px; padding: 3px 10px 2px; justify-self: start; }
.mainnav { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.mainnav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.mainnav ul a { display: block; padding: 8px 7px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .92rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav-cta { white-space: nowrap; }
.mainnav ul a:hover { color: var(--sindoor); }
.mainnav ul a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--sindoor); }
.nav-toggle { display: none; margin-left: auto; background: var(--sky); border: 0; border-radius: 10px; width: 46px; height: 46px; color: var(--ink); cursor: pointer; }
.nav-toggle .ic { width: 26px; height: 26px; }

/* ---------- Hero carousel ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("../img/hero-bg.jpg") center / cover no-repeat; opacity: .14; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 70% at 15% 30%, rgba(29, 66, 148, .9), transparent 70%),
  linear-gradient(100deg, var(--ink-deep) 0%, rgba(13, 43, 107, .92) 45%, rgba(8, 29, 77, .96) 100%); }
.slides { position: relative; }
.slide { display: none; }
.slide.is-on { display: block; animation: slideIn .6s ease both; }
@keyframes slideIn { from { opacity: 0; } to { opacity: 1; } }
.hero-grid { display: grid; grid-template-columns: minmax(300px, 0.85fr) 1.6fr; gap: 24px; align-items: stretch; min-height: 470px; padding: 34px 0 54px; }
.hero-copy { align-self: center; position: relative; z-index: 2; }
.hero-count { display: inline-block; margin-bottom: 12px; font-size: .78rem; background: rgba(255, 255, 255, .14); padding: 2px 10px; border-radius: 999px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.08; margin-bottom: .2em; }
.hero h1 .line-2 { display: block; color: var(--marigold); }
.hero-sub { font-family: var(--display); font-size: clamp(1.15rem, 1.9vw, 1.55rem); font-weight: 600; line-height: 1.3; margin-bottom: 1.2em; color: #eaf1ff; }
.hero-steps { display: flex; gap: 20px; margin: 0 0 1.5em; padding: 0; list-style: none; }
.hero-steps li { display: grid; justify-items: center; text-align: center; width: 96px; }
.hero-steps .dot { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 3px solid rgba(255, 255, 255, .85); margin-bottom: 6px; }
.hero-steps .dot .ic { width: 28px; height: 28px; color: #fff; }
.hero-steps b { font-family: var(--display); font-size: 1.05rem; line-height: 1.1; }
.hero-steps small { font-size: .74rem; line-height: 1.25; color: #cfdcff; }
.d-red { background: var(--sindoor); } .d-blue { background: #2f6fd6; } .d-green { background: var(--leaf); }

/* The memorable part: diagonal category panels */
.hero-panels { display: grid; grid-template-columns: repeat(4, 1fr) 1.05fr; gap: 0; margin-right: -12px; }
.hpanel { position: relative; clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%); margin-left: -7%; overflow: hidden; background: #24407f; text-decoration: none; color: #fff; min-height: 420px; }
.hpanel:first-child { margin-left: 0; }
.hpanel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .5s ease; }
.hpanel:hover img, .hpanel:focus-visible img { transform: scale(1.05); }
.hpanel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 29, 77, .25) 60%, rgba(8, 29, 77, .95) 92%); }
.hpanel .cap { position: absolute; left: 20%; right: 6%; bottom: 22px; z-index: 2; display: grid; }
.hpanel.trophy .cap { left: 12%; right: 10%; }
.hpanel .cap b { font-family: var(--display); font-size: 1.28rem; line-height: 1.1; }
.hpanel .cap small { font-size: .9rem; color: var(--marigold-soft); }
.hpanel.p-p { border-top: 6px solid var(--marigold); } .hpanel.p-m { border-top: 6px solid #59a3ff; }
.hpanel.p-s { border-top: 6px solid #52c27f; } .hpanel.p-ss { border-top: 6px solid #ff7a59; }
.hpanel.trophy { background: radial-gradient(70% 60% at 55% 35%, #2b58b8 0%, #12317a 60%, #0a1f4f 100%); display: grid; place-items: center; }
.hpanel.trophy::after { display: none; }
.trophy-art { width: 72%; max-width: 160px; margin: -40px 0 0 8%; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
.hpanel.trophy .cap b { font-size: 1.45rem; color: var(--marigold); }
.hpanel.trophy .cap small { color: #fff; font-family: var(--display); font-size: .98rem; font-weight: 600; line-height: 1.15; }

/* Secondary slides */
.slide-simple { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; min-height: 470px; padding: 40px 0 60px; }
.slide-simple h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); }
.slide-simple h2 span { color: var(--marigold); display: block; }
.slide-simple p { color: #dbe6ff; font-size: 1.12rem; max-width: 34em; }
.slide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.slide-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 18px 14px; text-align: center; }
.slide-card .medal { margin: 0 auto 8px; }
.slide-card b { font-family: var(--display); font-size: 1.25rem; display: block; color: #fff; }
.slide-card small { color: var(--marigold-soft); }
.slide-dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.slide-dates li { display: flex; justify-content: space-between; gap: 12px; background: rgba(255, 255, 255, .08); border-left: 4px solid var(--marigold); padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0; }
.slide-dates b { font-family: var(--display); color: var(--marigold); }
.slide-banner { min-height: 470px; display: grid; place-items: center; padding: 26px 0 56px; }
.slide-banner img { border-radius: var(--radius); max-height: 440px; width: auto; }

.hero-ctrl { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 5; box-shadow: var(--shadow); }
.hero-ctrl:hover { background: var(--marigold); }
.hero-ctrl.prev { left: 14px; } .hero-ctrl.next { right: 14px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.hero-dots button { width: 12px; height: 12px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; padding: 0; transition: width .2s; }
.hero-dots button[aria-current="true"] { width: 30px; background: var(--sindoor); }

/* ---------- Quick highlights ---------- */
.highlights { background: #fff; border-bottom: 1px solid var(--line); }
.hl-row { display: grid; grid-template-columns: repeat(5, 1fr); }
.hl { display: flex; align-items: center; gap: 12px; padding: 18px 16px; border-right: 1px solid var(--line); }
.hl:last-child { border-right: 0; }
.hl .ic { width: 38px; height: 38px; color: var(--ink); stroke-width: 1.6; }
.hl b { display: block; font-family: var(--display); color: var(--ink); line-height: 1.15; font-size: 1.05rem; }
.hl span { color: var(--muted); font-size: .9rem; line-height: 1.2; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.sec-head { text-align: center; margin-bottom: 30px; }
.sec-head h2 { margin-bottom: .15em; }
.sec-head p { color: var(--muted); font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin: 0; }
.sec-head h2 .tone { color: var(--sindoor); }

/* Awards */
.awards { background: var(--peach); background-image: radial-gradient(40% 60% at 50% 0%, #fff 0%, transparent 70%); }
.award-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.award-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid #f0e2c8; display: flex; flex-direction: column; }
.award-card header { color: #fff; text-align: center; padding: 14px 12px 12px; }
.award-card header h3 { color: #fff; margin: 0; font-size: 1.35rem; }
.award-card header p { margin: 0; font-size: .9rem; opacity: .92; }
.aw-national header { background: var(--ink); } .aw-district header { background: var(--sindoor); } .aw-school header { background: var(--leaf); }
.aw-prizes { display: grid; grid-template-columns: repeat(3, 1fr); flex: 1; }
.aw-prize { display: grid; justify-items: center; align-content: start; text-align: center; gap: 6px; padding: 18px 8px 20px; border-right: 1px dashed #ecdcbc; }
.aw-prize:last-child { border-right: 0; }
.medal-md { width: 50px; height: 62px; }
.medal-lg { width: 64px; height: 80px; }
.prize { width: 92px; height: 62px; }
.aw-prize b { font-family: var(--display); font-size: 1.22rem; color: var(--ink); line-height: 1.1; }
.aw-district .aw-prize b { color: var(--sindoor-dark); font-size: 1.45rem; }
.aw-school .aw-prize b { color: var(--leaf-dark); }
.aw-prize small { color: var(--muted); font-weight: 600; }
.award-note { text-align: center; margin: 18px auto 0; color: var(--muted); font-size: .92rem; max-width: 60em; }

/* Dates · fee · features */
.trio { display: grid; grid-template-columns: 1.05fr .95fr 1fr; gap: 22px; align-items: start; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.box-title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.box-title .ic { width: 40px; height: 40px; color: var(--ink); }
.box-title h2 { font-size: 1.5rem; margin: 0; }
.box-title small { display: block; color: var(--muted); font-family: var(--body); font-weight: 500; font-size: .85rem; }
.dates-tbl { width: 100%; border-collapse: collapse; }
.dates-tbl th, .dates-tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dates-tbl th { font-weight: 600; color: var(--text); background: var(--mist); width: 48%; }
.dates-tbl td { font-family: var(--display); font-weight: 700; color: var(--ink); }
.dates-tbl tr:last-child th, .dates-tbl tr:last-child td { border-bottom: 0; }
.fee-box { border: 2px solid var(--sindoor); border-radius: var(--radius); overflow: hidden; text-align: center; background: #fff; }
.fee-box h2 { background: var(--sindoor); color: #fff; margin: 0; padding: 10px; font-size: 1.3rem; }
.fee-amt { font-family: var(--display); font-weight: 800; color: var(--sindoor); font-size: clamp(3rem, 6vw, 4.2rem); line-height: 1; margin: 18px 0 4px; }
.fee-gst { color: var(--text); font-weight: 600; margin-bottom: 16px; }
.fee-box .btn { margin: 0 16px 16px; width: calc(100% - 32px); }
.fee-perks { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fee-perks div { display: grid; justify-items: center; gap: 4px; padding: 12px 4px; font-size: .78rem; line-height: 1.2; color: var(--muted); border-right: 1px solid var(--line); }
.fee-perks div:last-child { border-right: 0; }
.fee-perks .ic { width: 26px; height: 26px; color: var(--ink); }
.features h2 { display: inline-block; background: var(--ink); color: #fff; padding: 8px 22px 6px; border-radius: 0 999px 999px 0; margin: 0 0 14px -20px; font-size: 1.35rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checklist .ic { color: #fff; background: #2f6fd6; border-radius: 50%; padding: 3px; width: 24px; height: 24px; margin-top: 1px; }

/* How to participate */
.steps-band { background: var(--ink); color: #fff; padding: 30px 0 34px; background-image: radial-gradient(50% 120% at 100% 0%, rgba(246, 178, 27, .16), transparent 60%); }
.steps-band h2 { color: #fff; margin-bottom: 18px; }
.steps { display: flex; align-items: center; gap: 12px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { flex: 1; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 18px 8px 8px; font-family: var(--display); font-weight: 700; font-size: 1.08rem; line-height: 1.15; position: relative; }
.steps li .n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.5rem; flex: none; }
.steps li:not(:last-child)::after { content: "→"; position: absolute; right: -17px; color: var(--marigold); font-size: 1.3rem; }
.n1 { background: var(--leaf); } .n2 { background: #2f6fd6; } .n3 { background: #f08a12; } .n4 { background: #d6336c; }

/* Partners */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partner { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--sky); border-radius: var(--radius); }
.partner .pic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; flex: none; }
.partner .pic .ic { width: 28px; height: 28px; }
.partner h3 { margin: 0 0 2px; font-size: 1.15rem; }
.partner p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.partner-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* Gallery */
.gallery-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.gallery-head h2 { margin: 0; font-size: 1.6rem; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gallery figure { margin: 0; border-radius: var(--radius-s); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* Notices + FAQ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.notice-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.notice-list li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--sindoor); border-radius: 0 var(--radius-s) var(--radius-s) 0; padding: 12px 14px; }
.notice-list li.pinned { border-left-color: var(--marigold); background: #fffbef; }
.notice-list b { display: block; color: var(--ink); }
.notice-list small { color: var(--muted); }
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 16px; margin-bottom: 10px; }
summary { font-weight: 600; cursor: pointer; color: var(--ink); }
details[open] summary { margin-bottom: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-deep); color: #c9d6f3; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.25fr .9fr; gap: 24px; padding: 40px 0 28px; }
.footer h3 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a { color: #c9d6f3; text-decoration: none; }
.footer a:hover { color: var(--marigold); }
.foot-brand .emblem { width: 76px; height: 86px; margin-bottom: 10px; }
.foot-brand p { font-size: .92rem; }
.foot-brand b { color: #fff; }
.foot-contact p { display: flex; gap: 8px; white-space: pre-line; }
.foot-contact .ic { color: var(--marigold); margin-top: 4px; }
.foot-social { display: flex; gap: 8px; }
.foot-social a { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; }
.foot-qr { text-align: center; }
.qr-box { background: #fff; padding: 6px; border-radius: 8px; display: inline-block; min-width: 116px; min-height: 116px; }
.foot-qr p { font-family: var(--display); font-weight: 700; color: #fff; line-height: 1.25; margin-top: 8px; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, .12); padding: 14px 0 70px; font-size: .84rem; text-align: center; }
.foot-legal p { margin: 4px 0; }
.foot-pol a { margin: 0 8px; }
.foot-note { color: #93a5cf; }
.sticky-cta { display: none; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--ink); color: #fff; padding: 34px 0 30px; background-image: radial-gradient(45% 140% at 100% 0%, rgba(246, 178, 27, .18), transparent 60%); }
.page-head h1 { color: #fff; margin: 0; }
.page-head p { margin: 6px 0 0; color: #d4e0ff; }
.crumbs { font-size: .85rem; color: #aebee6; margin-bottom: 6px; }
.crumbs a { color: #fff; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.4em; font-size: 1.5rem; } .prose h3 { margin-top: 1.2em; }
.prose ul { padding-left: 1.3em; } .prose li { margin-bottom: .35em; }
.draft-note { background: #fff7e0; border: 1px dashed #e0b44c; padding: 10px 14px; border-radius: var(--radius-s); font-size: .9rem; color: #7a5a06; }

/* ---------- Forms & components (shared with portals) ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card + .card { margin-top: 18px; }
.card h2, .card h3 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 5px; }
.field label, .lbl { font-weight: 600; font-size: .94rem; color: var(--text); }
.field label .hi { font-weight: 500; color: var(--muted); }
.req::after { content: " *"; color: var(--sindoor); }
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], input[type=number], input[type=datetime-local], input[type=search], input[type=url], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1.5px solid #c5d0e6; border-radius: 10px; padding: .66em .8em; min-height: 46px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink-soft); outline: 3px solid rgba(47, 111, 214, .2); outline-offset: 0; }
.hint { font-size: .84rem; color: var(--muted); }
.err { color: var(--sindoor-dark); font-size: .86rem; font-weight: 600; }
.inline { display: flex; gap: 8px; align-items: stretch; }
.inline > input { flex: 1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--ink); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 18px; margin: 0 0 18px; }
legend { font-family: var(--display); font-weight: 700; color: var(--ink); padding: 0 8px; font-size: 1.1rem; }
.alert { border-radius: 10px; padding: 12px 16px; margin-bottom: 14px; border: 1px solid; }
.alert-success { background: #e8f7ee; border-color: #9fd8b5; color: #0d5a32; }
.alert-error { background: #fdeceb; border-color: #f2aaa7; color: #8a1418; }
.alert-info { background: var(--sky); border-color: #b9cdf3; color: #183a80; }
.alert-warn { background: #fff7e0; border-color: #ecc767; color: #6b4d00; }
.tbl { width: 100%; border-collapse: collapse; font-size: .94rem; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--mist); font-weight: 600; color: var(--ink); white-space: nowrap; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.tbl-wrap .tbl tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.b-ok { background: #e1f5e9; color: #0d6a3b; } .b-warn { background: #fff1cc; color: #7a5600; } .b-bad { background: #fde3e2; color: #9b1a1f; }
.b-info { background: var(--sky); color: var(--ink-soft); } .b-mute { background: #eef0f5; color: #555f78; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; }
.pager { display: flex; gap: 6px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.pager a, .pager span { padding: 4px 11px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.pager span[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager small { margin-left: 8px; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* Category cards (eligibility / exam pattern / demo) */
.cat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.cat-card img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 12%; width: 100%; }
.cat-card div { padding: 14px; }
.cat-card b { font-family: var(--display); font-size: 1.15rem; color: var(--ink); display: block; }

/* Exam / demo test */
.qcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.qtext { font-size: 1.12rem; font-weight: 600; margin-bottom: 14px; white-space: pre-line; }
.opts { display: grid; gap: 10px; }
.opt { display: flex; gap: 12px; align-items: center; border: 1.5px solid #c5d0e6; border-radius: 10px; padding: 12px 14px; cursor: pointer; background: #fff; }
.opt:hover { border-color: var(--ink-soft); }
.opt input { width: 20px; height: 20px; accent-color: var(--ink); }
.opt.right { border-color: var(--leaf); background: #e9f7ef; } .opt.wrong { border-color: var(--sindoor); background: #fdeceb; }
.qnav { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 6px; }
.qnav button { height: 40px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; color: var(--text); }
.qnav button.done { background: #e1f5e9; border-color: #8ccfa6; } .qnav button.flag { background: #fff1cc; border-color: #e6c25c; }
.qnav button.cur { outline: 3px solid var(--ink-soft); }
.timer { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.timer.low { color: var(--sindoor); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1300px) {
  .nav-toggle { display: grid; place-items: center; }
  .mainnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .mainnav.open { display: flex; }
  .mainnav ul { flex-direction: column; }
  .mainnav ul a { padding: 11px 6px; border-bottom: 1px solid var(--line); }
  .mainnav ul a[aria-current="page"] { border-bottom-color: var(--line); color: var(--sindoor); }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 44px; }
  .hero-panels { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; margin-right: 0; scroll-snap-type: x mandatory; }
  .hpanel { min-height: 300px; scroll-snap-align: start; }
  .award-grid, .trio { grid-template-columns: 1fr; }
  .hl-row { grid-template-columns: repeat(3, 1fr); }
  .hl:nth-child(3) { border-right: 0; }
  .partner-grid, .cat-cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .slide-simple { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: stretch; }
  .steps li:not(:last-child)::after { content: "↓"; right: 50%; bottom: -24px; }
  .steps { gap: 22px; }
}
@media (max-width: 720px) {
  .topbar .tb-contact { display: none; }
  .tb-logins { gap: 12px; font-size: .8rem; }
  .mast-in { min-height: 72px; }
  .brand .emblem { width: 44px; height: 50px; }
  .brand-txt b, .brand-txt strong { font-size: 1.08rem; }
  .brand-txt small { font-size: .55rem; }
  .hero-steps { gap: 10px; }
  .hl-row { grid-template-columns: 1fr 1fr; }
  .hl { border-right: 0; border-bottom: 1px solid var(--line); }
  .aw-prize b { font-size: 1.05rem; } .aw-district .aw-prize b { font-size: 1.15rem; }
  .prize { width: 74px; height: 50px; }
  .partner-grid, .split, .grid-2, .grid-3, .form-grid { grid-template-columns: 1fr; }
  .cat-cards { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .hero-ctrl { display: none; }
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; text-align: center; background: var(--sindoor); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.1rem; padding: 13px; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .45); }
  .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .masthead, .footer, .sticky-cta, .no-print, .p-top, .p-side { display: none !important; }
  body { background: #fff; }
}
/* Laptop widths: keep the full menu on one line even if web fonts load late */
@media (min-width: 1301px) and (max-width: 1420px) {
  .mainnav ul a { padding: 8px 5px; font-size: .87rem; }
  .mainnav { gap: 8px; }
  .nav-cta { padding: .7em 1em; }
}
.check-msg.ok { color: var(--leaf-dark); font-weight: 600; }

/* File inputs (photo / documents) */
input[type=file] { width: 100%; font: inherit; font-size: .95rem; padding: .55em; border: 1.5px dashed #b9c6e2; border-radius: 10px; background: var(--mist); min-height: 46px; }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; border: 0; border-radius: 8px; background: var(--ink); color: #fff; padding: .45em .9em; margin-right: .8em; cursor: pointer; }
.upload-box { display: flex; gap: 14px; align-items: center; }
.upload-preview { width: 92px; height: 112px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--mist) center / cover no-repeat; flex: none; display: grid; place-items: center; color: var(--muted); font-size: .75rem; text-align: center; overflow: hidden; }
.upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.upload-done { color: var(--leaf-dark); font-weight: 600; font-size: .88rem; }
.block-text[hidden] { display: none !important; }
