
/* =========================================
   GENERAL BURSARY PAGE
========================================= */

.bursary-hero,
.featured-bursaries {
    font-family: "Poppins", sans-serif;
}

.bursary-hero *,
.featured-bursaries * {
    box-sizing: border-box;
}

.bursary-hero {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f8f9ff;
}

.bursary-hero-container {
    position: relative;
    width: 100%;
    min-height: 650px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 20%, rgba(14, 9, 74, 0.09), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f8f9ff 55%, #f1f2ff 100%);
}

.bursary-hero-inner {
    position: relative;
    z-index: 2;
    width: min(100% - 48px, 1320px);
    min-height: 650px;
    margin: 0 auto;
    padding: 75px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    align-items: center;
    gap: 65px;
}

.bursary-hero-container::before {
    content: "";
    position: absolute;
    top: 60px;
    left: 3%;
    width: 120px;
    height: 120px;
    opacity: 0.35;
    background-image: radial-gradient(rgba(14, 9, 74, 0.28) 2px, transparent 2px);
    background-size: 16px 16px;
}

.bursary-hero-content { position: relative; z-index: 4; }

.bursary-breadcrumb {
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #73788a;
    font-size: 13px;
    font-weight: 500;
}

.bursary-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #73788a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bursary-breadcrumb a:hover { color: #0e094a; }
.bursary-breadcrumb > i { color: #a8abba; font-size: 9px; }
.bursary-breadcrumb span { color: #0e094a; font-weight: 700; }

.bursary-badge {
    width: fit-content;
    margin-bottom: 21px;
    padding: 10px 17px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #eeedf8;
    color: #0e094a;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.bursary-hero-content h1 {
    margin: 0;
    color: #0e094a;
    font-size: clamp(52px, 5vw, 78px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -3px;
}

.bursary-hero-content h1 span { display: block; color: #2118b8; }

.bursary-hero-description {
    max-width: 650px;
    margin: 26px 0 33px;
    color: #666d80;
    font-size: 15px;
    line-height: 1.9;
}

.bursary-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.bursary-benefit-item {
    min-width: 0;
    padding: 0 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-right: 1px solid #dedfea;
}

.bursary-benefit-item:first-child { padding-left: 0; }
.bursary-benefit-item:last-child { padding-right: 0; border-right: none; }

.bursary-benefit-icon {
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eeedf8;
    color: #0e094a;
    font-size: 15px;
}

.bursary-benefit-item h3 { margin: 1px 0 4px; color: #0e094a; font-size: 12px; line-height: 1.35; }
.bursary-benefit-item p { margin: 0; color: #7b8091; font-size: 10px; line-height: 1.55; }

.bursary-hero-visual {
    position: relative;
    min-height: 490px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bursary-visual-circle {
    position: absolute;
    top: -170px;
    right: -230px;
    width: 680px;
    height: 680px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #2920c8 0%, #0e094a 67%, #08052c 100%);
    box-shadow: 0 30px 70px rgba(14, 9, 74, 0.2);
}

.bursary-books { position: relative; width: 430px; height: 375px; z-index: 3; }

.book {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    border: 5px solid #0e094a;
    border-radius: 10px 20px 20px 10px;
    background: #ffffff;
    box-shadow: 0 18px 35px rgba(14, 9, 74, 0.2);
}

.book::after {
    content: "";
    position: absolute;
    top: 15px;
    right: 14px;
    bottom: 15px;
    width: 76%;
    border-top: 2px solid #e0e2ed;
    border-bottom: 2px solid #e0e2ed;
}

.book-one { bottom: 38px; width: 340px; height: 75px; }
.book-two { bottom: 105px; width: 380px; height: 78px; transform: translateX(-50%) rotate(3deg); }
.book-three { bottom: 174px; width: 325px; height: 74px; }

.bursary-cap {
    position: absolute;
    top: 12px;
    left: 50%;
    z-index: 5;
    transform: translateX(-50%);
    color: #0e094a;
    font-size: 195px;
    filter: drop-shadow(0 18px 14px rgba(14, 9, 74, 0.25));
}

.bursary-certificate {
    position: absolute;
    right: 30px;
    bottom: -3px;
    width: 160px;
    height: 72px;
    border: 4px solid #ffffff;
    border-radius: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-9deg);
    background: #f5f6fc;
    color: #0e094a;
    font-size: 33px;
    box-shadow: 0 15px 30px rgba(14, 9, 74, 0.18);
}

.bursary-certificate::after {
    content: "";
    position: absolute;
    right: -18px;
    width: 46px;
    height: 46px;
    border-radius: 10px 50% 50% 10px;
    background: #2118b8;
}

.bursary-floating-card {
    position: absolute;
    top: 62px;
    right: -5px;
    z-index: 6;
    width: 185px;
    padding: 24px;
    border: 1px solid #ececf3;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(14, 9, 74, 0.18);
}

.bursary-floating-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2118b8;
    color: #ffffff;
    font-size: 17px;
}

.bursary-floating-card h3 { margin: 14px 0 8px; color: #0e094a; font-size: 15px; }
.bursary-floating-card p { margin: 0; color: #73788a; font-size: 12px; line-height: 1.65; }

.featured-bursaries { padding: 65px 24px 90px; background: #ffffff; }
.featured-bursaries-container { width: min(100%, 1180px); margin: 0 auto; }

.bursary-section-heading { max-width: 680px; margin: 0 auto 38px; text-align: center; }

.bursary-section-heading > span {
    display: inline-block;
    margin-bottom: 9px;
    color: #2118b8;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bursary-section-heading h2 {
    margin: 0 0 10px;
    color: #0e094a;
    font-size: clamp(29px, 4vw, 38px);
    font-weight: 800;
}

.bursary-section-heading p { margin: 0; color: #777c8d; font-size: 14px; line-height: 1.7; }

.bursary-card {
    min-height: 195px;
    margin-bottom: 20px;
    border: 1px solid #e5e6ee;
    border-radius: 18px;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr) 170px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(14, 9, 74, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bursary-card:hover { transform: translateY(-4px); box-shadow: 0 19px 42px rgba(14, 9, 74, 0.12); }

.bursary-card-image { min-height: 195px; overflow: hidden; background: #0e094a; }

.bursary-card-image img {
    width: 100%;
    height: 100%;
    min-height: 195px;
    display: block;
    object-fit: cover;
}

.bursary-card-content { padding: 25px 27px; }

.bursary-category {
    display: inline-flex;
    align-items: center;
    margin-bottom: 11px;
    padding: 5px 11px;
    border: 1px solid #5953db;
    border-radius: 30px;
    background: #f3f2ff;
    color: #2118b8;
    font-size: 10px;
    font-weight: 700;
}

.bursary-card-content h3 { margin: 0 0 9px; color: #0e094a; font-size: 18px; line-height: 1.45; }
.bursary-card-content > p { margin: 0 0 15px; color: #656b7c; font-size: 13px; line-height: 1.7; }

.bursary-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 19px;
    color: #7b8090;
    font-size: 11px;
}

.bursary-card-meta span { display: inline-flex; align-items: center; gap: 7px; }
.bursary-card-meta i { color: #0e094a; }

.bursary-card-action { padding: 25px 22px; display: flex; align-items: center; justify-content: center; }

.bursary-read-button {
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #0e094a;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(14, 9, 74, 0.2);
    transition: transform 0.2s ease, background 0.2s ease;
}

.bursary-read-button:hover { background: #2118b8; color: #ffffff; transform: translateY(-2px); text-decoration: none; }

/* =========================================
   NEW: TOOLBAR, STATUS, GUIDE
========================================= */

.bs-toolbar {
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.bs-tabs {
    display: inline-flex;
    padding: 5px;
    border-radius: 12px;
    background: #eeedf8;
}

.bs-tab {
    border: 0;
    border-radius: 9px;
    padding: 10px 18px;
    background: transparent;
    color: #0e094a;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.bs-tab.is-active { background: #0e094a; color: #ffffff; }

.bs-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.bs-field { position: relative; margin: 0; }

.bs-field i {
    position: absolute;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);
    color: #8a8fa0;
    font-size: 13px;
}

.bs-field input,
.bs-field select {
    height: 44px;
    border: 1.5px solid #e0e1ea;
    border-radius: 10px;
    background: #ffffff;
    color: #0e094a;
    font-family: inherit;
    font-size: 14px;
}

.bs-field input { width: 260px; padding: 0 12px 0 36px; }
.bs-field select { padding: 0 12px; min-width: 160px; }

.bs-field input:focus,
.bs-field select:focus { outline: none; border-color: #2118b8; box-shadow: 0 0 0 3px rgba(33, 24, 184, 0.12); }

.bs-check {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0e094a;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.bs-check input { width: 18px; height: 18px; accent-color: #2118b8; }

.bs-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.bs-count { margin: 0 0 16px; color: #777c8d; font-size: 13px; }

.bs-status {
    display: inline-flex;
    margin: 0 0 11px 8px;
    padding: 5px 11px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
}

.bs-status--open { background: #e3f6ec; color: #17734a; }
.bs-status--soon { background: #fdecc8; color: #8a5300; }
.bs-status--closed { background: #f1f1f4; color: #6b6f7c; }
.bs-status--check { background: #eeedf8; color: #0e094a; }

.bursary-card.is-closed { opacity: 0.72; }
.bursary-card.is-closed:hover { opacity: 1; }

.bs-empty {
    padding: 34px 24px;
    border: 1.5px dashed #d8d9e6;
    border-radius: 16px;
    background: #f8f9ff;
    color: #4d5366;
    text-align: center;
    font-size: 14px;
}

.bs-empty i { margin-right: 6px; color: #2118b8; }

.bs-skeleton {
    height: 195px;
    margin-bottom: 20px;
    border-radius: 18px;
    background: linear-gradient(90deg, #f1f2f8 25%, #f8f9fd 50%, #f1f2f8 75%);
    background-size: 200% 100%;
    animation: bs-shimmer 1.4s infinite;
}

@keyframes bs-shimmer { to { background-position: -200% 0; } }

.bs-more-wrap { text-align: center; }

.bs-more {
    min-height: 48px;
    padding: 0 30px;
    border: 1.5px solid #0e094a;
    border-radius: 9px;
    background: #ffffff;
    color: #0e094a;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.bs-more:hover { background: #0e094a; color: #ffffff; }

.bs-gov { padding-top: 20px; background: #f8f9ff; }
.bs-gov .bursary-section-heading { padding-top: 40px; }

.bs-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bs-guide-card {
    padding: 26px;
    border: 1px solid #e5e6ee;
    border-radius: 18px;
    background: #ffffff;
}

.bs-guide-card h3 { margin: 0 0 10px; color: #0e094a; font-size: 17px; font-weight: 700; }
.bs-guide-card h3 i { margin-right: 8px; color: #2118b8; }
.bs-guide-card p { margin: 0; color: #5b6174; font-size: 14px; line-height: 1.75; }

.bs-warning { border-color: #f3d48f; background: #fffaf0; }
.bs-warning h3 i { color: #b07400; }

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {
    .bursary-hero-inner { width: min(100% - 36px, 1050px); grid-template-columns: 1fr 0.82fr; gap: 30px; padding: 60px 10px; }
    .bursary-benefits { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .bursary-benefit-item { padding: 0; border-right: none; }
    .bursary-card { grid-template-columns: 255px minmax(0, 1fr) 155px; }
    .bursary-books { transform: scale(0.88); }
}

@media (max-width: 850px) {
    .bursary-hero-container, .bursary-hero-inner { min-height: auto; }
    .bursary-hero-inner { width: min(100% - 30px, 720px); padding: 48px 0 60px; grid-template-columns: 1fr; gap: 30px; }
    .bursary-hero-content { text-align: center; }
    .bursary-breadcrumb, .bursary-badge { margin-left: auto; margin-right: auto; justify-content: center; }
    .bursary-hero-description { margin-left: auto; margin-right: auto; }
    .bursary-benefits { max-width: 620px; margin: 0 auto; text-align: left; }
    .bursary-hero-visual { min-height: 455px; }
    .bursary-visual-circle { top: -70px; right: 50%; width: 500px; height: 500px; transform: translateX(50%); }
    .bursary-floating-card { top: 25px; right: 2%; }
    .bursary-card { grid-template-columns: 230px minmax(0, 1fr); }
    .bursary-card-action { grid-column: 1 / -1; padding: 0 22px 22px; justify-content: flex-end; }
    .bursary-read-button { width: 180px; }
    .bs-toolbar { flex-direction: column; align-items: stretch; }
    .bs-tabs { justify-content: center; }
    .bs-filters { justify-content: center; }
    .bs-guide-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .bursary-hero-inner { width: min(100% - 28px, 560px); padding-top: 40px; }
    .bursary-hero-content h1 { font-size: 45px; letter-spacing: -1.5px; }
    .bursary-hero-description { font-size: 14px; line-height: 1.75; }
    .bursary-benefits { grid-template-columns: 1fr; gap: 0; }
    .bursary-benefit-item { padding: 13px 0; border-bottom: 1px solid #e2e3eb; }
    .bursary-benefit-item:last-child { border-bottom: none; }
    .bursary-benefit-item h3 { font-size: 13px; }
    .bursary-benefit-item p { font-size: 11px; }
    .bursary-hero-visual { min-height: 395px; }
    .bursary-visual-circle { width: 390px; height: 390px; }
    .bursary-books { transform: scale(0.72); }
    .bursary-floating-card { top: 10px; right: 0; width: 145px; padding: 17px; }
    .bursary-floating-card h3 { font-size: 13px; }
    .bursary-floating-card p { font-size: 10px; }
    .featured-bursaries { padding: 50px 14px 70px; }
    .bursary-card { display: block; }
    .bursary-card-image, .bursary-card-image img { width: 100%; height: 185px; min-height: 185px; }
    .bursary-card-content { padding: 22px 19px; }
    .bursary-card-action { padding: 0 19px 22px; }
    .bursary-read-button { width: 100%; }
    .bs-tabs { display: flex; }
    .bs-tab { flex: 1; padding: 10px 8px; }
    .bs-field, .bs-field input, .bs-field select { width: 100%; }
    .bs-filters { flex-direction: column; align-items: stretch; }
}

@media (max-width: 400px) {
    .bursary-hero-content h1 { font-size: 38px; }
    .bursary-breadcrumb { font-size: 11px; }
    .bursary-books { transform: scale(0.64); }
    .bursary-hero-visual { min-height: 360px; }
    .bursary-floating-card { width: 130px; padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .bs-skeleton { animation: none; }
}

/* ======================================
   UNIVERSITY LINKS NAVIGATION
====================================== */

:root {
    --nav-primary: #0e094a;
    --nav-primary-light: #252071;
    --nav-background: #fffdf8;
    --nav-surface: #ffffff;
    --nav-text: #171717;
    --nav-muted: #6f7280;
    --nav-border: #e8e5de;
    --nav-accent: #3267d6;
    --nav-shadow: 0 12px 35px rgba(14, 9, 74, 0.1);
}

html, body { overflow-x: hidden; }
body { padding-top: 86px; }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 253, 248, 0.97);
    border-bottom: 1px solid var(--nav-border);
    box-shadow: 0 4px 20px rgba(14, 9, 74, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar-container {
    width: min(1450px, calc(100% - 48px));
    min-height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.navbar-brand, .mobile-brand {
    display: inline-flex;
    flex-direction: column;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-name { color: var(--nav-primary); font-size: 21px; font-weight: 800; line-height: 1.1; }

.brand-tagline {
    margin-top: 6px;
    color: var(--nav-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.desktop-navigation { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 8px; }

.nav-link {
    position: relative;
    border: 0;
    background: transparent;
    color: var(--nav-text);
    padding: 32px 17px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 17px;
    bottom: 20px;
    left: 17px;
    height: 2px;
    border-radius: 10px;
    background: var(--nav-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-link:hover, .nav-link:focus-visible { color: var(--nav-accent); }
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); }

.nav-dropdown { position: relative; }
.dropdown-trigger { display: flex; align-items: center; gap: 9px; }

.dropdown-arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.dropdown-open .dropdown-arrow { transform: rotate(225deg) translate(-2px, -2px); }

.mega-menu {
    position: absolute;
    top: calc(100% - 3px);
    right: 0;
    z-index: 20;
    padding: 34px 36px;
    background: var(--nav-background);
    border: 1px solid var(--nav-border);
    border-radius: 0 0 16px 16px;
    box-shadow: var(--nav-shadow);
    visibility: hidden;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.universities-menu { left: 0; right: auto; width: 620px; max-width: calc(100vw - 32px); }
.resources-menu { right: 0; left: auto; width: 420px; max-width: calc(100vw - 32px); }

.nav-dropdown:hover .mega-menu,
.nav-dropdown.dropdown-open .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-title {
    display: block;
    margin-bottom: 20px;
    color: var(--nav-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.navbar-province-grid, .resources-grid { display: grid; gap: 0 34px; }
.navbar-province-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.resources-grid { grid-template-columns: 1fr; }

.navbar-province-grid a, .resources-grid a {
    display: block;
    padding: 12px 0;
    color: var(--nav-text);
    border-bottom: 1px solid var(--nav-border);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.navbar-province-grid a:hover, .resources-grid a:hover { color: var(--nav-accent); padding-left: 5px; }

.mobile-menu-button {
    display: none;
    width: 48px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: var(--nav-primary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-button span { width: 21px; height: 2px; border-radius: 10px; background: #ffffff; }

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(14, 9, 74, 0.45);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active { visibility: visible; opacity: 1; }

.mobile-navigation {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1100;
    width: min(430px, 100%);
    height: 100dvh;
    background: var(--nav-background);
    box-shadow: -15px 0 40px rgba(14, 9, 74, 0.15);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
}

.mobile-navigation.active { transform: translateX(0); }

.mobile-navigation-header {
    min-height: 86px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--nav-border);
}

.mobile-close-button {
    position: relative;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-close-button span {
    position: absolute;
    top: 20px;
    left: 10px;
    width: 23px;
    height: 2px;
    border-radius: 10px;
    background: var(--nav-primary);
}

.mobile-close-button span:first-child { transform: rotate(45deg); }
.mobile-close-button span:last-child { transform: rotate(-45deg); }

.mobile-menu-content { padding: 4px 22px 35px; }

.mobile-menu-link, .mobile-dropdown-button {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    border: 0;
    border-bottom: 1px solid var(--nav-border);
    background: transparent;
    color: var(--nav-text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.mobile-dropdown-arrow {
    width: 9px;
    height: 9px;
    margin-right: 5px;
    border-right: 2px solid var(--nav-primary);
    border-bottom: 2px solid var(--nav-primary);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.mobile-dropdown.active .mobile-dropdown-arrow { transform: rotate(225deg); }

.mobile-submenu {
    display: none;
    padding: 8px 10px 14px 18px;
    background: #f8f6f0;
    border-bottom: 1px solid var(--nav-border);
}

.mobile-dropdown.active .mobile-submenu { display: block; }

.mobile-submenu a {
    display: block;
    padding: 11px 4px;
    color: var(--nav-text);
    border-bottom: 1px solid rgba(14, 9, 74, 0.07);
    font-size: 14px;
    text-decoration: none;
}

.mobile-submenu a:last-child { border-bottom: 0; }
.mobile-submenu a:hover { color: var(--nav-accent); }

.mobile-social-section {
    margin-top: 35px;
    padding: 24px 5px;
    border-top: 1px solid var(--nav-border);
    border-bottom: 1px solid var(--nav-border);
    text-align: center;
}

.social-title {
    display: block;
    margin-bottom: 18px;
    color: var(--nav-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.social-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 18px; }
.social-links a { color: var(--nav-text); font-size: 13px; font-weight: 600; text-decoration: none; }
.social-links a:hover { color: var(--nav-accent); }

body.mobile-menu-open { overflow: hidden; }

@media (max-width: 1100px) {
    body { padding-top: 76px; }
    .navbar-container { width: calc(100% - 32px); min-height: 76px; }
    .desktop-navigation { display: none; }
    .mobile-menu-button { display: flex; margin-left: auto; }
    .brand-name { font-size: 19px; }
}

@media (max-width: 480px) {
    .navbar-container { width: calc(100% - 24px); }
    .brand-name { font-size: 17px; }
    .brand-tagline { font-size: 8px; }
    .mobile-menu-button { width: 44px; height: 42px; }
    .mobile-navigation-header { padding-right: 16px; padding-left: 16px; }
    .mobile-menu-content { padding-right: 16px; padding-left: 16px; }
}

/* NAVBAR RESPONSIVE FIX */
.site-header { width: 100%; }
.site-header .navbar-container { width: calc(100% - 40px); max-width: 1450px; margin: 0 auto; padding: 0; }
.site-header .universities-menu { left: 0; right: auto; width: 620px; max-width: calc(100vw - 32px); }
.site-header .resources-menu { right: 0; left: auto; width: 420px; max-width: calc(100vw - 32px); }
.site-header .mega-menu { box-sizing: border-box; }
.site-header .desktop-navigation { min-width: 0; gap: 4px; }
.site-header .desktop-navigation .nav-link { white-space: nowrap; padding-left: 14px; padding-right: 14px; }

@media (max-width: 1350px) {
    .site-header .navbar-container { width: calc(100% - 28px); gap: 20px; }
    .site-header .desktop-navigation .nav-link { padding-left: 10px; padding-right: 10px; font-size: 14px; }
    .site-header .brand-name { font-size: 18px; }
}

@media (max-width: 1180px) {
    body { padding-top: 76px; }
    .site-header .navbar-container { width: calc(100% - 28px); min-height: 76px; }
    .site-header .desktop-navigation { display: none; }
    .site-header .mobile-menu-button { display: flex; margin-left: auto; }
}

@media (max-width: 600px) {
    .mobile-navigation { width: 100%; max-width: 100%; }
    .mobile-navigation-header { min-height: 76px; }
    .site-header .navbar-container { width: calc(100% - 24px); }
}

/* =========================================
   CARD TITLE LINK + SINGLE BURSARY PAGE
========================================= */

.bs-card-link { color: inherit; text-decoration: none; }
.bs-card-link:hover { color: #2118b8; text-decoration: none; }

.bs-detail { font-family: "Poppins", sans-serif; background: #f8f9ff; padding: 40px 20px 80px; }
.bs-detail * { box-sizing: border-box; }
.bs-detail-container { width: min(100%, 1180px); margin: 0 auto; }

.bs-preview-note {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fdecc8;
    color: #6b4d00;
    font-size: 14px;
    font-weight: 600;
}

.bs-detail-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
    align-items: center;
}

.bs-detail-head h1 {
    margin: 4px 0 14px;
    color: #0e094a;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
}

.bs-detail-summary { margin: 0; color: #5b6174; font-size: 16px; line-height: 1.8; }

.bs-detail-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(14, 9, 74, 0.12);
}

.bs-facts {
    margin: 30px 0;
    padding: 20px 24px;
    border: 1px solid #e5e6ee;
    border-radius: 16px;
    background: #ffffff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px 24px;
}

.bs-facts dt { margin: 0 0 4px; color: #7b8090; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.bs-facts dd { margin: 0; color: #0e094a; font-size: 15px; font-weight: 700; }

.bs-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; }

.bs-detail-body {
    padding: 30px 32px;
    border: 1px solid #e5e6ee;
    border-radius: 18px;
    background: #ffffff;
}

.bs-detail-body h2 { margin: 26px 0 10px; color: #0e094a; font-size: 21px; font-weight: 800; }
.bs-detail-body h2:first-child { margin-top: 0; }
.bs-detail-body p, .bs-detail-body li { color: #4d5366; font-size: 15px; line-height: 1.8; }
.bs-detail-body ul { padding-left: 20px; }
.bs-detail-body a { color: #2118b8; word-break: break-word; }

.bs-apply { width: auto; margin-top: 24px; padding: 0 24px; gap: 14px; }
.bs-apply, .bs-apply:hover { color: #ffffff; }
.bs-detail-warning { margin-top: 28px; }

.bs-back {
    display: block;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #e5e6ee;
    border-radius: 12px;
    background: #ffffff;
    color: #0e094a;
    font-weight: 700;
    text-decoration: none;
}

.bs-back:hover { color: #2118b8; text-decoration: none; }

@media (max-width: 900px) {
    .bs-detail-head, .bs-detail-layout { grid-template-columns: 1fr; }
    .bs-detail-image { max-width: 520px; }
    .bs-detail-body { padding: 24px 20px; }
}
