/* GNCK website: shared style for the task pages (WEB9: /xi-admission/, /xii-enrollment-card/, ...).
   Same colours and fonts as index.html. */
:root {
  --green: #0b3d24; --green-2: #135c38; --gold: #c9a227; --gold-soft: #f3dc8f;
  --paper: #f4f6f4; --card: #ffffff; --fg: #142019; --muted: #56645b; --line: #d8e0da;
  --chip: #e6f0ea; --accent: #0f7a4f; --warn-bg: #fff6dc; --warn-fg: #6b4e00;
  --f-display: "Lora", Georgia, "Times New Roman", serif;
  --f-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --f-urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --green: #0c2e1d; --green-2: #12452b; --gold: #d9b443; --paper: #0b1310; --card: #121d17; --fg: #e5ede8;
    --muted: #a0b0a6; --line: #23352a; --chip: #16301f; --accent: #45c487; --warn-bg: #2a2413; --warn-fg: #f0d58a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --green: #0c2e1d; --green-2: #12452b; --gold: #d9b443; --paper: #0b1310; --card: #121d17; --fg: #e5ede8;
  --muted: #a0b0a6; --line: #23352a; --chip: #16301f; --accent: #45c487; --warn-bg: #2a2413; --warn-fg: #f0d58a; color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--fg); font-family: var(--f-body); font-size: 17px; line-height: 1.6; }
html[lang="ur"] body { font-family: var(--f-urdu); font-size: 16px; line-height: 2.15; }
html[lang="ur"] .en, html:not([lang="ur"]) .ur { display: none !important; }
.wrap { max-width: 860px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2 { font-family: var(--f-display); margin: 0; line-height: 1.2; text-wrap: balance; }
html[lang="ur"] h1, html[lang="ur"] h2 { font-family: var(--f-urdu); line-height: 1.9; font-weight: 600; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.top { position: sticky; top: 0; z-index: 10; background: var(--green); color: #fff; border-bottom: 3px solid var(--gold); }
.top .wrap { max-width: 1060px; display: flex; align-items: center; gap: 12px; padding-block: 8px; }
.brandmini { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0; margin-inline-end: auto; }
.brandmini img { width: 38px; height: 38px; border-radius: 50%; background: #fff; padding: 2px; flex: none; }
.brandmini b { font-family: var(--f-display); font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[lang="ur"] .brandmini b { font-family: var(--f-urdu); font-size: .95rem; }
.homebtn { flex: none; color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; border: 1.5px solid rgba(255,255,255,.45); border-radius: 8px; padding: 5px 11px; }
.langbtn { flex: none; font: inherit; font-weight: 700; font-size: .9rem; background: var(--gold); color: #1d1600; border: 0; border-radius: 8px; padding: 6px 12px; cursor: pointer; }
html:not([lang="ur"]) .langbtn { font-family: var(--f-urdu); }

.hero { background: var(--green); color: #fff; padding: 22px 0 30px; }
.crumb { font-size: .85rem; color: #cfe2d6; margin-bottom: 10px; }
.crumb a { color: var(--gold-soft); }
.hero h1 { font-size: clamp(1.7rem, 5vw, 2.5rem); }
.lede { color: #dcebe2; font-size: 1.08rem; max-width: 62ch; margin: 10px 0 18px; }
.lede b { color: var(--gold-soft); }
.cta, .row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 10px; padding: 12px 20px; font-size: 1rem; }
.btn.pri { background: var(--gold); color: #1d1600; }
.btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn.out { color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.out:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn.soon { opacity: .6; cursor: default; }
.free { margin: 16px 0 0; font-size: .92rem; color: #dcebe2; }
.free b { color: var(--gold-soft); }

.body { padding-top: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 16px; }
.card h2 { font-size: 1.3rem; margin-bottom: 8px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-inline-start: 44px; margin: 12px 0; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--chip); color: var(--accent); font-weight: 700; display: grid; place-items: center; font-family: var(--f-body); line-height: 1; }
.notes { margin: 0; padding-inline-start: 22px; }
.notes li { margin: 6px 0; }
.faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 8px 0 0; color: var(--muted); }
.more .links { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.more .links a { display: block; padding: 10px 14px; border-radius: 10px; background: var(--chip); text-decoration: none; font-weight: 700; color: var(--fg); }
.more .links a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }

footer { margin-top: 40px; background: var(--green); color: #cfe2d6; border-top: 4px solid var(--gold); }
footer .wrap { max-width: 1060px; padding-block: 22px 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .9rem; }
footer b { color: #fff; }
footer a { color: var(--gold-soft); }
/* v1.9.1: WhatsApp + Google Maps icons */
.sic { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; min-width: 26px; border-radius: 50%; }
.sic svg { width: 20px; height: 20px; display: block; }
.sic.wa { background: #25D366; } .sic.map { background: #fff; box-shadow: inset 0 0 0 1px #e3e3e3; }
.social { display: flex; flex-direction: column; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 5px 14px 5px 6px; }
.social a:hover { background: rgba(255,255,255,.16); }
/* v1.9.3: big green WhatsApp button */
.wab, .social a.wab { background: #25D366 !important; color: #fff !important; border-color: #25D366 !important; box-shadow: none !important; font-weight: 700; }
.wab:hover, .social a.wab:hover { background: #1ebe5b !important; }
.wab .sic.wa { background: #fff; } .wab .sic.wa path { fill: #1ebe5b; }
.btn.wab { padding: 12px 20px; font-size: 1.02rem; }
.credit { text-align: end; }
@media (max-width: 600px) { .credit { text-align: start; } .brandmini b { font-size: .92rem; } }
.num { direction: ltr; unicode-bidi: isolate; font-family: var(--f-body); }
/* v1.8.1: developer credit */
.dev { display: flex; align-items: center; gap: 12px; text-align: start; margin-bottom: 6px; }
.dev img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; background: #fff; flex: none; }
.dev .r { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; }
html[lang="ur"] .dev .r { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.dev .n { display: block; color: #fff; font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
html[lang="ur"] .dev .n { font-family: var(--f-urdu); line-height: 1.9; }
.dev .u { display: block; font-size: .8rem; color: #cfe2d6; }
