/* ==========================================
   EXCEL GROUP OF SCHOOLS - HOMEPAGE STYLES
   ========================================== */

/* --- CSS Variables / Color Tokens --- */
:root {
    --bg-dark: #1b0735;
    --bg-dark-secondary: #140528;
    --primary-blue: #007bff;
    --primary-blue-hover: #0056b3;
    
    /* Academic Level Colors */
    --color-daycare: #8b2c99;
    --color-nursery: #00b4d8;
    --color-primary: #00b569;
    --color-secondary: #f57c00;
    
    --text-main: #212529;
    --text-muted: #555555;
    --text-light: #ffffff;
    --bg-light: #f4f6f9;
    
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --hover-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

/* --- Basic Reset & Base Setup --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
}

body.modal-open, body.admin-open {
    overflow: hidden !important;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 94%;
    max-width: 1360px;
    margin: 0 auto;
}

/* --- HEADER & NAVIGATION --- */
.main-header {
    background-color: var(--bg-dark);
    color: var(--text-light);
    position: sticky;
    top: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 3%;
    max-width: 1360px;
    margin: 0 auto;
    width: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.logo-badge {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: #ffffff;
    border: 2.5px solid #ffd700;
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.45), 0 4px 10px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 3px;
    flex-shrink: 0;
    transition: var(--hover-transition);
}

.brand-logo:hover .logo-badge {
    transform: scale(1.06) rotate(2deg);
    border-color: #ffe66d;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.7), 0 6px 14px rgba(0, 0, 0, 0.45);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.brand-title {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-title-main {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.02rem;
    letter-spacing: 0.5px;
    color: #ffffff;
    white-space: nowrap;
}

.brand-title-sub {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 800;
    color: #ffd700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--hover-transition);
    padding: 4px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link.active::after, .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.nav-link.nav-admin-link {
    color: #ffd700 !important;
    font-weight: 700;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 20px;
    padding: 5px 14px !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--hover-transition);
}

.nav-link.nav-admin-link:hover {
    background: #ffd700 !important;
    color: #1b0735 !important;
    border-color: #ffd700;
}

.nav-link.nav-admin-link::after {
    display: none !important;
}

/* --- GROUPED DROPDOWN NAV MENUS --- */
.nav-item.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background-color: #140528;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 8px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    transition: var(--hover-transition);
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding-left: 22px;
}

.dropdown-icon {
    font-size: 0.75rem;
}

.dropdown-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 6px 0;
}

.dropdown-item.highlight-item {
    color: #00b4d8;
    font-weight: 700;
}
.dropdown-item.highlight-item:hover {
    background-color: rgba(0, 180, 216, 0.15);
}

.dropdown-item.admin-dropdown-link {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}
.dropdown-item.admin-dropdown-link:hover {
    background-color: rgba(139, 44, 153, 0.25);
    color: #ffffff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-apply {
    background-color: var(--primary-blue);
    color: #ffffff;
    padding: 8px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--hover-transition);
    box-shadow: 0 3px 8px rgba(0, 123, 255, 0.4);
}

.btn-apply:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: var(--hover-transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- MAIN DASHBOARD SECTION (TOP) --- */
.top-dashboard-section {
    padding: 25px 0 40px 0;
}

.grid-dashboard {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 25px;
    align-items: stretch;
}

/* LEFT HERO CARD */
.hero-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background-color: #000;
    min-height: 560px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 50%, rgba(15, 4, 32, 0.88) 100%);
}

/* Slide Preview Widget on Hero */
.hero-slide-preview {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 110px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 5;
}

.preview-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-nav-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    transition: var(--hover-transition);
}

.slide-nav-btn:hover {
    transform: scale(1.1);
}

/* Hero Carousel Controls & Dots */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(27, 7, 53, 0.65);
    backdrop-filter: blur(4px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--hover-transition);
}

.hero-arrow:hover {
    background-color: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
}

.arrow-left { left: 15px; }
.arrow-right { right: 15px; }

.hero-dots {
    position: absolute;
    bottom: 95px;
    left: 30px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--hover-transition);
}

.hero-dot.active {
    width: 28px;
    border-radius: 10px;
    background-color: var(--primary-blue);
}

.hero-img-fade {
    transition: opacity 0.5s ease-in-out;
}

/* Hero Caption */
.hero-caption {
    position: relative;
    z-index: 5;
    padding: 30px;
    color: #ffffff;
}

.hero-title {
    font-family: var(--font-heading);
    margin-bottom: 25px;
    line-height: 1.2;
}

.title-top {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.title-sub {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* Campus Pills Row */
.campus-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.campus-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 22px 10px 10px;
    border-radius: 50px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--hover-transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.pill-purple {
    background-color: var(--color-daycare);
}

.pill-blue {
    background-color: #165eb9;
}

.campus-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.pill-icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RIGHT PANEL: ACADEMIC & CAMPUSES QUICK GRID */
.dashboard-right-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.panel-section-title {
    text-align: center;
}

.panel-section-title h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #1b0735;
}

.panel-section-title.mt-4 {
    margin-top: 15px;
}

/* Quick Academic 4-Cards Grid */
.academic-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.07);
    transition: var(--hover-transition);
}

.quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.quick-img-wrap {
    width: 100%;
    height: 96px;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
}

.quick-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.quick-icon-badge {
    position: absolute;
    bottom: -12px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    border: 2px solid #ffffff;
    z-index: 2;
}

.level-daycare .quick-icon-badge { background-color: var(--color-daycare); }
.level-nursery .quick-icon-badge { background-color: var(--color-nursery); }
.level-primary .quick-icon-badge { background-color: var(--color-primary); }
.level-secondary .quick-icon-badge { background-color: var(--color-secondary); }

.quick-card-content {
    padding: 15px 8px 10px 8px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quick-card-content h3 {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.level-daycare .quick-card-content h3 { color: var(--color-daycare); }
.level-nursery .quick-card-content h3 { color: var(--color-nursery); }
.level-primary .quick-card-content h3 { color: var(--color-primary); }
.level-secondary .quick-card-content h3 { color: var(--color-secondary); }

.quick-card-content p {
    font-size: 0.68rem;
    line-height: 1.35;
    color: #475569;
    font-weight: 500;
    margin: 0;
}

/* Campuses & Facilities 6-Grid */
.campuses-facilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.facility-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
    transition: var(--hover-transition);
}

.facility-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.facility-img-wrap {
    height: 105px;
    overflow: hidden;
    background-color: #e2e8f0;
}

.facility-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-info {
    padding: 8px 10px;
}

.facility-info.center-text {
    text-align: center;
}

.facility-info h4 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: #1b0735;
    margin-bottom: 3px;
}

.facility-info p {
    font-size: 0.62rem;
    color: #6c757d;
    line-height: 1.25;
}

/* --- STARS OF THE WEEK SHOWCASE SECTION --- */
.stars-section {
    padding: 45px 0;
    background: linear-gradient(180deg, #fdfbf7 0%, #f4f6f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

.section-tag-gold {
    display: inline-block;
    background: rgba(255, 215, 0, 0.18);
    color: #8c6800;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.stars-campus-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px auto 14px;
    flex-wrap: wrap;
}

.stars-campus-btn {
    padding: 8px 18px;
    border-radius: 25px;
    border: 1.5px solid #d4af37;
    background-color: #ffffff;
    color: #1b0735;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--hover-transition);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.stars-campus-btn:hover {
    background-color: #fdf6e2;
    transform: translateY(-2px);
}

.stars-campus-btn.active {
    background: linear-gradient(135deg, #1b0735, #4b1066);
    color: #ffd700;
    border-color: #ffd700;
    box-shadow: 0 4px 12px rgba(27, 7, 53, 0.25);
}

.stars-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stars-level-tab {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--hover-transition);
}

.stars-level-tab:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

.stars-level-tab.active {
    background-color: #ffd700;
    color: #1b0735;
    font-weight: 800;
    border-color: #ffd700;
    box-shadow: 0 3px 8px rgba(255, 215, 0, 0.3);
}

.stars-carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.stars-grid-horizontal {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 22px;
    padding: 12px 10px 24px 10px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #ffd700 #f1f5f9;
}

.stars-grid-horizontal::-webkit-scrollbar {
    height: 8px;
}

.stars-grid-horizontal::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.stars-grid-horizontal::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #ffd700, #b8860b);
    border-radius: 10px;
}

.star-card {
    flex: 0 0 310px;
    min-width: 300px;
    max-width: 320px;
    scroll-snap-align: start;
    background-color: #ffffff;
    border: 1px solid #eedc9a;
    border-radius: 16px;
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--hover-transition);
    overflow: hidden;
}

.stars-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1b0735, #4b1066);
    color: #ffd700;
    border: 2px solid #ffd700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(27, 7, 53, 0.4);
    transition: var(--hover-transition);
}

.stars-nav-btn:hover {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1b0735;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.stars-nav-left {
    left: -18px;
}

.stars-nav-right {
    right: -18px;
}

@media (max-width: 768px) {
    .stars-nav-left { left: -6px; width: 38px; height: 38px; }
    .stars-nav-right { right: -6px; width: 38px; height: 38px; }
    .star-card { flex: 0 0 280px; min-width: 270px; }
}

.stars-scroll-hint {
    text-align: center;
    font-size: 0.76rem;
    font-weight: 700;
    color: #8c6800;
    margin-top: 6px;
    opacity: 0.85;
}

.star-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ffd700, #ff9800, #ffd700);
}

.star-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.18);
    border-color: #d4af37;
}

.star-crown-badge {
    position: absolute;
    top: 10px;
    right: 12px;
    background: #fff8e1;
    color: #b8860b;
    border: 1px solid #ffe082;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.star-photo-wrap {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    margin: 12px auto 14px;
    padding: 4px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.25);
    flex-shrink: 0;
}

.star-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background-color: #f8fafc;
    border: 2px solid #ffffff;
}

.star-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #1b0735;
    margin-bottom: 6px;
    line-height: 1.25;
}

.star-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.star-class-badge {
    background-color: #6b1d8c;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.star-campus-badge {
    background-color: #e2e8f0;
    color: #334155;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.star-campus-badge.enugu {
    background-color: rgba(107, 29, 140, 0.12);
    color: #6b1d8c;
}

.star-campus-badge.awka {
    background-color: rgba(22, 94, 185, 0.12);
    color: #165eb9;
}

.star-calendar-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: #8c6800;
    background-color: #fff9e6;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #ffeeba;
    margin-bottom: 12px;
    font-weight: 600;
}

.star-citation {
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.45;
    background-color: #f8fafc;
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 3px solid #ffd700;
    margin-top: auto;
    width: 100%;
    font-style: italic;
}

.stars-empty-state {
    grid-column: 1 / -1;
    padding: 40px 20px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
}

.stars-empty-state p {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Admin Stars List */
.admin-star-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    gap: 10px;
}

.admin-star-thumb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffd700;
    flex-shrink: 0;
}

.admin-star-info {
    flex: 1;
}

.admin-star-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
}

.admin-star-sub {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

.admin-star-del-btn {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid #ef4444;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    cursor: pointer;
    font-weight: 700;
    transition: var(--hover-transition);
}

.admin-star-del-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

/* --- ONLINE ASSIGNMENT PORTAL SECTION --- */
.assignment-section {
    padding: 40px 0;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.section-subtitle {
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 5px;
    font-weight: 500;
}

.assignment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 15px;
}

.assignment-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 25px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: var(--hover-transition);
}

.assignment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.card-download { border-top: 5px solid var(--primary-blue); }
.card-upload { border-top: 5px solid var(--color-daycare); }

.assignment-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 15px;
}

.assignment-badge-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-dl { background-color: rgba(0, 123, 255, 0.12); color: var(--primary-blue); }
.icon-ul { background-color: rgba(139, 44, 153, 0.12); color: var(--color-daycare); }

.assignment-title-wrap h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #1b0735;
    line-height: 1.2;
}

.assignment-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.assignment-desc {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 20px;
}

.assignment-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.btn-assignment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    transition: var(--hover-transition);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.btn-download-primary {
    background-color: var(--primary-blue);
}
.btn-download-primary:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-1px);
}

.btn-download-secondary {
    background-color: #00b4d8;
}
.btn-download-secondary:hover {
    background-color: #0096c7;
    transform: translateY(-1px);
}

.btn-upload-primary {
    background-color: var(--color-daycare);
    margin-top: auto;
}
.btn-upload-primary:hover {
    background-color: #6b1d8c;
    transform: translateY(-1px);
}

/* Upload Dropzone Styling */
.upload-dropzone {
    border: 2px dashed rgba(139, 44, 153, 0.35);
    background-color: #fdf4ff;
    border-radius: 10px;
    padding: 22px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 18px;
    cursor: pointer;
    transition: var(--hover-transition);
    position: relative;
}

.upload-dropzone:hover, .upload-dropzone.dragover {
    background-color: #fae8ff;
    border-color: var(--color-daycare);
}

.dropzone-text {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: #1b0735;
}

.dropzone-sub {
    font-size: 0.68rem;
    color: #64748b;
}

.file-input-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* --- FEATURED ACADEMIC LEVELS SHOWCASE SECTION --- */
.academic-showcase-section {
    padding: 30px 0 50px 0;
    background-color: #ffffff;
}

.section-heading {
    text-align: center;
    margin-bottom: 25px;
}

.section-heading h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #1b0735;
}

.academic-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.showcase-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    transition: var(--hover-transition);
}

.showcase-card:hover {
    transform: translateY(-5px);
}

.showcase-header {
    padding: 15px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.card-daycare .showcase-header { background-color: var(--color-daycare); }
.card-nursery .showcase-header { background-color: var(--color-nursery); }
.card-primary .showcase-header { background-color: var(--color-primary); }
.card-secondary .showcase-header { background-color: var(--color-secondary); }

.showcase-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.showcase-img-box {
    height: 180px;
    overflow: hidden;
    background-color: #edf2f7;
}

.showcase-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-footer {
    padding: 12px 15px;
    background-color: #f8f9fa;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #e9ecef;
}

.showcase-footer p {
    font-size: 0.78rem;
    color: #495057;
    font-weight: 600;
    line-height: 1.3;
}

/* --- WHY CHOOSE EXCEL & LATEST NEWS SECTION --- */
.info-news-section {
    padding: 40px 0;
    background-color: var(--bg-light);
}

.grid-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.box-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #1b0735;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.why-choose-card {
    background-color: #ffffff;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #333333;
}

.check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(139, 44, 153, 0.12);
    color: var(--color-daycare);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.latest-news-card {
    background-color: #ffffff;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.news-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.news-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: var(--hover-transition);
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.news-img-wrap {
    height: 120px;
    overflow: hidden;
}

.news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-body {
    padding: 12px;
}

.news-body h4 {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: #1b0735;
    line-height: 1.3;
    margin-bottom: 8px;
}

.news-date {
    font-size: 0.7rem;
    color: #888888;
    display: block;
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--bg-dark);
    color: #ffffff;
    padding: 40px 0 30px 0;
    margin-top: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 30px;
}

.col-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-svg-footer {
    width: 50px;
    height: 50px;
}

.footer-brand-name span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.2;
    display: block;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--hover-transition);
}

.footer-socials a:hover {
    background-color: #ffffff;
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--hover-transition);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 3px;
}

/* Map Preview Box */
.map-preview-box {
    position: relative;
    width: 100%;
    height: 110px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

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

.map-overlay-badge {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #444;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
}

/* Contact Info List */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
}

.contact-info-list li svg {
    color: var(--primary-blue);
    flex-shrink: 0;
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* ==========================================================================
   DESKTOP & LAPTOP FLUID SCALING (992px to 1360px)
   Keeps Full Desktop Navigation Active with Zero Overflow & Balanced Proportions
   ========================================================================== */
@media (max-width: 1360px) and (min-width: 992px) {
    .header-container {
        padding: 10px 20px;
        gap: 12px;
    }

    .brand-logo {
        gap: 8px;
        flex-shrink: 0;
    }

    .logo-badge {
        width: 44px;
        height: 44px;
        min-width: 44px;
        padding: 2px;
    }

    .brand-title-main {
        font-size: 0.94rem;
        letter-spacing: 0.3px;
    }

    .brand-title-sub {
        font-size: 0.58rem;
        letter-spacing: 0.8px;
    }

    .nav-menu {
        gap: 14px;
    }

    .nav-link {
        font-size: 0.84rem;
        padding: 4px 2px;
    }

    /* Admin link is always accessible in the Portals dropdown */
    .nav-link.nav-admin-link {
        display: none !important;
    }

    .header-actions {
        gap: 8px;
        flex-shrink: 0;
    }

    .btn-apply {
        padding: 7px 12px;
        font-size: 0.82rem;
    }
}

@media (max-width: 1180px) and (min-width: 992px) {
    .brand-title-sub {
        display: none;
    }

    .nav-menu {
        gap: 10px;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    .btn-whatsapp span {
        display: none;
    }

    .btn-whatsapp {
        padding: 7px 10px;
    }

    .btn-online-apply {
        padding: 7px 10px;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   TABLET & MOBILE BREAKPOINT (991px and below)
   Activates Full Mobile Navigation Drawer & Single Column Cards
   ========================================================================== */
@media (max-width: 991px) {
    .header-container {
        padding: 10px 16px;
    }

    .brand-logo {
        gap: 8px;
    }

    .logo-badge {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .brand-title-main {
        font-size: 0.88rem;
        letter-spacing: 0.2px;
    }

    .brand-title-sub {
        font-size: 0.58rem;
        letter-spacing: 0.6px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #140528;
        border-bottom: 2px solid var(--accent-gold);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        gap: 16px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
        z-index: 1050;
        max-height: 80vh;
        max-height: 80dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        display: flex;
        animation: fadeInUp 0.3s ease-out;
    }

    .nav-menu .nav-link {
        width: 100%;
        font-size: 1rem;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 8px;
        width: 100%;
        display: none;
        border-radius: 8px;
    }

    .nav-item.dropdown.active .dropdown-menu {
        display: flex;
        flex-direction: column;
    }

    .mobile-toggle {
        display: flex;
    }

    .grid-dashboard {
        grid-template-columns: 1fr;
    }

    .portal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .academic-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile & Small Screen Breakpoint (768px and below) — All Forms 100% Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 8px 12px;
        gap: 8px;
        max-width: 100vw;
        position: relative;
    }

    .brand-logo {
        gap: 8px;
        min-width: 0;
        max-width: calc(100% - 130px);
        flex-shrink: 1;
        overflow: hidden;
    }

    .logo-badge {
        width: 42px;
        height: 42px;
        min-width: 42px;
        padding: 2px;
    }

    .brand-title {
        min-width: 0;
        overflow: hidden;
    }

    .brand-title-main {
        font-size: 0.84rem;
        letter-spacing: 0.2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-title-sub {
        font-size: 0.54rem;
        letter-spacing: 0.6px;
        white-space: nowrap;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
    }

    .header-actions .btn-online-apply {
        padding: 6px 10px !important;
        font-size: 0.76rem !important;
        border-radius: 6px;
        white-space: nowrap;
    }

    .header-actions .btn-whatsapp {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 6px 10px;
        font-size: 0.76rem;
        border-radius: 20px;
        white-space: nowrap;
    }

    .academic-quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portal-grid {
        grid-template-columns: 1fr;
    }

    .assignment-grid {
        grid-template-columns: 1fr;
    }

    .grid-two-col {
        grid-template-columns: 1fr;
    }

    .title-top {
        font-size: 1.3rem;
    }

    .title-sub {
        font-size: 1.5rem;
    }

    /* ALL MODALS & FORM RESPONSIVENESS */
    .admission-modal-box, 
    .results-modal-box, 
    .fees-calculator-box, 
    .admin-login-box, 
    .blog-modal-box {
        width: 95vw !important;
        max-width: 95vw !important;
        padding: 16px !important;
        max-height: 90vh !important;
        box-sizing: border-radius: 12px;
    }

    .admission-form-body, 
    .results-search-form, 
    .login-form {
        padding: 14px 10px !important;
    }

    /* All Form Grids Stack to 1 Column */
    .adm-grid-2, 
    .results-input-grid, 
    .student-meta-grid, 
    .timer-grid, 
    .fees-controls {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .adm-field input, 
    .adm-field select, 
    .res-input, 
    .res-select, 
    .fee-select, 
    .login-field input, 
    .admin-input, 
    .admin-textarea {
        font-size: 16px !important; /* Prevents auto-zoom on mobile safari/chrome */
        padding: 11px 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .btn-submit-admission, 
    .btn-check-res, 
    .btn-generate-invoice, 
    .btn-login-submit, 
    .btn-admin-upload {
        font-size: 0.88rem !important;
        padding: 13px !important;
        width: 100% !important;
    }

    .fee-table-wrap, 
    .calendar-table-wrap, 
    .report-card-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Small Phones Breakpoint (480px and below) */
@media (max-width: 480px) {
    .header-container {
        padding: 6px 10px;
        gap: 6px;
    }

    .logo-badge {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .brand-title {
        min-width: 0;
        overflow: hidden;
    }

    .brand-title-main {
        font-size: 0.76rem;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .brand-title-sub {
        display: none !important; /* Hide long subtitle on small phones so header never overflows */
    }

    .header-actions {
        gap: 5px;
    }

    .header-actions .btn-whatsapp span {
        display: none !important; /* Show icon badge only on small phones */
    }

    .header-actions .btn-whatsapp {
        padding: 7px;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        justify-content: center;
    }

    .header-actions .btn-whatsapp svg {
        margin: 0 !important;
        width: 16px;
        height: 16px;
    }

    .header-actions .btn-online-apply {
        padding: 5px 8px !important;
        font-size: 0.7rem !important;
    }

    .academic-quick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .campuses-facilities-grid {
        grid-template-columns: 1fr;
    }

    .academic-showcase-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .news-cards-row {
        grid-template-columns: 1fr;
    }
}

/* --- MODERN MOTION ANIMATIONS & GLASSMORPHISM UI --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 123, 255, 0.8);
    }
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hero-card, .quick-card, .portal-card, .assignment-card, .showcase-card, .facility-card {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.btn-apply, .btn-portal-action, .btn-assignment {
    position: relative;
    overflow: hidden;
}

.btn-apply::after, .btn-portal-action::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.6s ease-out;
}

.btn-apply:active::after, .btn-portal-action:active::after {
    transform: translate(-50%, -50%) scale(1);
    transition: 0s;
}

.campus-pill {
    animation: floatBadge 4s ease-in-out infinite;
}

.campus-pill.pill-blue {
    animation-delay: 2s;
}

/* --- FLOATING ADMIN DASHBOARD TRIGGER BUTTON --- */
.btn-admin-trigger {
    background: linear-gradient(135deg, #8b2c99 0%, #165eb9 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--hover-transition);
}

.btn-admin-trigger:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(139, 44, 153, 0.5);
}

/* --- ADMIN PANEL SLIDE-OVER DRAWER --- */
.admin-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 4, 32, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.admin-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.admin-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 580px;
    max-width: 100vw;
    height: 100%;
    height: 100dvh;
    background-color: #1b0735;
    color: #ffffff;
    z-index: 2001;
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    display: flex;
    flex-direction: column;
}

.admin-drawer.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.admin-header {
    padding: 20px 25px;
    background-color: #140528;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--hover-transition);
}

.admin-close-btn:hover {
    background-color: #ef4444;
}

.admin-body {
    padding: 22px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    flex-grow: 1;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.06);
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-tab-btn {
    flex: 1 1 calc(20% - 6px);
    min-width: 88px;
    padding: 9px 8px;
    font-size: 0.74rem;
    font-weight: 700;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--hover-transition);
    white-space: nowrap;
}

.admin-tab-btn.active, .admin-tab-btn:hover {
    background-color: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
}

.admin-tab-btn-video {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.28), rgba(147, 51, 234, 0.28)) !important;
    border: 1.5px solid #f43f5e !important;
    color: #ffd700 !important;
    font-weight: 800 !important;
}

.admin-tab-btn-video.active, .admin-tab-btn-video:hover {
    background: linear-gradient(135deg, #e11d48, #9333ea) !important;
    color: #ffffff !important;
    box-shadow: 0 0 14px rgba(225, 29, 72, 0.6) !important;
}

.admin-tab-content {
    display: none;
    flex-direction: column;
    gap: 18px;
}

.admin-tab-content.active {
    display: flex;
}

.admin-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-field-group label {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.admin-input, .admin-file-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    transition: var(--hover-transition);
}

.admin-input:focus {
    border-color: var(--primary-blue);
    background-color: rgba(255, 255, 255, 0.12);
}

/* --- ADMIN VISUAL PHOTO MANAGEMENT GRID --- */
.admin-photo-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 12px;
}

.admin-photo-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.admin-photo-card-header h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
}

.admin-photo-badge {
    font-size: 0.62rem;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-facility-photos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.admin-facility-item {
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    transition: var(--hover-transition);
}

.admin-facility-item:hover {
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(255, 255, 255, 0.07);
}

.admin-facility-thumb-box {
    width: 65px;
    height: 65px;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 215, 0, 0.5);
}

.admin-fac-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-facility-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-facility-info h5 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.admin-facility-info small {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
}

.admin-facility-info .admin-file-input {
    padding: 6px 8px;
    font-size: 0.72rem;
    margin-top: 4px;
}

/* --- ADMIN STAFF ROLE ASSIGNMENT STYLES --- */
.role-staff-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    gap: 12px;
}

.role-staff-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b1d8c, #ffd700);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.role-staff-details {
    flex: 1;
}

.role-staff-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

.role-staff-meta {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 4px;
}

.role-badge-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.role-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
}

.role-pill-super { background: #ffd700; color: #1b0735; }
.role-pill-principal { background: #9c27b0; color: #ffffff; }
.role-pill-vice { background: #673ab7; color: #ffffff; }
.role-pill-bursar { background: #00b569; color: #ffffff; }
.role-pill-ict { background: #00b4d8; color: #1b0735; }
.role-pill-teacher { background: #3b82f6; color: #ffffff; }
.role-pill-exam { background: #f57c00; color: #ffffff; }
.role-pill-section { background: #ec4899; color: #ffffff; }

.role-campus-tag {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
}

.btn-revoke-role {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--hover-transition);
    white-space: nowrap;
}

.btn-revoke-role:hover {
    background: #ef4444;
    color: #ffffff;
}

.admin-footer {
    padding: 20px 25px;
    background-color: #140528;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 12px;
}

.btn-admin-save {
    flex: 1;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 12px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: var(--hover-transition);
}

.btn-admin-save:hover {
    background-color: #009355;
}

.btn-admin-reset {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    transition: var(--hover-transition);
}

.btn-admin-reset:hover {
    background-color: #ef4444;
}

/* --- CLEAN & ULTRA-MODERN ADMIN LOGIN MODAL --- */
.admin-login-modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(107, 29, 140, 0.35) 0%, rgba(11, 4, 25, 0.88) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 18px;
    box-sizing: border-box;
}

.admin-login-modal-wrap.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.admin-login-box {
    background: rgba(18, 8, 38, 0.94);
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    width: 440px;
    max-width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 50px rgba(107, 29, 140, 0.3);
    position: relative;
    animation: loginModalEntrance 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

@keyframes loginModalEntrance {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-accent-bar {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #6b1d8c, #ffd700, #165eb9, #a855f7, #6b1d8c);
    background-size: 300% 100%;
    animation: loginAccentFlow 5s linear infinite;
}

@keyframes loginAccentFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.login-header {
    background: transparent;
    padding: 28px 26px 18px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.login-crest-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.35);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.login-mini-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.login-badge-tag {
    font-size: 0.68rem;
    font-weight: 800;
    color: #ffd700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.lock-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(107, 29, 140, 0.8) 0%, rgba(22, 94, 185, 0.8) 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    color: #ffd700;
    box-shadow: 0 8px 24px rgba(107, 29, 140, 0.45);
    transition: transform 0.3s ease;
}

.admin-login-box:hover .lock-icon-circle {
    transform: rotate(5deg) scale(1.05);
}

.login-header h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: 0.3px;
}

.login-header p {
    font-size: 0.8rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
    max-width: 320px;
    margin: 0 auto;
}

.login-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.25s ease;
    z-index: 2;
}

.login-close-btn:hover {
    background-color: #ef4444;
    border-color: #ef4444;
    transform: rotate(90deg);
}

.login-form {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.login-field label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.login-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-toggle-pass {
    background: none;
    border: none;
    color: #ffd700;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.btn-toggle-pass:hover {
    color: #ffe066;
}

.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input-wrap .input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: color 0.25s ease;
}

.login-input-wrap input {
    width: 100%;
    padding: 13px 14px 13px 44px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.92rem;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.login-input-wrap input:focus {
    border-color: #a855f7;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3.5px rgba(168, 85, 247, 0.3);
}

.login-input-wrap input:focus + .input-icon,
.login-input-wrap:focus-within .input-icon {
    color: #ffd700;
}

.login-helper-row {
    margin-top: -4px;
}

.btn-quick-admin-fill {
    background: rgba(255, 215, 0, 0.09);
    border: 1px dashed rgba(255, 215, 0, 0.4);
    color: #ffd700;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-quick-admin-fill:hover {
    background: rgba(255, 215, 0, 0.18);
    border-color: #ffd700;
    transform: translateY(-1px);
}

.login-alert {
    display: none;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 11px 14px;
    border-radius: 10px;
    text-align: center;
    line-height: 1.4;
}

.login-alert.error {
    display: block;
    background: rgba(239, 68, 68, 0.22);
    color: #fca5a5;
    border: 1.5px solid rgba(239, 68, 68, 0.5);
    animation: shakeBox 0.35s ease-in-out;
}

.login-alert.success {
    display: block;
    background: rgba(16, 185, 129, 0.25);
    color: #6ee7b7;
    border: 1.5px solid rgba(16, 185, 129, 0.5);
}

@keyframes shakeBox {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.btn-login-submit {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.btn-login-submit:hover {
    background: linear-gradient(135deg, #9047ff 0%, #6366f1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(124, 58, 237, 0.65);
}

.btn-login-submit:hover svg {
    transform: translateX(3px);
}

.btn-login-submit:active {
    transform: translateY(0);
}

.btn-login-submit svg {
    transition: transform 0.2s ease;
}

.login-footer-security {
    text-align: center;
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: -6px;
}

.admin-logout-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--hover-transition);
}

.admin-logout-btn:hover {
    background-color: #ef4444;
    border-color: #ef4444;
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered card animations */
.portal-card:nth-child(1) { transition-delay: 0s; }
.portal-card:nth-child(2) { transition-delay: 0.1s; }
.portal-card:nth-child(3) { transition-delay: 0.2s; }
.portal-card:nth-child(4) { transition-delay: 0.3s; }

.showcase-card:nth-child(1) { transition-delay: 0s; }
.showcase-card:nth-child(2) { transition-delay: 0.12s; }
.showcase-card:nth-child(3) { transition-delay: 0.24s; }
.showcase-card:nth-child(4) { transition-delay: 0.36s; }

.facility-card:nth-child(1) { transition-delay: 0s; }
.facility-card:nth-child(2) { transition-delay: 0.08s; }
.facility-card:nth-child(3) { transition-delay: 0.16s; }
.facility-card:nth-child(4) { transition-delay: 0.24s; }
.facility-card:nth-child(5) { transition-delay: 0.32s; }
.facility-card:nth-child(6) { transition-delay: 0.4s; }

/* --- ENHANCED HOVER MICRO-ANIMATIONS --- */
.quick-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.facility-card:hover .facility-img-wrap img {
    transform: scale(1.08);
}

.facility-card .facility-img-wrap img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.portal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* --- SMOOTH HERO IMAGE TRANSITION --- */
.hero-img-fade {
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- GLASSMORPHISM ENHANCEMENTS --- */
.hero-slide-preview {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- FOOTER BOTTOM BAR --- */
.footer-bottom {
    text-align: center;
    padding: 20px 4%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
}

/* --- PULSING DOT ANIMATIONS FOR HERO DOTS --- */
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background-color: #ffffff;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* --- ADMIN PANEL DROPDOWN LINK STYLING --- */
.admin-dropdown-link {
    font-size: 0.75rem !important;
    opacity: 0.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4px;
    padding-top: 10px !important;
}

.admin-dropdown-link:hover {
    opacity: 1;
    color: #007bff !important;
}

/* --- TYPING / SHIMMER TEXT EFFECT ON HERO --- */
@keyframes shimmerText {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.hero-title .title-top {
    background: linear-gradient(90deg, #ffffff 30%, #ffd700 50%, #ffffff 70%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 4s linear infinite;
}

/* --- WHATSAPP BUTTON PULSE --- */
.btn-whatsapp {
    animation: pulseGlow 2.5s ease-in-out infinite;
}

.btn-whatsapp:hover {
    animation: none;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
}

/* --- NAVBAR SCROLL SHRINK EFFECT --- */
.main-header.scrolled {
    padding-block: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.main-header.scrolled .header-container {
    padding-top: 8px;
    padding-bottom: 8px;
}

.main-header.scrolled .logo-badge {
    width: 36px;
    height: 36px;
}

.main-header {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-container {
    transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-badge {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- CARD TRANSITION BASES --- */
.quick-card, .facility-card, .showcase-card, .portal-card, .news-item, .assignment-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- ENHANCED HERO ARROW BUTTONS --- */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.hero-card:hover .hero-arrow {
    opacity: 1;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.arrow-left {
    left: 12px;
}

.arrow-right {
    right: 12px;
}

/* --- SMOOTH LOADING FADE-IN --- */
@keyframes pageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    animation: pageLoad 0.6s ease-out;
}

/* --- PUBLIC CLASS SELECTOR --- */
.class-selector-wrap {
    margin: 12px 0;
}

.class-select {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-main);
    background-color: #ffffff;
    cursor: pointer;
    transition: var(--hover-transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23555' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.class-select:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.assignments-list {
    min-height: 60px;
    margin: 10px 0 15px 0;
}

.no-assignments-msg {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    padding: 15px 0;
}

.assignment-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 8px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: 8px;
    transition: var(--hover-transition);
}

.assignment-item-row:hover {
    background-color: #eef2ff;
    border-color: var(--primary-blue);
}

.assignment-item-info h5 {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.assignment-item-info span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.btn-dl-item {
    background: var(--primary-blue);
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--hover-transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-dl-item:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-1px);
}

/* --- HOW IT WORKS STEPS --- */
.how-it-works-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.step-number {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-daycare), var(--primary-blue));
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(139, 44, 153, 0.3);
}

.step-info h4 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.step-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --- ADMIN ASSIGNMENT TAB STYLES --- */
.admin-section-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.admin-upload-mode-switcher {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 8px;
}

.upload-mode-btn {
    flex: 1;
    padding: 9px 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--hover-transition);
}

.upload-mode-btn.active, .upload-mode-btn:hover {
    background: linear-gradient(135deg, #8b2c99, #165eb9);
    color: #ffffff;
}

.admin-upload-panel {
    display: none;
    flex-direction: column;
    gap: 14px;
}

.admin-upload-panel.active {
    display: flex;
}

.admin-textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    resize: vertical;
    min-height: 100px;
    transition: var(--hover-transition);
}

.admin-textarea:focus {
    border-color: var(--primary-blue);
    background-color: rgba(255, 255, 255, 0.12);
}

.btn-admin-upload {
    background: linear-gradient(135deg, #00b569, #007bff);
    color: #ffffff;
    padding: 12px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.82rem;
    border: none;
    cursor: pointer;
    transition: var(--hover-transition);
    box-shadow: 0 4px 12px rgba(0, 181, 105, 0.3);
    margin-top: 5px;
}

.btn-admin-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 181, 105, 0.5);
}

.admin-published-list {
    max-height: 250px;
    overflow-y: auto;
    padding: 4px 0;
}

.no-items-msg {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.published-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 8px;
    transition: var(--hover-transition);
}

.published-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.published-item-info {
    flex: 1;
}

.published-item-info h5 {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.published-item-info span {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
}

.btn-delete-item {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--hover-transition);
}

.btn-delete-item:hover {
    background: #ef4444;
    color: #ffffff;
}

/* --- 1. TOP ANNOUNCEMENT TICKER BAR --- */
.top-announcement-bar {
    background: linear-gradient(90deg, #6b1d8c, #007bff, #00b569);
    color: #ffffff;
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 500;
    border-bottom: 2px solid #ffd700;
    position: relative;
    z-index: 1001;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    transition: var(--hover-transition);
}

.announcement-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.announcement-badge {
    background: #ffd700;
    color: #6b1d8c;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.5px;
    animation: pulseBadge 2s infinite ease-in-out;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.announcement-ticker-wrap {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.announcement-text {
    display: inline-block;
    padding-left: 100%;
    animation: marqueeTicker 24s linear infinite;
    font-weight: 500;
}

.announcement-text:hover {
    animation-play-state: paused;
}

@keyframes marqueeTicker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.announcement-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #ffffff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--hover-transition);
}

.announcement-close:hover {
    background: #ef4444;
}

.btn-online-apply {
    background: linear-gradient(135deg, #ffd700, #f57c00) !important;
    color: #4a0e68 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4) !important;
}

.btn-online-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.6) !important;
}

/* --- DEDICATED STUDENT RESULTS CHECKER SECTION (ON-PAGE) --- */
.results-checker-section {
    padding: 70px 0 60px;
    background: radial-gradient(circle at 50% 0%, rgba(107, 29, 140, 0.08) 0%, transparent 70%), linear-gradient(180deg, #fbf7ff 0%, #f4ebfc 50%, #f8fafc 100%);
    position: relative;
    border-top: 2px solid #e9d5ff;
    border-bottom: 2px solid #cbd5e1;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.results-card-container {
    background: #ffffff;
    border-radius: 20px;
    max-width: 1060px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(107, 29, 140, 0.15), 0 4px 14px rgba(0, 0, 0, 0.06);
    border: 2px solid #d8b4fe;
    box-sizing: border-box;
}

.results-card-header {
    background: linear-gradient(135deg, #4a154b 0%, #6b1d8c 55%, #165eb9 100%);
    color: #ffffff;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 2px solid #ffd700;
    box-sizing: border-box;
    width: 100%;
}

.results-header-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    padding: 3px;
    border: 1.5px solid #ffd700;
}

.results-box-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.results-box-sub {
    font-size: 0.78rem;
    color: #e9d5ff;
    margin: 3px 0 0;
}

/* Hero Pill Gold Checker Button */
.campus-pill.pill-gold-checker {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.28), rgba(107, 29, 140, 0.45));
    border: 1.5px solid #ffd700;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.campus-pill.pill-gold-checker:hover {
    background: linear-gradient(135deg, #ffd700, #ffb703);
    color: #1e1b4b !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.campus-pill.pill-gold-checker:hover .pill-text {
    color: #1e1b4b !important;
}

.results-header-badges {
    display: flex;
    gap: 8px;
    align-items: center;
}

.badge-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.enugu-pill {
    background: rgba(255, 215, 0, 0.18);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.awka-pill {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.results-helper-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
    font-size: 0.75rem;
}

.hint-label {
    font-weight: 700;
    color: #6b1d8c;
}

.hint-subtext {
    color: #64748b;
    font-size: 0.72rem;
}

.quick-id-chip {
    background: #ede9fe;
    color: #6b1d8c;
    border: 1px solid #c4b5fd;
    border-radius: 6px;
    padding: 3px 9px;
    font-size: 0.73rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.quick-id-chip:hover {
    background: #6b1d8c;
    color: #ffffff;
    border-color: #6b1d8c;
    transform: translateY(-1px);
}

/* Header & Nav Results Button */
.btn-results-checker {
    background: linear-gradient(135deg, #ffd700, #ffb703) !important;
    color: #1e1b4b !important;
    font-weight: 800 !important;
    border: 1.5px solid #d97706 !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-size: 0.82rem !important;
    transition: all 0.25s ease !important;
}

.btn-results-checker:hover {
    background: linear-gradient(135deg, #ffe066, #ffc107) !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5) !important;
}

.nav-results-link {
    color: #ffd700 !important;
    font-weight: 700 !important;
    position: relative;
}

.nav-results-link::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #ffd700;
    border-radius: 50%;
    margin: 2px auto 0;
}

/* --- RESULTCHECKER SIDE MOTION ANIMATED BUTTON --- */
.floating-results-side-btn {
    position: fixed;
    right: 0;
    top: 48%;
    transform: translateY(-50%);
    z-index: 9998;
    background: linear-gradient(135deg, #4a154b 0%, #6b1d8c 42%, #165eb9 100%);
    background-size: 220% 220%;
    color: #ffffff !important;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    padding: 12px 18px 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    border: 2px solid #ffd700;
    border-right: none;
    cursor: pointer;
    overflow: hidden;
    box-shadow: -4px 6px 18px rgba(107, 29, 140, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-results-shimmer {
    display: none;
}

.floating-results-side-btn:hover {
    padding-left: 20px;
    padding-right: 18px;
    transform: translateY(-50%) translateX(-4px);
    background: linear-gradient(135deg, #7c2d96 0%, #581c87 100%);
    box-shadow: -6px 10px 24px rgba(107, 29, 140, 0.5);
    border-color: #ffd700;
}

.floating-results-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.floating-results-badge {
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    color: #ffd700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

.floating-results-main {
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-results-icon {
    font-size: 1.25rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
    display: inline-block;
    animation: sideIconBounce 2.5s ease-in-out infinite;
}

@keyframes sideIconBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    30% { transform: scale(1.18) rotate(-6deg); }
    50% { transform: scale(1.1) rotate(4deg); }
}

.floating-results-label {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #ffffff;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.floating-results-arrow {
    color: #ffd700;
    font-weight: 900;
    font-size: 0.95rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.floating-results-side-btn:hover .floating-results-arrow {
    transform: translateX(4px);
}

.floating-results-pulse {
    position: absolute;
    width: 9px;
    height: 9px;
    background: #ffd700;
    border-radius: 50%;
    top: 9px;
    left: 8px;
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.8);
    animation: floatingSidePulse 1.8s infinite;
}

@keyframes floatingSidePulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.85); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 9px rgba(255, 215, 0, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.pulse-highlight {
    animation: inputPulse 1.5s ease-in-out;
}

@keyframes inputPulse {
    0% { box-shadow: 0 0 0 0 rgba(107, 29, 140, 0.7); border-color: #6b1d8c; }
    50% { box-shadow: 0 0 0 8px rgba(255, 215, 0, 0.8); border-color: #ffd700; }
    100% { box-shadow: 0 0 0 0 rgba(107, 29, 140, 0); }
}

@media (max-width: 768px) {
    .floating-results-side-btn {
        top: auto;
        bottom: 18px;
        left: 14px;
        right: auto;
        border-radius: 25px;
        border: 1.5px solid #ffd700;
        padding: 8px 14px;
        transform: none;
        box-shadow: 0 4px 14px rgba(107, 29, 140, 0.35);
    }
    .floating-results-side-btn:hover {
        transform: translateY(-2px);
    }
}

.floating-results-side-btn.results-view-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(40px) scale(0.85) !important;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s !important;
}

/* --- 2. STUDENT RESULTS CHECKER MODAL --- */
.results-modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.results-modal-wrap.active {
    display: flex;
    opacity: 1;
}

.results-modal-box {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    border: 3px solid var(--accent-gold);
    display: flex;
    flex-direction: column;
}

.results-modal-header {
    background: linear-gradient(135deg, #6b1d8c, #165eb9);
    color: #ffffff;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.modal-title-flex {
    display: flex;
    align-items: center;
    gap: 14px;
}

.modal-title-flex h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.modal-title-flex p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.results-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--hover-transition);
}

.results-modal-close:hover {
    background: #ef4444;
}

.results-search-form {
    padding: 22px 24px;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    box-sizing: border-box;
    width: 100%;
}

.results-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) auto;
    gap: 12px;
    align-items: flex-end;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .results-input-grid {
        grid-template-columns: 1fr 1fr;
    }
    .results-input-grid .field-wrap:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 580px) {
    .results-input-grid {
        grid-template-columns: 1fr;
    }
    .results-input-grid .field-wrap:last-child {
        grid-column: 1 / -1;
    }
    .results-search-form {
        padding: 16px 14px;
    }
    .results-output-card {
        padding: 16px 10px !important;
    }
}

.field-wrap {
    width: 100%;
    box-sizing: border-box;
}

.field-wrap label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.res-input, .res-select {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 8px;
    border: 2px solid #cbd5e1;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-main);
    outline: none;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.res-input:focus, .res-select:focus {
    border-color: #6b1d8c;
    box-shadow: 0 0 0 3px rgba(107, 29, 140, 0.15);
}

.btn-check-res {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 22px;
    background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
    color: #1b0735;
    border: 1.5px solid #d97706;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.88rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-check-res:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffe066 0%, #d97706 100%);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5);
}

.demo-pin-hint {
    display: block;
    margin-top: 10px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.demo-pin-hint code {
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
    color: #6b1d8c;
    font-weight: 700;
}

.results-output-card {
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Report Card Design — Authentic Official Nigerian School Terminal Report Sheet */
.report-card-wrap {
    border: 2px solid #7c3aed;
    border-radius: 14px;
    padding: 24px;
    background: #ffffff;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(107, 29, 140, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
}

@media (max-width: 640px) {
    .report-card-wrap {
        padding: 14px 10px !important;
        border-radius: 10px !important;
        border-width: 1.5px !important;
    }
    .report-header {
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
    }
    .report-school-info {
        min-width: 0 !important;
        width: 100% !important;
    }
}

.report-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 2.5px solid #6b1d8c;
    padding-bottom: 16px;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.report-school-info {
    flex: 1 1 220px;
    min-width: 200px;
}

.report-school-info h2 {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 900;
    color: #6b1d8c;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.25;
}

.report-school-info p {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin: 3px 0;
    line-height: 1.4;
}

.report-accreditation-pill {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    color: #065f46;
    background: #d1fae5;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid #a7f3d0;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.student-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 0.8rem;
    border: 1.5px solid #e2e8f0;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 500px) {
    .student-meta-grid {
        grid-template-columns: 1fr 1fr;
        padding: 10px;
        gap: 8px;
    }
}

@media (max-width: 360px) {
    .student-meta-grid {
        grid-template-columns: 1fr;
    }
}

.student-meta-grid div strong {
    color: #334155;
    display: inline-block;
    margin-bottom: 2px;
    font-size: 0.72rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Report Summary Metric Banner */
.report-summary-box {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(135deg, #2e1065 0%, #1e1b4b 100%);
    padding: 14px 10px;
    border-radius: 10px;
    border: 1.5px solid #ffd700;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(46, 16, 101, 0.2);
}

.summary-item {
    text-align: center;
    flex: 1 1 120px;
    padding: 4px 8px;
}

.summary-item label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #ffd700;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: block;
}

.summary-item val {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    color: #ffffff;
    margin-top: 2px;
}

/* View Switcher: Mobile Cards vs Full Table */
.report-view-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.report-view-toggle-btns {
    display: inline-flex;
    background: #ede9fe;
    padding: 3px;
    border-radius: 8px;
    border: 1px solid #c4b5fd;
    gap: 2px;
}

.report-toggle-btn {
    border: none;
    background: transparent;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #5b21b6;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.report-toggle-btn.active {
    background: #6b1d8c;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(107, 29, 140, 0.25);
}

/* 📱 Responsive Mobile Subject Cards (Zero Horizontal Overflow) */
.mobile-subject-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
}

.subject-card-item {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-left: 4px solid #6b1d8c;
    border-radius: 8px;
    padding: 11px 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.15s ease, border-color 0.15s ease;
    width: 100%;
    box-sizing: border-box;
}

.subject-card-item:hover {
    border-color: #c4b5fd;
    transform: translateY(-1px);
}

.subject-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.subject-card-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: #1e1b4b;
    display: flex;
    align-items: center;
    gap: 6px;
    word-break: normal;
    overflow-wrap: break-word;
}

.subject-index-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #f3e8ff;
    color: #6b1d8c;
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 800;
    flex-shrink: 0;
}

.subject-grade-pill {
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.grade-pill-A {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.grade-pill-B {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.grade-pill-C {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.grade-pill-pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    font-size: 0.70rem;
}

.subject-card-scores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    background: #f8fafc;
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    text-align: center;
}

.score-cell label {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
}

.score-cell val {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: #1e293b;
    margin-top: 1px;
}

.score-cell.total-cell val {
    color: #6b1d8c;
    font-size: 0.98rem;
    font-weight: 900;
}

.subject-card-bar {
    width: 100%;
    height: 5px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.subject-card-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #6b1d8c, #00b569);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.subject-card-remark {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 2px;
}

.subject-card-remark span strong {
    color: #15803d;
}

/* 📊 Full Ledger Table (Scrollable on Narrow Screens) */
.report-table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    box-sizing: border-box;
}

.report-table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    font-size: 0.82rem;
    margin: 0;
}

.report-table th, .report-table td {
    padding: 9px 11px;
    border: 1px solid #cbd5e1;
    text-align: left;
}

.report-table th {
    background: linear-gradient(135deg, #6b1d8c, #4a154b);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.report-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.report-table tbody tr:hover {
    background-color: #f3e8ff;
}

/* Affective & Psychomotor Behavioral Domain Section */
.report-domain-wrap {
    background: #faf5ff;
    border: 1.5px solid #e9d5ff;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
}

.report-domain-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #581c87;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.report-domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 8px;
}

.domain-pill {
    background: #ffffff;
    border: 1px solid #d8b4fe;
    border-radius: 6px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
}

.domain-pill span {
    color: #334155;
    font-weight: 600;
}

.domain-stars {
    color: #eab308;
    font-weight: 800;
    font-size: 0.78rem;
}

/* Grading Key Scale Legend */
.grading-scale-legend {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 16px;
    font-size: 0.68rem;
    color: #64748b;
    align-items: center;
    justify-content: center;
}

.grading-scale-legend strong {
    color: #1e293b;
}

/* Endorsements & Signatures Section */
.report-signatures-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 18px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 540px) {
    .report-signatures-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.sig-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 85px;
}

.sig-box p {
    font-size: 0.74rem;
    color: #475569;
    margin: 0 0 8px 0;
    line-height: 1.45;
}

.sig-meta {
    border-top: 1px dashed #cbd5e1;
    padding-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.68rem;
    color: #64748b;
}

.sig-stamp {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #059669;
    font-weight: 800;
}

.btn-print-report {
    background: linear-gradient(135deg, #6b1d8c, #165eb9);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--hover-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    box-sizing: border-box;
}

.btn-print-report:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(107, 29, 140, 0.4);
}

/* --- 3. ONLINE ADMISSION MODAL --- */
.admission-modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admission-modal-wrap.active {
    display: flex;
    opacity: 1;
}

.admission-modal-box {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    border: 3px solid var(--accent-gold);
}

.admission-modal-header {
    background: linear-gradient(135deg, #f57c00, #6b1d8c);
    color: #ffffff;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.admission-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 2px;
}

.admission-modal-header p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

.admission-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--hover-transition);
}

.admission-modal-close:hover {
    background: #ef4444;
}

.admission-form-body {
    padding: 24px;
}

.adm-section-title {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    color: #6b1d8c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 6px;
    margin: 16px 0 14px 0;
}

.adm-section-title:first-child {
    margin-top: 0;
}

.adm-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.adm-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}

.adm-field input, .adm-field select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 2px solid #cbd5e1;
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    color: var(--text-main);
}

.adm-field input:focus, .adm-field select:focus {
    border-color: var(--primary-blue);
}

.btn-submit-admission {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #00b569, #007bff);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--hover-transition);
    margin-top: 20px;
    box-shadow: 0 6px 18px rgba(0, 181, 105, 0.4);
}

.btn-submit-admission:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 181, 105, 0.6);
}

.admission-success-card {
    padding: 24px;
}

/* --- 4. PHOTO LIGHTBOX MODAL --- */
.lightbox-modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal-wrap.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1510;
    transition: var(--hover-transition);
}

.lightbox-close:hover {
    background: #ef4444;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1510;
    transition: var(--hover-transition);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lightbox-nav.prev { left: 25px; }
.lightbox-nav.next { right: 25px; }

.lightbox-content-box {
    max-width: 85vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content-box img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    object-fit: contain;
}

.lightbox-caption {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-top: 14px;
}

/* --- 5. GALLERY SECTION --- */
.gallery-section {
    padding: 70px 0;
    background-color: #ffffff;
}

.gallery-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.gallery-tab-btn {
    padding: 9px 20px;
    border-radius: 25px;
    border: 2px solid #e2e8f0;
    background-color: #ffffff;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--hover-transition);
}

.gallery-tab-btn.active, .gallery-tab-btn:hover {
    background: linear-gradient(135deg, #6b1d8c, #165eb9);
    color: #ffffff;
    border-color: #6b1d8c;
    box-shadow: 0 4px 12px rgba(107, 29, 140, 0.25);
}

.gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}

#dynamicCampusGalleryContainer {
    display: contents !important;
}

@supports not (display: contents) {
    #dynamicCampusGalleryContainer {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    @media (max-width: 992px) {
        #dynamicCampusGalleryContainer {
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }
    }
    @media (max-width: 600px) {
        #dynamicCampusGalleryContainer {
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
    }
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 240px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    background-color: #0f172a;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* YouTube Video Badges for Events Gallery Items ONLY */
.gallery-youtube-badge-corner {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.25s ease, background 0.25s ease;
}

.gallery-item:hover .gallery-youtube-badge-corner {
    transform: scale(1.06);
    background: rgba(220, 38, 38, 0.95);
}

.gallery-youtube-center-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6));
}

.gallery-youtube-center-play svg {
    display: block;
    width: 54px;
    height: 38px;
}

.gallery-item:hover .gallery-youtube-center-play {
    transform: translate(-50%, -50%) scale(1.2);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0.1) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-cat-badge {
    background: #ffd700;
    color: #6b1d8c;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.gallery-cat-badge.badge-youtube {
    background: #ff0000 !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(255, 0, 0, 0.4);
}

.gallery-overlay h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.gallery-zoom-icon {
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffd700;
}

.gallery-zoom-icon.zoom-video {
    color: #ff8080 !important;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* --- 6. ACADEMIC CALENDAR & COUNTDOWN SECTION --- */
.calendar-section {
    padding: 70px 0;
    background-color: #f8fafc;
}

.calendar-campus-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px auto 32px;
    flex-wrap: wrap;
}

.calendar-campus-btn {
    padding: 12px 22px;
    border-radius: 30px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--hover-transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   ACADEMIC CALENDAR & EVENT COUNTDOWN SECTION (ROYAL ACADEMY EDITION)
   COMPACT, SLEEK & HIGH-DENSITY DIGITAL SCHEDULE
   ========================================================================== */
.calendar-section {
    padding: 36px 0 46px 0;
    background: #f8fafc;
    position: relative;
}

/* 1. COMPACT RESUMPTION COUNTDOWN HERO BANNER */
.countdown-hero-banner {
    background: linear-gradient(135deg, #1e0938 0%, #3b0764 45%, #1e3a8a 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.4);
    border-radius: 14px;
    padding: 12px 20px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(43, 11, 74, 0.22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.countdown-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.countdown-banner-left {
    flex: 1;
    min-width: 220px;
    z-index: 1;
}

.countdown-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.45);
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 4px;
}

.live-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.live-badge-text {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #6ee7b7;
    text-transform: uppercase;
}

.countdown-hero-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.2;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.countdown-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.countdown-campus-pill {
    background: #ffd700;
    color: #2b0b4a;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 14px;
    letter-spacing: 0.3px;
}

.countdown-date-pill {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.92);
}

.countdown-date-pill strong {
    color: #ffffff;
    border-bottom: 1px dotted rgba(255, 215, 0, 0.6);
}

.countdown-banner-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    z-index: 1;
}

.countdown-clock-units {
    display: flex;
    align-items: center;
    gap: 5px;
}

.clock-unit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 8px;
    padding: 5px 8px;
    min-width: 48px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.clock-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffd700;
    line-height: 1;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.clock-lbl {
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
    display: block;
    text-transform: uppercase;
}

.clock-divider {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 900;
    color: rgba(255, 215, 0, 0.7);
    line-height: 1;
    margin-bottom: 6px;
}

.countdown-banner-cta {
    display: flex;
    align-items: center;
}

.btn-countdown-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
    color: #2b0b4a;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 900;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
    transition: all 0.25s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-countdown-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.5);
    color: #0f172a;
}

/* 2. CAMPUS SWITCHER & CONTROLS TOOLBAR (COMPACT) */
.calendar-controls-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.cal-campus-toggle-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.calendar-campus-btn {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #334155;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.calendar-campus-btn:hover {
    border-color: #6b1d8c;
    color: #6b1d8c;
    transform: translateY(-1px);
}

.calendar-campus-btn.active {
    background: linear-gradient(135deg, #6b1d8c, #165eb9);
    color: #ffffff;
    border-color: #6b1d8c;
    box-shadow: 0 4px 14px rgba(107, 29, 140, 0.2);
    transform: translateY(-1px);
}

.calendar-campus-btn .cal-date-pill {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.calendar-campus-btn:hover .cal-date-pill {
    background: rgba(107, 29, 140, 0.1);
    color: #6b1d8c;
}

.calendar-campus-btn.active .cal-date-pill {
    background: #ffd700;
    color: #0f172a;
}

.cal-view-toggle-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.cal-view-btn {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #475569;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.cal-view-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
}

.cal-view-btn.active {
    background: #1e1b4b;
    color: #ffd700;
    border-color: #1e1b4b;
    box-shadow: 0 2px 8px rgba(30, 27, 75, 0.2);
}

.cal-print-btn {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    color: #334155;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.cal-print-btn:hover {
    background: #334155;
    color: #ffffff;
    border-color: #334155;
}

/* 3. ROYAL DIGITAL CALENDAR CARD (COMPACT HIGH-DENSITY ITINERARY) */
.royal-calendar-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
    margin-top: 0;
    transition: all 0.3s ease;
}

/* Royal Card Header (Compact) */
.royal-card-header {
    background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 55%, #1e3a8a 100%);
    color: #ffffff;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 2.5px solid #ffd700;
    position: relative;
}

.royal-crest-symbol {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    padding: 3px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.crest-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.royal-header-details {
    flex: 1;
}

.royal-crest-institution {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffd700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.royal-card-title {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.2;
}

.royal-card-location {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
    font-weight: 500;
}

.royal-meta-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.royal-pill {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pill-session {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.45);
}

.pill-dates {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.pill-weeks {
    background: rgba(45, 212, 191, 0.2);
    color: #5eead4;
    border: 1px solid rgba(45, 212, 191, 0.45);
}

/* Full Width Table Wrap */
.calendar-full-table-wrap {
    width: 100%;
    overflow-x: auto;
    background: #ffffff;
}

.cal-royal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    min-width: 660px;
}

.cal-royal-table thead th {
    background: #0f172a;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 8px 14px;
    border-bottom: 2px solid #ffd700;
    text-align: left;
}

.cal-royal-table thead th.col-sn {
    width: 50px;
    text-align: center;
}

.cal-royal-table thead th.col-week {
    width: 170px;
}

.cal-royal-table td {
    padding: 8px 14px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.cal-royal-table tbody tr {
    transition: background 0.15s ease;
}

.cal-royal-table tbody tr:nth-child(even) {
    background-color: #fafaf9;
}

.cal-royal-table tbody tr:hover {
    background-color: #f1f5f9;
}

/* S/N Badge (Compact) */
.cal-sn-wrap {
    text-align: center;
}

.sn-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #1e1b4b;
    color: #ffd700;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.74rem;
    box-shadow: 0 1px 4px rgba(30, 27, 75, 0.15);
}

/* Week Info (Compact) */
.cal-week-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.82rem;
    color: #1e1b4b;
    margin-bottom: 1px;
}

.cal-week-dates {
    font-size: 0.71rem;
    font-weight: 600;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Activities & Milestones Styling (Compact Horizontal Flex-Wrap) */
.cal-activities-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.milestone-item-row {
    display: inline-flex;
    align-items: center;
}

.milestone-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.75rem;
    line-height: 1.3;
    transition: transform 0.15s ease;
}

.milestone-badge-pill:hover {
    transform: translateY(-1px);
}

.milestone-icon {
    font-size: 0.85rem;
    line-height: 1;
    flex-shrink: 0;
}

.milestone-text {
    font-weight: 600;
}

/* Milestone Variants */
.act-resumption {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.act-resumption .milestone-text {
    font-weight: 700;
    color: #047857;
}

.act-assessment {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
}
.act-assessment .milestone-text {
    font-weight: 700;
    color: #be123c;
}

.act-exam {
    background: #fdf2f8;
    color: #831843;
    border: 1px solid #fbcfe8;
}
.act-exam .milestone-text {
    font-weight: 800;
    color: #9d174d;
}

.act-break {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}
.act-break .milestone-text {
    font-weight: 700;
}

.act-celebration {
    background: #f5f3ff;
    color: #5b21b6;
    border: 1px solid #ddd6fe;
}
.act-celebration .milestone-text {
    font-weight: 600;
    color: #6d28d9;
}

.act-orientation {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.act-orientation .milestone-text {
    font-weight: 600;
}

.act-closing {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fcd34d;
}
.act-closing .milestone-text {
    font-weight: 700;
    color: #b45309;
}

.act-default {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
}

/* Special Highlight Row for Mid-Term Break (Compact) */
tr.midterm-break-row {
    background: linear-gradient(90deg, #fffbeb, #fef3c7) !important;
    border-top: 1.5px solid #f59e0b;
    border-bottom: 1.5px solid #f59e0b;
}

.midterm-banner-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 3px 0;
}

.midterm-icon-large {
    font-size: 1.4rem;
    line-height: 1;
}

.midterm-text-wrap h4 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 1px;
}

.midterm-text-wrap p {
    font-size: 0.72rem;
    color: #b45309;
    font-weight: 600;
    margin: 0;
}

/* Royal Card Footer (Compact) */
.royal-card-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.cal-milestone-legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.cal-legend-badge {
    font-size: 0.68rem;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.leg-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.dot-green { background: #10b981; }
.dot-red { background: #f43f5e; }
.dot-amber { background: #f59e0b; }
.dot-purple { background: #8b5cf6; }
.dot-crimson { background: #be123c; }

.cal-footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cal-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #1e1b4b;
    color: #ffd700;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cal-btn-download:hover {
    background: #2e1065;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(30, 27, 75, 0.25);
}

/* 4. ROYAL GRAPHIC FLYER CARD */
.royal-flyer-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
    margin-top: 5px;
}

.flyer-card-toolbar {
    background: #0f172a;
    color: #ffffff;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 2px solid #ffd700;
}

.flyer-toolbar-text h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

.flyer-toolbar-text p {
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 0;
}

.flyer-toolbar-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-flyer-action {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-flyer-action:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffd700;
}

.btn-flyer-action.btn-gold {
    background: #ffd700;
    color: #0f172a;
    border-color: #ffd700;
    font-weight: 900;
}

.btn-flyer-action.btn-gold:hover {
    background: #f59e0b;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.flyer-image-container {
    text-align: center;
    padding: 30px;
    background: #f1f5f9;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.official-flyer-img {
    max-width: 100%;
    height: auto;
    max-height: 960px;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    border: 3px solid #ffffff;
}

/* RESPONSIVE STYLES FOR CALENDAR */
@media (max-width: 992px) {
    .countdown-hero-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
    }

    .countdown-banner-right {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .calendar-controls-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .cal-campus-toggle-group, .cal-view-toggle-group {
        width: 100%;
    }

    .calendar-campus-btn {
        flex: 1;
        justify-content: center;
    }

    .royal-card-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .countdown-banner-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .btn-countdown-action {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .clock-unit-card {
        min-width: 52px;
        padding: 8px 6px;
    }

    .clock-num {
        font-size: 1.35rem;
    }

    .clock-lbl {
        font-size: 0.55rem;
    }
}

/* PRINT MEDIA STYLING */
@media print {
    body * {
        visibility: hidden;
    }

    #calendar, #calendar * {
        visibility: visible;
    }

    #calendar {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background: #ffffff !important;
        padding: 0 !important;
    }

    .countdown-hero-banner, .calendar-controls-toolbar, .royal-card-footer, .royal-flyer-card {
        display: none !important;
    }

    .royal-calendar-card {
        box-shadow: none !important;
        border: none !important;
    }

    .royal-card-header {
        background: #1e1b4b !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .cal-royal-table thead th {
        background: #0f172a !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .cal-royal-table td {
        border-bottom: 1px solid #cbd5e1 !important;
    }
}

/* --- 7. SCHOOL FEES & INVOICE SECTION --- */
.fees-section {
    padding: 70px 0;
    background-color: #ffffff;
}

.fees-calculator-box {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    border: 2px solid #cbd5e1;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.fees-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    background-color: #f8fafc;
    padding: 16px;
    border-radius: 10px;
}

.fee-label {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-main);
}

.fee-select {
    flex: 1;
    padding: 11px 14px;
    border-radius: 8px;
    border: 2px solid #cbd5e1;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    outline: none;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.fee-table th, .fee-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
}

.fee-table th {
    background-color: #f1f5f9;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.fee-total-row td {
    border-top: 2px solid #6b1d8c;
    font-size: 1rem;
    color: #6b1d8c;
}

.btn-generate-invoice {
    background: linear-gradient(135deg, #6b1d8c, #007bff);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--hover-transition);
    box-shadow: 0 6px 18px rgba(107, 29, 140, 0.3);
}

.btn-generate-invoice:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 29, 140, 0.5);
}

.fee-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* --- 8. TESTIMONIALS SECTION --- */
.testimonials-section {
    padding: 70px 0;
    background-color: #f8fafc;
}

.testimonial-carousel-wrap {
    position: relative;
    max-width: 750px;
    margin: 0 auto;

}

.testimonial-track-container {
    overflow: hidden;
    border-radius: 16px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.testi-stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.testi-quote {
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--text-main);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 24px;
}

.testi-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.testi-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b1d8c, #007bff);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testi-info {
    text-align: left;
}

.testi-info h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-main);
}

.testi-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--hover-transition);
}

.testimonial-arrow:hover {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
}

.testimonial-arrow.prev { left: -20px; }
.testimonial-arrow.next { right: -20px; }

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.testi-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: var(--hover-transition);
}

.testi-dot.active {
    background-color: #6b1d8c;
    width: 24px;
    border-radius: 10px;
}

/* RESPONSIVE ADJUSTMENTS FOR NEW SECTIONS */
@media (max-width: 992px) {
    .grid-calendar-layout { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
    .student-meta-grid { grid-template-columns: 1fr 1fr; }
    .results-input-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .gallery-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 12px !important; 
    }
    .gallery-item {
        height: 185px !important;
    }
    .gallery-youtube-center-play svg {
        width: 44px;
        height: 30px;
    }
    .timer-grid { grid-template-columns: repeat(2, 1fr); }
    .adm-grid-2 { grid-template-columns: 1fr; }
    .testimonial-arrow { display: none; }
}

@media (max-width: 360px) {
    .gallery-grid { 
        grid-template-columns: 1fr !important; 
        gap: 12px !important;
    }
    .gallery-item {
        height: 200px !important;
    }
}

/* --- SCHOOL BLOG & NEWS PORTAL STYLES --- */
.blog-section {
    padding: 70px 0;
    background-color: #ffffff;
}

.blog-controls-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.blog-search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.blog-search-box svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.blog-search-box input {
    width: 100%;
    padding: 12px 16px 12px 46px;
    border-radius: 30px;
    border: 2px solid #e2e8f0;
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
    transition: var(--hover-transition);
}

.blog-search-box input:focus {
    border-color: #6b1d8c;
    box-shadow: 0 0 0 4px rgba(107, 29, 140, 0.15);
}

.blog-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-tab-btn {
    padding: 8px 18px;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    background-color: #ffffff;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    transition: var(--hover-transition);
}

.blog-tab-btn.active, .blog-tab-btn:hover {
    background: linear-gradient(135deg, #6b1d8c, #007bff);
    color: #ffffff;
    border-color: #6b1d8c;
    box-shadow: 0 4px 12px rgba(107, 29, 140, 0.2);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: var(--hover-transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(107, 29, 140, 0.15);
    border-color: rgba(107, 29, 140, 0.3);
}

.blog-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}

.blog-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tag-stem { background: linear-gradient(135deg, #00b4d8, #007bff); }
.tag-academic { background: linear-gradient(135deg, #8b2c99, #6b1d8c); }
.tag-sports { background: linear-gradient(135deg, #f57c00, #d97706); }
.tag-events { background: linear-gradient(135deg, #00b569, #059669); }

.blog-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-meta {
    display: flex;
    gap: 12px;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-title {
    color: #6b1d8c;
}

.blog-excerpt {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 18px;
}

.btn-read-article {
    background: none;
    border: none;
    color: #6b1d8c;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--hover-transition);
}

.btn-read-article:hover {
    color: var(--primary-blue);
    transform: translateX(4px);
}

/* BLOG READER MODAL STYLES */
.blog-modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    z-index: 1350;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-modal-wrap.active {
    display: flex;
    opacity: 1;
}

.blog-modal-box {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    padding: 30px;
}

.blog-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--hover-transition);
}

.blog-modal-close:hover {
    background: #ef4444;
    color: #ffffff;
}

.blog-modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-main);
    margin: 12px 0 10px 0;
    line-height: 1.35;
}

.blog-modal-cover {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
}

.blog-modal-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-modal-content {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.7;
}

.blog-modal-content p {
    margin-bottom: 16px;
}

.blog-modal-content blockquote {
    border-left: 4px solid #6b1d8c;
    background: #faf5ff;
    padding: 14px 18px;
    font-style: italic;
    border-radius: 0 8px 8px 0;
    margin: 18px 0;
    font-weight: 500;
}

.blog-modal-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    margin-top: 24px;
    text-align: center;
}

@media (max-width: 991px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 680px) {
    .blog-grid { grid-template-columns: 1fr; gap: 16px; }
    .blog-section .section-title { font-size: 1.45rem !important; }
}

.blog-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 44px 20px;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    margin: 15px 0;
}

.blog-empty-state h4 {
    color: #0f172a !important;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.blog-empty-state p {
    color: #64748b !important;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================================================
   OFFICIAL CAMPUS LIFE & VIDEO SHOWCASE STYLES
   ========================================================================== */
.video-showcase-section {
    padding: 60px 0 70px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.video-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 24px auto 35px;
    flex-wrap: wrap;
}

.video-filter-btn {
    padding: 8px 18px;
    border-radius: 25px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--hover-transition);
}

.video-filter-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.video-filter-btn.active {
    background: linear-gradient(135deg, #dc2626, #9333ea);
    color: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.homepage-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 26px;
}

.video-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: var(--hover-transition);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    border-color: #dc2626;
}

.video-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
}

.video-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card:hover .video-thumb-wrap img {
    transform: scale(1.05);
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-card:hover .video-play-overlay {
    background: rgba(15, 23, 42, 0.2);
}

.video-play-btn-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.9);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.5);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card:hover .video-play-btn-circle {
    transform: scale(1.15);
    background: #dc2626;
}

.video-campus-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
}

.video-campus-tag.enugu { background: rgba(107, 29, 140, 0.85); }
.video-campus-tag.awka { background: rgba(2, 132, 199, 0.85); }

.video-info-box {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.video-info-box h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 6px;
    line-height: 1.35;
}

.video-info-box p {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.video-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.75rem;
    color: #dc2626;
    font-weight: 700;
}

/* VIDEO MODAL BACKDROP */
.video-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal-backdrop.active {
    display: flex;
    animation: fadeIn 0.25s ease;
}

.video-modal-dialog {
    background: #0f172a;
    border-radius: 16px;
    width: 900px;
    max-width: 95vw;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.video-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--hover-transition);
}

.video-modal-close:hover {
    background: #ef4444;
}

.video-modal-header-title {
    padding: 16px 50px 14px 20px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-modal-player-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.video-modal-player-wrap iframe,
.video-modal-player-wrap video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ADMIN CAMPUS PHOTOS & VIDEOS LIST STYLING */
.admin-campus-photo-item, .admin-video-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
}

.admin-campus-photo-thumb, .admin-video-thumb {
    width: 50px;
    height: 38px;
    object-fit: cover;
    border-radius: 6px;
    background: #0f172a;
    flex-shrink: 0;
}

.admin-campus-photo-meta, .admin-video-meta {
    flex: 1;
    min-width: 0;
}

.admin-item-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-item-sub {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
}

.admin-item-del-btn {
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--hover-transition);
    flex-shrink: 0;
}

.admin-item-del-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

/* CAMPUS GOOGLE LOCATION CARDS & BUTTONS */
.campus-location-card {
    position: relative;
    border: 2px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.campus-location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(107, 29, 140, 0.12);
    border-color: rgba(107, 29, 140, 0.25);
}

.campus-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #ffffff;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.campus-card-badge.purple {
    background: linear-gradient(135deg, #6b1d8c, #8b2c99);
}

.campus-card-badge.blue {
    background: linear-gradient(135deg, #0284c7, #165eb9);
}

.campus-map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.campus-map-btn.enugu-btn {
    background: #fdf4ff;
    color: #6b1d8c;
    border: 1.5px solid #d946ef;
}

.campus-map-btn.enugu-btn:hover {
    background: #6b1d8c;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 29, 140, 0.25);
}

.campus-map-btn.awka-btn {
    background: #f0f9ff;
    color: #0369a1;
    border: 1.5px solid #38bdf8;
}

.campus-map-btn.awka-btn:hover {
    background: #0284c7;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

/* HERO PILL MAP BADGE */
.pill-badge-map {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-left: auto;
    border: 1px solid rgba(255, 215, 0, 0.35);
    white-space: nowrap;
}

.campus-pill:hover .pill-badge-map {
    background: #ffd700;
    color: #0f172a;
}

/* FOOTER CAMPUS MAP WIDGET */
.footer-map-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.footer-map-tab {
    flex: 1;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.footer-map-tab:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.footer-map-tab.active {
    background: linear-gradient(135deg, #0284c7, #165eb9);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

.map-preview-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    height: 150px;
}

.map-preview-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-overlay-badge {
    position: absolute;
    bottom: 6px;
    right: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffd700;
    font-size: 0.65rem;
    font-weight: 700;
    pointer-events: none;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.footer-map-directions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    padding: 7px 12px;
    border-radius: 6px;
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.35);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
}

.footer-map-directions-btn:hover {
    background: #ffd700;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* CAMPUS IMAGE SLIDER IN CAMPUS CARDS */
.campus-slider-wrap {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: #0f172a;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.campus-slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.campus-slide-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.04);
}

.campus-slide-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 1;
}

.campus-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.campus-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.campus-slider-btn:hover {
    background: #ffd700;
    color: #0f172a;
    border-color: #ffd700;
    transform: translateY(-50%) scale(1.1);
}

.campus-slider-btn.prev { left: 8px; }
.campus-slider-btn.next { right: 8px; }

.campus-slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 3;
    background: rgba(15, 23, 42, 0.5);
    padding: 3px 6px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
}

.campus-slide-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.campus-slide-dot.active {
    width: 16px;
    border-radius: 4px;
    background: #ffd700;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.8);
}

.campus-slide-count-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.82);
    color: #ffd700;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    z-index: 2;
    pointer-events: none;
    letter-spacing: 0.3px;
}

/* Hero Ad Video Button */
.pill-video-ad {
    background: #ffffff;
    border: 1.5px solid rgba(225, 29, 72, 0.35);
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.15);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    font-weight: 700;
}

.pill-video-ad:hover {
    transform: translateY(-2px);
    border-color: #e11d48;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.3);
    color: #e11d48;
}

.pill-video-ad .pill-icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(225, 29, 72, 0.12);
    color: #e11d48;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Admin Video Shortcut Banner inside Photos Tab */
.admin-video-shortcut-card {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.2), rgba(147, 51, 234, 0.2));
    border: 1.5px solid rgba(244, 63, 94, 0.45);
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.admin-video-shortcut-card:hover {
    transform: translateY(-2px);
    border-color: #f43f5e;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.25);
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.28), rgba(147, 51, 234, 0.28));
}

/* Admin Video Mode Switcher Buttons */
.admin-video-mode-btn {
    flex: 1;
    padding: 10px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.admin-video-mode-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.admin-video-mode-btn.active {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.35), rgba(147, 51, 234, 0.35));
    border-color: #e11d48;
    color: #ffd700;
    box-shadow: 0 0 12px rgba(225, 29, 72, 0.4);
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR WHATSAPP BADGES
   ========================================================================== */
.top-announcement-wa {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.top-wa-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(37, 211, 102, 0.2);
    border: 1px solid rgba(37, 211, 102, 0.55);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 0.74rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.top-wa-badge:hover {
    background: #25d366;
    color: #0b3d1b;
    border-color: #25d366;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
    transform: translateY(-1px);
}

.top-wa-badge strong {
    font-weight: 700;
    color: #ffd700;
}

.top-wa-badge:hover strong {
    color: #0b3d1b;
}

@media (max-width: 900px) {
    .top-announcement-wa {
        display: none;
    }
}

/* ==========================================================================
   SOCIAL CHANNELS SHOWCASE (BRIGHT & VIBRANT FACEBOOK & TIKTOK CARDS)
   ========================================================================== */
.social-channels-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.social-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.social-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

/* Facebook Card: Clean, Vibrant White & Royal Blue */
.social-card.fb-card {
    border: 2px solid #93c5fd;
    background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.1);
}

.social-card.fb-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 14px 35px rgba(24, 119, 242, 0.22);
}

/* TikTok Card: Modern Neon & High Contrast */
.social-card.tiktok-card {
    border: 2px solid #e2e8f0;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}

.social-card.tiktok-card:hover {
    border-color: #0f172a;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.18);
}

/* Instagram Card: Vibrant Sunset Gradient & Crisp White */
.social-card.insta-card {
    border: 2px solid #fbcfe8;
    background: linear-gradient(145deg, #ffffff 0%, #fdf2f8 100%);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.1);
}

.social-card.insta-card:hover {
    border-color: #e1306c;
    box-shadow: 0 14px 35px rgba(225, 48, 108, 0.22);
}

.social-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.social-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fb-icon-box {
    background: linear-gradient(135deg, #1877f2, #0d5ec4);
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35);
}

.tiktok-icon-box {
    background: #000000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.social-card-title-wrap {
    display: flex;
    flex-direction: column;
}

.social-badge-tag {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.fb-tag {
    color: #1877f2;
}

.tiktok-tag {
    color: #0f172a;
}

.social-card-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #1877f2;
    color: #ffffff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
}

.trend-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

.social-card-desc {
    font-size: 0.86rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 14px;
}

.social-card-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.social-pill {
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.05);
    color: #334155;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.btn-social-visit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-fb-visit {
    background: #1877f2;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

.btn-fb-visit:hover {
    background: #0d5ec4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.5);
    color: #ffffff;
}

.btn-tiktok-visit {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-tiktok-visit:hover {
    background: #1e293b;
    border-color: #00f2fe;
    color: #00f2fe;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.3);
}

.insta-icon-box {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 6px 16px rgba(225, 48, 108, 0.35);
}

.insta-tag {
    color: #e1306c;
}

.btn-insta-visit {
    background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(225, 48, 108, 0.35);
}

.btn-insta-visit:hover {
    background: linear-gradient(45deg, #e6683c 0%, #cc2366 50%, #9c126d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.5);
    color: #ffffff;
}

@media (max-width: 1024px) {
    .social-channels-banner {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .social-card {
        padding: 18px;
    }
    .social-card-name {
        font-size: 1.05rem;
    }
}

/* ==========================================================================
   FOOTER LOGO & DIRECT WHATSAPP CARDS
   ========================================================================== */
.footer-logo-badge {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    background: #ffffff;
    border: 2.5px solid #ffd700;
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 3px;
    flex-shrink: 0;
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-wa-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.footer-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.45);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-wa-btn:hover {
    background: #25d366;
    color: #0b3d1b;
    border-color: #25d366;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.footer-wa-btn strong {
    color: #ffd700;
}
.footer-wa-btn:hover strong {
    color: #0b3d1b;
}

/* ==========================================================================
   FLOATING WHATSAPP QUICK CHAT WIDGET
   ========================================================================== */
.floating-whatsapp-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: var(--font-body);
}

.floating-wa-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    background: #25d366;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 12px 20px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-wa-btn:hover {
    background: #20ba59;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.floating-wa-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0;
}

.wa-pulse-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid #25d366;
    border-radius: 34px;
    animation: waPulseRing 2.2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
    pointer-events: none;
}

@keyframes waPulseRing {
    0% { transform: scale(0.96); opacity: 0.85; }
    50% { transform: scale(1.18); opacity: 0; }
    100% { transform: scale(0.96); opacity: 0.85; }
}

.whatsapp-popup-card {
    position: absolute;
    bottom: 64px;
    right: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.94);
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.whatsapp-popup-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wa-popup-header {
    background: linear-gradient(135deg, #1b0735, #3b105c);
    color: #ffffff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #ffd700;
}

.wa-popup-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-popup-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #ffd700;
    padding: 2px;
    object-fit: contain;
}

.wa-popup-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.wa-popup-status {
    font-size: 0.7rem;
    color: #25d366;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wa-popup-status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #25d366;
    border-radius: 50%;
    animation: pulseBadge 1.5s infinite;
}

.wa-popup-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
}

.wa-popup-close:hover {
    color: #ffd700;
}

.wa-popup-body {
    padding: 16px;
    background: #faf7fc;
}

.wa-popup-intro {
    font-size: 0.78rem;
    color: #555555;
    margin-bottom: 12px;
    line-height: 1.4;
}

.wa-campus-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wa-campus-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1.5px solid #e0d8e8;
    border-radius: 10px;
    padding: 10px 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.wa-campus-btn:hover {
    border-color: #25d366;
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.wa-campus-tag {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    color: #8b2c99;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.wa-campus-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: #1b0735;
}

.wa-btn-arrow {
    color: #25d366;
    font-size: 1.1rem;
    font-weight: 900;
    transition: transform 0.2s;
}

.wa-campus-btn:hover .wa-btn-arrow {
    transform: translateX(3px);
}

.wa-popup-footer {
    padding: 10px 16px;
    background: #f1ecf5;
    text-align: center;
    font-size: 0.7rem;
    color: #777777;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 480px) {
    .floating-whatsapp-widget {
        bottom: 18px;
        right: 18px;
    }
    .floating-wa-label {
        display: none;
    }
    .floating-wa-btn {
        padding: 12px;
        border-radius: 50%;
    }
    .wa-pulse-ring {
        border-radius: 50%;
    }
    .whatsapp-popup-card {
        right: -6px;
        width: 290px;
    }
}


/* ==========================================================================
   5 NEW HIGH-IMPACT SECTIONS: CLUBS, CBT DEMO, BUS & TOUR, ALUMNI, SEO FAQ
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CLUBS & EXTRACURRICULAR GUILDS SECTION
   -------------------------------------------------------------------------- */
.clubs-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #0e051d 0%, #17092e 50%, #0e051d 100%);
    position: relative;
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 36px;
}

.club-card {
    background: #1e0f38;
    border: 1px solid rgba(255, 215, 0, 0.16);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.club-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow: 0 16px 36px rgba(255, 215, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.club-card-header {
    padding: 24px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.club-bg-robotics {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.club-bg-chess {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}

.club-bg-debate {
    background: linear-gradient(135deg, #065f46 0%, #059669 100%);
}

.club-bg-taekwondo {
    background: linear-gradient(135deg, #881337 0%, #e11d48 100%);
}

.club-bg-music {
    background: linear-gradient(135deg, #78350f 0%, #d97706 100%);
}

.club-bg-craft {
    background: linear-gradient(135deg, #312e81 0%, #4338ca 100%);
}

.club-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.club-cat-pill {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.28);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.club-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.club-title {
    color: #ffffff;
    font-size: 1.18rem;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.35;
}

.club-desc {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0 0 16px;
    flex-grow: 1;
}

.club-features {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}

.club-feature-tag {
    font-size: 0.74rem;
    font-weight: 700;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.22);
    padding: 4px 10px;
    border-radius: 6px;
}

.club-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.club-age {
    background: rgba(255, 255, 255, 0.09);
    padding: 3px 8px;
    border-radius: 4px;
    color: #ffd700;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   2. INTERACTIVE MINI CBT PRACTICE DEMO SECTION
   -------------------------------------------------------------------------- */
.cbt-demo-section {
    padding: 70px 0;
    background: radial-gradient(circle at center, #1f0a3d 0%, #0d041a 100%);
    position: relative;
}

.cbt-sim-wrapper {
    max-width: 860px;
    margin: 36px auto 0;
}

.cbt-sim-card {
    background: #180a2e;
    border: 2px solid rgba(255, 215, 0, 0.25);
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 30px rgba(139, 44, 153, 0.18);
    overflow: hidden;
}

.cbt-sim-header {
    background: linear-gradient(135deg, #2b1150 0%, #1a0833 100%);
    padding: 18px 26px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cbt-sim-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cbt-pulse-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 12px #10b981;
    animation: cbtPulse 1.8s infinite;
}

@keyframes cbtPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 16px #10b981; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.cbt-exam-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
}

.cbt-exam-subtitle {
    color: #ffd700;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.cbt-timer-badge {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #ffd700;
    border-radius: 30px;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffd700;
    font-weight: 800;
    font-size: 0.96rem;
    font-family: monospace;
    letter-spacing: 1px;
}

.cbt-progress-wrap {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    width: 100%;
}

.cbt-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffd700 0%, #10b981 100%);
    transition: width 0.35s ease;
}

.cbt-quiz-body {
    padding: 32px 30px;
}

.cbt-question-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cbt-q-badge {
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.cbt-subject-tag {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 700;
}

.cbt-question-text {
    color: #ffffff;
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 24px;
}

.cbt-options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.cbt-option-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 14px 20px;
    text-align: left;
    color: #ffffff;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    font-family: inherit;
}

.cbt-option-btn:hover:not(:disabled) {
    background: rgba(255, 215, 0, 0.08);
    border-color: #ffd700;
    transform: translateX(4px);
}

.cbt-option-btn.selected {
    background: rgba(255, 215, 0, 0.18);
    border-color: #ffd700;
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.25);
}

.cbt-opt-letter {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.cbt-option-btn.selected .cbt-opt-letter {
    background: #ffd700;
    color: #1b0735;
}

.cbt-opt-text {
    flex-grow: 1;
    line-height: 1.4;
}

.cbt-sim-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.btn-cbt-nav {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cbt-nav:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.16);
}

.btn-cbt-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-cbt-next {
    background: #ffd700;
    color: #1b0735;
    border-color: #ffd700;
}

.btn-cbt-next:hover:not(:disabled) {
    background: #ffe44d;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.35);
}

.btn-cbt-submit {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    padding: 11px 24px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
    transition: transform 0.2s ease;
}

.btn-cbt-submit:hover {
    transform: scale(1.03);
}

.cbt-quick-pills {
    display: flex;
    gap: 8px;
}

.cbt-pill {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cbt-pill.active {
    background: #ffd700;
    color: #1b0735;
    font-weight: 800;
}

.cbt-pill.answered:not(.active) {
    background: rgba(16, 185, 129, 0.3);
    color: #10b981;
    border: 1px solid #10b981;
}

/* CBT Result Screen */
.cbt-result-body {
    padding: 40px 30px;
    text-align: center;
}

.cbt-score-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, rgba(27, 7, 53, 0.9) 100%);
    border: 3px solid #ffd700;
    margin: 0 auto 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.3);
}

.cbt-score-number {
    font-size: 2rem;
    font-weight: 900;
    color: #ffd700;
    line-height: 1;
}

.cbt-score-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.cbt-result-headline {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 10px;
}

.cbt-result-msg {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    max-width: 580px;
    margin: 0 auto 24px;
    line-height: 1.5;
}

.cbt-breakdown-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    max-width: 580px;
    margin: 0 auto 26px;
    text-align: left;
}

.cbt-breakdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.84rem;
}

.cbt-breakdown-item:last-child {
    border-bottom: none;
}

.cbt-result-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-cbt-restart {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
}

.btn-cbt-apply {
    background: #ffd700;
    color: #1b0735;
    border: none;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.3);
}

.btn-cbt-portal {
    background: rgba(0, 180, 216, 0.15);
    color: #00b4d8;
    border: 1px solid #00b4d8;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-block;
}

/* --------------------------------------------------------------------------
   3. SCHOOL BUS TRANSIT GUIDE & CAMPUS TOUR BOOKING
   -------------------------------------------------------------------------- */
.tour-bus-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #120623 0%, #1e0b38 50%, #120623 100%);
    position: relative;
}

.tour-bus-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    margin-top: 36px;
    align-items: stretch;
}

.transit-card {
    background: #190930;
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.transit-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 18px;
    margin-bottom: 18px;
    gap: 12px;
    flex-wrap: wrap;
}

.transit-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.transit-icon {
    font-size: 2rem;
}

.transit-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 3px;
}

.transit-subtitle {
    color: #ffd700;
    font-size: 0.76rem;
    margin: 0;
    font-weight: 600;
}

.transit-tabs {
    display: flex;
    gap: 8px;
}

.transit-tab {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.transit-tab.active {
    background: #ffd700;
    color: #1b0735;
    border-color: #ffd700;
    font-weight: 800;
}

.transit-routes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.route-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.route-item:hover {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.route-badge-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.route-badge {
    background: #f59e0b;
    color: #1b0735;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.route-status {
    color: #10b981;
    font-size: 0.64rem;
    font-weight: 800;
    text-transform: uppercase;
}

.route-content {
    flex-grow: 1;
}

.route-corridor {
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 800;
    margin: 0 0 4px;
}

.route-stops {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    line-height: 1.4;
    margin: 0 0 8px;
}

.route-times {
    display: flex;
    gap: 14px;
    font-size: 0.74rem;
    color: #ffd700;
    flex-wrap: wrap;
}

.transit-safety-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 18px;
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.safety-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Guided Tour Card */
.tour-booking-card {
    background: linear-gradient(135deg, #2b1150 0%, #1b0735 100%);
    border: 2px solid #ffd700;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tour-glow-badge {
    font-size: 0.7rem;
    font-weight: 900;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid #ffd700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.tour-card-title {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.3;
}

.tour-card-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0 0 20px;
}

.tour-card-perks {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.tour-perk {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.perk-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.tour-perk strong {
    display: block;
    color: #ffffff;
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.tour-perk p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

.btn-schedule-tour {
    width: 100%;
    background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
    color: #1b0735;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 0.98rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.btn-schedule-tour:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(255, 215, 0, 0.5);
}

.tour-direct-links {
    margin-top: 16px;
    text-align: center;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.7);
}

.tour-campus-phones {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.campus-phone-link {
    color: #ffd700;
    text-decoration: none;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 10px;
    border-radius: 6px;
}

.campus-phone-link:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   4. ALUMNI & UNIVERSITY PLACEMENT WALL SECTION
   -------------------------------------------------------------------------- */
.alumni-section {
    padding: 70px 0;
    background: radial-gradient(circle at 50% 30%, #200a3e 0%, #0c0418 100%);
    position: relative;
}

.alumni-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 32px;
    margin-bottom: 36px;
}

.alumni-stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 215, 0, 0.22);
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    transition: transform 0.2s ease;
}

.alumni-stat-card:hover {
    transform: translateY(-4px);
    border-color: #ffd700;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffd700;
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    color: #ffffff;
    font-weight: 800;
    font-size: 0.88rem;
    margin-bottom: 4px;
}

.stat-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.72rem;
    line-height: 1.3;
    display: block;
}

.placements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.placement-card {
    background: #1b0933;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.placement-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.placement-badge {
    align-self: flex-start;
    background: #065f46;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.placement-uni {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.3;
}

.placement-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.84rem;
    line-height: 1.5;
    margin: 0 0 14px;
    flex-grow: 1;
}

.placement-alumni-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.alumni-star {
    color: #ffd700;
}

.alumni-cta-box {
    margin-top: 36px;
    background: linear-gradient(135deg, #2b1150 0%, #16062d 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.alumni-cta-text h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 4px;
}

.alumni-cta-text p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
    margin: 0;
}

.btn-alumni-apply {
    background: #ffd700;
    color: #1b0735;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
    white-space: nowrap;
    transition: transform 0.2s ease;
}

.btn-alumni-apply:hover {
    transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   5. GOOGLE SEO FAQ SECTION WITH ACCORDION
   -------------------------------------------------------------------------- */
.faq-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #0e051d 0%, #190930 50%, #0e051d 100%);
    position: relative;
}

.faq-filter-pills {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 28px 0 32px;
    flex-wrap: wrap;
}

.faq-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-pill:hover {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.08);
}

.faq-pill.active {
    background: #ffd700;
    color: #1b0735;
    border-color: #ffd700;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.25);
}

.faq-accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #18092e;
    border: 1px solid rgba(255, 215, 0, 0.16);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
    border-color: rgba(255, 215, 0, 0.4);
}

.faq-item.active {
    border-color: #ffd700;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    text-align: left;
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.4;
}

.faq-q-text {
    flex-grow: 1;
}

.faq-toggle-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    color: #e11d48;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.faq-answer-inner {
    padding: 0 24px 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.65;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 14px;
}

.faq-answer-inner p {
    margin: 0 0 10px;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   6. BOOK A GUIDED CAMPUS TOUR MODAL
   -------------------------------------------------------------------------- */
.tour-modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 3, 20, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tour-modal-wrap.active {
    display: flex;
    opacity: 1;
}

.tour-modal-box {
    background: #1e0a38;
    border: 2px solid #ffd700;
    border-radius: 20px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.2);
    position: relative;
}

.tour-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.tour-modal-header h3 {
    color: #ffd700;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 4px;
}

.tour-modal-header p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    margin: 0;
}

.tour-modal-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
}

.tour-form-note {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 8px;
    padding: 10px 14px;
    color: #ffd700;
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 18px;
}

.tour-btn-row {
    margin-top: 22px;
}

.btn-confirm-tour-wa {
    width: 100%;
    background: #25d366;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-confirm-tour-wa:hover {
    background: #20ba5a;
    transform: translateY(-2px);
}

.tour-success-card {
    text-align: center;
    padding: 30px 10px;
}

.tour-success-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.tour-success-card h4 {
    color: #ffd700;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 10px;
}

.tour-success-card p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.5;
    max-width: 440px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   RESPONSIVENESS FOR THE 5 NEW SECTIONS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .clubs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tour-bus-grid {
        grid-template-columns: 1fr;
    }
    .placements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .alumni-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .clubs-grid {
        grid-template-columns: 1fr;
    }
    .placements-grid {
        grid-template-columns: 1fr;
    }
    .alumni-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cbt-sim-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .cbt-timer-badge {
        align-self: flex-start;
    }
    .cbt-quiz-body {
        padding: 22px 18px;
    }
    .cbt-sim-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .cbt-quick-pills {
        justify-content: center;
        order: -1;
        margin-bottom: 10px;
    }
    .transit-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .transit-tabs {
        width: 100%;
    }
    .transit-tab {
        flex: 1;
        text-align: center;
    }
    .alumni-cta-box {
        flex-direction: column;
        text-align: center;
    }
    .btn-alumni-apply {
        width: 100%;
    }
    .faq-question {
        padding: 16px 18px;
        font-size: 0.94rem;
    }
    .faq-answer-inner {
        padding: 0 18px 18px;
        font-size: 0.88rem;
    }
}



/* ==========================================================================
   INTERACTIVE HUBS & SMART EXPANDERS (CONTENT CONSOLIDATION & WRAPPING)
   ========================================================================== */
.hub-section {
    padding: 70px 0;
    position: relative;
}

.student-hub-section {
    background: linear-gradient(180deg, #0e051d 0%, #1a0833 50%, #0e051d 100%);
}

.media-hub-section {
    background: linear-gradient(180deg, #0a0316 0%, #17072d 50%, #0a0316 100%);
}

.academic-hub-section {
    background: linear-gradient(180deg, #100522 0%, #1e093c 50%, #100522 100%);
}

.hub-tabs-header {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 32px 0 38px;
    flex-wrap: wrap;
}

.hub-tab-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 215, 0, 0.22);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
    font-family: inherit;
}

.hub-tab-btn:hover {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.hub-tab-btn.active {
    background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
    color: #1b0735;
    border-color: #ffd700;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
    transform: translateY(-1px);
}

.hub-tab-icon {
    font-size: 1.25rem;
}

.hub-tab-pane {
    animation: hubFadeIn 0.35s ease-out;
}

@keyframes hubFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.hub-anchor-target {
    position: relative;
    top: -90px;
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
}

/* --------------------------------------------------------------------------
   CALENDAR WEEKS SMART EXPANDER
   -------------------------------------------------------------------------- */
.calendar-full-table-wrap:not(.expanded) tbody tr:nth-child(n+6) {
    display: none;
}

.cal-expand-wrap {
    margin: 18px 0 10px;
}

.btn-cal-expand {
    background: rgba(255, 215, 0, 0.1);
    border: 1.5px solid #ffd700;
    color: #ffd700;
    padding: 11px 28px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cal-expand:hover {
    background: #ffd700;
    color: #1b0735;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   ALUMNI PLACEMENT CARDS SMART EXPANDER
   -------------------------------------------------------------------------- */
.placements-grid:not(.expanded) .placement-card-extended {
    display: none;
}

.alumni-expand-wrap {
    text-align: center;
    margin: 22px 0 12px;
}

.btn-alumni-expand {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 215, 0, 0.35);
    color: #ffd700;
    padding: 11px 28px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.btn-alumni-expand:hover {
    background: rgba(255, 215, 0, 0.16);
    border-color: #ffd700;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.25);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   RESPONSIVE ADJUSTMENTS FOR HUBS
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .hub-tabs-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .hub-tab-btn {
        justify-content: center;
        padding: 12px 18px;
        font-size: 0.88rem;
    }
}

/* --------------------------------------------------------------------------
   STUDENT RESULT AUTO-DETECTION BADGE
   -------------------------------------------------------------------------- */
.result-detect-badge {
    margin-top: 14px;
    padding: 12px 16px;
    background: #f5f3ff;
    border: 1.5px solid #c4b5fd;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #4c1d95;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 8px rgba(107, 29, 140, 0.08);
    transition: all 0.25s ease;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.55 !important;
}

.result-detect-badge.loading {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e40af;
}

.result-detect-badge.success {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.result-detect-badge.warn {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.detect-badge-flex {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.detect-badge-icon {
    font-size: 1.15rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.detect-badge-text {
    flex: 1 1 0%;
    min-width: 0;
    line-height: 1.55;
    word-break: normal;
    overflow-wrap: break-word;
}

.detect-badge-text strong {
    font-weight: 800;
    color: inherit;
    display: inline;
}

.badge-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


