
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ── TOKENS ── */
:root {
  --brand:       #2563eb;
  --brand-dark:  #1d4ed8;
  --brand-light: #eff6ff;
  --brand-border:#bfdbfe;
  --text:        #0f172a;
  --text-2:      #334155;
  --text-muted:  #64748b;
  --border:      #e2e8f0;
  --bg:          #f8fafc;
  --white:       #ffffff;
  --success:     #16a34a;
  --warning:     #d97706;
  --danger:      #dc2626;
  --r-sm:        8px;
  --r-md:        14px;
  --r-lg:        20px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.07);
  --shadow-md:   0 4px 14px rgba(0,0,0,0.10);
  --shadow-lg:   0 12px 32px rgba(0,0,0,0.14);
}

/* ── RESET ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html,body { font-family:'Poppins',sans-serif; background:var(--bg); color:var(--text); overflow-x:hidden; scroll-behavior:smooth; line-height:1.6; }

/* ── HEADER / NAV ── */
header {
  position:fixed; top:0; left:0; right:0; height:64px;
  background:rgba(255,255,255,0.97); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 40px; z-index:1000; box-shadow:var(--shadow-sm);
}
header h1 {
  font-size:1.15rem; font-weight:700; color:var(--brand);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  flex:1; min-width:0;
}
.hamburger {
  font-size:22px; cursor:pointer; background:none; border:none;
  color:var(--text); display:none; padding:4px; line-height:1;
}

/* Desktop nav */

/* Mobile nav */

/* ── PAGE HERO ── */
.page-hero {
  background:linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  padding:112px 24px 64px;
  text-align:center; position:relative; overflow:hidden;
}
.page-hero::after {
  content:""; position:absolute; inset:0;
  background-image:linear-gradient(rgba(255,255,255,0.03) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(255,255,255,0.03) 1px,transparent 1px);
  background-size:48px 48px; pointer-events:none;
}
.page-hero-inner { position:relative; z-index:1; max-width:720px; margin:0 auto; }
.page-hero-label {
  display:inline-block; background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.18); color:rgba(255,255,255,0.9);
  font-size:0.78rem; font-weight:700; letter-spacing:0.1em;
  text-transform:uppercase; padding:6px 16px; border-radius:99px; margin-bottom:20px;
}
.page-hero h1 {
  font-size:clamp(1.9rem,5vw,3rem); font-weight:800; color:#fff;
  line-height:1.18; letter-spacing:-0.02em; margin-bottom:16px;
}
.page-hero h1 span { color:#93c5fd; }
.page-hero p {
  font-size:1.05rem; color:rgba(255,255,255,0.72);
  max-width:580px; margin:0 auto; line-height:1.7;
}

/* ── LAYOUT ── */
.page-body { max-width:1100px; margin:0 auto; padding:64px 24px; }
.page-body.narrow { max-width:760px; }

.two-col { display:grid; grid-template-columns:1fr 340px; gap:40px; align-items:start; }

/* ── CONTENT CARD ── */
.content-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:36px 40px; margin-bottom:24px;
  box-shadow:var(--shadow-sm);
  border-top:3px solid var(--brand);
  transition:box-shadow .2s;
}
.content-card:hover { box-shadow:var(--shadow-md); }
.content-card h2 {
  font-size:1.45rem; font-weight:700; color:var(--text);
  margin-bottom:16px; letter-spacing:-0.01em;
}
.content-card h3 {
  font-size:1.1rem; font-weight:700; color:var(--text); margin-bottom:12px;
}
.content-card h4 { font-size:0.97rem; font-weight:700; color:var(--brand); margin:18px 0 8px; }
.content-card p  { font-size:0.93rem; color:var(--text-2); line-height:1.72; margin-bottom:12px; }
.content-card p:last-child { margin-bottom:0; }
.content-card a  { color:var(--brand); text-decoration:none; font-weight:500; transition:color .18s; }
.content-card a:hover { color:var(--brand-dark); text-decoration:underline; }
.content-card ul,
.content-card ol { padding-left:22px; margin-bottom:14px; }
.content-card li { font-size:0.93rem; color:var(--text-2); line-height:1.7; margin-bottom:6px; }
.content-card strong { color:var(--text); font-weight:600; }

/* Step number badge */
.step-num {
  display:inline-flex; align-items:center; justify-content:center;
  width:30px; height:30px; border-radius:50%;
  background:var(--brand); color:#fff;
  font-size:0.82rem; font-weight:700; margin-right:10px;
  flex-shrink:0; vertical-align:middle;
}

/* ── SIDEBAR CARD ── */
.sidebar-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:28px 24px; margin-bottom:20px;
  box-shadow:var(--shadow-sm);
  border-top:3px solid var(--brand);
  position:sticky; top:84px;
}
.sidebar-card h3 { font-size:1rem; font-weight:700; color:var(--text); margin-bottom:16px; }
.sidebar-card ul { list-style:none; padding:0; }
.sidebar-card ul li { margin-bottom:10px; }
.sidebar-card ul li a {
  color:var(--text-2); text-decoration:none; font-size:0.88rem;
  font-weight:500; display:flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:var(--r-sm);
  transition:background .18s, color .18s;
}
.sidebar-card ul li a::before { content:"→"; color:var(--brand); font-size:0.8rem; }
.sidebar-card ul li a:hover { background:var(--brand-light); color:var(--brand); }

/* ── INSTITUTION / BURSARY CARDS ── */
.card-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:20px; margin-top:8px;
}
.item-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:24px;
  box-shadow:var(--shadow-sm); transition:transform .2s, box-shadow .2s, border-color .2s;
}
.item-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:var(--brand-border); }
.item-card h2, .item-card h3 { font-size:1rem; font-weight:700; color:var(--text); margin-bottom:8px; }
.item-card p  { font-size:0.88rem; color:var(--text-muted); line-height:1.6; margin-bottom:14px; }
.item-card a  { color:var(--brand); font-size:0.88rem; font-weight:600; text-decoration:none; display:inline-flex; align-items:center; gap:5px; transition:gap .18s; }
.item-card a:hover { gap:9px; }
.item-card a::after { content:"→"; }
.item-badge {
  display:inline-block; padding:3px 10px; border-radius:99px;
  font-size:0.75rem; font-weight:700; text-transform:uppercase;
  letter-spacing:0.04em; margin-bottom:10px;
}
.badge-blue   { background:var(--brand-light); color:var(--brand); }
.badge-green  { background:#dcfce7; color:#15803d; }
.badge-orange { background:#fef3c7; color:#b45309; }

/* ── FAQ ACCORDION ── */
.faq-list { display:flex; flex-direction:column; gap:12px; }
.faq-item {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-md); overflow:hidden;
  transition:border-color .18s, box-shadow .18s;
}
.faq-item:hover { border-color:var(--brand-border); box-shadow:var(--shadow-sm); }
.faq-q {
  display:flex; justify-content:space-between; align-items:center;
  padding:18px 22px; cursor:pointer; gap:12px;
  font-size:0.97rem; font-weight:600; color:var(--text);
  list-style:none; user-select:none;
}
.faq-q::after { content:"+"; font-size:1.3rem; font-weight:300; color:var(--brand); flex-shrink:0; transition:transform .2s; }
.faq-item.open .faq-q::after { transform:rotate(45deg); }
.faq-a {
  display:none; padding:0 22px 18px;
  font-size:0.92rem; color:var(--text-2); line-height:1.72;
}
.faq-item.open .faq-a { display:block; }
.faq-a a { color:var(--brand); text-decoration:none; font-weight:500; }
.faq-a a:hover { text-decoration:underline; }

/* ── SEARCH / FILTER BAR ── */
.search-bar {
  display:flex; gap:12px; flex-wrap:wrap; margin-bottom:32px; align-items:center;
}
.search-input {
  flex:1; min-width:200px; padding:12px 16px;
  border:1.5px solid var(--border); border-radius:var(--r-md);
  font-size:0.95rem; font-family:'Poppins',sans-serif;
  color:var(--text); background:var(--white); outline:none;
  transition:border-color .18s, box-shadow .18s;
}
.search-input:focus { border-color:var(--brand); box-shadow:0 0 0 3px rgba(37,99,235,0.12); }
.filter-select {
  padding:12px 16px; border:1.5px solid var(--border); border-radius:var(--r-md);
  font-size:0.92rem; font-family:'Poppins',sans-serif;
  color:var(--text); background:var(--white); outline:none; cursor:pointer;
  transition:border-color .18s;
}
.filter-select:focus { border-color:var(--brand); }

/* ── SECTION SWITCHER ── */
.switcher { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:24px; }
.switch-btn {
  padding:9px 20px; border:1.5px solid var(--border);
  border-radius:99px; background:var(--white);
  color:var(--text-2); font-size:0.88rem; font-weight:600;
  cursor:pointer; font-family:'Poppins',sans-serif;
  transition:all .18s;
}
.switch-btn.active,
.switch-btn:hover { background:var(--brand); color:#fff; border-color:var(--brand); }

/* ── CTA BUTTON ── */
.btn-primary-page {
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 28px; background:var(--brand); color:#fff;
  font-size:0.97rem; font-weight:600; border:none;
  border-radius:var(--r-md); cursor:pointer; text-decoration:none;
  font-family:'Poppins',sans-serif;
  transition:background .18s, transform .18s, box-shadow .18s;
  box-shadow:0 4px 14px rgba(37,99,235,0.3);
}
.btn-primary-page:hover { background:var(--brand-dark); transform:translateY(-2px); box-shadow:0 6px 20px rgba(37,99,235,0.4); }
.btn-primary-page:active { transform:scale(0.97); }

.btn-outline-page {
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 24px; background:var(--white);
  border:1.5px solid var(--border); color:var(--text-2);
  font-size:0.92rem; font-weight:600; border-radius:var(--r-md);
  cursor:pointer; text-decoration:none; font-family:'Poppins',sans-serif;
  transition:all .18s;
}
.btn-outline-page:hover { border-color:var(--brand); color:var(--brand); background:var(--brand-light); }

/* ── INFO CALLOUT ── */
.callout {
  display:flex; gap:14px; align-items:flex-start;
  padding:16px 20px; border-radius:var(--r-md);
  margin:16px 0; font-size:0.9rem; line-height:1.65;
}
.callout-blue   { background:var(--brand-light); border-left:4px solid var(--brand); color:var(--text-2); }
.callout-green  { background:#dcfce7;             border-left:4px solid #16a34a;      color:var(--text-2); }
.callout-orange { background:#fef3c7;             border-left:4px solid #d97706;      color:var(--text-2); }
.callout-icon   { font-size:1.2rem; flex-shrink:0; }

/* ── QUICK LINKS ROW ── */
.quick-links {
  display:flex; gap:12px; flex-wrap:wrap; margin:24px 0;
}
.quick-link {
  padding:10px 20px; background:var(--brand-light);
  color:var(--brand); border-radius:99px; text-decoration:none;
  font-size:0.88rem; font-weight:600;
  transition:background .18s, color .18s, transform .18s;
  border:1px solid var(--brand-border);
}
.quick-link:hover { background:var(--brand); color:#fff; transform:translateY(-2px); }

/* ── INLINE AD ── */
.ad-slot { margin:28px 0; text-align:center; overflow:hidden; }

/* ── CAREERS SPECIFIC ── */
.job-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:28px;
  margin-bottom:16px; box-shadow:var(--shadow-sm);
  display:flex; justify-content:space-between; align-items:flex-start;
  gap:20px; flex-wrap:wrap;
  transition:transform .2s, box-shadow .2s, border-color .2s;
}
.job-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--brand-border); }
.job-info h3   { font-size:1rem; font-weight:700; color:var(--text); margin-bottom:6px; }
.job-info p    { font-size:0.88rem; color:var(--text-muted); }
.job-tags      { display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.job-tag       { padding:3px 10px; background:var(--brand-light); color:var(--brand); border-radius:99px; font-size:0.75rem; font-weight:700; }
.job-apply     { flex-shrink:0; }

/* ── PRIVACY SPECIFIC ── */
.policy-section { margin-bottom:32px; }
.policy-section h3 { font-size:1rem; font-weight:700; color:var(--brand); margin-bottom:10px; padding-bottom:8px; border-bottom:1px solid var(--border); }
.policy-section p, .policy-section li { font-size:0.92rem; color:var(--text-2); line-height:1.72; margin-bottom:8px; }
.policy-section ul { padding-left:20px; }

/* ── FOOTER ── */
footer {
  background:#0f172a; color:rgba(255,255,255,0.65);
  padding:64px 24px 32px;
}
.footer-inner {
  max-width:1100px; margin:0 auto;
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
  gap:40px; margin-bottom:48px;
}
.footer-brand h3 { font-size:1.1rem; font-weight:700; color:#fff; margin-bottom:10px; }
.footer-brand p  { font-size:0.85rem; color:rgba(255,255,255,0.5); line-height:1.7; max-width:260px; margin-bottom:18px; }
.footer-social { display:flex; gap:10px; }
.footer-social a {
  width:34px; height:34px; border-radius:50%;
  background:rgba(255,255,255,0.08); display:flex;
  align-items:center; justify-content:center;
  color:rgba(255,255,255,0.65); text-decoration:none;
  transition:background .18s, color .18s;
}
.footer-social a:hover { background:var(--brand); color:#fff; }
.footer-col h4 { font-size:0.82rem; font-weight:700; color:#fff; letter-spacing:0.06em; text-transform:uppercase; margin-bottom:16px; }
.footer-col ul { list-style:none; padding:0; }
.footer-col ul li { margin-bottom:9px; }
.footer-col ul li a { color:rgba(255,255,255,0.5); text-decoration:none; font-size:0.85rem; transition:color .18s; }
.footer-col ul li a:hover { color:#fff; }
.footer-bottom {
  max-width:1100px; margin:0 auto; padding-top:28px;
  border-top:1px solid rgba(255,255,255,0.08);
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:10px; font-size:0.8rem; color:rgba(255,255,255,0.35);
}
.footer-bottom a { color:inherit; text-decoration:none; transition:color .18s; }
.footer-bottom a:hover { color:rgba(255,255,255,0.7); }

/* ── SUBSCRIBE MODAL ── */
.sub-modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.5); justify-content:center; align-items:center; z-index:9999; }
.sub-modal-box { background:#fff; padding:28px 32px; border-radius:var(--r-lg); max-width:380px; width:90%; text-align:center; position:relative; box-shadow:var(--shadow-lg); font-size:0.95rem; color:var(--text); line-height:1.6; }
.sub-modal-close { position:absolute; top:12px; right:16px; font-size:1.4rem; cursor:pointer; color:var(--text-muted); background:none; border:none; }

/* ── BACK TO TOP ── */
.back-to-top {
  position:fixed; bottom:30px; right:30px;
  width:44px; height:44px; background:var(--brand); color:#fff;
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  text-decoration:none; font-size:1.1rem; box-shadow:var(--shadow-md);
  opacity:0; visibility:hidden; transition:all .3s; z-index:99;
}
.back-to-top.visible { opacity:1; visibility:visible; }
.back-to-top:hover { background:var(--brand-dark); transform:translateY(-3px); }

@keyframes spin   { to { transform:rotate(360deg); } }

/* ── RESPONSIVE ── */
@media(max-width:900px){
  header { padding:0 20px; }
    .hamburger { display:block; }
  .two-col { grid-template-columns:1fr; }
  .footer-inner { grid-template-columns:1fr 1fr; }
  .sidebar-card { position:static; }




  /* Close × button inside nav */
}
@media(max-width:600px){
  .page-hero { padding:90px 20px 48px; }
  .page-body { padding:40px 16px; }
  .content-card { padding:24px 20px; }
  .footer-inner { grid-template-columns:1fr; gap:28px; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .card-grid { grid-template-columns:1fr; }
}