/* ProMod Education — Main Stylesheet v2 (mobile-first, modern) */

/* ── Rich CKEditor content typography ─────── */
.rich-content { color: var(--text-body); line-height: 1.9; font-size: .92rem; }
.rich-content h2 {
  font-size: 1.1rem; font-weight: 800; color: #0d1b3e;
  margin: 28px 0 12px; padding-bottom: 8px;
  border-bottom: 2px solid rgba(26,86,219,.12);
  display: flex; align-items: center; gap: 8px;
}
.rich-content h2::before {
  content: ''; display: inline-block;
  width: 4px; height: 18px;
  background: #1a56db; border-radius: 2px; flex-shrink: 0;
}
.rich-content h3 {
  font-size: .96rem; font-weight: 700; color: #0d1b3e;
  margin: 20px 0 10px;
}
.rich-content h4 { font-size: .9rem; font-weight: 700; color: #374151; margin: 14px 0 6px; }
.rich-content h2:first-child, .rich-content h3:first-child, .rich-content h4:first-child { margin-top: 0; }
.rich-content p  { margin: 0 0 14px; }
.rich-content ul { list-style: none; padding: 0; margin: 0 0 16px; }
.rich-content ul li {
  position: relative; padding: 5px 0 5px 22px;
  border-bottom: 1px solid #f0f2f8;
  color: #374151;
}
.rich-content ul li:last-child { border-bottom: none; }
.rich-content ul li::before {
  content: '';
  position: absolute; left: 0; top: 13px;
  width: 8px; height: 8px;
  background: #1a56db; border-radius: 50%;
}
.rich-content ol { padding-left: 22px; margin: 0 0 16px; counter-reset: rc-ol; list-style: none; }
.rich-content ol li { counter-increment: rc-ol; padding: 5px 0 5px 8px; position: relative; }
.rich-content ol li::before { content: counter(rc-ol) '.'; position: absolute; left: -18px; color: #1a56db; font-weight: 700; }
.rich-content strong { color: #0d1b3e; font-weight: 700; }
.rich-content a  { color: #1a56db; text-decoration: underline; }
.rich-content blockquote {
  border-left: 4px solid #1a56db;
  padding: 12px 18px; margin: 18px 0;
  background: rgba(26,86,219,.05);
  border-radius: 0 10px 10px 0;
  font-style: italic; color: #374151;
}
.rich-content table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: .86rem; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.rich-content table th { background: #0d1b3e; color: #fff; padding: 10px 14px; text-align: left; font-size: .78rem; letter-spacing: .04em; }
.rich-content table td { padding: 10px 14px; border-bottom: 1px solid #e5e7eb; }
.rich-content table tr:nth-child(even) td { background: #f1f5fd; }
.rich-content table tr:hover td { background: rgba(26,86,219,.04); }
:root {
  --primary:      #1a56db;
  --primary-dark: #0b1f4b;
  --secondary:    #059669;
  --secondary-l:  #10b981;
  --accent:       #f59e0b;
  --accent-d:     #d97706;
  --danger:       #ef4444;
  --text-head:    #0d1b3e;
  --text-body:    #374151;
  --text-muted:   #6b7280;
  --text-light:   #9ca3af;
  --bg-surface:   #f1f5fd;
  --border:       #e5e7eb;
  --border2:      #e8edf8;
  --white:        #ffffff;
  --off-white:    #f8faff;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.07), 0 2px 6px rgba(0,0,0,.04);
  --shadow-md:    0 4px 12px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.04);
  --shadow-hover: 0 8px 32px rgba(26,86,219,.12);
  --shadow-lg:    0 10px 40px rgba(11,31,75,.14);
  --header-h:     64px;
  --footer-mob:   68px;
  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --transition:   all 0.2s ease;
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; overflow-x: hidden }
body { font-family: var(--font); background: var(--off-white); color: var(--text-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden }
img { max-width: 100%; display: block }
a { color: inherit; text-decoration: none }
ul { list-style: none }
button, input, select, textarea { font-family: inherit }
h1, h2, h3, h4, h5, h6 { color: var(--text-head); font-weight: 700; line-height: 1.3 }
h1 { font-size: clamp(1.5rem, 4vw, 2.4rem) }
h2 { font-size: clamp(1.2rem, 3vw, 1.9rem) }
h3 { font-size: 1.2rem } h4 { font-size: 1rem }
p { color: var(--text-body) }

/* ── Layout ─────────────────────────────────── */
.container    { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px }
.container-xl { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px }
.section-pad    { padding: 64px 0 }
.section-pad-sm { padding: 40px 0 }
.bg-white   { background: var(--white) }
.bg-surface { background: var(--bg-surface) }

/* ── Responsive Grid Classes (CSS-only, no inline style needed) ── */

/* Base: single column mobile-first */
.g-2, .g-3, .g-4,
.g-sidebar, .g-detail {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

/* Sidebar layout: content then sidebar on mobile */
.g-sidebar { gap: 24px }
.g-detail  { gap: 28px }

/* 2-column at tablet */
@media (min-width: 600px) {
  .g-2       { grid-template-columns: repeat(2, 1fr) }
  .g-3       { grid-template-columns: repeat(2, 1fr) }
  .g-4       { grid-template-columns: repeat(2, 1fr) }
}
/* 3/4-column at desktop */
@media (min-width: 1024px) {
  .g-2       { grid-template-columns: repeat(2, 1fr) }
  .g-3       { grid-template-columns: repeat(3, 1fr) }
  .g-4       { grid-template-columns: repeat(4, 1fr) }
  .g-sidebar { grid-template-columns: 1fr 240px }
  .g-detail  { grid-template-columns: 1fr 360px }
}

/* Sidebar column — sticky on desktop */
.sidebar-col { width: 100%; position: sticky; top: 80px }

/* ── Section heading ────────────────────────── */
.sec-head  { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 12px }
.sec-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); margin-bottom: 6px }
.sec-title { font-size: clamp(1.3rem,3vw,1.8rem); font-weight: 800; color: var(--text-head); line-height: 1.25 }
.sec-title span { color: var(--primary) }
.sec-sub   { font-size: .88rem; color: var(--text-muted); margin-top: 5px }
.sec-link  { font-size: .82rem; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 4px; white-space: nowrap }
.sec-link:hover { color: var(--primary-dark) }

/* ── Animations ─────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px) }
  to   { opacity: 1; transform: translateY(0) }
}
@keyframes enqIn {
  from { transform: scale(.92) translateY(16px); opacity: 0 }
  to   { transform: scale(1)  translateY(0);    opacity: 1 }
}
@keyframes enqSpin { to { transform: rotate(360deg) } }

.fade-up    { animation: fadeUp .4s ease both }
.stagger-1  { animation-delay: .08s }
.stagger-2  { animation-delay: .16s }
.stagger-3  { animation-delay: .24s }

/* ── Pill badge & chip ──────────────────────── */
.pill-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: rgba(26,86,219,.09); color: var(--primary);
}
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 14px; border-radius: 20px;
  font-size: .82rem; font-weight: 500;
  border: 1.5px solid var(--border); color: var(--text-body);
  background: var(--white); cursor: pointer;
  transition: var(--transition);
}
.chip:hover, .chip.active {
  background: rgba(26,86,219,.07); border-color: var(--primary); color: var(--primary);
}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 22px; border-radius: 8px;
  font-size: .88rem; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; border: none;
  transition: var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-primary      { background: var(--primary); color: #fff }
.btn-primary:hover { background: var(--primary-dark) }
.btn-outline      { background: transparent; color: var(--primary); border: 1.5px solid var(--primary) }
.btn-outline:hover { background: var(--primary); color: #fff }
.btn-white        { background: #fff; color: var(--primary-dark) }
.btn-white:hover  { background: var(--bg-surface) }
.btn-teal         { background: var(--secondary); color: #fff }
.btn-teal:hover   { background: var(--secondary-l) }
.btn-gold         { background: var(--accent); color: #fff }
.btn-gold:hover   { background: var(--accent-d) }
.btn-sm  { padding: 7px 14px; font-size: .8rem }
.btn-lg  { padding: 14px 28px; font-size: .96rem }
.btn-full { width: 100% }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35) }
.btn-outline-white:hover { background: rgba(255,255,255,.1) }

/* ── Card ───────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: #c5d3ef;
}

/* ── Header ─────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 900; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); height: var(--header-h) }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 20px }
.logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0 }
.logo-icon { width: 38px; height: 38px; background: linear-gradient(135deg,var(--primary-dark),var(--primary)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #fff; font-weight: 800 }
.logo-text { font-size: 1.15rem; font-weight: 800; color: var(--primary-dark); line-height: 1.1 }
.logo-text span { color: var(--primary) }
.logo-tagline { font-size: .62rem; color: var(--text-muted); font-weight: 400 }
.header-search { flex: 1; max-width: 420px; display: flex; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--bg-surface) }
.header-search input { flex: 1; border: none; background: transparent; padding: 0 14px; font-size: .85rem; outline: none; color: var(--text-body); height: 40px }
.header-search button { background: var(--primary); border: none; padding: 0 14px; color: #fff; cursor: pointer; font-size: .9rem; display: flex; align-items: center; justify-content: center; transition: background .15s }
.header-search button:hover { background: var(--primary-dark) }
.header-nav { margin-left: auto }
.nav-list { display: flex; align-items: center; gap: 2px }
.nav-list > li { position: relative }
.nav-list a { display: block; padding: 8px 12px; font-size: .84rem; font-weight: 500; color: var(--text-body); border-radius: 7px; transition: background .15s, color .15s; white-space: nowrap }
.nav-list a:hover, .nav-list a.active { background: rgba(26,86,219,.08); color: var(--primary); font-weight: 600 }
.nav-list .nav-cta { background: var(--primary); color: #fff !important; padding: 8px 16px; border-radius: 7px; font-weight: 600 }
.nav-list .nav-cta:hover { background: var(--primary-dark) }
.nav-list .has-sub .sub-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; background: #fff; border: 1px solid var(--border); border-radius: 12px; min-width: 210px; box-shadow: 0 12px 40px rgba(11,31,75,.14); padding: 6px; z-index: 999; animation: subIn .16s ease }
.nav-list .has-sub:hover .sub-menu { display: block }
.nav-list .sub-menu li a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: .83rem; border-radius: 8px; color: var(--text-body) }
.nav-list .sub-menu li a:hover { background: var(--bg-surface); color: var(--primary) }
@keyframes subIn { from { opacity:0; transform: translateY(-4px) } to { opacity:1; transform: translateY(0) } }

/* ── Header Promo Button ── */
.hdr-promo-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--hpbc, #f59e0b); color: #fff !important;
  font-size: .78rem; font-weight: 800; text-decoration: none;
  padding: 8px 14px; border-radius: 9px; white-space: nowrap;
  box-shadow: 0 3px 12px color-mix(in srgb, var(--hpbc, #f59e0b) 40%, transparent);
  transition: filter .14s, transform .12s;
  cursor: pointer; border: none; flex-shrink: 0;
  margin-left: auto;
}
.hdr-promo-btn:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff !important }
.hdr-promo-btn i { font-size: .85rem }
/* Desktop: margin-left auto already handled by nav pushing right */
.hdr-promo-btn { margin-left: 0 }

/* Mobile: button stays visible, hide on desktop nav side */
@media (min-width: 1025px) {
  /* On desktop, button sits after nav — handled naturally */
  .hdr-promo-btn span { display: inline }
}
@media (max-width: 1024px) {
  /* Mobile: show prominently on right */
  .hdr-promo-btn {
    margin-left: auto;
    padding: 7px 12px;
    font-size: .72rem;
  }
  .hdr-promo-btn span { display: inline }
}

/* ══════════════════════════════════════════════
   Mega Menu — Premium Design
   ══════════════════════════════════════════════ */
/* Mega menu needs relative context on the header — keep sticky via !important */
.site-header { position: sticky !important; top: 0 !important; z-index: 900 !important }
.has-mega { position: static !important }

.has-mega > a { position: relative }
.has-mega > a::after {
  content: ''; position: absolute;
  left: -20px; right: -20px; bottom: -14px; height: 14px;
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #fff;
  border-top: 3px solid var(--primary);
  box-shadow: 0 20px 60px rgba(11,31,75,.2), 0 4px 12px rgba(11,31,75,.08);
  z-index: 1000;
  animation: subIn .18s cubic-bezier(.4,0,.2,1);
}
.has-mega:hover .mega-menu { display: block }

.mega-wrap { max-width: 1100px; margin: 0 auto; }

/* Promo strip */
.mega-promo {
  background: linear-gradient(90deg,#050e24,#0f2252 60%,#1a3577);
  padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.mega-promo-text {
  color: rgba(255,255,255,.65); font-size: .74rem; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.mega-promo-text strong { color: #fff; font-weight: 700 }
.mega-promo-text .mp-dot { width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.25);flex-shrink:0 }
.mega-promo-cta {
  background: var(--primary); border: none;
  color: #fff; border-radius: 6px; padding: 6px 16px;
  font-size: .72rem; font-weight: 700; text-decoration: none;
  transition: opacity .15s; white-space: nowrap;
}
.mega-promo-cta:hover { opacity: .88 }

/* Inner flex */
.mega-inner { display: flex; }

/* ── Left dark sidebar ── */
.mega-sidebar {
  width: 195px; flex-shrink: 0;
  background: linear-gradient(180deg,#07122a 0%,#0d1b3e 100%);
  padding: 12px 0 12px;
  overflow: hidden;
}
.mega-sidebar-head {
  font-size: .57rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .14em; color: rgba(255,255,255,.25);
  padding: 0 14px 8px;
}
.mega-stream-link {
  display: flex !important; flex-direction: row !important;
  align-items: center !important; flex-wrap: nowrap !important;
  gap: 8px;
  padding: 8px 12px 8px 14px;
  text-decoration: none;
  transition: background .12s;
  border-left: 3px solid transparent;
  position: relative;
}
.mega-stream-link:hover { background: rgba(255,255,255,.05); border-left-color: rgba(255,255,255,.2) }
.mega-stream-link.active { background: rgba(255,255,255,.09); border-left-color: var(--primary) }
.mega-stream-link.active .mega-stream-name { color: #fff }
.mega-stream-link.active::after {
  content:''; position:absolute; right:-1px; top:50%;
  transform:translateY(-50%);
  border:6px solid transparent; border-right-color:#fff;
}
.mega-stream-icon {
  width: 26px; height: 26px; min-width: 26px; border-radius: 6px;
  display: flex !important; align-items: center; justify-content: center;
  font-size: .78rem; flex-shrink: 0;
}
.mega-stream-name {
  font-size: .77rem; font-weight: 600; color: rgba(255,255,255,.58);
  line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .12s; flex: 1; min-width: 0;
}
.mega-stream-link:hover .mega-stream-name { color: rgba(255,255,255,.82) }
.mega-sidebar-footer {
  padding: 8px 14px 0; margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.mega-sidebar-footer a {
  font-size: .72rem; font-weight: 700; color: #4f8ef7;
  text-decoration: none; display: flex; align-items: center; gap: 5px;
}
.mega-sidebar-footer a:hover { color: #7aadff }

/* ── Right body ── */
.mega-body {
  flex: 1; padding: 16px 20px 14px;
  display: flex; flex-direction: column; background: #fff;
}
.mega-body-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; padding-bottom: 11px; border-bottom: 1px solid #eef0f6;
}
.mega-body-title {
  font-size: .78rem; font-weight: 800; color: var(--navy);
  display: flex; align-items: center; gap: 7px;
}
.mega-body-title i { color: var(--primary) }
.mega-body-link {
  font-size: .72rem; font-weight: 700; color: var(--primary);
  text-decoration: none; display: flex; align-items: center; gap: 4px;
  background: #eef3ff; border: 1px solid #c7d7ff;
  padding: 5px 12px; border-radius: 20px; transition: background .15s;
}
.mega-body-link:hover { background: #dde8ff }

/* Course items — bordered rows, 3-col */
.mega-course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  align-items: start;
}
.mega-course-card {
  display: flex !important; flex-direction: row !important;
  align-items: center !important; flex-wrap: nowrap !important;
  gap: 8px; padding: 8px 10px; border-radius: 9px;
  text-decoration: none; overflow: hidden;
  border: 1.5px solid #e8eef8;
  transition: border-color .14s, background .14s, box-shadow .14s;
  background: #fff; align-self: start;
}
.mega-course-card:hover {
  border-color: #a5b4f8;
  background: #f4f7ff;
  box-shadow: 0 2px 8px rgba(26,86,219,.08);
}
.mega-course-icon {
  width: 26px; height: 26px; min-width: 26px; max-width: 26px;
  border-radius: 6px; flex-shrink: 0;
  display: inline-flex !important; align-items: center; justify-content: center;
  font-size: .78rem; color: #fff;
  background: linear-gradient(135deg,#0d1b3e,#2563eb);
}
.mega-course-name {
  font-size: .76rem; font-weight: 600; color: #1e293b;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1; min-width: 0; line-height: 1;
}
.mega-course-arrow {
  color: #c8d4ec; font-size: .6rem; flex-shrink: 0;
  transition: color .12s, transform .12s;
}
.mega-course-card:hover .mega-course-arrow { color: var(--primary); transform: translateX(2px) }

/* University items */
.mega-uni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  align-items: start;
}
.mega-uni-card {
  display: flex !important; flex-direction: row !important;
  align-items: center !important; flex-wrap: nowrap !important;
  gap: 8px; padding: 8px 10px; border-radius: 9px;
  text-decoration: none; overflow: hidden;
  border: 1.5px solid #e8eef8;
  transition: border-color .14s, background .14s, box-shadow .14s;
  background: #fff; align-self: start;
}
.mega-uni-card:hover {
  border-color: #a5b4f8; background: #f4f7ff;
  box-shadow: 0 2px 8px rgba(26,86,219,.08);
}
.mega-uni-abbr {
  width: 26px; height: 26px; min-width: 26px; max-width: 26px;
  border-radius: 6px; flex-shrink: 0;
  background: linear-gradient(135deg,#07122a,#1e40af);
  color: #fff; font-weight: 900; font-size: .58rem;
  display: inline-flex !important; align-items: center; justify-content: center;
  text-align: center; line-height: 1.1;
}
.mega-uni-name {
  font-size: .76rem; font-weight: 600; color: #1e293b;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  flex: 1; min-width: 0; line-height: 1;
}
.mega-uni-arrow { color: #c8d4ec; font-size: .6rem; flex-shrink: 0; transition: color .12s }
.mega-uni-card:hover .mega-uni-arrow { color: var(--primary) }

/* Footer quick-links */
.mega-footer-strip {
  margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef0f6;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.mega-footer-strip a {
  font-size: .72rem; font-weight: 600; color: #64748b;
  text-decoration: none; display: flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 20px; background: #f8fafc;
  border: 1px solid #e2e8f0; transition: all .14s;
}
.mega-footer-strip a:hover { color: var(--primary); border-color: #c7d7ff; background: #eef3ff }
.mega-footer-strip a i { font-size: .7rem; color: var(--primary) }

/* ── Mobile sidebar accordion ── */
.mob-acc-item { border-bottom: 1px solid rgba(255,255,255,.07) }
.mob-acc-item.open { background: rgba(255,255,255,.03) }
.mob-acc-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 13px 16px; font-family: inherit; transition: background .12s;
}
.mob-acc-toggle:hover { background: rgba(255,255,255,.04) }
.mob-acc-toggle-left { display: flex; align-items: center; gap: 10px }
.mob-acc-toggle-left i { font-size: .95rem }
.mob-acc-toggle-left span { font-size: .86rem; font-weight: 700; color: rgba(255,255,255,.85); letter-spacing: .01em }
.mob-acc-chevron { color: rgba(255,255,255,.25); font-size: .72rem; transition: transform .22s; flex-shrink: 0 }
.mob-acc-item.open .mob-acc-chevron { transform: rotate(180deg) }
.mob-acc-body { display: none; background: rgba(0,0,0,.12); padding: 6px 0 10px; border-top: 1px solid rgba(255,255,255,.05) }
.mob-acc-item.open .mob-acc-body { display: block }
.mob-acc-link {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 16px 9px 16px;
  text-decoration: none; transition: background .12s;
}
.mob-acc-link:hover { background: rgba(255,255,255,.06) }
.mob-acc-icon { width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: .8rem; flex-shrink: 0 }
.mob-acc-text { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.72) }
.mob-acc-seeall {
  display: flex; align-items: center; gap: 6px;
  margin: 6px 16px 0; padding: 8px 12px;
  font-size: .76rem; font-weight: 700; color: var(--primary);
  text-decoration: none; border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; background: rgba(255,255,255,.04); transition: background .12s;
}
.mob-acc-seeall:hover { background: rgba(255,255,255,.08) }
.mob-acc-seeall i { font-size: .72rem }
.hamburger { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text-head); padding: 4px; flex-shrink: 0 }

/* ── Hero ───────────────────────────────────── */
.home-hero {
  background: linear-gradient(135deg,#0b1f4b 0%,#162c6e 50%,#1e3a8a 100%);
  padding: 64px 0 56px; position: relative; overflow: hidden;
}
/* Decorative blobs */
.hero-blob, .hblob {
  position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); opacity: .18; z-index:0;
}
.hero-blob-1, .hblob-1 { width: 480px; height: 480px; background: #3b82f6; top: -120px; right: -80px }
.hero-blob-2, .hblob-2 { width: 320px; height: 320px; background: #f59e0b; bottom: -100px; left: -60px }

/* Eyebrow badge */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.3);
  color: var(--accent); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 14px; border-radius: 30px; margin-bottom: 20px;
}
.home-hero h1, .home-hero-h1 {
  color: #fff; font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.18; margin-bottom: 16px; font-weight: 800;
}
.home-hero h1 span, .home-hero-h1 span { color: var(--accent) }
.hero-subtitle { color: rgba(255,255,255,.72); font-size: 1rem; margin-bottom: 28px; line-height: 1.65 }

/* Search box */
.hero-search-box {
  display: flex; align-items: center;
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 14px; padding: 6px 6px 6px 18px;
  max-width: 560px; backdrop-filter: blur(12px);
  transition: border-color .2s;
}
.hero-search-box:focus-within { border-color: rgba(255,255,255,.5) }
.hero-search-icon { color: rgba(255,255,255,.45); font-size: 1rem; flex-shrink: 0; margin-right: 6px }
.hero-search-box input {
  flex: 1; background: transparent; border: none; outline: none;
  color: #fff; font-size: .93rem; min-width: 0;
}
.hero-search-box input::placeholder { color: rgba(255,255,255,.4) }
.hero-search-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 10px;
  padding: 10px 18px; font-size: .88rem; font-weight: 700;
  cursor: pointer; flex-shrink: 0; transition: background .18s;
  font-family: inherit;
}
.hero-search-btn:hover { background: var(--accent-d) }
.hero-search-btn span { display: inline }

/* Popular tags */
.hero-tags {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-top: 14px;
}
.hero-tags-label { font-size: .73rem; color: rgba(255,255,255,.4); font-weight: 600 }
.hero-tag {
  font-size: .73rem; color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  padding: 4px 12px; border-radius: 20px;
  transition: background .15s;
}
.hero-tag:hover { background: rgba(255,255,255,.18); color: #fff }

/* Stats grid */
.hero-stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 10px; margin-top: 32px;
}
.hero-stat-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 14px 10px; text-align: center;
  transition: background .2s;
}
.hero-stat-card:hover { background: rgba(255,255,255,.12) }
.hero-stat-icon { font-size: 1.15rem; color: var(--accent); display: block; margin-bottom: 6px }
.hero-stat-num { font-size: 1.2rem; font-weight: 800; color: #fff; line-height: 1 }
.hero-stat-label { font-size: .64rem; color: rgba(255,255,255,.45); margin-top: 4px; font-weight: 500 }

/* Mobile CTA strip */
.hero-mob-cta { display: none; gap: 10px; margin-top: 24px }
.hero-cta-btn { height: 48px; font-size: .9rem; font-weight: 700 }

/* Right panel card — styled inline in home.php hero section */
.hero-img-card { overflow: hidden }
.hero-floating-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 5px 12px;
  border-radius: 20px; margin-bottom: 16px;
}
.hero-card-body { background: rgba(255,255,255,.07); border-radius: 12px; padding: 20px; text-align: center; margin-bottom: 12px }
.hero-card-emoji { font-size: 3.2rem; margin-bottom: 10px }
.hero-card-title { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 6px }
.hero-card-sub { color: rgba(255,255,255,.5); font-size: .8rem; margin-bottom: 16px; line-height: 1.5 }
.hero-card-stats { display: flex; gap: 10px }
.hero-card-stat {
  flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; padding: 10px 6px; text-align: center;
}
.hero-card-stat-emoji { font-size: 1rem }
.hero-card-stat-num { color: #fff; font-weight: 700; font-size: .88rem }
.hero-card-stat-lbl { color: rgba(255,255,255,.4); font-size: .62rem }

/* ── Homepage layout grids (desktop values — max-width queries collapse) ── */
.home-hero-grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: center }
.courses-grid   { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px }
.uni-grid       { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px }
.course-grid    { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px }
.why-grid       { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px }
.stream-grid-home { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px }

/* ── Stats row ─────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden }
.stat-cell { padding: 18px 16px; border-right: 1px solid var(--border); text-align: center }
.stat-cell:last-child { border-right: none }
.stat-num   { font-size: 1.3rem; font-weight: 800; color: var(--text-head) }
.stat-label { font-size: .75rem; color: var(--text-muted); margin-top: 2px }

/* ── Course card ────────────────────────────── */
.course-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all .28s cubic-bezier(.4,0,.2,1);
  height: 100%; display: flex; flex-direction: column;
  box-shadow: 0 1px 4px rgba(11,31,75,.06);
  position: relative;
}
.course-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 16px;
  box-shadow: 0 0 0 0 rgba(26,86,219,0);
  transition: box-shadow .28s;
  pointer-events: none;
}
.course-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 16px 40px rgba(26,86,219,.14) }
.course-card:hover::after { box-shadow: 0 0 0 2px var(--primary) }

.course-card-img {
  height: 155px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  position: relative; overflow: hidden;
}
.course-card-img::before {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
}
.course-card-img::after {
  content: '';
  position: absolute; bottom: -20px; left: -20px;
  width: 80px; height: 80px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}
.cc-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: .65rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .05em;
  backdrop-filter: blur(4px);
}
.cc-featured-badge {
  position: absolute; top: 10px; right: 10px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #fff; font-size: .6rem; font-weight: 800;
  padding: 3px 9px; border-radius: 20px;
  letter-spacing: .04em;
}
.cc-dur {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,.42);
  color: #fff; font-size: .7rem; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
  display: flex; align-items: center; gap: 4px;
  backdrop-filter: blur(4px);
}
.course-card-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; gap: 6px }
.course-stream-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(26,86,219,.07);
  color: var(--primary);
  font-size: .65rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  letter-spacing: .04em; text-transform: uppercase;
  width: fit-content;
}
.course-name  { font-weight: 800; color: var(--text-head); font-size: .95rem; line-height: 1.35; margin: 0 }
.course-desc  { font-size: .78rem; color: var(--text-muted); line-height: 1.6; margin: 0; flex: 1 }
.course-meta  { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px }
.course-meta-item {
  font-size: .72rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3px 9px; border-radius: 20px;
}
.course-meta-item i { color: var(--primary); font-size: .7rem }
.course-card-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex; gap: 8px;
  background: var(--surface);
  justify-content: space-between;
}
.course-card-footer .btn { flex: 1; justify-content: center; }

/* ── University card ────────────────────────── */
.uni-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all .28s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 1px 4px rgba(11,31,75,.06);
  display: flex; flex-direction: column;
}
.uni-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 16px 40px rgba(26,86,219,.14) }

.uni-card-cover {
  height: 90px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  position: relative; overflow: hidden;
}
.uni-card-cover::before {
  content: '';
  position: absolute; top: -20px; right: -20px;
  width: 100px; height: 100px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.uni-card-cover::after {
  content: '';
  position: absolute; bottom: -25px; left: 30%;
  width: 70px; height: 70px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.uni-cover-rank {
  position: absolute; top: 10px; right: 12px;
  background: rgba(245,158,11,.9);
  color: #fff; font-size: .62rem; font-weight: 800;
  padding: 3px 9px; border-radius: 20px;
  letter-spacing: .04em;
  backdrop-filter: blur(4px);
}
.uni-logo-wrap {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: var(--white);
  border: 3px solid var(--white);
  box-shadow: 0 4px 14px rgba(11,31,75,.14);
  margin: -29px 0 0 16px;
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem;
  color: var(--navy);
  overflow: hidden;
}
.uni-card-body  { padding: 10px 16px 14px; flex: 1 }
.uni-name       { font-weight: 800; color: var(--text-head); font-size: .92rem; margin-bottom: 3px; line-height: 1.3 }
.uni-location   { font-size: .74rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; margin-bottom: 10px }
.uni-location i { color: var(--primary); font-size: .65rem }
.uni-stats      { display: flex; gap: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 10px }
.uni-stat-item  { flex: 1; padding: 7px 8px; text-align: center; border-right: 1px solid var(--border) }
.uni-stat-item:last-child { border-right: none }
.uni-stat-num   { font-weight: 800; font-size: .86rem; color: var(--text-head) }
.uni-stat-lbl   { font-size: .62rem; color: var(--text-muted); margin-top: 1px }
.uni-tags       { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 2px }
.uni-tag        { background: rgba(26,86,219,.07); color: var(--primary); font-size: .65rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; border: 1px solid rgba(26,86,219,.1) }
.uni-card-footer { padding: 10px 14px; border-top: 1px solid var(--border); display: flex; gap: 8px; background: var(--surface); justify-content: space-between; }
.uni-card-footer .btn { flex: 1; justify-content: center; }

/* ── Footer ─────────────────────────────────── */
/* Footer styles moved inline to footer.php */

/* ── Mobile footer bar ──────────────────────── */
.mob-footer-bar   { position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; background: var(--white); border-top: 2px solid var(--border); box-shadow: 0 -4px 24px rgba(11,31,75,.15); display: none }
.mob-footer-inner { display: flex; align-items: center; gap: 8px; padding: 10px 14px; height: var(--footer-mob); width: 100% }
.mfb-wa   { width: 44px; height: 44px; border-radius: 10px; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0 }
.mfb-call { width: 44px; height: 44px; border-radius: 10px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0 }
.mfb-enq  { flex: 1; background: linear-gradient(135deg,var(--primary-dark),var(--primary)); color: #fff; border: none; border-radius: 10px; font-size: .88rem; font-weight: 700; cursor: pointer; height: 44px; font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 7px }

/* ── Mobile sidebar ─────────────────────────── */
.mob-overlay { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.5); backdrop-filter: blur(2px) }
.mob-overlay.open { display: block }
.mob-sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 290px; z-index: 1001; background: var(--primary-dark); overflow-y: auto; transform: translateX(-100%); transition: transform .28s cubic-bezier(.4,0,.2,1) }
.mob-sidebar.open { transform: translateX(0) }
.mob-sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 14px; border-bottom: 1px solid rgba(255,255,255,.08) }
.mob-close { background: none; border: none; color: rgba(255,255,255,.5); font-size: 1.2rem; cursor: pointer }
.mob-nav-section { padding: 12px 0 4px; border-bottom: 1px solid rgba(255,255,255,.06) }
.mob-nav-section-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.3); padding: 0 14px 8px }
.mob-nav-list li a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-size: .87rem; color: rgba(255,255,255,.6); transition: var(--transition); border-left: 3px solid transparent }
.mob-nav-list li a:hover, .mob-nav-list li a.active { color: #fff; background: rgba(255,255,255,.06); border-left-color: var(--primary) }
.mob-enq-strip { padding: 16px 14px }
.mob-enq-strip p { font-size: .8rem; color: rgba(255,255,255,.45); margin-bottom: 10px }

/* ── Enquiry Modal ──────────────────────────── */
.enq-modal-overlay { display: none; position: fixed; inset: 0; z-index: 9000; background: rgba(10,20,60,.58); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); align-items: center; justify-content: center; padding: 16px; overflow-y: auto }
.enq-modal-overlay.open { display: flex }
.enq-modal { background: #fff; border-radius: 16px; width: 100%; max-width: 540px; max-height: 92vh; overflow-y: auto; box-shadow: 0 24px 60px rgba(11,31,75,.22); animation: enqIn .22s cubic-bezier(.34,1.26,.64,1); position: relative; margin: auto }
.enq-modal-hd { background: linear-gradient(135deg,var(--primary-dark) 0%,var(--primary) 100%); padding: 22px 24px 18px; border-radius: 16px 16px 0 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px }
.enq-modal-hd-left h3 { color: #fff; font-size: 1.05rem; font-weight: 800; margin: 0 0 4px; display: flex; align-items: center; gap: 8px }
.enq-modal-hd-left p  { color: rgba(255,255,255,.52); font-size: .78rem; margin: 0 }
.enq-modal-close { background: rgba(255,255,255,.12); border: none; color: #fff; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .15s }
.enq-modal-close:hover { background: rgba(255,255,255,.22) }
.enq-strip { display: flex; align-items: center; gap: 12px; background: #f1f5fd; border: 1px solid #dde3f0; border-radius: 10px; padding: 13px 15px; margin-bottom: 18px }
.enq-strip-icon { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg,var(--primary-dark),var(--primary)); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #fff; flex-shrink: 0 }
.enq-strip-course { font-size: .88rem; font-weight: 700; color: #0d1b3e; line-height: 1.3 }
.enq-strip-uni    { font-size: .76rem; color: #6b7280; margin-top: 3px; display: flex; align-items: center; gap: 4px }
.enq-modal-body   { padding: 22px 24px 20px }
.enq-grid-2       { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.enq-group    { margin-bottom: 14px }
.enq-label    { display: block; font-size: .76rem; font-weight: 700; color: #0d1b3e; margin-bottom: 5px; letter-spacing: .01em }
.enq-input, .enq-select, .enq-textarea { width: 100%; border: 1.5px solid #dde3f0; border-radius: 8px; padding: 10px 13px; font-size: .87rem; font-family: inherit; color: #374151; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; box-sizing: border-box }
.enq-input:focus, .enq-select:focus, .enq-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,.1) }
.enq-phone { display: flex; border: 1.5px solid #dde3f0; border-radius: 8px; overflow: hidden; transition: border-color .15s, box-shadow .15s }
.enq-phone:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,.1) }
.enq-phone-pfx { background: #f1f5fd; padding: 10px 12px; font-size: .86rem; color: #6b7280; font-weight: 600; border-right: 1px solid #dde3f0; white-space: nowrap; display: flex; align-items: center }
.enq-phone input { flex: 1; border: none; outline: none; padding: 10px 12px; font-size: .87rem; font-family: inherit; color: #374151; background: #fff; min-width: 0 }
.enq-submit { width: 100%; background: linear-gradient(135deg,var(--primary),var(--primary-dark)); color: #fff; border: none; border-radius: 10px; padding: 13px; font-size: .92rem; font-weight: 700; font-family: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: opacity .15s, transform .15s; margin-top: 4px }
.enq-submit:hover     { opacity: .9; transform: translateY(-1px) }
.enq-submit:disabled  { opacity: .65; cursor: not-allowed; transform: none }
.enq-success-box { display: none; flex-direction: column; align-items: center; text-align: center; padding: 28px 20px }
.enq-success-icon { width: 64px; height: 64px; background: linear-gradient(135deg,#059669,#10b981); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; margin-bottom: 16px; box-shadow: 0 8px 24px rgba(5,150,105,.3) }
.enq-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .72rem; color: #9ca3af; margin-top: 12px }
.enq-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: enqSpin .6s linear infinite; display: inline-block }
.enq-success-ref { background: #f1f5fd; border: 1px solid #dde3f0; border-radius: 8px; padding: 10px 16px; font-size: .82rem; color: #374151; margin-bottom: 18px }
.enq-success-ref strong { color: var(--primary) }
.ud-toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--primary-dark); color: #fff; padding: 12px 22px; border-radius: 10px; font-size: .85rem; font-weight: 600; opacity: 0; transition: all .28s; z-index: 9999; white-space: nowrap; display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 24px rgba(11,31,75,.28); pointer-events: none }
.ud-toast.show { opacity: 1; transform: translateX(-50%) translateY(0) }

/* ── Breadcrumb ─────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--text-muted); flex-wrap: wrap }
.breadcrumb a { color: var(--primary) }
.breadcrumb-sep { opacity: .5 }

/* ── Page hero ──────────────────────────────── */
.page-hero   { background: linear-gradient(135deg,var(--primary-dark),#162c6e); padding: 40px 0 32px }
.page-hero h1 { color: #fff; margin-bottom: 8px }
.page-hero p  { color: rgba(255,255,255,.65); font-size: .92rem }

/* ── Filters ─────────────────────────────────── */
.filter-bar    { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 20px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center }
.filter-select { border: 1.5px solid var(--border); border-radius: 8px; padding: 9px 13px; font-size: .84rem; font-family: inherit; color: var(--text-body); background: #fff; outline: none; cursor: pointer; transition: border-color .15s }
.filter-select:focus { border-color: var(--primary) }
.filter-input  { border: 1.5px solid var(--border); border-radius: 8px; padding: 9px 13px; font-size: .84rem; font-family: inherit; color: var(--text-body); background: #fff; outline: none; transition: border-color .15s; width: 100% }
.filter-input:focus { border-color: var(--primary) }

/* ── Pagination ─────────────────────────────── */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap }
.page-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; font-size: .82rem; font-weight: 600; border: 1.5px solid var(--border); color: var(--text-body); transition: var(--transition) }
.page-btn:hover, .page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary) }

/* ── Blog card ──────────────────────────────── */
.blog-card { transition: var(--transition) }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover) !important }

/* ── Blog content ───────────────────────────── */
.blog-content h2 { font-size: 1.35rem; font-weight: 700; color: var(--text-head); margin: 28px 0 12px }
.blog-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-head); margin: 22px 0 10px }
.blog-content p  { margin-bottom: 16px }
.blog-content ul, .blog-content ol { padding-left: 22px; margin-bottom: 16px }
.blog-content li { margin-bottom: 6px }
.blog-content img { max-width: 100%; border-radius: 10px; margin: 16px 0 }
.blog-content blockquote { border-left: 4px solid var(--primary); padding: 12px 18px; background: var(--bg-surface); border-radius: 0 8px 8px 0; margin: 20px 0; font-style: italic; color: var(--text-body) }
.blog-content a   { color: var(--primary) }
.blog-content table { width: 100%; border-collapse: collapse; margin: 16px 0 }
.blog-content th, .blog-content td { border: 1px solid var(--border); padding: 8px 12px; font-size: .85rem }
.blog-content th  { background: var(--bg-surface); font-weight: 600 }

/* ── Sidebar filter stream links ─────────────── */
.stream-filter-link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 8px;
  font-size: .84rem; margin-bottom: 3px;
  color: var(--text-body); transition: var(--transition);
  text-decoration: none;
}
.stream-filter-link:hover { background: rgba(26,86,219,.06); color: var(--primary) }
.stream-filter-link.active { background: rgba(26,86,219,.09); color: var(--primary); font-weight: 600 }

/* ── Results bar ─────────────────────────────── */
.results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px }

/* ── ══════════════════════════════════════════ */
/*    RESPONSIVE BREAKPOINTS                     */
/* ══════════════════════════════════════════ ── */

/* ── Tablet 1024px ─────────────────────────── */
@media (max-width: 1024px) {
  .header-nav   { display: none }
  .hamburger    { display: flex }
  .header-search { display: none }
  /* footer responsive handled inline */
  .mob-footer-bar { display: block !important }
  body { padding-bottom: var(--footer-mob) !important }
  .hero-img-wrap    { display: none }
  .hero-img-card    { display: none }
  .hero-mob-cta     { display: flex }
  .sidebar-col      { position: static }
  /* Collapse grids at tablet ≤1024px */
  .home-hero-grid   { grid-template-columns: 1fr; gap: 24px }
  .home-hero        { padding: 48px 0 40px }
  .hero-stats-grid  { grid-template-columns: repeat(2,1fr) }
  .hero-search-box  { max-width: 100% }
  .courses-grid     { grid-template-columns: repeat(2,1fr) }
  .uni-grid         { grid-template-columns: repeat(2,1fr) }
  .course-grid      { grid-template-columns: repeat(2,1fr) }
  .stream-grid-home { grid-template-columns: repeat(3,1fr) }
  .testimonials-grid { grid-template-columns: repeat(2,1fr) }
  .why-grid         { grid-template-columns: repeat(2,1fr) }
  .stats-row        { grid-template-columns: repeat(2,1fr) }
  .stat-cell:nth-child(2) { border-right: none }
  .stat-cell:nth-child(3) { border-right: 1px solid var(--border) }
}


/* ── Mobile 768px ──────────────────────────── */
@media (max-width: 768px) {
  .section-pad   { padding: 44px 0 }
  .enq-grid-2    { grid-template-columns: 1fr; gap: 0 }
  .enq-modal     { border-radius: 14px 14px 0 0; max-height: 96vh; margin-top: auto }
  .enq-modal-overlay { align-items: flex-end; padding: 0 }
  .stats-row     { grid-template-columns: repeat(2,1fr) }
  .sec-head      { flex-direction: column; align-items: flex-start; gap: 8px }
  .stream-grid-home { grid-template-columns: repeat(2,1fr) }
  .testimonials-grid { grid-template-columns: 1fr }
  .page-hero    { padding: 28px 0 22px }
  .page-hero h1 { font-size: 1.4rem }
  .breadcrumb   { font-size: .72rem; flex-wrap: wrap }
  /* Filter bar full-width */
  .filter-bar   { flex-direction: column; gap: 8px }
  .filter-bar form { flex-direction: column; gap: 8px }
  .filter-input, .filter-select { width: 100% !important }
  /* Grid classes at mobile */
  .g-2   { grid-template-columns: 1fr }
  .g-3   { grid-template-columns: repeat(2,1fr) }
  .g-4   { grid-template-columns: repeat(2,1fr) }
  /* Blog related articles */
  .related-grid { grid-template-columns: 1fr !important }
}

/* ── Small mobile 480px ────────────────────── */
@media (max-width: 480px) {
  :root { --header-h: 56px }
  .logo-text    { font-size: 1rem }
  .logo-tagline { display: none }
  h1 { font-size: 1.4rem }
  h2 { font-size: 1.2rem }
  /* Hero mobile */
  .home-hero         { padding: 36px 0 32px }
  .home-hero h1      { font-size: 1.65rem; line-height: 1.22 }
  .hero-subtitle     { font-size: .9rem; margin-bottom: 20px }
  .hero-eyebrow      { font-size: .68rem }
  .hero-search-box   { padding: 5px 5px 5px 14px; border-radius: 12px }
  .hero-search-btn span { display: none }
  .hero-search-btn   { padding: 10px 14px }
  .hero-stats-grid   { grid-template-columns: repeat(2,1fr); gap: 8px; margin-top: 20px }
  .hero-stat-card    { padding: 12px 8px }
  .hero-stat-num     { font-size: 1.05rem }
  .hero-stat-label   { font-size: .6rem }
  .hero-mob-cta      { flex-direction: column; gap: 8px }
  .stats-row    { grid-template-columns: 1fr 1fr }
  .stat-cell    { padding: 14px }
  .stat-num     { font-size: 1.1rem }
  .courses-grid { grid-template-columns: 1fr }
  .uni-grid     { grid-template-columns: 1fr }
  .why-grid     { grid-template-columns: 1fr }
  .stream-grid-home { grid-template-columns: repeat(2,1fr) }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr }
  .section-pad  { padding: 32px 0 }
  .sec-title    { font-size: 1.1rem }
  .card         { border-radius: 10px }
  .btn-lg       { padding: 11px 20px; font-size: .88rem }
  .footer-grid  { grid-template-columns: 1fr }
  .mob-footer-inner { gap: 8px }
  .enq-modal    { max-height: 100vh; border-radius: 0 }
  .pagination   { gap: 4px }
  .page-btn     { width: 32px; height: 32px; font-size: .76rem }
  .container, .container-xl { padding: 0 14px }
}

/* ── City-wise Top Colleges (Homepage) ─────────────────────────── */
.city-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:24px; padding-bottom:16px; border-bottom:2px solid #e8eef8; }
.city-tab  { display:inline-flex; align-items:center; gap:7px; padding:9px 18px; border-radius:30px; border:1.5px solid #e8eef8; background:#fff; font-size:.82rem; font-weight:700; color:#64748b; cursor:pointer; transition:all .18s; white-space:nowrap; }
.city-tab i { font-size:.82rem; }
.city-tab-count { background:#f1f5f9; color:#64748b; font-size:.65rem; font-weight:800; padding:1px 7px; border-radius:20px; min-width:20px; text-align:center; transition:all .18s; }
.city-tab.active, .city-tab:hover { background:#1a56db; color:#fff; border-color:#1a56db; }
.city-tab.active .city-tab-count, .city-tab:hover .city-tab-count { background:rgba(255,255,255,.25); color:#fff; }

.city-panel-inner { display:grid; grid-template-columns:260px 1fr; gap:20px; align-items:start; }

/* City info card */
.city-info-card { background:#04091c; border-radius:16px; overflow:hidden; box-shadow:0 8px 32px rgba(4,9,28,.18); }
.city-img { height:180px; background-size:cover !important; background-position:center !important; position:relative; }
.city-img::after { content:''; position:absolute; inset:0; background:linear-gradient(to bottom, rgba(4,9,28,0) 30%, rgba(4,9,28,.85) 100%); }
.city-img-overlay { position:absolute; bottom:0; left:0; right:0; padding:14px 16px; z-index:1; }
.city-img-name  { color:#fff; font-size:1.15rem; font-weight:900; line-height:1.2; }
.city-img-state { color:rgba(255,255,255,.55); font-size:.72rem; font-weight:600; margin-top:3px; display:flex; align-items:center; gap:4px; }
.city-info-body { padding:14px 16px 18px; }
.city-info-stats { display:flex; gap:0; margin-bottom:14px; border:1px solid rgba(255,255,255,.07); border-radius:10px; overflow:hidden; }
.city-info-stat  { flex:1; text-align:center; padding:10px 8px; border-right:1px solid rgba(255,255,255,.07); }
.city-info-stat:last-child { border-right:none; }
.city-info-val   { display:block; color:#fff; font-size:1.2rem; font-weight:900; }
.city-info-lbl   { display:block; color:rgba(255,255,255,.35); font-size:.62rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; margin-top:2px; }
.city-explore-btn { display:flex; align-items:center; justify-content:center; gap:7px; background:linear-gradient(135deg,#1a56db,#2563eb); color:#fff; padding:11px 16px; border-radius:10px; text-decoration:none; font-size:.79rem; font-weight:700; transition:opacity .15s,transform .12s; }
.city-explore-btn:hover { opacity:.9; transform:translateY(-1px); }

/* University list */
.city-unis { display:flex; flex-direction:column; gap:10px; }
.city-uni-card { display:flex; align-items:center; gap:13px; padding:13px 16px; background:#fff; border:1.5px solid #e8eef8; border-radius:13px; text-decoration:none; transition:border-color .15s,box-shadow .15s,transform .12s; }
.city-uni-card:hover { border-color:#1a56db; box-shadow:0 4px 18px rgba(26,86,219,.1); transform:translateX(4px); }
.city-uni-logo { width:48px; height:48px; border-radius:10px; border:1px solid #e8eef8; display:flex; align-items:center; justify-content:center; flex-shrink:0; overflow:hidden; background:#f8faff; }
.city-uni-logo img { width:100%; height:100%; object-fit:contain; padding:4px; }
.city-uni-logo span { font-size:.75rem; font-weight:800; color:#1a56db; text-align:center; }
.city-uni-info { flex:1; min-width:0; }
.city-uni-name { font-size:.86rem; font-weight:800; color:#0f172a; margin-bottom:5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.city-uni-meta { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.city-uni-type { font-size:.63rem; font-weight:700; padding:2px 8px; border-radius:20px; }
.city-uni-rank { font-size:.68rem; color:#f59e0b; font-weight:700; display:flex; align-items:center; gap:3px; }
.city-uni-arr  { color:#cbd5e1; font-size:.9rem; flex-shrink:0; transition:color .15s,transform .15s; }
.city-uni-card:hover .city-uni-arr { color:#1a56db; transform:translateX(2px); }
.city-see-all  { display:flex; align-items:center; justify-content:center; gap:8px; padding:13px; border:1.5px dashed #bfdbfe; border-radius:13px; color:#1a56db; font-size:.8rem; font-weight:700; text-decoration:none; transition:background .15s,border-color .15s; margin-top:2px; }
.city-see-all:hover { background:#eff6ff; border-color:#1a56db; }

@media(max-width:900px) {
  .city-panel-inner { grid-template-columns:1fr; }
  .city-info-card { display:grid; grid-template-columns:160px 1fr; }
  .city-img { height:auto; min-height:180px; border-radius:0; }
  .city-info-body { padding:12px 14px 16px; }
}
@media(max-width:640px) {
  .city-tabs { gap:6px; }
  .city-tab  { padding:7px 13px; font-size:.76rem; }
  .city-info-card { grid-template-columns:1fr; }
  .city-img { height:160px; }
}
