/* =========================================================
   Muslim Science College — Chistian Campus
   Design tokens are taken from the college logo:
   navy ring, green + maroon arcs, white.
   ========================================================= */
:root {
  --navy-950: #051530;
  --navy-900: #071d3b;
  --navy-800: #0b2a55;
  --navy-700: #12396f;
  --navy-600: #1a4a8c;
  --green-700: #116a33;
  --green-600: #17853f;
  --green-500: #1fa04d;
  --green-100: #e3f6ea;
  --red-600: #b3262e;
  --red-100: #fbe7e8;
  --ink: #0f1b2d;
  --body: #33445c;
  --muted: #5b6b82;
  --line: #e2e8f0;
  --bg-soft: #f4f7fc;
  --bg-tint: #eaf1fb;
  --wa: #25d366;
  --radius: 22px;
  --shadow-sm: 0 4px 14px rgba(11, 42, 85, .08);
  --shadow: 0 14px 34px rgba(11, 42, 85, .10);
  --shadow-lg: 0 30px 60px rgba(11, 42, 85, .16);
  --grad: linear-gradient(100deg, #2b1d72 0%, #1d4f9a 48%, #1a9a5a 100%);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-ur: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Urdu Typesetting', serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--navy-900); margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
button { font-family: inherit; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.ur { font-family: var(--font-ur); direction: rtl; line-height: 2.05; font-weight: 500; letter-spacing: 0; text-align: left; }
.section-head.center .ur, .success .ur { text-align: center; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: 96px 0; position: relative; }
.section.soft { background: var(--bg-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary { background: var(--green-600); color: #fff; box-shadow: 0 10px 22px rgba(23, 133, 63, .28); }
.btn-primary:hover { background: var(--green-700); }
.btn-navy { background: var(--navy-800); color: #fff; box-shadow: 0 10px 22px rgba(11, 42, 85, .25); }
.btn-navy:hover { background: var(--navy-900); }
.btn-outline { background: #fff; color: var(--navy-800); border: 1.5px solid #cfd9e8; }
.btn-outline:hover { border-color: var(--navy-700); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 22px rgba(37, 211, 102, .28); }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy-950); color: #b9cbe4; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
main { overflow-x: clip; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 14px; height: 14px; color: #6ee7a0; }
.live { color: #fff; font-weight: 700; gap: 10px !important; }
.live .ur { font-size: 13px; line-height: 1.6; color: #a7f3c4; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34d36b; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 107, .6); } 70% { box-shadow: 0 0 0 9px rgba(52, 211, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 107, 0); } }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(11, 42, 85, .22); }
.brand b { display: block; font-size: 19px; font-weight: 800; color: var(--navy-800); letter-spacing: -.015em; line-height: 1.1; }
.brand small { display: block; font-size: 11.5px; color: var(--green-600); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a { padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: #33445c; transition: background .2s, color .2s; white-space: nowrap; }
.brand b, .brand small { white-space: nowrap; }
.nav-links a:hover { background: var(--bg-soft); color: var(--navy-800); }
.nav-links a.active { color: var(--navy-800); background: var(--bg-tint); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy-800); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .icon { width: 22px; height: 22px; }

.mobile-menu { position: fixed; inset: 0; z-index: 80; background: rgba(5, 21, 48, .5); opacity: 0; pointer-events: none; transition: opacity .25s; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(340px, 88vw); background: #fff; padding: 22px; transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.mobile-menu.open .mobile-panel { transform: none; }
.mobile-panel .close { align-self: flex-end; }
.mobile-panel a.link { padding: 14px 12px; border-radius: 12px; font-weight: 700; color: var(--navy-900); font-size: 17px; border-bottom: 1px solid var(--line); }
.mobile-panel .btn { margin-top: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 96px; background:
  radial-gradient(900px 520px at 88% 8%, #dff4e7 0%, rgba(223, 244, 231, 0) 62%),
  radial-gradient(800px 480px at 0% 100%, #e1ebfa 0%, rgba(225, 235, 250, 0) 62%), #f7faff; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(11, 42, 85, .07) 1.4px, transparent 1.4px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.urdu-pill { display: inline-block; background: var(--grad); color: #fff; padding: 2px 26px 8px; border-radius: 14px; font-size: 25px; box-shadow: 0 12px 26px rgba(43, 29, 114, .25); }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin: 24px 0 20px; }
.hl { background: linear-gradient(90deg, var(--green-600), #1d7fc4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); max-width: 580px; }
.lead b { color: var(--navy-800); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 34px; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 700; color: var(--navy-800); line-height: 1.25; }
.trust-item small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.trust-item .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm); color: var(--green-600); }

.hero-visual { position: relative; }
.hero-photo { position: relative; border-radius: 34px; background: linear-gradient(165deg, #ffffff 10%, #e5eefb 100%); padding: 30px 18px 0; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid #fff; }
.hero-photo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(0deg, rgba(11, 42, 85, .18), transparent); }
.hero-photo img { mix-blend-mode: multiply; width: 100%; }
.float-card { position: absolute; z-index: 2; background: #fff; border-radius: 16px; padding: 12px 16px 12px 12px; box-shadow: 0 16px 34px rgba(11, 42, 85, .18); display: flex; gap: 12px; align-items: center; font-size: 14px; line-height: 1.3; animation: float 6s ease-in-out infinite; }
.float-card b { display: block; color: var(--navy-900); font-size: 15px; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.ic.g { background: linear-gradient(135deg, #1fa04d, #116a33); }
.ic.b { background: linear-gradient(135deg, #1d6fc4, #12396f); }
.ic.r { background: linear-gradient(135deg, #d6454d, #9b1f26); }
.fc-1 { top: -22px; left: -34px; }
.fc-2 { bottom: 34px; left: -46px; animation-delay: -2s; }
.fc-3 { top: 46%; right: -30px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.spin-badge { position: absolute; z-index: 3; top: -46px; right: -18px; width: 132px; height: 132px; }
.spin-badge svg { width: 100%; height: 100%; animation: spin 18s linear infinite; filter: drop-shadow(0 12px 20px rgba(11, 42, 85, .3)); }
.spin-badge text { font-size: 10.5px; font-weight: 800; fill: #fff; letter-spacing: 1.5px; font-family: var(--font); }
.spin-badge img { position: absolute; inset: 31px; width: 70px; height: 70px; border-radius: 50%; background: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Ticker ---------- */
.ticker-wrap { position: relative; z-index: 4; }
.ticker { background: var(--navy-800); color: #fff; overflow: hidden; padding: 15px 0; box-shadow: 0 10px 24px rgba(11, 42, 85, .18); border-top: 3px solid var(--green-500); border-bottom: 3px solid var(--red-600); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; white-space: nowrap; }
.ticker-item::after { content: '\271A'; color: #4ade80; font-size: 14px; }
.ticker-item.ur { text-transform: none; letter-spacing: 0; font-size: 17px; line-height: 1.4; direction: rtl; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.eyebrow { display: inline-flex; gap: 10px; align-items: center; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--green-600); }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 740px; margin-bottom: 52px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow::after { content: ''; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; letter-spacing: -.03em; margin: 14px 0 14px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17.5px; }
.section-head .ur { display: block; font-size: 20px; color: var(--navy-700); margin-top: 4px; }
.on-dark .section-head h2, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .section-head p { color: #b9cbe4; }
.on-dark .eyebrow { color: #6ee7a0; }

/* ---------- Accreditation ---------- */
.accred { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.accred-card { position: relative; display: flex; gap: 22px; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.accred-card::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--c-soft); opacity: .7; }
.accred-card .seal-ic { position: relative; z-index: 1; flex: none; width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: var(--c); box-shadow: 0 12px 24px color-mix(in srgb, var(--c) 35%, transparent); }
.accred-card .seal-ic .icon { width: 36px; height: 36px; }
.accred-card > div { position: relative; z-index: 1; }
.accred-card .kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.accred-card h3 { font-size: 23px; margin: 6px 0 8px; }
.accred-card p { color: var(--muted); font-size: 15.5px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pill { font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--navy-800); border: 1px solid var(--line); }

/* ---------- FREE courses ---------- */
.free { background: linear-gradient(135deg, #0b2a55 0%, #0e4a5f 55%, #13703f 100%); color: #fff; overflow: hidden; }
.free::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1.5px, transparent 1.5px); background-size: 24px 24px; }
.free::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .05); }
.free .container { position: relative; z-index: 1; }
.free-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.free-title .big-ur { font-size: 40px; color: #fff; display: block; margin: 8px 0 6px; line-height: 2.1; }
.free-title h2 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -.03em; font-weight: 800; }
.free-title h2 span { color: #6ee7a0; }
.free-title p { color: #c4d6ec; margin: 18px 0 28px; font-size: 17px; }
.free-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.free-card { position: relative; background: #fff; color: var(--body); border-radius: 26px; padding: 30px 26px 26px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.free-card .seal { position: absolute; top: -34px; right: -14px; width: 96px; height: 96px; animation: spin 24s linear infinite; }
.free-card .p-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--c-soft); color: var(--c); }
.free-card .p-ic .icon { width: 30px; height: 30px; }
.free-card .code { font-size: 40px; font-weight: 800; color: var(--navy-900); letter-spacing: -.03em; margin-top: 16px; line-height: 1; }
.free-card h3 { font-size: 18px; color: var(--navy-700); margin-top: 6px; }
.free-card .ur { font-size: 16px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.ticks li .icon { color: var(--green-600); width: 18px; height: 18px; margin-top: 1px; }
.free-card .btn { width: 100%; }

/* ---------- Dual degree ---------- */
.dual { display: grid; grid-template-columns: 1fr auto 1fr auto 1.1fr; gap: 18px; align-items: stretch; }
.dual-box { border-radius: var(--radius); padding: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.dual-box .p-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-tint); color: var(--navy-700); margin-bottom: 16px; }
.dual-box .p-ic .icon { width: 26px; height: 26px; }
.dual-box h3 { font-size: 21px; }
.dual-box p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.dual-box .tag { margin-top: 14px; }
.dual-op { display: grid; place-items: center; font-size: 40px; font-weight: 800; color: var(--green-600); }
.dual-box.result { background: var(--navy-800); color: #c9d8ee; border: 0; }
.dual-box.result h3 { color: #fff; }
.dual-box.result p { color: #b9cbe4; }
.dual-box.result .p-ic { background: rgba(255, 255, 255, .12); color: #6ee7a0; }
.dual-box.result ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.dual-box.result li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: #fff; }
.dual-box.result li .icon { color: #6ee7a0; width: 18px; height: 18px; }
.dual-ur { margin-top: 34px; text-align: center; }
.dual-ur span { display: inline-block; background: var(--green-100); color: var(--green-700); border: 1px dashed #8fd4a8; padding: 4px 26px 10px; border-radius: 16px; font-size: 22px; }

/* ---------- Tags ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 999px; background: var(--bg-soft); color: #3a4a62; letter-spacing: .02em; }
.tag .icon { width: 13px; height: 13px; }
.tag-free { background: var(--green-100); color: var(--green-700); }
.tag-pnc { background: #e0f5f1; color: #0b7a6b; }
.tag-fbise { background: var(--bg-tint); color: var(--navy-700); }

/* ---------- Career finder + program cards ---------- */
.finder { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 22px 24px; margin-bottom: 34px; box-shadow: var(--shadow-sm); display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.finder-label { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy-900); margin-right: 6px; }
.finder-label .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-800); color: #6ee7a0; }
.finder-label small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.chip { border: 1.5px solid var(--line); background: var(--bg-soft); border-radius: 999px; padding: 9px 15px; font-weight: 700; font-size: 14px; color: var(--navy-800); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: .2s; }
.chip:hover { border-color: var(--navy-600); }
.chip.on { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.chip .icon { width: 16px; height: 16px; }
.finder-result { width: 100%; font-size: 14.5px; color: var(--muted); display: none; }
.finder-result.show { display: block; }
.finder-result b { color: var(--green-700); }

.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prog-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .3s, box-shadow .3s, opacity .3s, filter .3s; overflow: hidden; cursor: pointer; }
.prog-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--c); }
.prog-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--c-soft); opacity: .6; transition: transform .4s; }
.prog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prog-card:hover::after { transform: scale(1.4); }
.prog-card > * { position: relative; z-index: 1; }
.prog-top { display: flex; justify-content: space-between; align-items: flex-start; }
.p-ic { width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; background: var(--c-soft); color: var(--c); }
.p-ic .icon { width: 28px; height: 28px; }
.prog-card .code { font-size: 13px; font-weight: 800; color: var(--c); letter-spacing: .06em; text-transform: uppercase; margin-top: 18px; }
.prog-card h3 { font-size: 20.5px; margin: 4px 0 0; }
.prog-card .ur { font-size: 16px; color: var(--muted); text-align: left; direction: rtl; }
.prog-card p.desc { font-size: 14.5px; color: var(--muted); margin-top: 6px; flex: 1; }
.prog-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 18px; }
.prog-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px dashed var(--line); font-weight: 700; font-size: 14.5px; color: var(--navy-800); }
.prog-foot .arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; transition: transform .25s; }
.prog-card:hover .arrow { transform: rotate(-45deg); }
.prog-card.dim { opacity: .35; filter: grayscale(.7); transform: scale(.98); }
.prog-card.match { box-shadow: 0 0 0 2.5px var(--c), var(--shadow-lg); transform: translateY(-6px); }
.match-badge { position: absolute; top: 18px; right: 18px; z-index: 2; display: none; background: var(--c); color: #fff; font-size: 11.5px; font-weight: 800; padding: 5px 10px; border-radius: 999px; letter-spacing: .04em; }
.prog-card.match .match-badge { display: inline-flex; }
.center-cta { text-align: center; margin-top: 42px; }
.swipe-hint { display: none; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.swipe-hint .icon { width: 16px; height: 16px; }

/* ---------- Bento: why us ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 18px; }
.tile { position: relative; border-radius: var(--radius); padding: 28px; background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.tile .t-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-tint); color: var(--navy-700); margin-bottom: auto; }
.tile .t-ic .icon { width: 24px; height: 24px; }
.tile h3 { font-size: 20px; margin-top: 22px; }
.tile p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.tile.big { grid-column: span 2; grid-row: span 2; background: var(--navy-800); border: 0; color: #c9d8ee; padding: 36px; }
.tile.big::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 300px at 100% 0%, rgba(31, 160, 77, .45), transparent 60%), radial-gradient(400px 300px at 0% 100%, rgba(179, 38, 46, .35), transparent 60%); }
.tile.big > * { position: relative; }
.tile.big h3 { color: #fff; font-size: 32px; letter-spacing: -.03em; }
.tile.big p { color: #c9d8ee; font-size: 16.5px; max-width: 440px; }
.tile.big .ur { font-size: 30px; color: #fff; margin-top: 10px; }
.tile.big .t-ic { background: rgba(255, 255, 255, .12); color: #6ee7a0; }
.tile.wide { grid-column: span 2; }
.tile.green { background: var(--green-100); border-color: #c4ebd2; }
.tile.green .t-ic { background: var(--green-600); color: #fff; }
.tile.red { background: var(--red-100); border-color: #f4cdd0; }
.tile.red .t-ic { background: var(--red-600); color: #fff; }
.tile .stat-big { font-size: 54px; font-weight: 800; color: var(--green-600); letter-spacing: -.04em; line-height: 1; margin-top: 18px; }

/* ---------- Steps ---------- */
.steps-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.steps { display: grid; gap: 16px; counter-reset: s; }
.step-card { position: relative; display: flex; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; }
.step-card::before { counter-increment: s; content: counter(s, decimal-leading-zero); flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 19px; color: #fff; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); }
.step-card:last-child::before { background: linear-gradient(135deg, var(--green-500), var(--green-700)); }
.step-card h3 { font-size: 18px; }
.step-card p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.docs-card { background: var(--navy-900); color: #c9d8ee; border-radius: 24px; padding: 30px; position: sticky; top: 100px; }
.docs-card h3 { color: #fff; font-size: 21px; display: flex; gap: 10px; align-items: center; }
.docs-card h3 .icon { color: #6ee7a0; }
.docs-card .ur { font-size: 16px; color: #9fb6d6; }
.docs-card ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 12px; }
.docs-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #e3ecf8; }
.docs-card li .icon { color: #6ee7a0; margin-top: 2px; width: 18px; height: 18px; }
.docs-card .note { font-size: 13px; color: #8ea6c8; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 14px; margin-bottom: 18px; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--grad); color: #fff; border-radius: 30px; padding: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; box-shadow: var(--shadow-lg); }
.stat-item { text-align: center; padding: 6px; }
.stat-item + .stat-item { border-left: 1px solid rgba(255, 255, 255, .2); }
.stat-item b { display: block; font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.stat-item span { font-size: 14.5px; color: #dbe7f7; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.help-card { margin-top: 28px; border-radius: 22px; background: var(--bg-soft); border: 1px solid var(--line); padding: 24px; }
.help-card h4 { font-size: 17px; }
.help-card p { color: var(--muted); font-size: 14.5px; margin: 4px 0 16px; }
.help-card .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #cfdcec; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; color: var(--navy-900); font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-tint); color: var(--navy-700); transition: transform .25s, background .25s; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--green-600); color: #fff; }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 15.5px; margin-top: -4px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 32px; background: var(--navy-900); color: #fff; padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 320px at 100% 100%, rgba(31, 160, 77, .5), transparent 60%), radial-gradient(500px 300px at 0% 0%, rgba(29, 79, 154, .6), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.03em; }
.cta-band .ur { font-size: 22px; color: #a7f3c4; }
.cta-band p { color: #b9cbe4; margin-top: 10px; font-size: 16.5px; }
.cta-actions { display: grid; gap: 12px; }
.phone-line { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: 18px; padding: 14px 18px; transition: background .2s; }
.phone-line:hover { background: rgba(255, 255, 255, .14); }
.phone-line .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-600); }
.phone-line .ic.wa { background: var(--wa); }
.phone-line b { font-size: 22px; letter-spacing: .02em; display: block; line-height: 1.2; }
.phone-line small { color: #9fb6d6; font-size: 12.5px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #9fb3cf; padding: 72px 0 0; margin-top: 96px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer .brand b { color: #fff; }
.footer .brand small { color: #6ee7a0; }
.footer p.about { margin: 18px 0; max-width: 340px; }
.footer h4 { color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a:hover { color: #fff; }
.footer .contact-li { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact-li .icon { color: #6ee7a0; margin-top: 3px; width: 17px; height: 17px; }
.footer .ur { font-size: 14px; color: #9fb3cf; line-height: 2; }
.reg-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.reg-badge { display: inline-flex; gap: 8px; align-items: center; border: 1px solid rgba(255, 255, 255, .15); border-radius: 12px; padding: 8px 12px; font-size: 12.5px; color: #dbe7f7; font-weight: 700; }
.reg-badge .icon { color: #6ee7a0; width: 16px; height: 16px; }
.footer-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* ---------- Floating + mobile bar ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 70; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(37, 211, 102, .45); }
.wa-float .icon { width: 32px; height: 32px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }
.mobile-bar { display: none; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy-900); color: #b9cbe4; padding: 64px 0 112px; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 360px at 100% 0%, rgba(31, 160, 77, .35), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(29, 79, 154, .55), transparent 60%); }
.page-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1.4px, transparent 1.4px); background-size: 24px 24px; }
.page-hero .container { position: relative; z-index: 1; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: #8ea6c8; font-weight: 600; }
.crumbs a:hover { color: #fff; }
.crumbs .icon { width: 14px; height: 14px; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.035em; margin: 16px 0 10px; font-weight: 800; }
.page-hero .ur { font-size: 22px; color: #a7f3c4; display: block; }
.page-hero p { max-width: 640px; font-size: 17px; margin-top: 8px; }
.overlap { margin-top: -64px; position: relative; z-index: 2; }

/* ---------- Programs page ---------- */
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: #fff; border-radius: 22px; padding: 12px; box-shadow: var(--shadow); margin-bottom: 30px; border: 1px solid var(--line); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { border: 0; background: transparent; padding: 11px 18px; border-radius: 14px; font-weight: 700; font-size: 14.5px; color: var(--muted); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.tab .count { background: var(--bg-soft); color: var(--navy-700); border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.tab.on { background: var(--navy-800); color: #fff; }
.tab.on .count { background: rgba(255, 255, 255, .18); color: #fff; }
.search { display: flex; align-items: center; gap: 8px; background: var(--bg-soft); border-radius: 14px; padding: 0 14px; height: 46px; min-width: 260px; color: var(--muted); }
.search input { border: 0; background: transparent; outline: none; font: inherit; font-size: 15px; width: 100%; color: var(--ink); }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; font-size: 15px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { background: var(--bg-soft); color: var(--navy-800); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.compare tr:last-child td { border-bottom: 0; }
.compare td b { color: var(--navy-900); }
.compare .ur { font-size: 14px; color: var(--muted); line-height: 1.9; }
.table-scroll { overflow-x: auto; border-radius: 20px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(5, 21, 48, .6); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box { width: min(880px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 28px; box-shadow: 0 40px 80px rgba(0, 0, 0, .3); transform: translateY(20px) scale(.98); transition: transform .3s; }
.modal.open .modal-box { transform: none; }
.modal-head { position: relative; padding: 32px 32px 28px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #051530)); color: #fff; border-radius: 28px 28px 0 0; }
.modal-head .p-ic { background: rgba(255, 255, 255, .18); color: #fff; }
.modal-head h2 { color: #fff; font-size: 32px; margin-top: 16px; letter-spacing: -.03em; }
.modal-head .ur { font-size: 19px; color: rgba(255, 255, 255, .85); }
.modal-head p { color: rgba(255, 255, 255, .85); margin-top: 6px; }
.modal-head .tag { background: rgba(255, 255, 255, .18); color: #fff; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .2); color: #fff; display: grid; place-items: center; cursor: pointer; }
.modal-body { padding: 30px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.modal-body h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--c); margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.modal-body .ticks li .icon { color: var(--c); }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fact { background: var(--bg-soft); border-radius: 16px; padding: 16px; }
.fact small { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.fact b { color: var(--navy-900); font-size: 16px; }
.modal-foot { padding: 20px 32px 30px; display: flex; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); }

/* ---------- Apply form ---------- */
.apply-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.form-card { background: #fff; border-radius: 28px; box-shadow: 0 24px 60px rgba(11, 42, 85, .14); padding: 34px; border: 1px solid var(--line); }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.stp { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: #8a99ad; }
.stp .n { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #d5deea; display: grid; place-items: center; font-size: 14px; background: #fff; transition: .25s; }
.stp .n .icon { width: 16px; height: 16px; }
.stp.active { color: var(--navy-900); }
.stp.active .n { background: var(--navy-800); border-color: var(--navy-800); color: #fff; box-shadow: 0 0 0 5px rgba(18, 57, 111, .12); }
.stp.done { color: var(--green-700); }
.stp.done .n { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.progress { height: 7px; background: #edf2f8; border-radius: 99px; overflow: hidden; margin-bottom: 30px; }
.progress .bar { height: 100%; width: 25%; background: linear-gradient(90deg, var(--navy-700), var(--green-500)); border-radius: 99px; transition: width .4s; }
.pane { display: none; }
.pane.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pane-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.pane-title h2 { font-size: 25px; }
.pane-title .ur { font-size: 17px; color: var(--muted); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.fgrid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 700; font-size: 14px; color: #24364f; display: flex; align-items: baseline; gap: 4px; }
.field label .ur { font-size: 13px; color: var(--muted); line-height: 1.6; font-weight: 400; margin-left: auto; }
.field label .hint { margin-left: auto; }
.field label .req { color: var(--red-600); }
.input { width: 100%; height: 52px; border: 1.5px solid #d8e1ec; border-radius: 14px; padding: 0 15px; font: inherit; font-size: 15.5px; color: var(--ink); background: #fbfcfe; transition: border-color .2s, box-shadow .2s, background .2s; }
textarea.input { height: 96px; padding: 12px 15px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235b6b82' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.input:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(26, 74, 140, .12); background: #fff; }
.field .msg { font-size: 12.5px; color: #c62f3c; display: none; font-weight: 600; }
.field.err .input { border-color: #d93848; background: #fff8f8; }
.field.err .msg { display: block; }
.hint { font-size: 12.5px; color: var(--muted); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border: 1.5px solid #d8e1ec; border-radius: 14px; cursor: pointer; font-weight: 700; color: var(--body); background: #fbfcfe; transition: .2s; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--navy-700); background: var(--bg-tint); color: var(--navy-900); box-shadow: 0 0 0 3px rgba(18, 57, 111, .12); }

.pick-group-title { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 4px 0 10px; display: flex; gap: 10px; align-items: center; }
.pick-group-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.pick { position: relative; display: flex; gap: 12px; align-items: center; border: 1.5px solid #d8e1ec; border-radius: 18px; padding: 14px 40px 14px 14px; cursor: pointer; transition: .2s; background: #fff; }
.pick:hover { border-color: var(--c); }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick .p-ic { width: 46px; height: 46px; border-radius: 13px; }
.pick .p-ic .icon { width: 22px; height: 22px; }
.pick b { display: block; color: var(--navy-900); font-size: 15px; line-height: 1.25; }
.pick small { color: var(--muted); font-size: 12.5px; line-height: 1.3; display: block; }
.pick .free-mini { position: absolute; top: -9px; right: 12px; background: var(--green-600); color: #fff; font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 99px; letter-spacing: .06em; }
.pick .chk { position: absolute; right: 12px; bottom: 12px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d5deea; display: grid; place-items: center; color: transparent; }
.pick .chk .icon { width: 13px; height: 13px; }
.pick:has(input:checked), .pick.checked { border-color: var(--c); background: var(--c-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 20%, transparent); }
.pick:has(input:checked) .chk, .pick.checked .chk { background: var(--c); border-color: var(--c); color: #fff; }
.picks-err { display: none; color: #c62f3c; font-weight: 700; font-size: 13.5px; margin: -10px 0 16px; }
.picks-err.show { display: block; }

.form-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
/* Grid/flex children may shrink below their content width, so nothing pushes the page wider than the phone */
.apply-wrap > *, .contact-grid > *, .admin-grid > *, .fgrid > *, .hero-grid > *, .free-grid > *, .steps-wrap > *, .faq-wrap > *, .about-split > *, .field { min-width: 0; }
.review-block dd, .ticket b, .drawer-body dd { overflow-wrap: anywhere; }
.form-actions .secure { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.form-actions .secure .icon { color: var(--green-600); width: 16px; height: 16px; }
.review { display: grid; gap: 16px; }
.review-block { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.review-block h4 { display: flex; justify-content: space-between; align-items: center; background: var(--bg-soft); padding: 12px 18px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--navy-800); }
.review-block h4 button { border: 0; background: none; color: var(--green-700); font-weight: 800; cursor: pointer; font-size: 13px; }
.review-block dl { margin: 0; padding: 14px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.review-block dt { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.review-block dd { margin: 0; color: var(--navy-900); font-weight: 700; font-size: 15px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--body); margin-top: 18px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green-600); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.success { text-align: center; padding: 18px 6px 6px; }
.success .big-check { width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--green-600); color: #fff; box-shadow: 0 0 0 12px var(--green-100), 0 20px 40px rgba(23, 133, 63, .3); animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
.success .big-check .icon { width: 48px; height: 48px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success h2 { font-size: 30px; }
.success .ur { font-size: 20px; color: var(--green-700); }
.success p { color: var(--muted); max-width: 520px; margin: 8px auto 0; }
.ticket { position: relative; max-width: 520px; margin: 28px auto; border: 2px dashed #c6d3e4; border-radius: 22px; padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; background: var(--bg-soft); }
.ticket small { display: block; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ticket b { color: var(--navy-900); font-size: 16px; }
.ticket .app-id { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ticket .app-id b { font-size: 26px; letter-spacing: .04em; color: var(--green-700); font-family: ui-monospace, Consolas, monospace; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.side { display: grid; gap: 18px; position: sticky; top: 100px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 18px; display: flex; gap: 10px; align-items: center; }
.side-card h3 .icon { color: var(--green-600); }
.side-card p { color: var(--muted); font-size: 14.5px; margin: 6px 0 14px; }
.side-card .btn { width: 100%; margin-top: 8px; }
.side-card.navy { background: var(--navy-800); border: 0; color: #c9d8ee; }
.side-card.navy h3 { color: #fff; }
.side-card.navy .ticks li { color: #e3ecf8; }
.side-card.navy .ticks li .icon { color: #6ee7a0; }
.side-card .mini-steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; counter-reset: m; }
.side-card .mini-steps li { display: flex; gap: 12px; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--navy-900); }
.side-card .mini-steps li::before { counter-increment: m; content: counter(m); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-tint); color: var(--navy-700); font-weight: 800; font-size: 13px; flex: none; }
.demo-note { margin-top: 16px; font-size: 13px; background: #fff7e0; border: 1px solid #f3dc97; color: #7a5a00; border-radius: 14px; padding: 10px 14px; display: flex; gap: 10px; align-items: flex-start; }
.demo-note .icon { flex: none; margin-top: 2px; width: 16px; height: 16px; }

/* ---------- Contact / about ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.c-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.c-card .t-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; margin-bottom: 12px; }
.c-card .t-ic .icon { width: 24px; height: 24px; }
.c-card small { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.c-card b { color: var(--navy-900); font-size: 17px; line-height: 1.4; }
.c-card a.big { font-size: 20px; font-weight: 800; color: var(--navy-900); }
.c-card .ur { font-size: 14.5px; color: var(--muted); text-align: left; }
.c-card .link { margin-top: auto; padding-top: 10px; color: var(--green-700); font-weight: 800; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; margin-top: 28px; }
/* Street-pattern placeholder shows until the Google map has loaded */
.map-card { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 460px; position: relative;
  background:
    radial-gradient(circle at 50% 42%, rgba(179, 38, 46, .18) 0 18px, transparent 19px),
    linear-gradient(28deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%),
    linear-gradient(-62deg, transparent 48.5%, #fff 48.5%, #fff 51.5%, transparent 51.5%),
    repeating-linear-gradient(0deg, transparent 0 58px, rgba(255, 255, 255, .9) 58px 64px),
    repeating-linear-gradient(90deg, transparent 0 84px, rgba(255, 255, 255, .9) 84px 90px),
    linear-gradient(135deg, #e6efe4, #dfe9f5); }
.map-card::before { content: ''; position: absolute; left: 50%; top: 42%; width: 28px; height: 28px; margin: -28px 0 0 -14px; background: var(--red-600); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 6px 14px rgba(179, 38, 46, .4); }
.map-card iframe { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
.map-card .map-pin-card { z-index: 2; }
.map-pin-card { position: absolute; left: 18px; bottom: 18px; right: 18px; background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; }
.map-pin-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red-600); color: #fff; flex: none; }
.map-pin-card b { color: var(--navy-900); display: block; }
.map-pin-card small { color: var(--muted); }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-visual { position: relative; border-radius: 30px; background: var(--grad); padding: 40px; color: #fff; overflow: hidden; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; }
.about-visual::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.about-visual img { position: absolute; top: 34px; left: 34px; width: 120px; height: 120px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .25); }
.about-visual > * { position: relative; }
.about-visual .ur { font-size: 30px; line-height: 2.1; }
.about-visual p { color: rgba(255, 255, 255, .85); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.value { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-soft); border-radius: 16px; padding: 16px; }
.value .icon { color: var(--green-600); width: 22px; height: 22px; margin-top: 2px; }
.value b { color: var(--navy-900); display: block; }
.value span { font-size: 14px; color: var(--muted); }
.about-text p { font-size: 16.5px; color: var(--muted); margin-top: 14px; }

/* ---------- Admin ---------- */
.admin-body { background: #f1f5fb; }
.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(800px 400px at 100% 0%, rgba(31, 160, 77, .3), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(29, 79, 154, .5), transparent 60%), var(--navy-950); }
.login-card { width: min(420px, 100%); background: #fff; border-radius: 28px; padding: 36px; box-shadow: 0 40px 80px rgba(0, 0, 0, .35); text-align: center; }
.login-card img { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; box-shadow: 0 0 0 5px var(--bg-tint); }
.login-card h1 { font-size: 24px; }
.login-card p { color: var(--muted); font-size: 14.5px; margin: 6px 0 22px; }
.login-card .field { text-align: left; margin-bottom: 16px; }
.login-card .btn { width: 100%; }
.admin-top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.admin-top .container { display: flex; justify-content: space-between; align-items: center; height: 72px; gap: 16px; }
.admin-top .brand img { width: 44px; height: 44px; }
.admin-top .brand b { font-size: 16px; }
.admin-actions { display: flex; gap: 8px; }
.admin-main { padding: 28px 0 60px; }
.admin-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-title h1 { font-size: 28px; }
.admin-title p { color: var(--muted); font-size: 14.5px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.kpi { background: #fff; border-radius: 20px; padding: 20px 22px; border: 1px solid var(--line); display: flex; gap: 16px; align-items: center; }
.kpi .t-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.kpi .t-ic .icon { width: 24px; height: 24px; }
.kpi b { display: block; font-size: 30px; color: var(--navy-900); line-height: 1.1; letter-spacing: -.02em; }
.kpi span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.admin-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: stretch; }
.admin-grid .bars { grid-template-columns: repeat(3, 1fr); gap: 16px 28px; }
.atable .who { min-width: 200px; }
.panel { background: #fff; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel-head h3 { font-size: 16px; }
.panel-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.panel-tools .search { min-width: 220px; height: 40px; border-radius: 12px; }
.panel-tools select { height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); font: inherit; font-size: 14px; padding: 0 12px; color: var(--navy-800); }
.atable { width: 100%; border-collapse: collapse; font-size: 14px; }
.atable th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: #6b7b91; padding: 12px 16px; background: #f8fafd; white-space: nowrap; }
.atable td { padding: 13px 16px; border-top: 1px solid #eef2f7; vertical-align: middle; }
.atable tr:hover td { background: #fafcff; }
.atable .who b { display: block; color: var(--navy-900); }
.atable .who small { color: var(--muted); }
.atable .mono { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: var(--navy-700); font-weight: 700; }
.atable td.nw, .atable .mono, .atable .tag { white-space: nowrap; }
.table-wrap { overflow-x: auto; }
.status { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.st-New { background: #e4edfb; color: #1d4f9a; }
.st-Contacted { background: #fff2cf; color: #8a5d00; }
.st-Admitted { background: var(--green-100); color: var(--green-700); }
.st-Rejected { background: var(--red-100); color: var(--red-600); }
.row-actions { display: flex; gap: 6px; }
.icon-btn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--navy-700); cursor: pointer; }
.icon-btn .icon { width: 16px; height: 16px; }
.icon-btn.wa { color: #fff; background: var(--wa); border-color: var(--wa); }
.bars { padding: 18px; display: grid; gap: 14px; }
.bar-row small { display: flex; justify-content: space-between; font-weight: 700; color: var(--navy-800); font-size: 13px; margin-bottom: 6px; }
.bar-track { height: 9px; border-radius: 99px; background: #eef2f7; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 99px; background: var(--c); }
.empty { padding: 48px 20px; text-align: center; color: var(--muted); }
.demo-banner { background: #fff7e0; border: 1px solid #f3dc97; color: #7a5a00; border-radius: 16px; padding: 12px 16px; font-size: 14px; display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: #fff; z-index: 95; box-shadow: -30px 0 60px rgba(5, 21, 48, .25); transform: translateX(105%); visibility: hidden; transition: transform .3s, visibility .3s; display: flex; flex-direction: column; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { padding: 22px 24px; background: var(--navy-800); color: #fff; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.drawer-head h3 { color: #fff; font-size: 21px; }
.drawer-head small { color: #9fb6d6; }
.drawer-body { padding: 20px 24px; overflow-y: auto; flex: 1; }
.drawer-body dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px 14px; margin: 0; font-size: 14.5px; }
.drawer-body dt { color: var(--muted); font-weight: 600; }
.drawer-body dd { margin: 0; color: var(--navy-900); font-weight: 700; word-break: break-word; }
.drawer-foot { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; gap: 10px; flex-wrap: wrap; }
.drawer-foot select { flex: 1; height: 44px; border-radius: 12px; border: 1px solid var(--line); font: inherit; padding: 0 12px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--navy-900); color: #fff; padding: 12px 20px; border-radius: 14px; font-weight: 600; font-size: 14.5px; opacity: 0; transition: .3s; z-index: 100; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links a { padding: 10px 10px; font-size: 14.5px; }
  .nav-cta .btn-outline { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .hero-grid, .free-grid, .steps-wrap, .faq-wrap, .about-split, .contact-grid, .apply-wrap, .admin-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 30px auto 0; width: 100%; }
  .prog-grid { grid-template-columns: 1fr 1fr; }
  .dual { grid-template-columns: 1fr; }
  .dual-op { font-size: 30px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.big { grid-row: span 1; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .side, .docs-card { position: static; }
  .cta-band { grid-template-columns: 1fr; padding: 40px; }
}
@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .menu-btn { display: inline-flex; }
  .topbar-left a:nth-child(2), .topbar .addr { display: none; }
}
@media (max-width: 768px) {
  body { padding-bottom: 74px; }
  .nav-cta .btn-primary { display: none; }
  .section { padding: 68px 0; }
  .hero { padding: 40px 0 80px; }
  .urdu-pill { font-size: 20px; padding: 0 18px 6px; }
  .lead { font-size: 16.5px; }
  .hero-ctas .btn { flex: 1; }
  .fc-1 { left: -6px; top: -26px; }
  .fc-2 { left: -6px; bottom: 18px; }
  .fc-3 { right: -6px; }
  .float-card { padding: 9px 12px 9px 9px; }
  .float-card .ic { width: 34px; height: 34px; }
  .spin-badge { width: 100px; height: 100px; top: -40px; right: -6px; }
  .spin-badge img { inset: 24px; width: 52px; height: 52px; }
  .accred, .free-cards, .prog-grid, .bento, .values, .facts, .modal-body, .fgrid, .contact-cards { grid-template-columns: 1fr; }
  .tile.big, .tile.wide { grid-column: auto; }
  .finder { flex-direction: column; align-items: stretch; padding: 18px; }
  .chip { padding: 8px 13px; font-size: 13.5px; }
  /* Home page programs become a swipeable carousel on phones */
  .prog-grid.carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 6px 16px 18px; scrollbar-width: none; }
  .prog-grid.carousel::-webkit-scrollbar { display: none; }
  .prog-grid.carousel .prog-card { flex: 0 0 84%; scroll-snap-align: start; }
  .swipe-hint { display: flex !important; }
  .free-card { margin-top: 18px; }
  .free-card .seal { right: -6px; width: 84px; height: 84px; top: -30px; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 28px 18px; }
  .stat-item + .stat-item { border-left: 0; }
  .stat-item b { font-size: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer { margin-top: 68px; }
  .cta-band { padding: 32px 22px; border-radius: 26px; }
  .picks { grid-template-columns: 1fr; }
  .stepper .stp span:not(.n) { display: none; }
  .stepper { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .form-card { padding: 22px 18px; border-radius: 22px; }
  .review-block dl, .ticket { grid-template-columns: 1fr; }
  .form-actions { gap: 10px; }
  .form-actions .secure { order: -1; width: 100%; justify-content: center; text-align: center; }
  .form-actions .btn { flex: 1; padding-left: 14px; padding-right: 14px; font-size: 15px; }
  .input { font-size: 16px; } /* 16px stops iPhone from zooming in when a field is tapped */
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search { min-width: 0; }
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px rgba(11, 42, 85, .12); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 14px; font-weight: 800; font-size: 14.5px; }
  .mobile-bar .icon { width: 18px; height: 18px; }
  .mb-call { background: var(--bg-tint); color: var(--navy-800); }
  .mb-wa { background: var(--wa); color: #fff; }
  .mb-apply { background: var(--green-600); color: #fff; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .admin-grid .bars { grid-template-columns: 1fr; }
  .admin-top .brand span { display: none; }
  .admin-actions .btn-outline:first-child { display: none; }
  .kpi { padding: 16px; }
  .kpi b { font-size: 24px; }
  .admin-body .mobile-bar { display: none; }
  .table-wrap { overflow-x: auto; }
  .page-hero { padding: 44px 0 96px; }
  .modal-head, .modal-body, .modal-foot { padding-left: 22px; padding-right: 22px; }
}
@media (max-width: 600px) {
  .topbar-left { display: none; }
  .topbar .container { justify-content: center; }
  .accred-card { flex-direction: column; gap: 16px; padding: 24px; }
  .accred-card .seal-ic { width: 60px; height: 60px; border-radius: 18px; }
}
@media (max-width: 420px) {
  .brand b { font-size: 16px; }
  .brand img { width: 46px; height: 46px; }
  .hero h1 { font-size: 36px; }
  .free-title .big-ur { font-size: 30px; }
  .mobile-bar { gap: 6px; padding-left: 8px; padding-right: 8px; }
  .mobile-bar a { font-size: 13.5px; gap: 6px; min-width: 0; }
  .mobile-bar .mb-apply .icon { display: none; }
}
@media print {
  .site-header, .topbar, .footer, .wa-float, .mobile-bar, .side, .page-hero, .stepper, .progress, .success-actions { display: none !important; }
  .form-card { box-shadow: none; border: 0; }
}
