/* ==========================================================================
   MBBSinDhaka.in — Component stylesheet
   Hero, cards, timeline, accordion, tables, forms, badges, breadcrumbs,
   article typography, college directory, blog cards.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 460px at 88% -8%, rgba(20, 184, 161, 0.13), transparent 62%),
    radial-gradient(760px 420px at 4% 4%, rgba(26, 106, 158, 0.1), transparent 60%),
    var(--navy-050);
  padding: var(--sp-8) 0 var(--sp-9);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: var(--sp-8);
  align-items: center;
}
.hero h1 { margin-bottom: var(--sp-5); }
.hero h1 .accent {
  background-image: linear-gradient(180deg, transparent 62%, rgba(20, 184, 161, 0.28) 62%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0 2px;
  animation: sweepIn 0.85s cubic-bezier(0.22, 0.68, 0, 1) 0.45s backwards;
}
.hero-sub {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: var(--sp-5);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: var(--sp-6);
  padding: 0;
  list-style: none;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--navy-800);
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-xs);
}
.hero-trust svg { color: var(--teal-600); flex: none; }

.hero-foot {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.87rem;
  color: var(--muted);
}
.hero-foot strong { color: var(--navy-800); }

.hero-visual { position: relative; }
.hero-visual img,
.hero-visual svg {
  width: 100%;
  display: block;
  vertical-align: top;
  border-radius: var(--r-xl);
}
/* Width-capped so it stays inside the empty skyline band of the hero
   illustration and never overlaps the college card drawn inside it. */
.hero-card {
  position: absolute;
  max-width: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.hero-card .icon {
  width: 38px; height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--teal-050);
  color: var(--teal-700);
}
.hero-card .k {
  display: block;
  font-family: var(--font-head);
  font-weight: 750;
  font-size: 0.86rem;
  color: var(--navy-900);
  line-height: 1.3;
}
.hero-card .v { display: block; font-size: 0.75rem; color: var(--muted); line-height: 1.35; }
/* Sits over the skyline band at the foot of the illustration, which is the
   only area with no content of its own. */
.hero-card.a { bottom: 12px; left: -24px; }

/* --------------------------------------------------------------------------
   2. Page header (interior pages)
   -------------------------------------------------------------------------- */
.page-head {
  background:
    radial-gradient(760px 380px at 82% -20%, rgba(20, 184, 161, 0.12), transparent 60%),
    var(--navy-050);
  border-bottom: 1px solid var(--line);
  padding: var(--sp-6) 0 var(--sp-7);
}
.page-head h1 { margin-bottom: var(--sp-4); max-width: 20ch; }
.page-head.wide h1 { max-width: none; }
/* Article headers share the body's left edge, so cap the measure instead of
   narrowing the container. */
.page-head.article-head h1 { max-width: 26ch; }
.page-head.article-head .lead { max-width: 58ch; }
.page-head .lead { max-width: 62ch; color: var(--ink-soft); }
.page-head .btn-group { margin-top: var(--sp-5); }

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-5);
  font-size: 0.815rem;
  color: var(--muted);
}
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 7px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy-700); }
.breadcrumb .sep { color: var(--muted-light); }
.breadcrumb [aria-current="page"] { color: var(--navy-800); font-weight: 600; }

/* --------------------------------------------------------------------------
   3. Cards
   -------------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  height: 100%;
}
.card h3 { font-size: 1.09rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.93rem; margin-bottom: 0; line-height: 1.62; }
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--navy-100);
}
.card-soft { background: var(--surface-soft); border-color: transparent; }
.card-lg { padding: var(--sp-6); }

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--navy-050);
  color: var(--navy-700);
  margin-bottom: var(--sp-4);
}
.card-icon.teal { background: var(--teal-050); color: var(--teal-700); }
.card-icon.amber { background: var(--amber-100); color: var(--amber-600); }

/* Numbered feature card */
.card-num {
  position: relative;
  padding-left: 66px;
}
.card-num .num {
  position: absolute;
  left: var(--sp-5);
  top: var(--sp-5);
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Feature list with checkmarks */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  line-height: 1.6;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--teal-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230a7d70' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list.on-navy li::before {
  background-color: rgba(20, 184, 161, 0.2);
}

.dot-list { list-style: none; padding: 0; margin: 0; }
.dot-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
}
.dot-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
}

/* --------------------------------------------------------------------------
   4. Badges & pills
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--navy-050);
  color: var(--navy-700);
  border: 1px solid var(--navy-100);
  white-space: nowrap;
  /* Stops the badge stretching when it is a direct child of a column flexbox
     (e.g. the blog card body). */
  align-self: flex-start;
}
.badge-teal { background: var(--teal-050); color: var(--teal-700); border-color: var(--teal-100); }
.badge-amber { background: var(--warn-bg); color: var(--warn-ink); border-color: var(--warn-line); }
.badge-outline { background: #fff; color: var(--muted); border-color: var(--line); }

/* --------------------------------------------------------------------------
   5. Info / alert boxes
   -------------------------------------------------------------------------- */
.note {
  display: flex;
  gap: 14px;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: var(--navy-050);
  border: 1px solid var(--navy-100);
  border-left: 3px solid var(--navy-500);
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--ink-soft);
  margin: var(--sp-5) 0;
}
.note svg { flex: none; margin-top: 3px; color: var(--navy-600); }
.note p:last-child { margin-bottom: 0; }
.note strong { display: block; margin-bottom: 3px; color: var(--navy-800); }

.note-warn {
  background: var(--warn-bg);
  border-color: var(--warn-line);
  border-left-color: var(--amber-600);
  color: var(--warn-ink);
}
.note-warn svg { color: var(--amber-600); }
.note-warn strong { color: var(--warn-ink); }

.note-teal {
  background: var(--teal-050);
  border-color: var(--teal-100);
  border-left-color: var(--teal-600);
}
.note-teal svg { color: var(--teal-700); }
.note-teal strong { color: var(--teal-700); }

/* --------------------------------------------------------------------------
   6. Trust / promise strip
   -------------------------------------------------------------------------- */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.promise {
  text-align: center;
  padding: var(--sp-6) var(--sp-5);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.promise .amount {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  display: block;
}
.promise .amount span { color: var(--teal-500); }
.promise .label {
  font-family: var(--font-head);
  font-weight: 650;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 6px;
}
.promise .desc { font-size: 0.87rem; color: #a8c4d8; margin: 0; line-height: 1.55; }

/* Split panel: "our fees vs third-party costs" */
.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}
.split-panel > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
}
.split-panel h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: var(--sp-4);
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   7. Timeline (admission process)
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 26px;
  bottom: 26px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal-500), var(--navy-100));
}
.timeline > li {
  position: relative;
  padding: 0 0 var(--sp-5) 68px;
  margin: 0;
}
.timeline > li:last-child { padding-bottom: 0; }
.timeline .step-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--navy-700);
  box-shadow: var(--sh-xs);
  z-index: 1;
}
.timeline > li:hover .step-dot {
  border-color: var(--teal-500);
  color: var(--teal-700);
}
.timeline h3 {
  font-size: 1.04rem;
  margin-bottom: 5px;
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}
.timeline h3 .step-n {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal-700);
  text-transform: uppercase;
  font-family: var(--font-head);
}
.timeline p { color: var(--muted); font-size: 0.93rem; margin: 0; line-height: 1.62; }

/* Two-column timeline on wide screens */
.timeline-2col { grid-template-columns: 1fr 1fr; column-gap: var(--sp-6); }
.timeline-2col::before { display: none; }
.timeline-2col > li { padding-bottom: var(--sp-5); }

/* --------------------------------------------------------------------------
   8. FAQ accordion
   -------------------------------------------------------------------------- */
.faq {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}
.faq-item + .faq-item { border-top: 1px solid var(--line-soft); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 18px var(--sp-5);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 650;
  color: var(--navy-900);
  line-height: 1.45;
  transition: background 0.16s var(--ease);
}
.faq-q:hover { background: var(--navy-050); }
.faq-q .ico {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--navy-050);
  display: grid;
  place-items: center;
  color: var(--navy-700);
  transition: transform 0.22s var(--ease), background 0.18s var(--ease);
  margin-top: 1px;
}
.faq-q[aria-expanded="true"] { color: var(--teal-700); }
.faq-q[aria-expanded="true"] .ico {
  transform: rotate(45deg);
  background: var(--teal-050);
  color: var(--teal-700);
}
/* Animated open/close using a 0fr→1fr grid row, which transitions smoothly
   without needing a measured pixel height. The panel stays in the DOM at all
   times so the answers remain crawlable, printable and findable with Ctrl+F. */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 78ch;
  transition: grid-template-rows 0.3s cubic-bezier(0.22, 0.68, 0, 1), opacity 0.22s var(--ease);
}
.faq-a-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 var(--sp-5);
}
.faq-a.open {
  grid-template-rows: 1fr;
  opacity: 1;
}
.faq-a.open .faq-a-inner { padding-bottom: 20px; }
.faq-a p { margin-bottom: 10px; }
.faq-a p:last-child { margin-bottom: 0; }

/* Browsers without grid-row interpolation still show the content. */
@supports not (grid-template-rows: 1fr) {
  .faq-a { display: block; height: 0; overflow: hidden; }
  .faq-a.open { height: auto; }
}

/* --------------------------------------------------------------------------
   9. Tables
   -------------------------------------------------------------------------- */
.table-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  -webkit-overflow-scrolling: touch;
  /* A fade on the right edge that disappears once scrolled to the end, so it
     is obvious there is more table off-screen. */
  background-image: linear-gradient(to right, rgba(8, 46, 80, 0.09), rgba(8, 46, 80, 0));
  background-position: right center;
  background-size: 26px 100%;
  background-repeat: no-repeat;
  background-attachment: local, scroll;
  scrollbar-width: thin;
}
.table-wrap::-webkit-scrollbar { height: 10px; }
.table-wrap::-webkit-scrollbar-track { background: var(--surface-soft); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.table-wrap::-webkit-scrollbar-thumb { background: var(--navy-100); border-radius: var(--r-pill); }
.table-wrap::-webkit-scrollbar-thumb:hover { background: var(--navy-500); }

table.data {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  min-width: 720px;
}
table.data caption {
  caption-side: top;
  text-align: left;
  padding: var(--sp-4) var(--sp-5) 0;
  font-size: 0.85rem;
  color: var(--muted);
}
table.data th,
table.data td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
table.data thead th {
  background: var(--navy-050);
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-700);
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
}
table.data tbody tr:last-child td,
table.data tbody tr:last-child th { border-bottom: 0; }
table.data tbody tr { transition: background 0.15s var(--ease); }
table.data tbody tr:hover { background: var(--navy-050); }
table.data tbody tr:hover th:first-child { background: var(--navy-050); }
table.data td strong { color: var(--navy-800); font-weight: 650; }

/* The first column stays put while the rest scrolls, so a row never loses the
   name that identifies it. */
table.data th:first-child,
table.data td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  min-width: 190px;
  box-shadow: 1px 0 0 var(--line-soft);
}
table.data thead th:first-child {
  z-index: 3;
  background: var(--navy-050);
}
table.data th:first-child a { font-weight: 650; }

.scroll-hint {
  font-size: 0.78rem;
  color: var(--muted-light);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
/* Only worth saying when the table cannot fit. */
@media (min-width: 1100px) {
  .article-body--wide .scroll-hint { display: none; }
}

/* --------------------------------------------------------------------------
   10. Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--sh-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--navy-800);
}
.field label .req { color: #c2410c; }
.field .hint { font-size: 0.78rem; color: var(--muted); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%235f7286' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M3 4.5L6 7.5 9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 13px;
  padding-right: 38px;
}
.field textarea { min-height: 118px; resize: vertical; }

/* Checkboxes and radios must not inherit the text-input box. Done with a type
   selector rather than :not() on the rule above, so that lower-specificity
   overrides like `.filter-search input { padding-left }` still apply. */
.field input[type="checkbox"],
.field input[type="radio"] {
  width: auto;
  padding: 0;
  border: 0;
  appearance: auto;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 161, 0.16);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #d14343;
  box-shadow: 0 0 0 3px rgba(209, 67, 67, 0.12);
}
.field .err {
  font-size: 0.79rem;
  color: #c02b2b;
  min-height: 0;
  display: none;
}
.field .err.show { display: block; }

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
}
.form-consent input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  padding: 0;
  border: 0;
  accent-color: var(--teal-600);
  flex: none;
  appearance: auto;
  cursor: pointer;
}
.form-status {
  display: none;
  margin-top: var(--sp-4);
  padding: 13px 16px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  line-height: 1.55;
}
.form-status.show { display: block; }
.form-status.ok { background: var(--teal-050); border: 1px solid var(--teal-100); color: var(--teal-700); }
.form-status.bad { background: #fdeeee; border: 1px solid #f5cccc; color: #a83232; }
.form-status.pending { background: var(--navy-050); border: 1px solid var(--navy-100); color: var(--navy-700); }
.form-status a { color: inherit; font-weight: 650; text-decoration: underline; }

/* The honeypot has to stay in the DOM for bots to find, while being invisible
   and unfocusable for people. Clipped rather than moved off-canvas — a
   negative offset would widen the document, the same bug the skip link had. */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   11. College directory
   -------------------------------------------------------------------------- */
.filter-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--sh-xs);
  margin-bottom: var(--sp-6);
}
.filter-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-3);
  align-items: end;
}
.filter-search { position: relative; }
/* Anchored to the bottom so it centres on the input, not on the
   label-plus-input stack. */
.filter-search svg {
  position: absolute;
  left: 13px;
  bottom: 14px;
  color: var(--muted-light);
  pointer-events: none;
}
.filter-search input { padding-left: 40px; }
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-soft);
}
.chip {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.16s var(--ease);
}
.chip:hover { border-color: var(--navy-500); color: var(--navy-800); }
.chip[aria-pressed="true"] {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}

.result-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
  font-size: 0.89rem;
  color: var(--muted);
}
.result-meta strong { color: var(--navy-800); }

.college-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  height: 100%;
}
.college-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--navy-100);
}
.college-card .cc-top {
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  border-bottom: 1px solid var(--line-soft);
}
.college-card .cc-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.college-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  line-height: 1.32;
}
.college-card h3 a { color: var(--navy-900); }
.college-card h3 a:hover { color: var(--navy-600); text-decoration: none; }
.college-card .cc-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}
.college-card .cc-body {
  padding: var(--sp-4) var(--sp-5);
  flex: 1;
}
.cc-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px var(--sp-4);
  margin: 0;
}
.cc-specs dt {
  font-size: 0.71rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-light);
  font-weight: 700;
  font-family: var(--font-head);
  margin-bottom: 2px;
}
.cc-specs dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--navy-800);
  font-weight: 600;
  line-height: 1.4;
}
.college-card .cc-foot {
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--line-soft);
  background: var(--surface-soft);
  display: flex;
  gap: 10px;
}
/* Keep both actions on one line at every card width in the 3-column grid. */
.college-card .cc-foot .btn {
  flex: 1;
  white-space: nowrap;
  padding-inline: 12px;
  font-size: 0.84rem;
}
.cc-verify {
  font-size: 0.75rem;
  color: var(--muted-light);
  padding: 0 var(--sp-5) var(--sp-4);
}

.empty-state {
  text-align: center;
  padding: var(--sp-8) var(--sp-5);
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-soft);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   12. Blog
   -------------------------------------------------------------------------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 100%;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--navy-100);
}
.post-card .pc-thumb {
  aspect-ratio: 16 / 9;
  background: var(--navy-050);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.post-card .pc-thumb svg { width: 100%; height: 100%; display: block; }
.post-card .pc-body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.post-card h3 { font-size: 1.05rem; line-height: 1.38; margin-bottom: 9px; }
.post-card h3 a { color: var(--navy-900); }
.post-card h3 a:hover { color: var(--navy-600); text-decoration: none; }
.post-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: var(--sp-4); flex: 1; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--muted-light);
}
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

/* --------------------------------------------------------------------------
   13. Article / long-form typography
   -------------------------------------------------------------------------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: var(--sp-8);
  align-items: start;
}
.article-body { max-width: 76ch; }

/* Full-width variant: the column spans the whole container so wide tables fit,
   while running text keeps a comfortable reading measure. */
.article-body--wide { max-width: none; }
.article-body--wide > p,
.article-body--wide > ul,
.article-body--wide > ol,
.article-body--wide > blockquote,
.article-body--wide > .note,
.article-body--wide > h2,
.article-body--wide > h3 { max-width: 78ch; }
.article-body > h2 {
  margin-top: var(--sp-7);
  padding-top: var(--sp-2);
  scroll-margin-top: 100px;
}
.article-body > h2:first-child { margin-top: 0; }
.article-body > h3 { margin-top: var(--sp-6); scroll-margin-top: 100px; }
.article-body p,
.article-body li { font-size: 1.005rem; line-height: 1.78; }
.article-body ul,
.article-body ol { margin-bottom: var(--sp-5); }
.article-body img { border-radius: var(--r-md); margin: var(--sp-5) 0; }
.article-body blockquote {
  margin: var(--sp-5) 0;
  padding: var(--sp-4) var(--sp-5);
  border-left: 3px solid var(--teal-500);
  background: var(--teal-050);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 1rem;
  color: var(--navy-800);
}
.article-body blockquote p:last-child { margin-bottom: 0; }

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding: var(--sp-4) 0;
  margin-bottom: var(--sp-6);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.article-meta .author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--navy-800);
}
.article-meta .avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy-100);
  color: var(--navy-700);
  display: grid;
  place-items: center;
  flex: none;
}

.toc {
  position: sticky;
  top: 96px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
}
.toc h2 {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: var(--sp-3);
  font-weight: 700;
}
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { margin-bottom: 3px; }
.toc a {
  display: block;
  font-size: 0.855rem;
  line-height: 1.45;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  border-left: 2px solid transparent;
}
.toc a:hover { background: #fff; color: var(--navy-800); text-decoration: none; }
.toc a.active {
  background: #fff;
  color: var(--navy-800);
  font-weight: 600;
  border-left-color: var(--teal-500);
}

.side-cta {
  margin-top: var(--sp-5);
  background: var(--navy-800);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  color: #c9dcea;
}
.side-cta h3 { color: #fff; font-size: 1.02rem; margin-bottom: 8px; }
.side-cta p { font-size: 0.87rem; margin-bottom: var(--sp-4); line-height: 1.55; }

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(700px 340px at 82% 10%, rgba(20, 184, 161, 0.2), transparent 62%),
    var(--navy-800);
  color: #c9dcea;
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p {
  max-width: 58ch;
  margin: 0 auto var(--sp-5);
  color: #b9cede;
  font-size: 1.03rem;
}
.cta-band .fine {
  margin-top: var(--sp-5);
  font-size: 0.82rem;
  color: #8daac3;
}
.cta-band-full {
  border-radius: 0;
  padding: var(--sp-9) 0;
}

/* --------------------------------------------------------------------------
   15. Stats / trust row
   -------------------------------------------------------------------------- */
.value-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.value-item { text-align: center; padding: var(--sp-3) var(--sp-2); }
.value-item .ico {
  width: 42px; height: 42px;
  margin: 0 auto 12px;
  border-radius: var(--r-md);
  background: var(--teal-050);
  color: var(--teal-700);
  display: grid;
  place-items: center;
}
.value-item .k {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-900);
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.value-item .v { font-size: 0.84rem; color: var(--muted); line-height: 1.5; }

/* --------------------------------------------------------------------------
   16. Testimonial placeholder
   -------------------------------------------------------------------------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  height: 100%;
}
.testimonial .quote-mark { color: var(--teal-100); margin-bottom: var(--sp-3); }
.testimonial blockquote { margin: 0 0 var(--sp-4); font-size: 1rem; color: var(--ink-soft); line-height: 1.7; }
.testimonial .who { display: flex; align-items: center; gap: 12px; }
.testimonial .who .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy-050);
  color: var(--navy-600);
  display: grid;
  place-items: center;
  flex: none;
}
.testimonial .who .n { font-family: var(--font-head); font-weight: 650; color: var(--navy-900); font-size: 0.92rem; }
.testimonial .who .m { font-size: 0.8rem; color: var(--muted); }

.pending-panel {
  text-align: center;
  border: 1px dashed var(--navy-100);
  background: var(--navy-050);
  border-radius: var(--r-lg);
  padding: var(--sp-7) var(--sp-5);
}
.pending-panel .ico {
  width: 52px; height: 52px;
  margin: 0 auto var(--sp-4);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--navy-600);
  display: grid;
  place-items: center;
  box-shadow: var(--sh-xs);
}
.pending-panel p { max-width: 56ch; margin-inline: auto; color: var(--muted); }

/* --------------------------------------------------------------------------
   17. Team placeholder cards
   -------------------------------------------------------------------------- */
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  text-align: center;
  height: 100%;
}
.team-card .ph {
  width: 76px; height: 76px;
  margin: 0 auto var(--sp-4);
  border-radius: 50%;
  background: linear-gradient(160deg, var(--navy-050), var(--teal-050));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--navy-500);
}
.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card .role {
  font-size: 0.82rem;
  color: var(--teal-700);
  font-weight: 600;
  margin-bottom: 10px;
}
.team-card p { font-size: 0.87rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   18. Comparison / two-panel
   -------------------------------------------------------------------------- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
.compare-col {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  background: #fff;
}
.compare-col.highlight {
  border-color: var(--teal-100);
  background: var(--teal-050);
}
.compare-col h3 { font-size: 1.05rem; margin-bottom: var(--sp-4); }

/* --------------------------------------------------------------------------
   19. Media object (icon + text rows)
   -------------------------------------------------------------------------- */
.media {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.media .m-ico {
  width: 42px; height: 42px;
  flex: none;
  border-radius: var(--r-md);
  background: var(--navy-050);
  color: var(--navy-700);
  display: grid;
  place-items: center;
}
.media h3 { font-size: 1rem; margin-bottom: 5px; }
.media p { font-size: 0.91rem; color: var(--muted); margin: 0; line-height: 1.62; }

/* --------------------------------------------------------------------------
   20. Two-column feature block
   -------------------------------------------------------------------------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.feature-split.reverse .fs-visual { order: -1; }
.fs-visual img,
.fs-visual svg { border-radius: var(--r-xl); width: 100%; display: block; }

/* --------------------------------------------------------------------------
   21. Cost breakdown card
   -------------------------------------------------------------------------- */
.cost-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 100%;
}
.cost-card .cc-h {
  padding: var(--sp-4) var(--sp-5);
  background: var(--navy-050);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 11px;
}
.cost-card .cc-h h3 { margin: 0; font-size: 1rem; }
.cost-card .cc-c { padding: var(--sp-5); }
.cost-card ul { list-style: none; padding: 0; margin: 0; }
.cost-card li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px var(--sp-4);
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}
.cost-card li:last-child { border-bottom: 0; }
.cost-card li span:first-child { min-width: 0; }
/* Wraps to its own line rather than squeezing the label when the card is narrow. */
.cost-card li span:last-child {
  color: var(--muted);
  font-weight: 600;
  text-align: right;
  margin-left: auto;
}

/* --------------------------------------------------------------------------
   22. Anchor nav (in-page pills)
   -------------------------------------------------------------------------- */
.anchor-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  margin: 0;
  list-style: none;
  scrollbar-width: thin;
}
.anchor-nav li { margin: 0; flex: none; }
.anchor-nav a {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.83rem;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  white-space: nowrap;
}
.anchor-nav a:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
  text-decoration: none;
}
.anchor-strip {
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
  position: sticky;
  top: var(--header-h);
  z-index: 90;
}

/* --------------------------------------------------------------------------
   23. Related links grid
   -------------------------------------------------------------------------- */
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-3); }
.link-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 15px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-weight: 620;
  font-size: 0.92rem;
  color: var(--navy-800);
  transition: all 0.16s var(--ease);
}
.link-tile:hover {
  border-color: var(--navy-500);
  color: var(--navy-900);
  text-decoration: none;
  transform: translateX(3px);
  box-shadow: var(--sh-sm);
}
.link-tile svg { color: var(--teal-600); flex: none; transition: transform 0.18s var(--ease); }
.link-tile:hover svg { transform: translate(2px, -2px); }

/* ==========================================================================
   24. Motion — interaction detail
   All of this is disabled wholesale by the prefers-reduced-motion block in
   style.css, so it never gets in the way of anyone who has opted out.
   ========================================================================== */

/* Cards lift a little further and their icon responds, so hover feels
   deliberate rather than incidental. */
.card-hover { will-change: transform; }
.card-icon,
.media .m-ico,
.value-item .ico,
.cost-card .cc-h .card-icon {
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), background-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
.card-hover:hover .card-icon,
.media:hover .m-ico {
  transform: translateY(-2px) scale(1.07);
  background: var(--teal-050);
  color: var(--teal-700);
}

/* College and post cards raise their heading colour on hover too. */
.college-card h3 a,
.post-card h3 a { transition: color 0.18s var(--ease); }
.college-card:hover h3 a,
.post-card:hover h3 a { color: var(--navy-600); }

.post-card .pc-thumb svg { transition: transform 0.5s cubic-bezier(0.22, 0.68, 0, 1); }
.post-card:hover .pc-thumb svg { transform: scale(1.05); }

/* Timeline: the marker fills in as you move down the steps. */
.timeline .step-dot {
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), border-color 0.22s var(--ease),
    background-color 0.22s var(--ease), color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.timeline > li:hover .step-dot {
  transform: scale(1.08);
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: #fff;
  box-shadow: 0 8px 20px rgba(14, 156, 139, 0.28);
}

/* Buttons: the trailing icon nudges in the direction of travel. */
.btn svg { transition: transform 0.2s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn-whatsapp:hover svg,
.btn:hover svg:first-child:last-child { transform: none; }

/* Chips and badges */
.chip { transition: all 0.16s var(--ease), transform 0.16s cubic-bezier(0.34, 1.4, 0.64, 1); }
.chip:hover { transform: translateY(-1px); }

/* Promise figures scale in with the section. */
.promise { transition: transform 0.25s var(--ease), background-color 0.25s var(--ease); }
.promise:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.09); }

/* Footer and nav links get an underline that grows from the left. */
.footer-list a,
.nav-dropdown a { position: relative; }
.footer-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width 0.22s var(--ease);
}
.footer-list a:hover::after { width: 100%; }

/* Anchor pills */
.anchor-nav a { transition: background 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease); }
.anchor-nav a:hover { transform: translateY(-1px); }
