:root {
  --green: #0E4D3A;
  --green-2: #16684F;
  --green-soft: #E3F0EA;
  --gold: #F2B544;
  --gold-soft: #FCF1D9;
  --cream: #FBF8F2;
  --ink: #18231F;
  --muted: #5D6B65;
  --line: #E6E0D4;
  --white: #FFFFFF;
  --red: #B4442F;
  --red-soft: #F8E4DF;
  --radius: 18px;
  --shadow: 0 1px 3px rgba(14, 77, 58, .04), 0 4px 16px rgba(14, 77, 58, .06);
  --shadow-lg: 0 2px 4px rgba(14, 77, 58, .06), 0 12px 32px rgba(14, 77, 58, .10);
  --shadow-sm: 0 1px 2px rgba(14, 77, 58, .04);
  --transition: .18s cubic-bezier(.4, 0, .2, 1);
}

/* SVG Icon System */
.wi { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; flex-shrink: 0; }
.wi svg { width: 1em; height: 1em; display: block; }

/* Icon sizing in context */
.card .icon .wi svg { width: 24px; height: 24px; }
.fc-ic.wi svg { width: 24px; height: 24px; }
.dc-ic .wi svg { width: 20px; height: 20px; }
.bottomnav .ic svg { width: 22px; height: 22px; }
.toc .wi svg { width: 16px; height: 16px; }
.guide-sec h2 .wi svg { width: 20px; height: 20px; }
.btn .wi svg { width: 14px; height: 14px; }
.save-btn .wi svg, .cmp-btn .wi svg { width: 14px; height: 14px; }
.check .wi svg { width: 16px; height: 16px; }
.fact .wi svg { width: 16px; height: 16px; }
h1 .wi svg { width: 28px; height: 28px; }
h3 .wi svg { width: 18px; height: 18px; }
td .wi svg { width: 14px; height: 14px; }
label .wi svg { width: 16px; height: 16px; }

/* Status icon colors */
.st-ok { color: var(--green); }
.st-miss { color: var(--red); }
.st-warn { color: var(--gold); }

/* Feedback bubble SVG override */
.feedback-btn svg { width: 22px; height: 22px; }

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  padding-bottom: 76px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
main { max-width: 1080px; margin: 0 auto; padding: 24px 18px 40px; outline: none; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 20px;
  padding: 12px 20px;
  background: rgba(251, 248, 242, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark svg { width: 34px; height: 34px; display: block; }
.brand-name { font-weight: 800; font-size: 1.25rem; }
.brand-urdu { color: var(--muted); font-size: 1rem; }
.topnav { display: flex; gap: 4px; margin-left: auto; }
.topnav a {
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: .92rem;
  padding: 8px 12px; border-radius: 999px;
}
.topnav a:hover { color: var(--ink); background: var(--green-soft); }
.topnav a.active { color: var(--green); background: var(--green-soft); }
.auth-area { display: flex; align-items: center; gap: 8px; }

.demo-banner {
  background: var(--gold-soft); color: #6B4A08; font-size: .88rem; text-align: center;
  padding: 8px 16px; border-bottom: 1px solid #F0DDB0;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: .95rem;
  padding: 12px 20px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--green); color: var(--white); text-decoration: none;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.btn:hover { background: var(--green-2); box-shadow: 0 2px 8px rgba(14, 77, 58, .18); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.gold { background: var(--gold); color: #3E2A02; }
.btn.gold:hover { background: #E9A92E; }
.btn.ghost { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn.ghost:hover { background: var(--green-soft); box-shadow: 0 2px 8px rgba(14, 77, 58, .10); }
.btn.small { padding: 8px 14px; font-size: .85rem; }
.btn:focus-visible, a.card:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.btn.link { background: none; color: var(--muted); padding: 6px 8px; font-weight: 600; }
.btn.link:hover { color: var(--red); background: none; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center;
  padding: 28px 0 36px;
}
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green); background: var(--green-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.hero p.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .9rem; }
.hero-proof span::before { content: "✓ "; color: var(--green-2); font-weight: 800; }
.hero-card {
  background: var(--green); color: var(--white); border-radius: 26px; padding: 26px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.hero-card::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(242, 181, 68, .18);
}
.hero-card h3 { color: var(--gold); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.compare { display: grid; gap: 12px; margin-top: 12px; position: relative; z-index: 1; }
.compare-row { display: flex; gap: 16px; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.compare-row:last-child { border-bottom: 0; }
.compare-row .big { font-size: 1.6rem; font-weight: 800; }
.compare-row .strike { text-decoration: line-through; opacity: .6; }
.compare-row .gold { color: var(--gold); }

/* Cards */
.grid { display: grid; gap: 16px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); transition: box-shadow var(--transition), border-color var(--transition);
}
a.card { text-decoration: none; color: inherit; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); display: block; }
a.card:hover { transform: translateY(-2px); border-color: var(--green-2); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); margin-bottom: 12px;
}
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.section { margin-top: 44px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.section-head p { color: var(--muted); margin: 0; }

.page-head { margin-bottom: 22px; }
.page-head p { color: var(--muted); max-width: 44em; margin: 0; }

/* Roadmap */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white);
  display: grid; place-items: center; font-weight: 800;
}
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.step .tag { display: inline-block; margin-top: 8px; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: #6B4A08; }

/* Forms */
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 3px var(--green-soft); }
textarea { min-height: 96px; resize: vertical; }
.field { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Tracker */
.progress-wrap { display: flex; align-items: center; gap: 14px; margin: 6px 0 4px; }
.progress { flex: 1; height: 10px; background: var(--green-soft); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--green-2), var(--gold)); border-radius: 999px; transition: width .3s ease; }
.progress-label { font-weight: 800; color: var(--green); min-width: 48px; text-align: right; }
.app-list { display: grid; gap: 12px; }
.app-item {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
}
.app-item h4 { margin: 0; font-size: 1rem; }
.app-meta { color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.app-actions { display: flex; align-items: center; gap: 6px; }
.app-actions select { width: auto; padding: 8px 10px; font-size: .85rem; border-radius: 999px; }
.status { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.status.planning { background: #EEF0EF; color: #4A5551; }
.status.applied { background: #E2ECFA; color: #1F4E8C; }
.status.admitted { background: var(--green-soft); color: var(--green); }
.status.rejected { background: var(--red-soft); color: var(--red); }
.due-soon { color: var(--red); font-weight: 700; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.checklist li {
  display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; cursor: pointer;
}
.checklist li:hover { background: var(--cream); }
.checklist input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.checklist .doc-title { font-weight: 600; }
.checklist .doc-note { display: block; color: var(--muted); font-size: .84rem; }
.checklist li.done .doc-title { text-decoration: line-through; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 26px 12px; border: 1.5px dashed var(--line); border-radius: 14px; }

/* Chat */
.chat {
  display: flex; flex-direction: column; height: min(68vh, 640px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 85%; padding: 12px 15px; border-radius: 16px; white-space: pre-wrap; font-size: .96rem; }
.msg.user { align-self: flex-end; background: var(--green); color: var(--white); border-bottom-right-radius: 4px; }
.msg.ai { align-self: flex-start; background: var(--cream); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.ai a { color: var(--green-2); word-break: break-word; }
.msg.typing { color: var(--muted); font-style: italic; }
.chat-form { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.chat-form textarea { min-height: 48px; max-height: 140px; border-radius: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; }
.chip {
  font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer;
  padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
}
.chip:hover { border-color: var(--green-2); color: var(--green); }
.notice { font-size: .84rem; color: var(--muted); margin-top: 10px; }

/* Letter output */
.output {
  white-space: pre-wrap; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; font-size: .98rem; line-height: 1.7; box-shadow: var(--shadow);
}
.callout { background: var(--gold-soft); border: 1px solid #F0DDB0; color: #5A3E06; border-radius: 14px; padding: 14px 16px; font-size: .92rem; margin-bottom: 18px; }
.callout strong { color: #3E2A02; }

/* Auth modal */
.modal-bg { position: fixed; inset: 0; background: rgba(24, 35, 31, .45); display: grid; place-items: center; z-index: 50; padding: 18px; }
.modal { background: var(--white); border-radius: 22px; padding: 26px; width: min(420px, 100%); box-shadow: var(--shadow); }
.modal p { color: var(--muted); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  opacity: 0; pointer-events: none; transition: all .25s cubic-bezier(.4, 0, .2, 1); z-index: 60; max-width: 90vw; text-align: center;
  box-shadow: 0 4px 16px rgba(24, 35, 31, .2);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Footer */
.footer { max-width: 1080px; margin: 0 auto; padding: 24px 18px 30px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
.footer p { margin: 0 0 6px; }

/* Bottom nav (mobile) */
.bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: none;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -1px 8px rgba(14, 77, 58, .04);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.bottomnav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: .7rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: 6px 0;
}
.bottomnav .ic { line-height: 1; display: flex; align-items: center; justify-content: center; }
.bottomnav a.active { color: var(--green); }

@media (max-width: 860px) {
  .topnav { display: none; }
  .auth-area { margin-left: auto; }
  .bottomnav { display: flex; }
  .hero { grid-template-columns: 1fr; padding-top: 8px; }
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .brand-urdu { display: none; }
  .msg { max-width: 92%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
  .chip { white-space: nowrap; flex: none; }
  .chat { height: 62vh; }
  .compare-row span:last-child { text-align: right; }
  .app-item { grid-template-columns: 1fr; }
}
@media (min-width: 861px) { body { padding-bottom: 0; } }

/* Google button, divider */
.btn.google { width: 100%; background: var(--white); color: var(--ink); border: 1.5px solid var(--line); }
.btn.google:hover { background: var(--cream); border-color: #CFC7B6; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .82rem; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--gold); display: grid; place-items: center; font-weight: 800; text-decoration: none; }

/* Feedback */
.fb-btn {
  position: fixed; right: 18px; bottom: 18px; z-index: 25; font: inherit; font-weight: 700; font-size: .88rem;
  padding: 10px 16px; border-radius: 999px; border: 0; cursor: pointer; background: var(--gold); color: #3E2A02; box-shadow: var(--shadow);
}
.rating { display: flex; justify-content: space-between; margin: 6px 0 18px; }
.rating label { margin: 0; cursor: pointer; }
.rating input { position: absolute; opacity: 0; }
.rating span { font-size: 2rem; display: block; padding: 6px; border-radius: 14px; filter: grayscale(1); opacity: .55; transition: all .12s ease; }
.rating input:checked + span { filter: none; opacity: 1; background: var(--gold-soft); transform: scale(1.08); }
.rating input:focus-visible + span { outline: 2px solid var(--green-2); }

/* Admin */
.sys { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-weight: 600; font-size: .92rem; }
.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.kpi { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.kpi-label { color: var(--muted); font-size: .8rem; font-weight: 600; }
.kpi-val { font-size: 1.9rem; font-weight: 800; color: var(--green); line-height: 1.15; font-variant-numeric: tabular-nums; }
.kpi-sub { color: var(--muted); font-size: .78rem; }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1.2fr) 1fr auto; gap: 10px; align-items: center; font-size: .86rem; }
.bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 10px; background: var(--green-soft); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--green-2); border-radius: 999px; }
.bar-val { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 22px; text-align: right; }
.cols { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; align-items: end; height: 170px; padding-top: 18px; }
.col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.col-bar { width: 100%; max-width: 28px; min-height: 2px; background: var(--green-2); border-radius: 6px 6px 2px 2px; }
.col-val { font-size: .72rem; font-weight: 700; color: var(--green); }
.col-label { font-size: .7rem; color: var(--muted); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th { text-align: left; color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }

@media (max-width: 860px) {
  .fb-btn { bottom: 84px; right: 12px; padding: 8px 12px; font-size: .8rem; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .cols { gap: 3px; }
}

/* Finder */
.finder { display: grid; grid-template-columns: 280px 1fr; gap: 18px; align-items: start; }
.filters { position: sticky; top: 76px; padding: 18px; max-height: calc(100vh - 96px); overflow-y: auto; }
.filters .field { margin-bottom: 12px; }
.filters select, .filters input[type=search] { padding: 10px 12px; font-size: .92rem; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters-head h3 { margin: 0; }
.seg { display: flex; background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px; padding: 3px; }
.seg label { flex: 1; margin: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 7px 4px; border-radius: 9px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.seg input:checked + span { background: var(--white); color: var(--green); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.seg input:focus-visible + span { outline: 2px solid var(--green-2); }
.check { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 10px; }
.results-tools { display: flex; gap: 8px; align-items: center; }
.count { font-weight: 800; color: var(--green); }
.sort { width: auto; padding: 8px 12px; font-size: .88rem; border-radius: 999px; }
#toggleF { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.prog-list { display: grid; gap: 12px; }
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.prog-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: border-color .12s ease; }
.prog-card:hover { border-color: var(--green-2); }
.prog-main { display: block; padding: 18px 18px 10px; text-decoration: none; color: inherit; flex: 1; }
.prog-main h3 { margin: 10px 0 2px; font-size: 1.12rem; }
.prog-uni { color: var(--muted); margin: 0 0 10px; font-weight: 600; font-size: .92rem; }
.prog-uni.big { font-size: 1.05rem; }
.prog-top { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #EEF0EF; color: #4A5551; }
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-gold { background: var(--gold-soft); color: #6B4A08; }
.pill-free { background: #E4F4EC; color: #16684F; }
.prog-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: .86rem; color: var(--ink); }
.prog-actions { display: flex; gap: 8px; padding: 0 18px 16px; }
.save-btn[aria-pressed="true"] { background: var(--gold-soft); border-color: var(--gold); color: #6B4A08; }
.back { display: inline-block; margin-bottom: 12px; text-decoration: none; font-weight: 700; }
.prog-hero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-top: 12px; }
.prog-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.facts { display: grid; gap: 0; }
.fact { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.fact:last-child { border-bottom: 0; }
.fact span { color: var(--muted); }
.fact strong { text-align: right; font-weight: 600; }
.deadline-big { background: var(--green); color: var(--white); border-radius: 14px; padding: 16px; display: grid; gap: 2px; margin-bottom: 8px; }
.deadline-big.soon { background: var(--red); }
.deadline-big span { font-size: .8rem; opacity: .8; font-weight: 600; }
.deadline-big strong { font-size: 1.5rem; }
.deadline-big em { font-style: normal; font-size: .88rem; opacity: .9; }
.needs { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.shortlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.shortlist a { display: grid; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.shortlist a:hover { background: var(--cream); }
.shortlist span { color: var(--muted); font-size: .85rem; }

@media (max-width: 860px) {
  .finder { grid-template-columns: 1fr; }
  .filters { display: none; position: static; max-height: none; }
  .filters.open { display: block; }
  #toggleF { display: inline-flex; }
  .prog-grid { grid-template-columns: 1fr; }
}
.topnav a { white-space: nowrap; }
@media (max-width: 1180px) { .brand-urdu { display: none; } .topnav a { padding: 8px 9px; font-size: .88rem; } }

.otp { font-size: 1.6rem; letter-spacing: .5em; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.otp-actions { display: flex; justify-content: space-between; margin-top: 8px; }

.apply-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.apply-step { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--white); }
a.apply-step:hover { border-color: var(--green-2); }
.apply-step span { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #3E2A02; display: grid; place-items: center; font-weight: 800; }
.apply-step strong { display: block; font-size: .95rem; }
.apply-step em { font-style: normal; color: var(--muted); font-size: .84rem; }
.prog-actions { flex-wrap: wrap; }
@media (max-width: 860px) { .apply-steps { grid-template-columns: 1fr; } }

.auth-tabs { display: flex; background: var(--cream); border-radius: 12px; padding: 4px; margin-bottom: 16px; }
.auth-tabs button { flex: 1; font: inherit; font-weight: 700; border: 0; background: none; padding: 9px; border-radius: 9px; cursor: pointer; color: var(--muted); }
.auth-tabs button.on { background: var(--white); color: var(--green); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.voice-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--cream); font-size: .88rem; }
.voice-bar select { width: auto; padding: 6px 10px; font-size: .85rem; border-radius: 999px; }
.mic { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); font-size: 1.3rem; cursor: pointer; align-self: center; }
.mic.on { background: var(--red); border-color: var(--red); animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(180,68,47,.45); } 50% { box-shadow: 0 0 0 10px rgba(180,68,47,0); } }
.auth-area .btn.link { color: var(--ink); }

/* ===== Premium portal layer ===== */
:root { --navy: #0B2E24; --shadow-lg: 0 2px 4px rgba(11,46,36,.05), 0 24px 60px rgba(11,46,36,.14); }
.topnav .nav-ai { color: var(--green); background: var(--gold-soft); }
.topnav .nav-ai.active, .topnav .nav-ai:hover { background: var(--gold); color: #3E2A02; }

.home-hero, .page-hero {
  margin: -24px calc(50% - 50vw) 0; padding: 64px 20px 72px; color: #fff;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(242,181,68,.28), transparent 60%),
              radial-gradient(800px 400px at 0% 110%, rgba(22,104,79,.9), transparent 60%),
              linear-gradient(135deg, var(--navy), var(--green) 70%);
}
.home-hero-in { max-width: 1080px; margin: 0 auto; }
.home-hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); letter-spacing: -.02em; max-width: 16em; }
.home-hero h1 span { color: var(--gold); }
.home-hero .lead { color: rgba(255,255,255,.82); font-size: 1.12rem; max-width: 40em; }
.eyebrow.light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.mega-search {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr auto; gap: 0; margin: 28px 0 26px;
  background: #fff; border-radius: 20px; padding: 8px; box-shadow: var(--shadow-lg); align-items: stretch;
}
.ms-field { padding: 8px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.ms-field label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 2px; }
.ms-field input, .ms-field select { border: 0; padding: 4px 0; font-weight: 600; background: transparent; box-shadow: none !important; }
.ms-field:nth-child(3) { border-right: 0; }
.ms-go { border-radius: 14px; padding: 0 26px; font-size: 1rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.8rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.hero-stats span { color: rgba(255,255,255,.7); font-size: .88rem; }
.page-hero { padding: 44px 20px 48px; margin-bottom: 22px; }
.page-hero > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 1080px; }

.field-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.field-card { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto auto; column-gap: 14px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.field-card:hover { border-color: var(--green-2); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.fc-ic { grid-row: 1 / 4; width: 48px; height: 48px; border-radius: 14px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.field-card strong { font-size: 1rem; }
.field-card em { font-style: normal; color: var(--muted); font-size: .85rem; }
.fc-n { color: var(--green-2); font-weight: 700; font-size: .82rem; margin-top: 4px; }

.ai-moat { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: var(--gold-soft); border: 1px solid #F0DDB0; border-radius: 28px; padding: 34px; }
.ai-moat h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.ai-moat p { color: #5A4A2A; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-weight: 600; }
.ticks li::before { content: "✓"; color: var(--green-2); font-weight: 800; margin-right: 10px; }
.ai-ask { padding: 18px; display: grid; gap: 12px; }
.ai-ask .chips { padding: 0; }
.ai-bubble { background: var(--cream); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 12px 14px; font-size: .95rem; }
.ai-input { display: flex; gap: 8px; }
.ai-strip { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.ai-strip h3 { margin: 0 0 4px; }

.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.s4 { position: relative; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); display: grid; gap: 4px; }
.s4:hover { border-color: var(--green-2); }
.s4 span { width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--gold); display: grid; place-items: center; font-weight: 800; margin-bottom: 8px; }
.s4 em { font-style: normal; color: var(--muted); font-size: .9rem; }

.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dest { position: relative; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: grid; gap: 4px; text-decoration: none; color: var(--ink); opacity: .78; }
.dest.live { opacity: 1; border-color: var(--green-2); box-shadow: var(--shadow); }
.dest .flag { font-size: 2rem; }
.dest em { font-style: normal; color: var(--muted); font-size: .88rem; }
.dest-tag { position: absolute; top: 14px; right: 14px; font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--green); color: #fff; }
.dest-tag.soon { background: #EEF0EF; color: #4A5551; }

.mono { flex: none; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--green), var(--green-2)); color: var(--gold); display: grid; place-items: center; font-weight: 800; font-size: .9rem; letter-spacing: .02em; }
.mono.big { width: 52px; height: 52px; border-radius: 14px; font-size: 1.05rem; }
.mono.xl { width: 84px; height: 84px; border-radius: 22px; font-size: 1.7rem; box-shadow: var(--shadow-lg); }
.prog-head { display: flex; gap: 12px; align-items: center; }
.pill-lang { background: #E7EEFB; color: #24477E; }
.uni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.uni-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: all .15s ease; }
.uni-card:hover { border-color: var(--green-2); box-shadow: var(--shadow); }
.uni-card h3 { font-size: .98rem; margin: 0 0 2px; }
.uni-card p { margin: 0 0 6px; color: var(--muted); font-size: .84rem; }
.uni-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.uni-count { text-align: center; }
.uni-count strong { display: block; font-size: 1.4rem; color: var(--green); line-height: 1; }
.uni-count span { font-size: .72rem; color: var(--muted); }
.uni-tools { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 10px; padding: 12px; margin-bottom: 14px; }
.uni-hero { display: flex; gap: 22px; align-items: center; padding: 28px; border-radius: 26px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--green)); }
.uni-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 4px; }
.uni-hero p { color: rgba(255,255,255,.8); margin: 0; }
.uni-hero .mono.xl { background: #fff; color: var(--green); }
.btn.ghost.light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn.ghost.light:hover { background: rgba(255,255,255,.1); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0 18px; }
.stat-row div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.stat-row strong { display: block; font-size: 1.7rem; color: var(--green); line-height: 1.1; }
.stat-row span { color: var(--muted); font-size: .85rem; }
.small-seg { min-width: 240px; }

.cmp-btn[aria-pressed="true"] { background: #E7EEFB; border-color: #24477E; color: #24477E; }
.cmp-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 22px; z-index: 40; display: flex; gap: 14px; align-items: center; background: var(--navy); color: #fff; padding: 10px 12px 10px 20px; border-radius: 999px; box-shadow: var(--shadow-lg); font-size: .92rem; }
.cmp-bar .btn.link { color: rgba(255,255,255,.75); }
.cmp-table th { vertical-align: top; text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--ink); min-width: 200px; }
.cmp-name { font-weight: 800; text-decoration: none; display: block; margin-bottom: 4px; }
.cmp-k { color: var(--muted); font-weight: 600; white-space: nowrap; }
.cmp-actions { display: flex; flex-wrap: wrap; gap: 6px; }

.footer { max-width: 1080px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; margin: 10px 0 20px; }
.foot-cols h4 { margin: 0 0 8px; color: var(--ink); font-size: .9rem; }
.foot-cols a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; }
.foot-cols a:hover { color: var(--green); }
.foot-brand strong { font-size: 1.2rem; color: var(--ink); }
.foot-legal { border-top: 1px solid var(--line); padding-top: 14px; font-size: .8rem; }

@media (max-width: 960px) {
  .mega-search { grid-template-columns: 1fr 1fr; gap: 6px; }
  .ms-q { grid-column: 1 / -1; }
  .ms-field { border-right: 0; border-bottom: 1px solid var(--line); }
  .ms-go { grid-column: 1 / -1; padding: 14px; }
  .field-grid, .uni-grid { grid-template-columns: 1fr 1fr; }
  .ai-moat { grid-template-columns: 1fr; padding: 22px; }
  .steps4, .dest-grid { grid-template-columns: 1fr 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .uni-tools { grid-template-columns: 1fr 1fr; }
  .uni-tools input { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .home-hero { padding: 40px 18px 48px; }
  .field-grid, .uni-grid, .steps4, .dest-grid, .stat-row { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .uni-hero { flex-direction: column; align-items: flex-start; padding: 22px; }
  .cmp-bar { bottom: 84px; width: calc(100% - 24px); justify-content: space-between; }
  .ai-input { flex-direction: column; }
}
body { overflow-x: clip; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; align-items: center; }
.active-filters:empty { display: none; }
.fchip { font: inherit; font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--green-2); background: var(--green-soft); color: var(--green); cursor: pointer; }
.fchip:hover { background: #fff; }
.fchip span { margin-left: 4px; font-weight: 800; }
.upd-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 70; display: flex; gap: 14px; justify-content: center; align-items: center; padding: 10px 16px; background: var(--navy); color: #fff; font-weight: 600; font-size: .92rem; }

/* Profile */
.profile-wrap { max-width: 760px; display: grid; gap: 16px; }
.prof-form { display: grid; gap: 16px; }
.prof-form h3, .profile-wrap > .card h3 { margin-bottom: 14px; }
.prof-head { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.prof-id h2 { margin: 0; font-size: 1.4rem; }
.prof-id p { margin: 2px 0 10px; color: var(--muted); }
.av-actions { display: flex; gap: 8px; align-items: center; }
.av-actions label.btn { margin: 0; cursor: pointer; }
.prof-progress { grid-column: 1 / -1; display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--green); }
.av-img, .av-ini { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--green); color: var(--gold); font-weight: 800; }
.av-img.xl, .av-ini.xl { width: 96px; height: 96px; font-size: 2rem; box-shadow: var(--shadow); }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.avatar { overflow: hidden; }
.phone-row { display: grid; grid-template-columns: 150px 1fr; gap: 8px; }
.phone-row select { padding: 12px 8px; font-size: .9rem; }
.small-check { font-weight: 400; font-size: .88rem; margin: -6px 0 16px; }
.save-sticky { width: 100%; padding: 14px; }
.pw-form { margin-top: 12px; }
.pw-meter { height: 6px; background: var(--green-soft); border-radius: 999px; overflow: hidden; margin: -6px 0 4px; }
.pw-meter span { display: block; height: 100%; width: 0; background: var(--red); transition: width .2s ease; }
.pw-meter span.mid { background: var(--gold); }
.pw-meter span.ok { background: var(--green-2); }
.btn.danger { color: var(--red); border-color: var(--red); }
.btn.danger:hover { background: var(--red-soft); }
@media (max-width: 860px) { .phone-row { grid-template-columns: 120px 1fr; } }

/* Cities */
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.city-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: all .15s ease; }
.city-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.city-img { height: 150px; background: linear-gradient(135deg, var(--green), var(--navy)) center / cover no-repeat; }
.city-body { padding: 14px 16px; }
.city-body h3 { margin: 0; }
.city-body p { margin: 0 0 8px; color: var(--muted); font-size: .88rem; }
.city-hero { margin-bottom: 14px; border-radius: 26px; min-height: 260px; display: flex; align-items: flex-end; color: #fff; background: linear-gradient(135deg, var(--navy), var(--green)) center / cover no-repeat; }
.city-hero-in { padding: 26px; }
.city-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 6px 0; }
.city-hero p { color: rgba(255,255,255,.88); max-width: 40em; margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.toc a { padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .88rem; }
.guide-sec { margin-bottom: 14px; scroll-margin-top: 80px; }
.guide-sec h2 { font-size: 1.25rem; }
.grade-big { font-size: 3.4rem; font-weight: 800; color: var(--green); line-height: 1; margin: 6px 0; }
/* Admission */
.adm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.adm { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.adm span { font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.adm strong { font-size: .98rem; }
.adm em { font-style: normal; font-size: .82rem; color: var(--muted); }
.adm-req { margin-top: 12px; background: var(--cream); border-radius: 14px; padding: 12px 14px; }
.adm-req p { margin: 4px 0; font-size: .92rem; }
/* Doc checker */
.dropzone { display: block; text-align: center; padding: 26px 14px; border: 2px dashed var(--line); border-radius: 16px; cursor: pointer; font-weight: 400; background: var(--cream); }
.dropzone.over, .dropzone:hover { border-color: var(--green-2); background: var(--green-soft); }
.dc-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.dc-list li { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: .88rem; }
.dc-list em { font-style: normal; color: var(--muted); margin-left: auto; }
.dc-hits { position: absolute; left: 0; right: 0; top: 100%; z-index: 10; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; }
.dc-hits button { display: grid; width: 100%; text-align: left; border: 0; background: #fff; padding: 8px 12px; cursor: pointer; font: inherit; border-bottom: 1px solid var(--line); }
.dc-hits button:hover { background: var(--cream); }
.dc-hits span { color: var(--muted); font-size: .82rem; }
.dc-score { display: flex; gap: 16px; align-items: center; margin: 8px 0 14px; }
.ring { --v: 0; flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, #fff 78%, transparent 80%), conic-gradient(var(--green-2) calc(var(--v) * 1%), var(--green-soft) 0); }
.ring strong { font-size: 1.6rem; line-height: 1; color: var(--green); }
.ring span { font-size: .72rem; color: var(--muted); }
.dc-score p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.dc-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--green-soft); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }
.dc-grade div { display: grid; }
.dc-grade span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.dc-grade strong { font-size: 1.5rem; color: var(--green); }
.dc-grade em { grid-column: 1 / -1; font-style: normal; font-size: .8rem; color: var(--muted); }
.dc-chance { border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; background: var(--cream); border: 1px solid var(--line); }
.dc-chance.high { background: #E4F4EC; } .dc-chance.medium { background: var(--gold-soft); } .dc-chance.low { background: var(--red-soft); }
.dc-chance ul { margin: 6px 0; padding-left: 18px; font-size: .9rem; }
.dc-chance em { font-style: normal; font-size: .8rem; color: var(--muted); }
.dc-check, .dc-flags { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; font-size: .9rem; }
.dc-check span { color: var(--muted); }
.dc-flags li { padding: 8px 10px; border-radius: 10px; background: var(--cream); border-left: 4px solid var(--gold); }
.dc-flags li.high { border-left-color: var(--red); } .dc-flags li.low { border-left-color: var(--green-2); }
#dcOut h4 { margin: 14px 0 6px; }
@media (max-width: 960px) { .city-grid, .adm-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .city-grid, .adm-grid { grid-template-columns: 1fr; } }
.topnav a { padding: 8px 10px; }
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.job-card { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
a.job-card:hover { border-color: var(--green-2); box-shadow: var(--shadow); }
.job-card strong { color: var(--green); }
.job-card span { color: var(--muted); font-size: .88rem; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 22px 0 6px; }
.pg { min-width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }
.pg:hover:not(:disabled) { border-color: var(--green-2); color: var(--green); }
.pg.on { background: var(--green); border-color: var(--green); color: #fff; }
.pg:disabled { opacity: .4; cursor: default; }
.pg-gap { align-self: center; color: var(--muted); padding: 0 2px; }
@media (max-width: 960px) { .job-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .job-grid { grid-template-columns: 1fr; } }
.faq { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::after { content: "+"; float: right; color: var(--green); font-weight: 800; }
.faq[open] summary::after { content: "−"; }
.faq p { margin: 8px 0 0; color: var(--muted); font-size: .93rem; }
.uni-city { display: grid; grid-template-columns: 300px 1fr; gap: 0; padding: 0; overflow: hidden; margin: 14px 0; }
.uc-img { background: linear-gradient(135deg, var(--green), var(--navy)) center / cover no-repeat; min-height: 220px; }
.uc-body { padding: 20px 22px; }
.uc-body h3 { margin: 6px 0 4px; font-size: 1.3rem; }
.uc-body > p { color: var(--muted); margin: 0 0 10px; font-size: .93rem; }
.uc-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0; }
.uc-facts div { background: var(--cream); border-radius: 12px; padding: 8px 10px; display: grid; }
.uc-facts span { font-size: .74rem; color: var(--muted); font-weight: 600; }
.uc-facts strong { font-size: .92rem; }
.uc-emp { font-size: .9rem; margin: 6px 0; }
@media (max-width: 860px) { .uni-city { grid-template-columns: 1fr; } .uc-img { min-height: 160px; } .uc-facts { grid-template-columns: 1fr 1fr; } }
.pill-nc { background: #FDE7DF; color: #9A3B1F; }
.subj-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.subj-chips .chip { text-decoration: none; }
.dc-guide { margin-bottom: 16px; }
.dc-docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dc-doc { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.dc-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.dc-doc p { margin: 2px 0 4px; font-size: .86rem; color: var(--ink); }
.dc-doc em { font-style: normal; font-size: .82rem; color: var(--green-2); }
.dc-out-list { margin-top: 12px; padding: 12px 14px; background: var(--cream); border-radius: 12px; font-size: .92rem; }
@media (max-width: 960px) { .dc-docs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dc-docs { grid-template-columns: 1fr; } }

/* Scholarships */
.sch-soon { margin: 0 0 16px; }
.sch-soon h2 { font-size: 1.1rem; margin-bottom: 10px; }
.sch-soon-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sch-soon-row a { display: grid; gap: 8px; padding: 14px; border-radius: var(--radius); background: var(--gold-soft); border: 1px solid #EBD9A8; color: var(--ink); text-decoration: none; align-content: start; }
.sch-soon-row a strong { font-size: .92rem; line-height: 1.3; }
.sch-soon-row .pill { justify-self: start; background: #fff; }
.sch-filters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.sch-filters .field { margin: 0; }
.sch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sch-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: all .15s ease; }
.sch-card:hover { border-color: var(--green-2); box-shadow: var(--shadow); }
.sch-card strong { font-size: 1rem; line-height: 1.3; }
.sch-card em { font-style: normal; color: var(--muted); font-size: .84rem; }
.sch-card p { font-size: .86rem; color: var(--muted); margin: 0; flex: 1; }
.sch-top { display: flex; flex-wrap: wrap; gap: 6px; }
.sch-amt { font-weight: 800; color: var(--green); font-size: 1.05rem; }
.sch-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--line); }
.sch-from { font-size: .78rem; color: var(--muted); font-weight: 600; }
.sch-cur { padding: 10px 0; border-bottom: 1px solid var(--line); }
.sch-cur:last-child { border-bottom: 0; }
.sch-cur p { margin: 4px 0 0; font-size: .88rem; color: var(--muted); }
.sch-steps { padding-left: 20px; display: grid; gap: 8px; }
.sch-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0; }
.sch-mini a { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; }
.sch-mini a:hover { border-color: var(--green-2); }
.sch-mini span { font-size: .82rem; color: var(--muted); }
.sch-home { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; text-decoration: none; color: var(--ink); background: linear-gradient(120deg, #fff 0%, var(--gold-soft) 100%); }
.sch-home strong { display: block; font-size: 1.1rem; }
.sch-home em { font-style: normal; color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .sch-grid, .sch-soon-row { grid-template-columns: 1fr 1fr; } .sch-filters { grid-template-columns: 1fr 1fr; } .sch-filters .field:first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .sch-grid, .sch-soon-row, .sch-mini { grid-template-columns: 1fr; } .sch-home { grid-template-columns: 1fr; } }
.uni-coverage { margin-bottom: 16px; }

/* Country switcher (Germany / UK) */
.ctry-switch { display: flex; gap: 4px; margin-left: 14px; padding: 3px; border-radius: 12px; background: #F1F4F2; border: 1px solid var(--line); }
.ctry { display: grid; justify-items: center; gap: 2px; padding: 4px 8px 3px; border: 1px solid transparent; border-radius: 9px; background: transparent; cursor: pointer; font: inherit; color: var(--muted); }
.ctry:hover { color: var(--ink); background: #fff; }
.ctry.on { background: #fff; color: var(--green); border-color: var(--green-2); box-shadow: 0 1px 3px rgba(14, 77, 58, .12); }
.ctry-flag svg { width: 24px; height: 15px; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.ctry-name { font-size: .68rem; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.ctry:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.dest .flag svg { width: 44px; height: 28px; display: block; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
@media (max-width: 1180px) { .ctry-switch { margin-left: 8px; } }
@media (max-width: 860px) { .ctry-switch { margin-left: auto; } .ctry { padding: 3px 6px 2px; } }
@media (max-width: 860px) { .auth-area { margin-left: 8px; } }
@media (max-width: 480px) {
  .topbar { gap: 8px; padding: 10px 12px; }
  .brand-name { display: none; }
  .ctry { padding: 3px 5px 2px; }
  .ctry-flag svg { width: 22px; height: 14px; }
  .ctry-name { font-size: .62rem; }
  .auth-area .btn { padding: 8px 12px; font-size: .85rem; white-space: nowrap; }
}

/* ============================================
   ANIMATIONS: entrance, typewriter, parallax
   ============================================ */

/* Intersection Observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.stagger > .reveal:nth-child(6) { transition-delay: 400ms; }
.stagger > .reveal:nth-child(7) { transition-delay: 480ms; }
.stagger > .reveal:nth-child(8) { transition-delay: 560ms; }
.stagger > .reveal:nth-child(9) { transition-delay: 640ms; }

/* Hero entrance: fade up from bottom */
.hero-enter {
  opacity: 0;
  transform: translateY(36px);
  animation: heroFadeUp .9s cubic-bezier(.22, 1, .36, 1) forwards;
}
.hero-enter-d1 { animation-delay: .15s; }
.hero-enter-d2 { animation-delay: .35s; }
.hero-enter-d3 { animation-delay: .55s; }
.hero-enter-d4 { animation-delay: .75s; }
.hero-enter-d5 { animation-delay: .95s; }

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Typewriter cursor blink */
.tw-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--gold);
  vertical-align: middle;
  margin-left: 2px;
  animation: cursorBlink 1s step-end infinite;
}
.tw-cursor.done { display: none; }

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Animated gradient hero background */
.home-hero {
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 20% 50%, rgba(242,181,68,.2), transparent 60%),
    radial-gradient(ellipse 700px 500px at 80% 20%, rgba(22,104,79,.4), transparent 60%);
  animation: gradientShift 12s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}
.home-hero > * {
  position: relative;
  z-index: 1;
}

@keyframes gradientShift {
  0% {
    background:
      radial-gradient(ellipse 900px 600px at 20% 50%, rgba(242,181,68,.2), transparent 60%),
      radial-gradient(ellipse 700px 500px at 80% 20%, rgba(22,104,79,.4), transparent 60%);
  }
  50% {
    background:
      radial-gradient(ellipse 1100px 700px at 60% 30%, rgba(242,181,68,.25), transparent 60%),
      radial-gradient(ellipse 800px 600px at 10% 80%, rgba(22,104,79,.45), transparent 60%);
  }
  100% {
    background:
      radial-gradient(ellipse 800px 500px at 80% 60%, rgba(242,181,68,.18), transparent 60%),
      radial-gradient(ellipse 900px 500px at 30% 10%, rgba(22,104,79,.5), transparent 60%);
  }
}

/* Floating particles (decorative) */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(242, 181, 68, .3);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) scale(.5); opacity: 0; }
}

/* Pill action buttons (Mainframe-inspired) */
.pill-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
  white-space: nowrap;
}
.pill-btn:hover {
  background: #fff;
  color: var(--green);
  border-color: #fff;
  transform: translateY(-1px);
}
.pill-btn.gold-pill {
  background: var(--gold);
  color: #3E2A02;
  border-color: var(--gold);
}
.pill-btn.gold-pill:hover {
  background: #fff;
  color: var(--green);
  border-color: #fff;
}

/* Animated stat counters */
.hero-stats strong {
  transition: all .3s ease;
}

/* Card hover lift enhanced */
a.card, .field-card, .s4, .dest {
  transition: transform .25s cubic-bezier(.22, 1, .36, 1), border-color .2s ease, box-shadow .25s ease;
}
a.card:hover, .field-card:hover, .s4:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(14, 77, 58, .12);
}

/* AI moat section entrance */
.ai-moat {
  transition: transform .3s ease, box-shadow .3s ease;
}
.ai-moat:hover {
  box-shadow: 0 12px 40px rgba(242, 181, 68, .15);
}

/* Chat bubble typing animation */
.ai-bubble-typing .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: dotPulse 1.4s ease-in-out infinite;
  margin: 0 2px;
}
.ai-bubble-typing .dot:nth-child(2) { animation-delay: .2s; }
.ai-bubble-typing .dot:nth-child(3) { animation-delay: .4s; }

@keyframes dotPulse {
  0%, 60%, 100% { transform: scale(.6); opacity: .4; }
  30% { transform: scale(1); opacity: 1; }
}

/* Section heading underline animation */
.section-head h2 {
  position: relative;
  display: inline-block;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transition: width .6s cubic-bezier(.22, 1, .36, 1);
}
.section-head h2.visible::after {
  width: 48px;
}

/* Smooth number count-up pulse */
@keyframes countPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.stat-pop {
  animation: countPop .4s ease;
}

/* Mega search glow on focus-within */
.mega-search {
  transition: box-shadow .3s ease;
}
.mega-search:focus-within {
  box-shadow: 0 0 0 3px rgba(14, 77, 58, .15), 0 8px 32px rgba(14, 77, 58, .12);
}

/* Steps connector line */
.steps4 {
  position: relative;
}
.s4 {
  position: relative;
  overflow: hidden;
}
.s4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transition: width .5s cubic-bezier(.22, 1, .36, 1);
}
.s4:hover::after {
  width: 100%;
}

/* Destination card shine on hover */
.dest.live {
  position: relative;
  overflow: hidden;
}
.dest.live::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(242,181,68,.06) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .6s ease;
  pointer-events: none;
}
.dest.live:hover::before {
  transform: translateX(100%);
}

/* Responsive adjustments for pill buttons */
@media (max-width: 600px) {
  .pill-actions { gap: 6px; }
  .pill-btn { font-size: .82rem; padding: 8px 16px; }
}

/* Eyebrow shimmer animation */
.eyebrow.light {
  position: relative;
  overflow: hidden;
}
.eyebrow.light::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}
