﻿/* ============================================================ */
/* JAMB SITE STYLES                                             */
/* Consolidated, deduplicated, production-ready                 */
/* ============================================================ */

/* ============================================================ */
/* 1. DESIGN TOKENS                                             */
/* ============================================================ */
:root {
    /* Brand palette */
    --primary: #198754;
    --primary-dark: #166534;
    --primary-light: #26d07c;
    --secondary: #F6BA66;
    --accent: #FF6B35;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #0dcaf0;
    --runner-amber: #FFC107;
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #198754 0%, #26d07c 100%);
    --gradient-hero: linear-gradient(135deg, #198754 0%, #166534 50%, #15803D 100%);
    --gradient-accent: linear-gradient(135deg, #F6BA66 0%, #FF6B35 100%);
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --text-dark: #166534;
    --text-light: #ffffff;
    /* Radii */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    /* Elevation */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    /* Motion */
    --transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Surfaces — light theme */
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-footer: #166534;
    --bg-input: #ffffff;
    --border-color: #e9ecef;
    /* Text on surfaces */
    --text-primary: #166534;
    --text-secondary: #4a4a6a;
    --text-muted: #6c757d;
    /* Layout */
    --content-max: 1400px;
    --section-gap: 2.5rem; /* consistent vertical rhythm */
}

[data-theme="dark"] {
    --bg-body: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-footer: #04210f;
    --bg-input: #2a2a40;
    --border-color: #2a2a40;
    --text-primary: #e8e8f0;
    --text-secondary: #b0b0c8;
    --text-muted: #8888a0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ============================================================ */
/* 2. RESET & BASE                                              */
/* ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-primary);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img, video, canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* ============================================================ */
/* 3. LAYOUT CONTAINERS                                         */
/* ============================================================ */
.container-full {
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
    margin-inline: 0;
}

.section-padding {
    padding: 5rem 0;
}

.section-padding-sm {
    padding: 3rem 0;
}

/* ============================================================ */
/* 4. TYPOGRAPHY                                                */
/* ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-primary);
}

.display-1, .display-2, .display-3,
.display-4, .display-5, .display-6 {
    font-weight: 900;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ============================================================ */
/* 5. BUTTONS                                                   */
/* ============================================================ */
.btn {
    position: relative;
    overflow: hidden;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    letter-spacing: 0.3px;
    font-size: 0.95rem;
    transition: var(--transition);
    isolation: isolate;
}

    .btn:focus-visible {
        outline: 3px solid rgba(38, 208, 124, 0.5);
        outline-offset: 2px;
    }

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    box-shadow: 0 4px 20px rgba(25, 135, 84, 0.3);
}

    .btn-primary:hover,
    .btn-primary:focus {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(25, 135, 84, 0.4);
        color: #fff;
    }

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

    .btn-secondary:hover,
    .btn-secondary:focus {
        background: var(--primary);
        color: #fff;
        transform: translateY(-2px);
    }

.btn-accent {
    background: var(--gradient-accent);
    border: none;
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

    .btn-accent:hover,
    .btn-accent:focus {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
        color: #fff;
    }

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
}

.btn:active {
    transform: scale(0.96);
}

/* Ripple */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    pointer-events: none;
    z-index: 0;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============================================================ */
/* 6. SHARED ATOMS                                              */
/* ============================================================ */
.divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* ============================================================ */
/* 7. QUICK LINKS (hover + tap dropdowns)                       */
/* ============================================================ */
.quick-links {
    padding: 1rem 1rem 0;
    max-width: var(--content-max);
    margin: 0 auto;
}

.quick-card {
    position: relative;
    border-radius: 20px;
    aspect-ratio: 3 / 2;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.4s;
}
    /* NOTE: no transform here — a transform would create a stacking context
   that traps the dropdown below the sticky header. */
    .quick-card:hover {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }

.quick-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.quick-card:hover .quick-card-img {
    transform: scale(1.06);
}

.quick-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

.quick-card-green::after {
    background: linear-gradient(180deg, rgba(25, 135, 84, 0) 0%, rgba(25, 135, 84, 0.9) 100%);
}

.quick-card-yellow::after {
    background: linear-gradient(180deg, rgba(246, 186, 102, 0) 0%, rgba(180, 120, 20, 0.9) 100%);
}

.quick-card-dark::after {
    background: linear-gradient(180deg, rgba(20, 83, 45, 0) 0%, rgba(20, 83, 45, 0.95) 100%);
}

.quick-card-dropdown {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1100; /* above the sticky header (z-index: 1000) */
}

.quick-card-toggle {
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s, border-radius 0.3s;
}

    .quick-card-toggle:hover,
    .quick-card-toggle[aria-expanded="true"] {
        background: rgba(255, 255, 255, 0.28);
    }

    .quick-card-toggle i {
        transition: transform 0.3s;
    }

    .quick-card-toggle[aria-expanded="true"] i {
        transform: rotate(180deg);
    }

.quick-dropdown {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0.4rem;
    width: 100%;
    max-height: 60vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: none;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    scrollbar-width: thin;
}

    .quick-dropdown::-webkit-scrollbar {
        width: 5px;
    }

    .quick-dropdown::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.25);
        border-radius: 4px;
    }

.quick-card-dropdown.is-open .quick-card-toggle,
.quick-card-dropdown:hover .quick-card-toggle,
.quick-card-dropdown:focus-within .quick-card-toggle {
    border-radius: 20px 20px 0 0;
    border-bottom-color: transparent;
    background: rgba(255, 255, 255, 0.22);
}

    .quick-card-dropdown.is-open .quick-card-toggle i,
    .quick-card-dropdown:hover .quick-card-toggle i,
    .quick-card-dropdown:focus-within .quick-card-toggle i {
        transform: rotate(180deg);
    }

.quick-card-dropdown.is-open .quick-dropdown,
.quick-card-dropdown:hover .quick-dropdown,
.quick-card-dropdown:focus-within .quick-dropdown {
    display: block;
}

.quick-dropdown .dropdown-item {
    display: block;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    white-space: normal;
}

    .quick-dropdown .dropdown-item:hover,
    .quick-dropdown .dropdown-item:focus {
        background: rgba(255, 255, 255, 0.25);
        color: #fff;
        transform: translateX(4px);
    }

    .quick-dropdown .dropdown-item + .dropdown-item {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

/* Touch devices: only reveal on tap (JS toggles .is-open) */
@media (hover: none) {
    .quick-card-dropdown:hover .quick-dropdown {
        display: none;
    }

    .quick-card-dropdown.is-open .quick-dropdown {
        display: block;
    }
}

[data-theme="dark"] .quick-dropdown {
    background: rgba(26, 26, 46, 0.55);
    border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .quick-card-toggle[aria-expanded="true"],
[data-theme="dark"] .quick-card-dropdown.is-open .quick-card-toggle {
    background: rgba(26, 26, 46, 0.6);
}

/* ============================================================ */
/* 8. HERO                                                      */
/* ============================================================ */
.hero-section {
    position: relative;
    min-height: 70vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.hero-content {
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 2rem;
    margin-top: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: #26d07c;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.5rem;
    line-height: 1.4;
}

.hero-image {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
    max-width: 520px;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.08);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.97);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 3;
}

    .floating-card i {
        font-size: 1.3rem;
        color: var(--primary);
    }

.floating-card-1 {
    top: 8%;
    right: -8%;
}

.floating-card-2 {
    bottom: 15%;
    left: -8%;
}

/* ============================================================ */
/* 9. CAROUSEL                                                  */
/* ============================================================ */
.carousel-modern {
    padding: var(--section-gap) 0 0;
    margin: 0;
}

.carousel-modern-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.carousel-modern .carousel-inner {
    height: 500px;
    border-radius: var(--radius);
}

.carousel-modern .carousel-item {
    height: 100%;
}

.carousel-modern .carousel-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}

.carousel-slide-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-title {
    color: #ffffff;
    font-size: clamp(1.6rem, 3.4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    max-width: 780px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.55);
}

.slide-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}



/* ============================================================ */
/* 10. JAMB ACT                                                 */
/* ============================================================ */
.jamb-act {
    padding: var(--section-gap) 1rem 0;
    margin: 0;
    background: var(--bg-body);
}

.section-head {
    margin-bottom: 2.5rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-title-lg {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.section-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.act-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.act-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s;
    isolation: isolate;
}

    .act-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
    }

.act-card__glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.act-card__icon {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    z-index: 1;
}

.act-card__title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 1;
    color: inherit;
}

.act-card__subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    opacity: 0.85;
    position: relative;
    z-index: 1;
}

.act-card__text {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.act-card__text--sm {
    font-size: 0.85rem;
    opacity: 0.85;
}

.act-card__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
    margin: 1.25rem 0;
    position: relative;
    z-index: 1;
}

.act-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem 1rem;
    position: relative;
    z-index: 1;
}

    .act-card__list li {
        font-size: 0.9rem;
        position: relative;
        padding-left: 1.1rem;
        opacity: 0.95;
    }

        .act-card__list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.55rem;
            width: 6px;
            height: 6px;
            background: currentColor;
            border-radius: 50%;
            opacity: 0.75;
        }

.act-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.65rem 1.5rem;
    background: #ffffff;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    z-index: 1;
}

    .act-card__cta:hover {
        transform: translateX(4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        color: var(--primary);
    }

    .act-card__cta i {
        transition: transform 0.25s;
    }

    .act-card__cta:hover i {
        transform: translateX(3px);
    }

.act-card--mission {
    background: linear-gradient(160deg, #198754 0%, #064420 100%);
}

.act-card--vision {
    background: linear-gradient(160deg, #F6BA66 0%, #d88a1f 100%);
    color: #2a1a00;
}

    .act-card--vision .act-card__icon {
        background: rgba(0, 0, 0, 0.08);
        border-color: rgba(0, 0, 0, 0.12);
    }

    .act-card--vision .act-card__divider {
        background: rgba(0, 0, 0, 0.15);
    }

.act-card--mandate {
    background: linear-gradient(160deg, #1e2b26 0%, #0f1a15 100%);
}

    .act-card--mandate .act-card__cta {
        background: #26d07c;
        color: #0a1a0f;
    }

        .act-card--mandate .act-card__cta:hover {
            color: #0a1a0f;
        }

/* ============================================================ */
/* 11. MANAGEMENT SWIPER                                        */
/* ============================================================ */
.management-section {
    padding: var(--section-gap) 0 0;
    margin: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(25, 135, 84, 0.04) 100%);
}

.management-swiper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1rem 3rem;
}

    .management-swiper .swiper-wrapper {
        align-items: stretch;
    }

    .management-swiper .swiper-slide {
        height: auto;
        display: flex;
    }

.member-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 1.5rem 1rem;
    min-height: 320px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .member-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
    }

.member-photo {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary);
}

    .member-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.member-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.member-title {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin: 0;
    line-height: 1.35;
}

/* ============================================================ */
/* 12. NEWS + BULLETINS                                         */
/* ============================================================ */
.news-bulletins {
    padding: var(--section-gap) 1rem 0;
    margin: 0 auto;
    max-width: var(--content-max);
}

.nb-panel {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.nb-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.news-scroll {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    padding-right: 4px;
}

    .news-scroll::-webkit-scrollbar {
        width: 5px;
    }

    .news-scroll::-webkit-scrollbar-thumb {
        background: rgba(25, 135, 84, 0.4);
        border-radius: 4px;
    }

.news-item {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: background 0.2s, transform 0.2s;
}

    .news-item:hover {
        background: rgba(25, 135, 84, 0.06);
        transform: translateX(4px);
    }

.news-item-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    line-height: 1.35;
}

.news-item-date {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.bulletin-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.bulletin-tile {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s;
}

    .bulletin-tile:hover {
        transform: translateY(-3px);
        border-color: var(--primary);
    }

.bulletin-thumb {
    position: relative;
    padding-bottom: 75%;
    background: #f8f9fa;
}

    .bulletin-thumb img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 4px;
    }

.bulletin-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: var(--primary);
    font-size: 1.8rem;
}

.bulletin-year {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
}

.bulletin-date {
    display: block;
    text-align: center;
    font-size: 0.65rem;
    color: var(--text-muted);
    padding: 4px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.2rem;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s;
}

    .btn-view-all:hover {
        background: var(--primary);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(25, 135, 84, 0.25);
    }

/* ============================================================ */
/* 13. ADVISORY                                                 */
/* ============================================================ */
.advisory-section {
    padding: var(--section-gap) 1rem;
    margin: 0 auto;
    max-width: var(--content-max);
}

.advisory-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s, box-shadow 0.4s;
    border-top: 4px solid var(--primary);
}

    .advisory-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

.advisory-card-warning {
    border-top-color: var(--warning);
}

.advisory-card-success {
    border-top-color: #198754;
}

.advisory-card-info {
    border-top-color: var(--info);
}

.advisory-card-danger {
    border-top-color: var(--danger);
}

.advisory-image-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #f8f9fa;
}

.advisory-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.advisory-card:hover .advisory-image {
    transform: scale(1.06);
}

.advisory-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: var(--primary);
    font-size: 3rem;
}

.advisory-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.advisory-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 4;
}

.advisory-body {
    padding: 1.25rem;
}

.advisory-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.advisory-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.advisory-footer {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.advisory-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 3px 10px;
    background: rgba(25, 135, 84, 0.06);
    border-radius: 50px;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.advisory-btn-primary,
.advisory-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.55rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s;
}

.advisory-btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
}

    .advisory-btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(25, 135, 84, 0.3);
        color: #fff;
    }

.advisory-btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

    .advisory-btn-secondary:hover {
        background: var(--primary);
        color: #fff;
        transform: translateY(-2px);
    }

/* ============================================================ */
/* 14. COUNTDOWN                                                */
/* ============================================================ */
.countdown-section {
    padding: 3rem 0;
    margin: 0;
    background: var(--gradient-hero);
    color: #fff;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 1.2rem 0.5rem;
    text-align: center;
    transition: transform 0.3s;
}

    .countdown-item:hover {
        transform: scale(1.05);
        background: rgba(255, 255, 255, 0.2);
    }

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.75;
    margin-top: 0.3rem;
}

/* ============================================================ */
/* 15. SEARCH                                                   */
/* ============================================================ */

/* Header search box */
.header-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 0.25rem 0.9rem;
    min-width: 220px;
    transition: all 0.3s ease;
}

    .header-search:focus-within {
        background: rgba(255, 255, 255, 0.25);
        border-color: #fff;
        min-width: 280px;
    }

    .header-search i {
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.9rem;
    }

    .header-search input {
        background: transparent;
        border: none;
        outline: none;
        color: #fff;
        font-size: 0.85rem;
        width: 100%;
        padding: 0.15rem 0;
    }

        .header-search input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

/* Search page */
.search-page {
    min-height: 60vh;
}

.search-form-lg {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 720px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 0.4rem 0.4rem 0.4rem 1.2rem;
    box-shadow: var(--shadow-md);
    transition: border-color 0.3s, box-shadow 0.3s;
}

    .search-form-lg:focus-within {
        border-color: var(--primary);
        box-shadow: 0 8px 30px rgba(25, 135, 84, 0.15);
    }

    .search-form-lg i {
        color: var(--primary);
        font-size: 1.1rem;
    }

    .search-form-lg input {
        flex: 1;
        background: transparent;
        border: none;
        outline: none;
        font-size: 1rem;
        color: var(--text-primary);
        padding: 0.5rem 0;
    }

        .search-form-lg input::placeholder {
            color: var(--text-muted);
        }

    .search-form-lg .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

.search-group {
    max-width: 900px;
    margin: 2.5rem auto 0;
}

.search-group-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-count {
    background: rgba(25, 135, 84, 0.1);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 50px;
    margin-left: auto;
}

.search-results {
    display: grid;
    gap: 0.75rem;
}

.search-result {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

    .search-result:hover {
        transform: translateY(-3px);
        border-color: var(--primary);
        box-shadow: var(--shadow-md);
    }

    .search-result h3 {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 0.35rem;
        line-height: 1.3;
    }

    .search-result:hover h3 {
        color: var(--primary);
    }

    .search-result p {
        font-size: 0.88rem;
        color: var(--text-secondary);
        line-height: 1.55;
        margin-bottom: 0.4rem;
    }

.search-result-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

    .search-result-date i {
        margin-right: 4px;
    }

/* ============================================================ */
/* 16. JAMB RUNNER                                              */
/* ============================================================ */
.jamb-runner {
    position: relative;
    width: 100%;
    height: 460px;
    background: #0b1613;
    overflow: hidden;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    font-family: var(--font-sans);
    margin: 0;
}

#runnerCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* HUD */
.runner-hud {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 5;
    pointer-events: none;
    color: #d6ffe5;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}

.runner-hud__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.runner-hud__label {
    opacity: 0.55;
    font-size: 0.65rem;
}

.runner-hud__value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #26d07c;
    font-variant-numeric: tabular-nums;
}

#runnerLives {
    color: #ff6b6b;
    letter-spacing: 2px;
}

/* Milestones */
.runner-milestones {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 5;
    pointer-events: none;
}

.milestone {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(214, 255, 229, 0.35);
    border: 1px solid rgba(38, 208, 124, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

    .milestone.unlocked {
        background: rgba(38, 208, 124, 0.15);
        color: #26d07c;
        border-color: rgba(38, 208, 124, 0.5);
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(38, 208, 124, 0.3);
    }

/* Overlay */
.runner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: rgba(11, 22, 19, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10;
    transition: opacity 0.35s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(38, 208, 124, 0.4) transparent;
}

    .runner-overlay::-webkit-scrollbar {
        width: 6px;
    }

    .runner-overlay::-webkit-scrollbar-thumb {
        background: rgba(38, 208, 124, 0.4);
        border-radius: 50px;
    }

    .runner-overlay::-webkit-scrollbar-track {
        background: transparent;
    }

    .runner-overlay.hidden {
        opacity: 0;
        pointer-events: none;
    }

.runner-overlay__card {
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 520px;
    width: 100%;
    margin: auto;
}

.runner-overlay__title {
    color: #26d07c;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 900;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.runner-overlay__text {
    color: #d6ffe5;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

    .runner-overlay__text small {
        opacity: 0.6;
    }

.runner-overlay__hint {
    color: rgba(214, 255, 229, 0.5);
    font-size: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

    .runner-overlay__hint kbd {
        background: rgba(38, 208, 124, 0.15);
        border: 1px solid rgba(38, 208, 124, 0.35);
        color: #26d07c;
        padding: 1px 6px;
        border-radius: 4px;
        font-size: 0.7rem;
    }

.runner-overlay__actions {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

    .runner-overlay__actions .btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

.runner-overlay .btn-outline-light {
    border-color: rgba(38, 208, 124, 0.4);
    color: #26d07c;
    background: transparent;
}

    .runner-overlay .btn-outline-light:hover {
        background: rgba(38, 208, 124, 0.15);
        border-color: #26d07c;
        color: #26d07c;
    }

/* Question popup */
.runner-question {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(11, 22, 19, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 20;
    animation: fadeIn 0.25s ease;
}

    .runner-question[hidden] {
        display: none;
    }

.runner-question__card {
    background: #102520;
    border: 1px solid rgba(38, 208, 124, 0.25);
    border-radius: 18px;
    padding: 1.5rem;
    width: 100%;
    max-width: 640px;
    max-height: 90%;
    overflow-y: auto;
    color: #e8fff5;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    scrollbar-width: thin;
}

.runner-question__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.runner-question__subject {
    color: #26d07c;
}

.runner-question__progress {
    color: rgba(214, 255, 229, 0.5);
}

.runner-question__text {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.1rem;
    color: #e8fff5;
}

.runner-question__options {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.runner-option {
    display: block;
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(38, 208, 124, 0.18);
    color: #d6ffe5;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

    .runner-option:hover:not(:disabled) {
        background: rgba(38, 208, 124, 0.12);
        border-color: rgba(38, 208, 124, 0.5);
        transform: translateX(4px);
    }

    .runner-option:disabled {
        cursor: default;
    }

    .runner-option.correct {
        background: rgba(38, 208, 124, 0.22);
        border-color: #26d07c;
        color: #ffffff;
    }

    .runner-option.wrong {
        background: rgba(255, 107, 107, 0.18);
        border-color: #ff6b6b;
        color: #ffd6d6;
    }

.runner-question__feedback {
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 1.3rem;
    margin: 0;
    text-align: center;
}

    .runner-question__feedback.ok {
        color: #26d07c;
    }

    .runner-question__feedback.no {
        color: #ff6b6b;
    }

/* Stats grid (game over) */
.runner-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    padding: 0.85rem 0.5rem;
    background: rgba(38, 208, 124, 0.06);
    border: 1px solid rgba(38, 208, 124, 0.18);
    border-radius: 14px;
}

.runner-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.runner-stats__value {
    font-size: 1.35rem;
    font-weight: 900;
    color: #26d07c;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.runner-stats__label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(214, 255, 229, 0.55);
}

/* Leaderboard */
.runner-leaderboard {
    margin-bottom: 1.25rem;
    text-align: left;
}

.runner-leaderboard__title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #26d07c;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: center;
}

.runner-leaderboard__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.3rem;
}

.runner-lb-row {
    display: grid;
    grid-template-columns: 28px 1fr auto auto;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(38, 208, 124, 0.12);
    border-radius: 10px;
    font-size: 0.85rem;
    color: #d6ffe5;
    transition: all 0.25s ease;
}

    .runner-lb-row.is-current {
        background: rgba(38, 208, 124, 0.15);
        border-color: rgba(38, 208, 124, 0.5);
        box-shadow: 0 0 20px rgba(38, 208, 124, 0.2);
    }

        .runner-lb-row.is-current .runner-lb-rank {
            animation: lbPop 0.6s ease;
        }

@keyframes lbPop {
    0% {
        transform: scale(0.6);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.runner-lb-rank {
    font-weight: 900;
    color: #26d07c;
    text-align: center;
    font-size: 0.9rem;
}

.runner-lb-row:nth-child(1) .runner-lb-rank {
    color: #ffd700;
    font-size: 1.05rem;
}

.runner-lb-row:nth-child(2) .runner-lb-rank {
    color: #c0c0c0;
}

.runner-lb-row:nth-child(3) .runner-lb-rank {
    color: #cd7f32;
}

.runner-lb-score {
    font-weight: 800;
    color: #26d07c;
    font-variant-numeric: tabular-nums;
}

.runner-lb-date {
    font-size: 0.7rem;
    color: rgba(214, 255, 229, 0.4);
    font-variant-numeric: tabular-nums;
}

.runner-leaderboard__empty {
    text-align: center;
    color: rgba(214, 255, 229, 0.5);
    font-size: 0.8rem;
    margin: 0.25rem 0 0;
}

/* Share modal */
.runner-share {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem;
    background: rgba(11, 22, 19, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 30;
    animation: fadeIn 0.25s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(38, 208, 124, 0.4) transparent;
}

    .runner-share[hidden] {
        display: none;
    }

    .runner-share::-webkit-scrollbar {
        width: 6px;
    }

    .runner-share::-webkit-scrollbar-thumb {
        background: rgba(38, 208, 124, 0.4);
        border-radius: 50px;
    }

.runner-share__card {
    background: #102520;
    border: 1px solid rgba(38, 208, 124, 0.25);
    border-radius: 18px;
    padding: 1.25rem;
    width: 100%;
    max-width: 520px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-height: calc(100% - 1rem);
}

.runner-share__title {
    color: #26d07c;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    flex-shrink: 0;
}

.runner-share__preview {
    flex: 1 1 auto;
    min-height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    max-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b1613;
}

    .runner-share__preview img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
    }

.runner-share__actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    flex-shrink: 0;
}

    .runner-share__actions .btn {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
    }

.runner-share .btn-outline-light {
    border-color: rgba(38, 208, 124, 0.4);
    color: #26d07c;
    background: transparent;
}

    .runner-share .btn-outline-light:hover {
        background: rgba(38, 208, 124, 0.15);
        color: #26d07c;
    }

.runner-share .btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
}

    .runner-share .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
    }

.runner-share__hint {
    color: rgba(214, 255, 229, 0.55);
    font-size: 0.75rem;
    margin: 0;
    min-height: 1.1em;
    flex-shrink: 0;
}

/* Toast */
.runner-toast {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(38, 208, 124, 0.95);
    color: #0a1a0f;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 10px 30px rgba(38, 208, 124, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    z-index: 40;
}

    .runner-toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

/* ============================================================ */
/* 17. DARK MODE OVERRIDES                                      */
/* ============================================================ */
[data-theme="dark"] body,
[data-theme="dark"] main,
[data-theme="dark"] .quick-links,
[data-theme="dark"] .carousel-modern,
[data-theme="dark"] .jamb-act,
[data-theme="dark"] .management-section,
[data-theme="dark"] .news-bulletins,
[data-theme="dark"] .advisory-section {
    background-color: var(--bg-body);
    color: var(--text-primary);
}

[data-theme="dark"] .header-modern,
[data-theme="dark"] .main-nav {
    background-color: var(--bg-card);
}

    [data-theme="dark"] .main-nav .navbar-nav .nav-link {
        color: var(--text-primary);
    }

[data-theme="dark"] .nb-panel,
[data-theme="dark"] .member-card,
[data-theme="dark"] .advisory-card,
[data-theme="dark"] .badge-card,
[data-theme="dark"] .search-result,
[data-theme="dark"] .search-form-lg {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-color);
}

    [data-theme="dark"] .nb-title,
    [data-theme="dark"] .member-name,
    [data-theme="dark"] .advisory-title,
    [data-theme="dark"] .news-item-title,
    [data-theme="dark"] .search-result h3 {
        color: var(--text-primary);
    }

[data-theme="dark"] .news-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* ============================================================ */
/* 18. RESPONSIVE                                               */
/* ============================================================ */

/* ----- Large tablets (≤ 991px) ----- */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
    }

    .hero-content {
        padding: 3rem 1.5rem;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .floating-card-1 {
        top: 5%;
        right: 5%;
    }

    .floating-card-2 {
        bottom: 8%;
        left: 5%;
    }

    .carousel-modern .carousel-inner {
        height: 420px;
    }

    .act-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 560px;
    }

    .act-card {
        padding: 1.75rem 1.5rem;
    }
}

/* ----- Small tablets / large phones (≤ 767px) ----- */
@media (max-width: 767px) {
    .display-1 {
        font-size: 2.5rem;
    }

    .display-2 {
        font-size: 2.2rem;
    }

    .display-3 {
        font-size: 1.8rem;
    }

    .display-4 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    /* Section spacing (mobile) */
    .quick-links {
        padding: 1rem 0.75rem 0;
    }

    .carousel-modern {
        padding: 2rem 0 0;
    }

    .jamb-act {
        padding: 2rem 0.75rem 0;
    }

    .management-section {
        padding: 2rem 0 0;
    }

    .news-bulletins {
        padding: 2rem 0.75rem 0;
    }

    .advisory-section {
        padding: 2rem 0.75rem;
    }

    .countdown-section {
        padding: 2.5rem 0;
    }

    /* Quick links */
    .quick-card {
        aspect-ratio: 16 / 10;
    }

    .quick-card-toggle {
        font-size: 0.9rem;
        padding: 0.6rem 0.9rem;
    }

    /* Hero */
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .floating-card {
        display: none;
    }

    /* Carousel */
    .carousel-modern .carousel-inner {
        height: 350px;
    }

    .slide-title {
        font-size: 1.8rem;
    }

    /* Countdown */
    .countdown-number {
        font-size: 2rem;
    }

    .countdown-item {
        padding: 0.8rem 0.2rem;
    }

    /* Bulletins */
    .bulletin-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Search */
    .search-form-lg {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
        border-radius: 16px;
    }

        .search-form-lg i {
            display: none;
        }

        .search-form-lg input {
            text-align: center;
            padding: 0.75rem;
        }

        .search-form-lg .btn {
            width: 100%;
        }

    .search-group-title {
        font-size: 0.9rem;
    }

    /* JAMB Runner */
    .jamb-runner {
        height: 520px;
    }

    .runner-hud {
        font-size: 0.7rem;
        gap: 0.75rem;
    }

    .runner-hud__value {
        font-size: 0.9rem;
    }

    .runner-milestones {
        gap: 0.35rem;
        bottom: 0.6rem;
    }

    .milestone {
        font-size: 0.6rem;
        padding: 3px 8px;
    }

    .runner-overlay {
        padding: 0.75rem;
    }

    .runner-overlay__card {
        padding: 1.5rem 1rem;
    }

    .runner-overlay__actions .btn {
        flex: 1;
        min-width: 0;
    }

    .runner-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .runner-stats__value {
        font-size: 1.1rem;
    }

    .runner-question__card {
        padding: 1.15rem;
    }

    .runner-question__text {
        font-size: 0.92rem;
    }

    .runner-option {
        font-size: 0.85rem;
        padding: 0.65rem 0.85rem;
    }

    .runner-lb-row {
        grid-template-columns: 24px 1fr auto;
        font-size: 0.78rem;
        padding: 0.45rem 0.6rem;
    }

    .runner-lb-date {
        display: none;
    }

    /* Share modal (mobile) */
    .runner-share {
        padding: 0.6rem;
    }

    .runner-share__card {
        padding: 1rem;
        gap: 0.6rem;
        border-radius: 14px;
    }

    .runner-share__title {
        font-size: 1rem;
    }

    .runner-share__preview {
        max-height: 45vh;
    }

    .runner-share__actions {
        flex-direction: column;
    }

        .runner-share__actions .btn {
            width: 100%;
        }

    .runner-share__hint {
        font-size: 0.7rem;
    }
}

/* ----- Phones (≤ 480px) ----- */
@media (max-width: 480px) {
    .display-1 {
        font-size: 2rem;
    }

    .display-2 {
        font-size: 1.8rem;
    }

    .display-3 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .quick-card {
        aspect-ratio: 4 / 3;
    }

    .quick-card-toggle {
        font-size: 0.8rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem 1rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .carousel-modern .carousel-inner {
        height: 300px;
    }

    .slide-title {
        font-size: 1.4rem;
    }

    .slide-description {
        font-size: 0.85rem;
    }

    .countdown-number {
        font-size: 1.7rem;
    }

    .bulletin-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.35rem;
    }

    .advisory-text {
        -webkit-line-clamp: 4;
    }

    /* JAMB Runner */
    .act-card__list {
        grid-template-columns: 1fr;
    }

    .act-card__icon {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }
}

/* ----- Landscape phones / very short screens ----- */
@media (max-height: 560px) {
    .runner-share__preview {
        max-height: 35vh;
    }
}

/* ----- Reduced motion (accessibility) ----- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* ============================================================ */
/* HEADER SOCIAL LINKS                                          */
/* ============================================================ */
.header-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .header-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        text-decoration: none;
        font-size: 0.95rem;
        transition: background 0.25s ease, transform 0.25s ease;
    }

        .header-social a:hover,
        .header-social a:focus {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-2px);
            color: #ffffff;
        }

/* Make sure the top bar stays compact on small screens */
@media (max-width: 991px) {
    .header-social {
        display: none !important;
    }
}
