:root {
    --primary: #1B5E20;
    --primary-dark: #0D3D10;
    --primary-light: #2E7D32;
    --gold: #D4AF37;
    --gold-dark: #B8962E;
    --gold-light: #E8D48B;
    --white: #FFFFFF;
    --gray-100: #f5f6f8;
    --gray-200: #e9ecef;
    --gray-600: #6c757d;
    --gray-800: #2c3e50;
    --shadow: 0 4px 24px rgba(27, 94, 32, 0.12);
    --shadow-lg: 0 12px 40px rgba(13, 61, 16, 0.18);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html {
    overflow-x: hidden;
    width: 100%;
}
body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}
main {
    overflow-x: hidden;
    max-width: 100%;
}
h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--primary); }
.text-gold { color: var(--gold) !important; }

/* ========== TOP BAR ========== */
.site-topbar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8rem;
    padding: 0.45rem 0;
}
.site-topbar a {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.site-topbar a:hover { color: var(--white); }
.site-topbar a:hover i { color: var(--gold-light); }
.site-topbar i { color: var(--gold); font-size: 0.9em; flex-shrink: 0; }
.site-topbar-left span { display: inline-flex; align-items: center; gap: 0.35rem; }

.btn-topbar-login {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary-dark) !important;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
    border-radius: 5px;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-topbar-login:hover {
    background: var(--white);
    color: var(--primary-dark) !important;
    transform: translateY(-1px);
}
.btn-topbar-login i { color: inherit; margin: 0; }

/* Mobile contact strip (above white navbar) */
.site-topbar-mobile {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.68rem;
    padding: 0.38rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}
.site-topbar-mobile .container {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
}
.site-topbar-mobile-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
}
.site-topbar-mobile-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    flex: 1 1 0;
    min-width: 0;
    color: var(--gold-light) !important;
    text-decoration: none !important;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.1rem 0.15rem;
}
.site-topbar-mobile-item + .site-topbar-mobile-item {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.site-topbar-mobile-item i {
    color: var(--gold);
    font-size: 0.72rem;
    flex-shrink: 0;
}
.site-topbar-mobile-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.btn-topbar-login-mobile {
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
    margin-left: auto;
}
@media (max-width: 380px) {
    .site-topbar-mobile {
        font-size: 0.62rem;
    }
    .site-topbar-mobile-item {
        gap: 0.2rem;
    }
    .site-topbar-mobile-item i {
        font-size: 0.68rem;
    }
}

/* ========== MAIN NAVBAR ========== */
.site-navbar {
    background: var(--white);
    padding: 0.75rem 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    overflow: visible;
}
.site-navbar .navbar-collapse,
.site-nav-links {
    overflow: visible;
}
.site-navbar > .container {
    max-width: 100%;
}
.site-navbar .site-brand {
    min-width: 0;
    flex: 1 1 auto;
    max-width: calc(100% - 3.25rem);
}
.site-navbar.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); }
.site-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none !important;
}
.site-brand-mark {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.5rem;
    flex-shrink: 0;
}
.site-brand-img { height: 48px; max-width: 52px; object-fit: contain; }
.site-brand-img.site-brand-logo-only {
    height: 72px;
    max-width: min(340px, 68vw);
    width: auto;
    object-fit: contain;
    display: block;
}
@media (max-width: 991.98px) {
    .site-brand-img.site-brand-logo-only {
        height: 64px;
        max-width: min(300px, 72vw);
    }
}
.site-brand-img.site-brand-logo-only {
    height: 72px;
    max-width: min(340px, 68vw);
    width: auto;
    object-fit: contain;
    display: block;
}
@media (max-width: 991.98px) {
    .site-brand-img.site-brand-logo-only {
        height: 64px;
        max-width: min(300px, 72vw);
    }
}
.site-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.site-brand-text strong {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 1.05rem;
    font-weight: 700;
}
.site-brand-text small { color: var(--gray-600); font-size: 0.72rem; font-weight: 500; }
.site-nav-links .nav-link {
    color: var(--gray-800) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem !important;
    transition: color 0.2s;
}
.site-nav-links .nav-link:hover,
.site-nav-links .nav-link.active { color: var(--gold-dark) !important; }
.site-nav-dropdown {
    position: relative;
}
@media (min-width: 992px) {
    .site-nav-dropdown::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 0.45rem;
    }
    .site-nav-dropdown:hover > .site-nav-dropdown-btn,
    .site-nav-dropdown.show > .site-nav-dropdown-btn {
        color: var(--white) !important;
        background: var(--primary);
        border-radius: 6px;
    }
}
.site-nav-dropdown-btn {
    font-family: inherit;
    cursor: pointer;
    color: var(--gray-800) !important;
    background: transparent;
    border: none;
    line-height: inherit;
}
.site-nav-dropdown .dropdown-toggle::after {
    margin-left: 0.35rem;
    vertical-align: 0.12em;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-nav-dropdown.show .site-nav-dropdown-btn.dropdown-toggle::after {
    transform: rotate(180deg);
}
.site-nav-dropdown .nav-link.active,
.site-nav-dropdown .site-nav-dropdown-btn.active,
.site-nav-dropdown.show > .nav-link,
.site-nav-dropdown.show > .site-nav-dropdown-btn,
.site-nav-dropdown .nav-link:hover,
.site-nav-dropdown .site-nav-dropdown-btn:hover {
    color: var(--white) !important;
    background: var(--primary);
    border-radius: 6px;
}
.site-nav-dropdown-menu {
    --bs-dropdown-bg: transparent;
    --bs-dropdown-link-color: rgba(255, 255, 255, 0.9);
    --bs-dropdown-link-hover-color: var(--gold-light);
    --bs-dropdown-link-hover-bg: rgba(212, 175, 55, 0.14);
    --bs-dropdown-link-active-color: var(--gold-light);
    --bs-dropdown-link-active-bg: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 10px;
    padding: 0.35rem 0;
    min-width: 12.5rem;
    background: linear-gradient(165deg, #123018 0%, #0a1a0c 55%, #061208 100%);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    margin-top: 0.5rem !important;
    z-index: 1060;
    transform-origin: top center;
    overflow: hidden;
}
.site-nav-dropdown-menu > li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}
@keyframes siteNavDropdownOpen {
    from {
        opacity: 0;
        margin-top: 0.1rem !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    }
    to {
        opacity: 1;
        margin-top: 0.5rem !important;
        box-shadow:
            0 18px 42px rgba(0, 0, 0, 0.45),
            0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    }
}
@keyframes siteNavDropdownItemIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.site-nav-dropdown-menu.show {
    animation: siteNavDropdownOpen 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.site-nav-dropdown-menu.show > li {
    animation: siteNavDropdownItemIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.site-nav-dropdown-menu.show > li:nth-child(1) { animation-delay: 0.05s; }
.site-nav-dropdown-menu.show > li:nth-child(2) { animation-delay: 0.08s; }
.site-nav-dropdown-menu.show > li:nth-child(3) { animation-delay: 0.11s; }
.site-nav-dropdown-menu.show > li:nth-child(4) { animation-delay: 0.14s; }
.site-nav-dropdown-menu.show > li:nth-child(5) { animation-delay: 0.17s; }
.site-nav-dropdown-menu.show > li:nth-child(6) { animation-delay: 0.2s; }
.site-nav-dropdown-menu.show > li:nth-child(7) { animation-delay: 0.23s; }
.site-nav-dropdown-menu .dropdown-item {
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.62rem 1.15rem;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.site-nav-dropdown-menu .dropdown-item:hover,
.site-nav-dropdown-menu .dropdown-item:focus,
.site-nav-dropdown-menu .dropdown-item.active {
    background: rgba(212, 175, 55, 0.14);
    color: var(--gold-light);
    padding-left: 1.3rem;
}
.site-nav-dropdown {
    position: relative;
}
@media (min-width: 992px) {
    .site-nav-dropdown::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 0.45rem;
    }
    .site-nav-dropdown:hover > .site-nav-dropdown-btn,
    .site-nav-dropdown.show > .site-nav-dropdown-btn {
        color: var(--white) !important;
        background: var(--primary);
        border-radius: 6px;
    }
}
.site-nav-dropdown-btn {
    font-family: inherit;
    cursor: pointer;
    color: var(--gray-800) !important;
    background: transparent;
    border: none;
    line-height: inherit;
}
.site-nav-dropdown .dropdown-toggle::after {
    margin-left: 0.35rem;
    vertical-align: 0.12em;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-nav-dropdown.show .site-nav-dropdown-btn.dropdown-toggle::after {
    transform: rotate(180deg);
}
.site-nav-dropdown .nav-link.active,
.site-nav-dropdown .site-nav-dropdown-btn.active,
.site-nav-dropdown.show > .nav-link,
.site-nav-dropdown.show > .site-nav-dropdown-btn,
.site-nav-dropdown .nav-link:hover,
.site-nav-dropdown .site-nav-dropdown-btn:hover {
    color: var(--white) !important;
    background: var(--primary);
    border-radius: 6px;
}
.site-nav-dropdown-menu {
    --bs-dropdown-bg: transparent;
    --bs-dropdown-link-color: rgba(255, 255, 255, 0.9);
    --bs-dropdown-link-hover-color: var(--gold-light);
    --bs-dropdown-link-hover-bg: rgba(212, 175, 55, 0.14);
    --bs-dropdown-link-active-color: var(--gold-light);
    --bs-dropdown-link-active-bg: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 10px;
    padding: 0.35rem 0;
    min-width: 12.5rem;
    background: linear-gradient(165deg, #123018 0%, #0a1a0c 55%, #061208 100%);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    margin-top: 0.5rem !important;
    z-index: 1060;
    transform-origin: top center;
    overflow: hidden;
}
.site-nav-dropdown-menu > li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}
@keyframes siteNavDropdownOpen {
    from {
        opacity: 0;
        margin-top: 0.1rem !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    }
    to {
        opacity: 1;
        margin-top: 0.5rem !important;
        box-shadow:
            0 18px 42px rgba(0, 0, 0, 0.45),
            0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    }
}
@keyframes siteNavDropdownItemIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.site-nav-dropdown-menu.show {
    animation: siteNavDropdownOpen 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.site-nav-dropdown-menu.show > li {
    animation: siteNavDropdownItemIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.site-nav-dropdown-menu.show > li:nth-child(1) { animation-delay: 0.05s; }
.site-nav-dropdown-menu.show > li:nth-child(2) { animation-delay: 0.08s; }
.site-nav-dropdown-menu.show > li:nth-child(3) { animation-delay: 0.11s; }
.site-nav-dropdown-menu.show > li:nth-child(4) { animation-delay: 0.14s; }
.site-nav-dropdown-menu.show > li:nth-child(5) { animation-delay: 0.17s; }
.site-nav-dropdown-menu.show > li:nth-child(6) { animation-delay: 0.2s; }
.site-nav-dropdown-menu.show > li:nth-child(7) { animation-delay: 0.23s; }
.site-nav-dropdown-menu .dropdown-item {
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.62rem 1.15rem;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.site-nav-dropdown-menu .dropdown-item:hover,
.site-nav-dropdown-menu .dropdown-item:focus,
.site-nav-dropdown-menu .dropdown-item.active {
    background: rgba(212, 175, 55, 0.14);
    color: var(--gold-light);
    padding-left: 1.3rem;
}
@media (prefers-reduced-motion: reduce) {
    .site-nav-dropdown-menu.show,
    .site-nav-dropdown-menu.show > li {
        animation: none;
    }
    .site-nav-dropdown .dropdown-toggle::after {
        transition: none;
    }
    .site-nav-dropdown.show .site-nav-dropdown-btn.dropdown-toggle::after {
        transform: none;
    }
}
.btn-enquire {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white) !important;
    font-weight: 700;
    padding: 0.55rem 1.35rem;
    border-radius: 6px;
    border: none;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
}
.btn-enquire:hover { background: var(--primary); color: var(--white) !important; }
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white) !important;
    border: none;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
}
.btn-gold:hover { background: var(--primary); color: var(--white) !important; }
.btn-primary-dps { background: var(--primary); border-color: var(--primary); color: var(--white) !important; font-weight: 600; border-radius: 6px; }
.btn-primary-dps:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white) !important; }

/* ========== HOME HERO ========== */
.home-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 3rem 0 4rem;
    overflow: hidden;
}
.home-hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(13, 61, 16, 0.94) 0%, rgba(27, 94, 32, 0.82) 45%, rgba(27, 94, 32, 0.45) 100%);
}
.home-hero .container { z-index: 2; }
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.home-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    color: var(--white) !important;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.home-hero-lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 540px;
    margin-bottom: 1.5rem;
}
.btn-hero-outline {
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: var(--white) !important;
    background: transparent;
    font-weight: 600;
    border-radius: 6px;
}
.btn-hero-outline:hover { background: var(--white); color: var(--primary) !important; }
.hero-stat-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--gold);
}
.hero-stat-item span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.85); line-height: 1.3; }

/* Hero awards ticker — white theme (matches stats strip) */
.home-hero-ticker {
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 1rem 0;
}
.home-hero-ticker-viewport {
    overflow: hidden;
    width: 100%;
}
.home-hero-ticker-track {
    display: flex;
    width: max-content;
    animation: heroTickerScroll 45s linear infinite;
}
.home-hero-ticker-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 1rem;
    flex-shrink: 0;
}
.hero-ticker-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1.1rem 0.55rem 0.55rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(27, 94, 32, 0.05);
    white-space: nowrap;
    flex-shrink: 0;
}
.hero-ticker-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    background: #f3efe6;
    border: 1px solid #ebe4d6;
    color: #9A7B1A;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.hero-ticker-icon i {
    display: block;
    line-height: 1;
}
.hero-ticker-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.2;
}
.hero-ticker-text strong {
    color: #111111;
    font-size: 0.92rem;
    font-weight: 700;
}
.hero-ticker-text small {
    color: #333333;
    font-size: 0.78rem;
    font-weight: 500;
}
@keyframes heroTickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .home-hero-ticker-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
    .home-hero-ticker-group[aria-hidden="true"] { display: none; }
    .home-hero-ticker-viewport { overflow-x: auto; }
}

/* Impact statistics strip (above ticker) */
.home-impact-stats {
    background: var(--white);
    padding: 1.35rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.home-impact-stats-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
}
.home-impact-stats-track {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.impact-stat-item {
    flex: 1 0 20%;
    min-width: 0;
    text-align: center;
    padding: 0.65rem 1rem 0.75rem;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    box-sizing: border-box;
}
.impact-stat-item:last-child { border-right: none; }
.impact-stat-icon {
    color: #9A7B1A;
    font-size: 1.1rem;
    opacity: 1;
}
.impact-stat-value {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    font-weight: 700;
    color: #9A7B1A;
    line-height: 1.1;
}
.impact-stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #111111;
    line-height: 1.35;
    max-width: 11rem;
}
@media (max-width: 991.98px) {
    .home-impact-stats-track {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .impact-stat-item {
        flex: unset;
        border-right: 1px solid rgba(0, 0, 0, 0.08);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding: 0.85rem 0.65rem;
    }
    .impact-stat-item:nth-child(3n) {
        border-right: none;
    }
    .impact-stat-item:nth-last-child(-n+3) {
        border-bottom: none;
    }
}
@media (max-width: 575.98px) {
    .home-impact-stats {
        padding: 0.5rem 0;
    }
    .home-impact-stats-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .impact-stat-item {
        padding: 0.85rem 0.5rem 0.95rem;
    }
    .impact-stat-item:nth-child(3n) {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }
    .impact-stat-item:nth-child(2n) {
        border-right: none;
    }
    .impact-stat-item:nth-last-child(-n+3) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    .impact-stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
    .impact-stat-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        border-right: none;
    }
    .impact-stat-item.impact-stat-mobile-hide {
        display: none !important;
    }
    .impact-stat-value {
        font-size: clamp(1.45rem, 6vw, 1.85rem);
    }
    .impact-stat-label {
        max-width: none;
        font-size: 0.78rem;
        padding: 0 0.15rem;
    }
}

/* Hero floating cards — refined dark glass panels */
.hero-float-cards {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.hero-float-card {
    background: linear-gradient(165deg, rgba(12, 32, 16, 0.92) 0%, rgba(6, 18, 10, 0.96) 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.22);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.hero-float-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.38);
    box-shadow:
        0 22px 52px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.hero-float-card .card-head {
    padding: 0.72rem 1.15rem;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-float-card .card-head i {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    background: rgba(212, 175, 55, 0.16);
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, 0.28);
}
.card-admissions {
    border-top: 3px solid var(--gold);
}
.card-notice {
    border-top: 3px solid rgba(129, 199, 132, 0.85);
}
.card-spotlight {
    border-top: 3px solid var(--gold-dark);
}
.card-notice .card-head i {
    background: rgba(129, 199, 132, 0.14);
    color: #a5d6a7;
    border-color: rgba(129, 199, 132, 0.28);
}
.hero-float-card .card-body {
    padding: 1.05rem 1.2rem 1.15rem;
}
.hero-float-card .card-body h6 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    line-height: 1.35;
}
.hero-float-card .card-body p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 0;
}
.hero-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.8rem;
    padding: 0.48rem 1.05rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--primary-dark) !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border: none;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.28);
    transition: transform 0.22s ease, box-shadow 0.22s ease, gap 0.22s ease;
}
.hero-card-cta:hover {
    color: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.38);
    gap: 0.55rem;
}
.hero-card-cta i {
    transition: transform 0.22s ease;
}
.hero-card-cta:hover i {
    transform: translateX(3px);
}
.spotlight-avatar {
    width: 52px;
    height: 52px;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.2), rgba(27, 94, 32, 0.35));
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: var(--gold-light);
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.spotlight-avatar-img {
    display: block;
    object-fit: cover;
    padding: 0;
}
.card-spotlight .card-body h6 {
    color: #ffffff;
}
.card-spotlight .card-body p {
    color: rgba(255, 255, 255, 0.72);
}
@media (prefers-reduced-motion: reduce) {
    .hero-float-card,
    .hero-card-cta,
    .hero-card-cta i {
        transition: none;
    }
    .hero-float-card:hover {
        transform: none;
    }
}

/* ========== SECTIONS ========== */
.section-padding { padding: 4.5rem 0; }
.content-area {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--gray-800);
}
.content-area h2 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary);
    margin: 2rem 0 0.75rem;
}
.content-area h2:first-child { margin-top: 0; }
.content-area h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 1.5rem 0 0.5rem;
}
.content-area p {
    margin-bottom: 1rem;
}
.content-area p:last-child { margin-bottom: 0; }
.content-area {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--gray-800);
}
.content-area h2 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary);
    margin: 2rem 0 0.75rem;
}
.content-area h2:first-child { margin-top: 0; }
.content-area h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 1.5rem 0 0.5rem;
}
.content-area p {
    margin-bottom: 1rem;
}
.content-area p:last-child { margin-bottom: 0; }
.section-heading {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}
.section-lead { color: #111111; max-width: 600px; margin: 0 auto 2rem; }

/* Features — bordered cards with gold top accent */
.home-features {
    background: #f7f4ee;
}
.home-feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 1.35rem 1.25rem 1.4rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(27, 94, 32, 0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.home-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-radius: 16px 16px 0 0;
}
.home-feature-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 8px 24px rgba(27, 94, 32, 0.08);
    transform: translateY(-2px);
}
.home-feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 0 1rem;
    border-radius: 12px;
    background: #f3efe6;
    border: 1px solid #ebe4d6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.45rem;
    flex-shrink: 0;
}
.home-feature-card h5 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: #111111;
    font-weight: 700;
    line-height: 1.35;
}
.home-feature-card p {
    color: #111111;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.55;
    margin: 0;
}

/* Academics section */
.home-academics {
    position: relative;
    overflow: hidden;
    background: #faf8f3;
}
.home-academics-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 42% 50% at 0% 30%, rgba(27, 94, 32, 0.07), transparent 60%),
        radial-gradient(ellipse 38% 45% at 100% 70%, rgba(212, 175, 55, 0.1), transparent 55%),
        linear-gradient(180deg, #faf8f3 0%, #f4f8f5 100%);
}
.academics-section-head {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.academics-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(27, 94, 32, 0.1);
    box-shadow: 0 2px 12px rgba(27, 94, 32, 0.05);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.academics-eyebrow i {
    color: var(--gold-dark);
}
.academics-heading {
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
    font-size: clamp(1.85rem, 3.5vw, 2.45rem);
}
.academics-lead {
    margin-bottom: 1.35rem !important;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #111111;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.academics-heading-line {
    display: block;
    width: 64px;
    height: 3px;
    margin: 0 auto;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
}
@media (min-width: 992px) {
    .academics-card-grid {
        position: relative;
    }
    .academics-card-grid::before {
        content: '';
        position: absolute;
        top: 38%;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(27, 94, 32, 0.12) 15%, rgba(212, 175, 55, 0.25) 50%, rgba(27, 94, 32, 0.12) 85%, transparent);
        z-index: 0;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
    }
    .academics-card-grid:has([data-reveal].is-revealed)::before {
        transform: scaleX(1);
    }
    .academics-card-grid > [class*="col"] {
        position: relative;
        z-index: 1;
    }
}
.academic-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 18px;
    padding: 1.5rem 1.35rem 1.25rem;
    height: 100%;
    min-height: 300px;
    box-shadow: 0 8px 28px rgba(27, 94, 32, 0.07);
    border: 1px solid rgba(27, 94, 32, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.academic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--academic-accent, linear-gradient(90deg, var(--primary), var(--gold)));
}
.academic-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.academic-card:hover::after {
    opacity: 1;
}
@keyframes academicBarFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
.academic-card-shine {
    position: absolute;
    top: -35%;
    right: -25%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--academic-glow, rgba(27, 94, 32, 0.12)) 0%, transparent 70%);
    pointer-events: none;
    transition: transform 0.6s ease, opacity 0.5s ease;
}
.academic-card-watermark {
    position: absolute;
    bottom: -0.15rem;
    right: 0.5rem;
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--academic-level-color, var(--primary));
    opacity: 0.06;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.academic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(27, 94, 32, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
}
.academic-card:hover .academic-card-shine {
    transform: scale(1.5);
    opacity: 1;
}
.academic-card:hover .academic-card-watermark {
    opacity: 0.1;
    transform: translateY(-4px);
}
.academic-card-top {
    margin-bottom: 0.25rem;
}
.academic-level {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--academic-level-color, var(--primary));
    margin-bottom: 0.75rem;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: rgba(27, 94, 32, 0.06);
}
.academic-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    background: var(--academic-icon-bg, linear-gradient(135deg, #e8f5e9, #c8e6c9));
    box-shadow: 0 6px 18px rgba(27, 94, 32, 0.12);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}
.is-revealed .academic-card .academic-icon-wrap {
    animation: academicIconEnter 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    animation-delay: calc(var(--reveal-delay, 0s) + 0.15s);
}
@keyframes academicIconEnter {
    from { transform: scale(0.6) rotate(-8deg); opacity: 0; }
    to { transform: scale(1) rotate(0); opacity: 1; }
}
.academic-card:hover .academic-icon-wrap {
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 10px 28px rgba(27, 94, 32, 0.2);
}
.academic-icon {
    font-size: 1.7rem;
    color: var(--academic-icon-color, var(--primary));
    display: block;
    line-height: 1;
    transition: transform 0.35s ease;
}
.academic-card:hover .academic-icon {
    transform: scale(1.08);
}
.academic-card-body {
    flex: 1 1 auto;
}
.academic-card h5 {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    margin-bottom: 0.6rem;
    color: var(--primary-dark);
    line-height: 1.35;
}
.academic-card p {
    color: #111111;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0;
}
.academic-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(27, 94, 32, 0.08);
    width: 100%;
    color: var(--gold-dark);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.25s ease, gap 0.3s ease;
}
.academic-card-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    font-size: 0.85rem;
    transition: transform 0.3s ease, background 0.3s ease;
}
.academic-card:hover .academic-card-link {
    color: var(--primary);
    gap: 0.65rem;
}
.academic-card:hover .academic-card-link i {
    transform: translateX(3px);
    background: rgba(27, 94, 32, 0.12);
    color: var(--primary);
}
.academics-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white) !important;
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    box-shadow: 0 8px 24px rgba(27, 94, 32, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, gap 0.3s ease;
}
.academics-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(27, 94, 32, 0.32);
    color: var(--white) !important;
    gap: 0.75rem;
}
.academics-view-btn i {
    transition: transform 0.3s ease;
}
.academics-view-btn:hover i {
    transform: translateX(4px);
}
.academic-accent-1 {
    --academic-accent: linear-gradient(90deg, #1b5e20, #c9a227, #1b5e20);
    --academic-glow: rgba(27, 94, 32, 0.16);
    --academic-icon-bg: linear-gradient(135deg, #e8f5e9, #fff8e1);
    --academic-icon-color: #1b5e20;
    --academic-level-color: #2e7d32;
}
.academic-accent-2 {
    --academic-accent: linear-gradient(90deg, #1565c0, #26a69a, #1565c0);
    --academic-glow: rgba(21, 101, 192, 0.14);
    --academic-icon-bg: linear-gradient(135deg, #e3f2fd, #e0f2f1);
    --academic-icon-color: #1565c0;
    --academic-level-color: #1565c0;
}
.academic-accent-3 {
    --academic-accent: linear-gradient(90deg, #6a1b9a, #c9a227, #6a1b9a);
    --academic-glow: rgba(106, 27, 154, 0.14);
    --academic-icon-bg: linear-gradient(135deg, #f3e5f5, #fff8e1);
    --academic-icon-color: #6a1b9a;
    --academic-level-color: #6a1b9a;
}
.academic-accent-4 {
    --academic-accent: linear-gradient(90deg, #004d40, #d4af37, #004d40);
    --academic-glow: rgba(0, 77, 64, 0.14);
    --academic-icon-bg: linear-gradient(135deg, #e0f2f1, #fff8e1);
    --academic-icon-color: #00695c;
    --academic-level-color: #00695c;
}

/* Scroll reveal (home & sections) — content visible by default; animate only when JS runs */
[data-reveal] {
    opacity: 1;
    transform: none;
}
html.js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--reveal-delay, 0s) + 0.05s);
}
html.js-reveal [data-reveal="fade-up"].is-revealed {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal-delay="0"] { --reveal-delay: 0s; }
[data-reveal-delay="1"] { --reveal-delay: 0.12s; }
[data-reveal-delay="2"] { --reveal-delay: 0.24s; }
[data-reveal-delay="3"] { --reveal-delay: 0.36s; }
[data-reveal-delay="4"] { --reveal-delay: 0.48s; }
[data-reveal-delay="4"] { --reveal-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
    .home-academics-orb,
    .academics-eyebrow,
    .academics-eyebrow i,
    .academics-heading-line,
    .academic-card::before,
    .page-header::before,
    .page-header::after,
    .page-header-fx,
    .page-header-fx::before,
    .page-header-orb,
    .page-header-spark,
    .page-header h1,
    .page-header .page-header-lead,
    .page-header .lead,
    .page-header nav,
    .page-header .breadcrumb {
        animation: none;
    }
    .page-header::after {
        animation: none;
        background-size: min(140px, 42%) 3px, 50% 100%;
    }
    .page-header {
        animation: none;
        background-size: auto;
    }
    .sl-hero-bg,
    .sl-hero-badge,
    .sl-hero-title-main,
    .sl-hero-title-script,
    .sl-hero-lead,
    .sl-hero-pillars,
    .contact-hero-bg,
    .contact-hero-bg::before,
    .contact-hero-bg::after,
    .contact-campus-bg,
    .contact-campus-bg::before,
    .contact-campus-bg::after,
    .floating-helpdesk-pulse {
        animation: none;
    }
    html.js-reveal [data-reveal],
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .academic-card:hover { transform: none; }
    .academics-card-grid::before { transform: scaleX(1); }
}

/* Home photo gallery slider */
.home-photo-gallery {
    background: var(--white);
}
.home-gallery-slider-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}
.home-gallery-slider-title {
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 700;
    color: #111111;
    margin: 0;
}
.home-gallery-slider-nav {
    display: flex;
    gap: 0.45rem;
    flex-shrink: 0;
}
.home-gallery-nav-btn {
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    background: var(--white);
    color: var(--gray-800);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.home-gallery-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.home-gallery-nav-btn:active {
    transform: scale(0.94);
}
.home-gallery-slider-wrap {
    position: relative;
}
.home-gallery-slider-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.15rem 0.25rem 0.35rem;
}
.home-gallery-slider-track::-webkit-scrollbar {
    display: none;
}
.home-gallery-slide {
    flex: 0 0 calc(25% - 0.75rem);
    min-width: 220px;
    scroll-snap-align: start;
}
.home-gallery-slide-link {
    display: block;
    color: inherit;
}
.home-gallery-slide-img {
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 2px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--gray-100);
}
.home-gallery-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.home-gallery-slide-link:hover .home-gallery-slide-img img {
    transform: scale(1.04);
}
.home-gallery-slide-caption {
    margin: 0.55rem 0 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #111111;
    line-height: 1.35;
}
@media (max-width: 991.98px) {
    .home-gallery-slide {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: 200px;
    }
}
@media (max-width: 575.98px) {
    .home-gallery-slide {
        flex: 0 0 78%;
        min-width: 0;
    }
}

/* Pulse & countdown */
.home-pulse {
    position: relative;
    overflow: hidden;
}
.home-pulse-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 40% 50% at 10% 50%, rgba(27, 94, 32, 0.06), transparent 55%),
        radial-gradient(ellipse 40% 50% at 90% 50%, rgba(212, 175, 55, 0.08), transparent 50%);
    animation: homePulseBg 12s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes homePulseBg {
    0% { opacity: 0.9; }
    100% { opacity: 1; }
}
.pulse-panel {
    background: var(--white);
    border-radius: 18px;
    padding: 1.35rem 1.35rem 1.15rem;
    height: 100%;
    border: 1px solid rgba(27, 94, 32, 0.1);
    box-shadow: 0 12px 36px rgba(27, 94, 32, 0.08);
    position: relative;
    overflow: hidden;
}
.pulse-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
    background-size: 200% 100%;
    animation: pulseBarFlow 6s linear infinite;
}
@keyframes pulseBarFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
.pulse-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.pulse-panel-title {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.pulse-panel-title h3 {
    font-size: 1.12rem;
    margin: 0 0 0.15rem;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}
.pulse-panel-title p {
    margin: 0;
    font-size: 0.8rem;
    color: #111111;
}
.pulse-panel-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.pulse-panel-icon-green {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(27, 94, 32, 0.15);
}
.pulse-panel-icon-gold {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    color: #b8860b;
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.2);
}
.pulse-chip {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}
.pulse-notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pulse-notice-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    background: #f8faf8;
    border: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.pulse-notice-item:hover {
    background: #fff;
    border-color: rgba(27, 94, 32, 0.12);
    transform: translateX(4px);
}
.pulse-notice-marker {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    animation: pulseMarkerGlow 3s ease-in-out infinite;
}
@keyframes pulseMarkerGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(212, 175, 55, 0); }
    50% { box-shadow: 0 0 12px rgba(212, 175, 55, 0.45); }
}
.pulse-notice-body strong {
    display: block;
    color: #111111;
    font-size: 0.92rem;
    line-height: 1.35;
    margin-bottom: 0.2rem;
}
.pulse-notice-body small {
    color: #333333;
    font-size: 0.76rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.pulse-notice-body small i { color: var(--primary); font-size: 0.72rem; }
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.countdown-card {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, #f8faf8 100%);
    border-radius: 14px;
    padding: 0.85rem 0.65rem 0.9rem;
    text-align: center;
    border: 1px solid rgba(27, 94, 32, 0.1);
    height: 100%;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--countdown-accent, linear-gradient(90deg, var(--primary), var(--gold)));
}
.countdown-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(27, 94, 32, 0.12);
}
.countdown-card-glow {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
    pointer-events: none;
}
.countdown-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary);
    background: #e8f5e9;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    margin-bottom: 0.45rem;
}
.countdown-card h6 {
    font-size: 0.78rem;
    color: #111111;
    margin-bottom: 0.55rem;
    line-height: 1.3;
    min-height: 2.4em;
    font-weight: 700;
}
.countdown-digits {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
}
.countdown-unit {
    min-width: 52px;
    padding: 0.35rem 0.25rem;
    border-radius: 10px;
    background: rgba(27, 94, 32, 0.05);
}
.countdown-digits strong {
    display: block;
    font-size: 1.45rem;
    color: var(--gold-dark);
    font-family: var(--font-heading);
    line-height: 1;
    animation: countdownDigitPulse 2.5s ease-in-out infinite;
}
@keyframes countdownDigitPulse {
    0%, 100% { color: var(--gold-dark); }
    50% { color: var(--primary); }
}
.countdown-digits small {
    display: block;
    color: #333333;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.15rem;
    font-weight: 700;
}
.countdown-accent-1 { --countdown-accent: linear-gradient(90deg, #1b5e20, #c9a227); }
.countdown-accent-2 { --countdown-accent: linear-gradient(90deg, #1565c0, #c9a227); }
.countdown-accent-3 { --countdown-accent: linear-gradient(90deg, #6a1b9a, #c9a227); }
@media (max-width: 991px) {
    .countdown-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .home-pulse-bg,
    .pulse-panel::before,
    .pulse-notice-marker,
    .countdown-digits strong {
        animation: none;
    }
    .pulse-notice-item:hover,
    .countdown-card:hover {
        transform: none;
    }
}

/* Life clubs */
.life-club-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 12px;
    text-decoration: none !important;
    color: var(--white) !important;
    transition: transform 0.2s;
    height: 100%;
}
.life-club-card:hover { transform: translateY(-3px); color: var(--white) !important; }
.life-club-card i { font-size: 1.75rem; opacity: 0.95; }
.life-club-card h6 { margin: 0; font-size: 1rem; color: var(--white) !important; }
.life-club-card span { font-size: 0.8rem; opacity: 0.9; display: block; }
.life-club-card em { font-size: 0.75rem; font-style: normal; opacity: 0.85; }
.life-orange { background: linear-gradient(135deg, #E65100, #F57C00); }
.life-blue { background: linear-gradient(135deg, #1565C0, #42A5F5); }
.life-purple { background: linear-gradient(135deg, #6A1B9A, #AB47BC); }
.life-teal { background: linear-gradient(135deg, #00838F, #26A69A); }
.life-red { background: linear-gradient(135deg, #C62828, #EF5350); }
.life-indigo { background: linear-gradient(135deg, #283593, #5C6BC0); }
.life-green { background: linear-gradient(135deg, #2E7D32, #66BB6A); }
.life-amber { background: linear-gradient(135deg, #FF8F00, #FFB300); }
.life-pink { background: linear-gradient(135deg, #AD1457, #EC407A); }
.life-cyan { background: linear-gradient(135deg, #0277BD, #4FC3F7); }

/* Results panel */
.results-panel { background: var(--white); border-radius: 16px; padding: 1.75rem; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid var(--gray-200); }
.result-lookup-card {
    background: var(--gray-100);
    border-radius: 12px;
    padding: 1.25rem;
}
.result-lookup-card h6 { color: var(--primary); font-weight: 700; margin-bottom: 0.75rem; }
.result-lookup-form { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: flex-end; }
.result-lookup-form .form-control { flex: 1; min-width: 140px; }
.result-lookup-form .captcha-field { flex: 0 0 100%; margin-top: 0.25rem; }

.result-search-section { background: linear-gradient(180deg, #f8fbf8 0%, #fff 100%); }
.result-search-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(27, 94, 32, 0.08);
    border: 1px solid rgba(27, 94, 32, 0.1);
}
.result-search-card .result-output .table thead th {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    font-size: 0.85rem;
    border: none;
}
.result-search-card .result-output .table td {
    vertical-align: middle;
}

.academic-year-picker-wrap {
    position: relative;
}
.academic-year-picker-wrap .academic-year-picker {
    padding-right: 2.75rem;
}
.academic-year-picker-btn {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--primary);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}
.academic-year-picker-btn:hover,
.academic-year-picker-btn:focus {
    background: rgba(27, 94, 32, 0.08);
    color: var(--primary-dark);
}
.academic-year-panel {
    position: absolute;
    z-index: 1050;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    background: var(--white);
    border: 1px solid rgba(27, 94, 32, 0.15);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(27, 94, 32, 0.15);
    padding: 0.75rem;
}
.academic-year-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
}
.academic-year-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
    max-height: 220px;
    overflow-y: auto;
}
.academic-year-option {
    border: 1px solid rgba(27, 94, 32, 0.12);
    background: #f8fbf8;
    color: var(--primary-dark);
    border-radius: 8px;
    padding: 0.45rem 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.academic-year-option:hover,
.academic-year-option.is-selected {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.academic-year-picker-wrap--compact .academic-year-panel {
    min-width: 240px;
}
.captcha-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
.captcha-image {
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    background: #f5f8f6;
    flex-shrink: 0;
    user-select: none;
}
.captcha-input {
    max-width: 140px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}
.captcha-refresh {
    flex-shrink: 0;
}
.toppers-label { color: var(--gray-600); font-weight: 600; margin-bottom: 1rem; }
.topper-showcase {
    background: var(--gray-100);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    border: 2px solid var(--gray-200);
    height: 100%;
}
.topper-showcase.rank-1 { border-color: var(--gold); }
.topper-photo { font-size: 2.5rem; color: var(--primary); }
.topper-showcase h6 { margin: 0.5rem 0 0.15rem; font-size: 0.9rem; color: #111111; }
.topper-showcase small { color: #333333; }

/* Campus — Explore Our Campus */
.home-campus-grid {
    align-items: stretch;
}
.home-campus-col {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.campus-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 0.65rem;
    background: linear-gradient(135deg, #1a237e, #283593);
    padding: 1.25rem;
    border-radius: 16px;
    flex: 1;
    height: 100%;
    align-content: stretch;
}
.campus-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.75rem 0.45rem;
    text-align: center;
    color: var(--white);
}
.campus-icon-item i {
    font-size: 1.35rem;
    display: block;
    margin-bottom: 0.35rem;
    color: var(--gold-light);
    flex-shrink: 0;
    line-height: 1;
}
.campus-icon-item span {
    font-size: 0.62rem;
    line-height: 1.25;
    display: block;
}
.campus-zones-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.15rem 1.15rem 0.85rem;
    box-shadow: 0 4px 20px rgba(27, 94, 32, 0.06);
}
.campus-zones-title {
    font-weight: 700;
    color: #111111;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}
.campus-zone-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}
.campus-zone-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.42rem 0;
    border-bottom: 1px solid var(--gray-200);
    flex: 1;
}
.campus-zone-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.campus-zone-list li i {
    color: var(--primary);
    font-size: 1.15rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
    width: 1.25rem;
    text-align: center;
}
.campus-zone-list strong {
    display: block;
    font-size: 0.92rem;
    color: #111111;
    line-height: 1.3;
}
.campus-zone-list span {
    font-size: 0.8rem;
    color: #333333;
    line-height: 1.35;
    display: block;
    margin-top: 0.1rem;
}
.campus-gallery-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0.75rem;
}
.campus-gallery-mosaic {
    display: grid;
    grid-template-rows: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 0.5rem;
    flex: 1;
    min-height: 0;
}
.campus-gallery-featured {
    border-radius: 12px;
    overflow: hidden;
    min-height: 0;
    height: 100%;
    box-shadow: 0 8px 24px rgba(27, 94, 32, 0.12);
}
.campus-gallery-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.campus-gallery-featured:hover img {
    transform: scale(1.03);
}
.campus-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    min-height: 0;
    height: 100%;
}
.campus-gallery-thumb {
    border-radius: 10px;
    overflow: hidden;
    min-height: 0;
    height: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.campus-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.campus-gallery-thumb:hover img {
    transform: scale(1.06);
}
.campus-gallery-btn {
    flex-shrink: 0;
    margin-top: auto;
}
@media (max-width: 991.98px) {
    .home-campus-col {
        display: block;
    }
    .campus-icon-grid {
        height: auto;
        grid-auto-rows: auto;
    }
    .campus-icon-item {
        min-height: 4.75rem;
    }
    .campus-zones-panel {
        height: auto;
    }
    .campus-zone-list {
        justify-content: flex-start;
    }
    .campus-zone-list li {
        flex: none;
    }
    .campus-gallery-panel {
        height: auto;
    }
    .campus-gallery-mosaic {
        display: flex;
        flex-direction: column;
    }
    .campus-gallery-featured {
        aspect-ratio: 16 / 10;
        height: auto;
    }
    .campus-gallery-thumbs {
        height: auto;
    }
    .campus-gallery-thumb {
        aspect-ratio: 4 / 3;
        height: auto;
    }
}
/* Legacy grid alias */
.campus-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
.campus-gallery-item {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.campus-gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* CTA banner — dark professional */
.home-cta-banner {
    position: relative;
    padding: 2.75rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.home-cta-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(160deg, #061208 0%, #0f2414 42%, #081a0c 100%);
}
.home-cta-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    opacity: 0.55;
}
.home-cta-banner-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 55% 90% at 50% 50%, rgba(8, 22, 11, 0.35), rgba(6, 18, 8, 0.75) 70%),
        radial-gradient(ellipse 40% 60% at 12% 40%, rgba(212, 175, 55, 0.06), transparent 55%);
    pointer-events: none;
}
.home-cta-banner-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
    background-size: 200% 100%;
    opacity: 0.85;
    animation: homeCtaTopShine 5s linear infinite;
    pointer-events: none;
}
@keyframes homeCtaTopShine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
    .home-cta-banner-bg::after {
        animation: none;
    }
}
.home-cta-banner > .container {
    position: relative;
    z-index: 1;
}
.home-cta-banner > .container {
    position: relative;
    z-index: 1;
}
.home-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}
.home-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}
.home-cta-inner h2 {
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    color: var(--white) !important;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.home-cta-inner h2 .text-gold {
    color: var(--gold) !important;
}
.home-cta-inner p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.5;
}
.home-cta-actions {
    margin-top: 1.15rem;
    gap: 0.75rem !important;
}
.btn-cta-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none;
    color: var(--primary-dark) !important;
    font-weight: 700;
    border-radius: 8px;
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.btn-cta-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.45);
}
.btn-cta-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.55);
    color: var(--white) !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.53rem 1.2rem;
    font-size: 0.9rem;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.home-cta-actions .btn-lg {
    --bs-btn-padding-y: 0.55rem;
    --bs-btn-padding-x: 1.25rem;
    --bs-btn-font-size: 0.9rem;
}
.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold-light);
    color: var(--white) !important;
    transform: translateY(-2px);
}
.btn-cta-primary i,
.btn-cta-outline i {
    transition: transform 0.22s ease;
}
.btn-cta-primary:hover i,
.btn-cta-outline:hover i {
    transform: translateX(4px);
}
.btn-link-cta {
    color: var(--primary) !important;
    font-weight: 700;
    text-decoration: none !important;
}
.btn-link-cta:hover { color: var(--gold-dark) !important; }

/* ========== FOOTER ========== */
.site-header {
    position: relative;
    z-index: 1030;
    max-width: 100%;
    overflow: visible;
}
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.88);
    padding: 2rem 0 0;
    max-width: 100%;
    overflow-x: hidden;
}
.site-footer h5, .footer-heading {
    color: var(--gold);
    font-family: var(--font-heading);
    font-weight: 700;
}
.footer-heading { font-size: 0.92rem; margin-bottom: 0.55rem; letter-spacing: 0.02em; }
.footer-links-col {
    display: flex;
    flex-direction: column;
    min-height: 13.5rem;
}
.footer-links-col li {
    margin-bottom: 0;
    line-height: 1.5;
    padding: 0.22rem 0;
}
.footer-links-col a {
    display: inline-block;
}
.footer-brand {
    display: block;
    max-width: 100%;
    margin-bottom: 0.5rem;
}
.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
    max-width: 100%;
}
.footer-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.45rem;
    flex-shrink: 0;
}
.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}
.footer-brand-text strong {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
}
.footer-brand-text small {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
    font-weight: 500;
    margin-top: 0.15rem;
}
.footer-brand-logo {
    max-height: 56px;
    width: auto;
    max-width: min(220px, 100%);
    object-fit: contain;
    display: block;
}
.site-footer .footer-brand .site-brand-mark {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--white);
}
.site-footer .footer-brand h5 {
    color: var(--white);
    font-family: var(--font-heading);
}
.footer-about {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
    margin-bottom: 0;
}
.footer-social { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.65rem; }
.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: background 0.2s;
}
.footer-social a:hover { background: var(--gold); color: var(--primary-dark); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.28rem; }
.footer-links a { color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 0.84rem; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    font-size: 0.84rem;
    min-width: 0;
    align-items: flex-start;
}
.footer-contact i { color: var(--gold); flex-shrink: 0; margin-top: 0.15rem; }
.footer-contact a,
.footer-contact span {
    color: rgba(255, 255, 255, 0.9);
    min-width: 0;
    flex: 1;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.footer-contact a {
    text-decoration: none;
}
.footer-contact a:hover {
    color: var(--gold);
    text-decoration: underline;
}
.footer-campus-thumb {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(212, 175, 55, 0.35);
}
.footer-campus-thumb img { width: 100%; height: auto; display: block; }
.footer-map-wrap {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(201, 162, 39, 0.35);
    aspect-ratio: 4 / 3;
    width: 100%;
    max-width: 180px;
    min-height: 0;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.15);
}
.footer-map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    display: block;
}
.footer-contact-block {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}
.footer-contact-block .footer-contact {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}
.footer-contact-media {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.footer-contact-media .footer-map-wrap {
    width: 100%;
    max-width: 180px;
}
.footer-contact-media .footer-campus-thumb img {
    width: 100%;
    height: auto;
    min-height: 120px;
    object-fit: cover;
}
.footer-bottom-bar {
    margin-top: 1.25rem;
    padding: 0.75rem 0;
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}
.footer-bottom-bar .container {
    max-width: 100%;
}
.footer-bottom-bar .d-flex {
    gap: 0.5rem;
}
.footer-bottom-bar .d-flex > span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.footer-tagline {
    opacity: 0.85;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease, color 0.2s ease;
}
.footer-tagline:hover {
    opacity: 1;
    color: var(--gold-light);
}
.site-footer .container,
.site-footer .row > [class*="col-"] {
    min-width: 0;
}
@media (max-width: 767.98px) {
    .footer-contact-block {
        flex-direction: column;
        gap: 0.65rem;
    }
    .footer-map-wrap {
        max-width: 100%;
        max-height: 120px;
        aspect-ratio: 16 / 7;
    }
}

/* ========== INNER PAGES ========== */
.page-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, var(--primary-dark), var(--primary), #256829, var(--primary-dark));
    background-size: 320% 320%;
    color: var(--white);
    padding: 4rem 0 3rem;
    text-align: center;
    animation: pageHeaderBgShift 14s ease infinite;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(212, 175, 55, 0.28) 0%, transparent 42%),
        radial-gradient(circle at 88% 72%, rgba(255, 255, 255, 0.14) 0%, transparent 38%),
        radial-gradient(circle at 62% 8%, rgba(212, 175, 55, 0.16) 0%, transparent 32%);
    pointer-events: none;
    z-index: 0;
    animation: pageHeaderOrbs 11s ease-in-out infinite alternate;
}
.page-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    pointer-events: none;
    z-index: 0;
    background:
        linear-gradient(90deg, transparent, var(--gold-light), var(--gold), var(--gold-light), transparent) center bottom / 0 3px no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='rgba(255,255,255,0.09)' d='M0,72 C200,24 400,96 600,60 C820,18 980,84 1200,48 L1200,120 L0,120 Z'/%3E%3C/svg%3E") repeat-x left bottom / 50% 100%;
    animation:
        pageHeaderLine 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards,
        pageHeaderWave 22s linear infinite;
}
.page-header-fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.page-header-fx::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -30%;
    width: 55%;
    height: 220%;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.11) 50%, transparent 65%);
    transform: rotate(12deg);
    animation: pageHeaderShimmer 8s ease-in-out infinite;
}
.page-header-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.85;
    animation: pageHeaderOrbFloat 16s ease-in-out infinite;
}
.page-header-orb:nth-child(1) {
    width: 220px;
    height: 220px;
    top: -70px;
    left: -2%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.38) 0%, rgba(212, 175, 55, 0) 68%);
    animation-duration: 18s;
}
.page-header-orb:nth-child(2) {
    width: 160px;
    height: 160px;
    top: 18%;
    right: 6%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    animation-duration: 14s;
    animation-delay: -4s;
}
.page-header-orb:nth-child(3) {
    width: 120px;
    height: 120px;
    bottom: 8%;
    left: 18%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.32) 0%, rgba(212, 175, 55, 0) 72%);
    animation-duration: 20s;
    animation-delay: -7s;
}
.page-header-orb:nth-child(4) {
    width: 90px;
    height: 90px;
    top: 42%;
    left: 46%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
    animation-duration: 12s;
    animation-delay: -2s;
}
.page-header-orb:nth-child(5) {
    width: 200px;
    height: 200px;
    bottom: -80px;
    right: 14%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0) 68%);
    animation-duration: 17s;
    animation-delay: -9s;
}
.page-header-spark {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
    animation: pageHeaderSpark 3.6s ease-in-out infinite;
}
.page-header-spark:nth-child(6) { top: 22%; left: 12%; animation-delay: 0s; }
.page-header-spark:nth-child(7) { top: 58%; left: 28%; animation-delay: -1.2s; }
.page-header-spark:nth-child(8) { top: 34%; left: 52%; animation-delay: -2.4s; }
.page-header-spark:nth-child(9) { top: 68%; left: 66%; animation-delay: -0.8s; }
.page-header-spark:nth-child(10) { top: 28%; left: 78%; animation-delay: -1.8s; }
.page-header-spark:nth-child(11) { top: 72%; left: 42%; animation-delay: -2.8s; }
.page-header-spark:nth-child(12) { top: 48%; left: 8%; animation-delay: -3.1s; }
.page-header-spark:nth-child(13) { top: 18%; left: 62%; animation-delay: -0.5s; }
.page-header-spark:nth-child(14) { top: 82%; left: 84%; animation-delay: -2.1s; }
.page-header-spark:nth-child(15) { top: 38%; left: 92%; animation-delay: -1.5s; }
.page-header-spark:nth-child(16) { top: 62%; left: 18%; animation-delay: -3.4s; }
.page-header-spark:nth-child(17) { top: 12%; left: 38%; animation-delay: -2.6s; }
.page-header .container {
    position: relative;
    z-index: 1;
}
.page-header h1,
.page-header .page-header-lead,
.page-header .lead,
.page-header nav,
.page-header .breadcrumb {
    animation: pageHeaderFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.page-header h1 { animation-delay: 0.08s; }
.page-header .page-header-lead,
.page-header .lead { animation-delay: 0.2s; }
.page-header nav,
.page-header .breadcrumb { animation-delay: 0.32s; }

@keyframes pageHeaderBgShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes pageHeaderOrbs {
    from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.88; }
    to { transform: translate3d(24px, -14px, 0) scale(1.08); opacity: 1; }
}
@keyframes pageHeaderOrbFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(18px, -22px, 0) scale(1.06); }
    66% { transform: translate3d(-14px, 12px, 0) scale(0.96); }
}
@keyframes pageHeaderShimmer {
    0%, 100% { transform: translateX(-120%) rotate(12deg); opacity: 0; }
    45% { opacity: 1; }
    55% { opacity: 1; }
    100% { transform: translateX(280%) rotate(12deg); opacity: 0; }
}
@keyframes pageHeaderSpark {
    0%, 100% { opacity: 0.15; transform: scale(0.6); }
    50% { opacity: 1; transform: scale(1.15); }
}
@keyframes pageHeaderWave {
    from { background-position: center bottom, 0 bottom; }
    to { background-position: center bottom, 1200px bottom; }
}
@keyframes pageHeaderFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes pageHeaderLine {
    to { background-size: min(140px, 42%) 3px, 50% 100%; }
}
@keyframes pageHeaderGlow {
    from { opacity: 0.85; transform: scale(1); }
    to { opacity: 1; transform: scale(1.03); }
}

.page-header h1 { color: var(--white) !important; }
.page-header-lead { color: rgba(255, 255, 255, 0.88); font-size: 1rem; margin-top: 0.5rem; max-width: 640px; margin-left: auto; margin-right: auto; }

.page-content-photo {
    margin: 0 auto 2rem;
    max-width: 900px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(27, 94, 32, 0.12);
    border: 1px solid rgba(27, 94, 32, 0.08);
}
.page-content-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
}

/* ========== CONTACT PAGE ========== */
.contact-page-section {
    overflow-x: hidden;
}
.contact-info-panel h3 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}
.contact-info-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    min-width: 0;
}
.contact-info-item > i {
    flex-shrink: 0;
    font-size: 1.15rem;
    margin-top: 0.15rem;
    color: var(--primary);
}
.contact-info-item > div,
.contact-info-item > a {
    min-width: 0;
    flex: 1;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: inherit;
    text-decoration: none;
}
.contact-info-item > a:hover {
    color: var(--primary);
    text-decoration: underline;
}
.contact-map-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 100%;
}
.contact-form-card {
    border-radius: 14px;
    max-width: 100%;
}
.contact-form-card .card-body {
    padding: 1.25rem;
}
.contact-form .form-label {
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
}
.contact-form .form-control {
    border-radius: 6px;
}
.contact-form .contact-message-field {
    min-height: 5.5rem;
    resize: vertical;
}
.contact-form-submit {
    margin-top: 0.15rem;
}
.contact-form-submit .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}
@media (max-width: 991.98px) {
    .page-header {
        padding: 2.75rem 0 2rem;
    }
    .page-header h1 {
        font-size: 1.65rem;
    }
    .section-padding {
        padding: 2.5rem 0;
    }
    .contact-page-section .row {
        --bs-gutter-y: 2rem;
    }
    .contact-form-card .card-body {
        padding: 1rem;
    }
    .contact-form-card {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    }
    .contact-info-panel h3 {
        font-size: 1.2rem;
        margin-bottom: 0.85rem;
    }
    .contact-info-item {
        margin-bottom: 0.65rem;
        gap: 0.55rem;
        font-size: 0.9rem;
    }
    .contact-map-wrap {
        margin-top: 0.75rem !important;
    }
    .footer-bottom-bar .d-flex {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }
    .site-footer {
        padding-top: 1.75rem;
    }
    .footer-brand-logo {
        max-width: 100%;
    }
}
@media (max-width: 575.98px) {
    .site-brand-img.site-brand-logo-only {
        height: 58px;
        max-width: min(260px, calc(100vw - 5.5rem));
    }
    .page-header {
        padding: 2.25rem 0 1.75rem;
    }
    .contact-page-section {
        padding: 1.75rem 0 2rem;
    }
    .contact-page-section .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
    .contact-form-card .card-body {
        padding: 0.85rem 0.9rem;
    }
    .contact-form .form-label {
        margin-bottom: 0.15rem;
        font-size: 0.8rem;
    }
    .contact-form .form-control {
        font-size: 0.875rem;
        padding: 0.4rem 0.55rem;
        min-height: 2.15rem;
    }
    .contact-form .contact-message-field {
        min-height: 4.25rem;
    }
    .contact-form-grid {
        --bs-gutter-y: 0.5rem;
        --bs-gutter-x: 0.5rem;
    }
    .contact-form-submit {
        margin-top: 0.25rem;
    }
    .contact-form-submit .btn {
        width: 100%;
        padding: 0.55rem 1rem;
        font-size: 0.875rem;
    }
}
.page-header-lead,
.page-header .lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    margin-top: 0.5rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.page-content-photo {
    margin: 0 auto 2rem;
    max-width: 900px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(27, 94, 32, 0.12);
    border: 1px solid rgba(27, 94, 32, 0.08);
}
.page-content-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
}

/* ========== CONTACT PAGE ========== */
.contact-page-section {
    overflow-x: hidden;
}
.contact-info-panel h3 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}
.contact-info-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    min-width: 0;
}
.contact-info-item > i {
    flex-shrink: 0;
    font-size: 1.15rem;
    margin-top: 0.15rem;
    color: var(--primary);
}
.contact-info-item > div,
.contact-info-item > a {
    min-width: 0;
    flex: 1;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: inherit;
    text-decoration: none;
}
.contact-info-item > a:hover {
    color: var(--primary);
    text-decoration: underline;
}
.contact-map-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 100%;
}
.contact-form-card {
    border-radius: 14px;
    max-width: 100%;
}
.contact-form-card .card-body {
    padding: 1.25rem;
}
.contact-form .form-label {
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
}
.contact-form .form-control {
    border-radius: 6px;
}
.contact-form .contact-message-field {
    min-height: 5.5rem;
    resize: vertical;
}
.contact-form-submit {
    margin-top: 0.15rem;
}
.contact-form-submit .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}
@media (max-width: 991.98px) {
    .page-header {
        padding: 2.75rem 0 2rem;
    }
    .page-header h1 {
        font-size: 1.65rem;
    }
    .section-padding {
        padding: 2.5rem 0;
    }
    .contact-page-section .row {
        --bs-gutter-y: 2rem;
    }
    .contact-form-card .card-body {
        padding: 1rem;
    }
    .contact-form-card {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    }
    .contact-info-panel h3 {
        font-size: 1.2rem;
        margin-bottom: 0.85rem;
    }
    .contact-info-item {
        margin-bottom: 0.65rem;
        gap: 0.55rem;
        font-size: 0.9rem;
    }
    .contact-map-wrap {
        margin-top: 0.75rem !important;
    }
    .footer-bottom-bar .d-flex {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }
    .site-footer {
        padding-top: 1.75rem;
    }
    .footer-brand-logo {
        max-width: 100%;
    }
}
@media (max-width: 575.98px) {
    .site-brand-img.site-brand-logo-only {
        height: 58px;
        max-width: min(260px, calc(100vw - 5.5rem));
    }
    .page-header {
        padding: 2.25rem 0 1.75rem;
    }
    .contact-page-section {
        padding: 1.75rem 0 2rem;
    }
    .contact-page-section .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
    .contact-form-card .card-body {
        padding: 0.85rem 0.9rem;
    }
    .contact-form .form-label {
        margin-bottom: 0.15rem;
        font-size: 0.8rem;
    }
    .contact-form .form-control {
        font-size: 0.875rem;
        padding: 0.4rem 0.55rem;
        min-height: 2.15rem;
    }
    .contact-form .contact-message-field {
        min-height: 4.25rem;
    }
    .contact-form-grid {
        --bs-gutter-y: 0.5rem;
        --bs-gutter-x: 0.5rem;
    }
    .contact-form-submit {
        margin-top: 0.25rem;
    }
    .contact-form-submit .btn {
        width: 100%;
        padding: 0.55rem 1rem;
        font-size: 0.875rem;
    }
}

/* Legacy / shared */
.feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}
.feature-card:hover { box-shadow: var(--shadow); border-color: var(--gold); }
.feature-card .icon-wrap {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 1.5rem;
    margin-bottom: 1rem;
}
.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.08); }
.testimonial-card {
    background: var(--gray-100);
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid var(--gold);
    height: 100%;
}
.testimonial-card .stars { color: var(--gold); }
.topper-card {
    text-align: center;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 12px;
    padding: 2rem 1rem;
}
.topper-card .percentage { font-size: 2rem; font-weight: 700; color: var(--gold); }
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 4rem 0;
}

/* Admin (minimal – full styles in admin.css) */
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px;
    background: var(--primary-dark);
    color: var(--white);
    flex-shrink: 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}
.admin-sidebar .brand { padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); font-family: var(--font-heading); font-size: 1.2rem; color: var(--gold); }
.admin-sidebar .nav-link { color: rgba(255,255,255,0.8); padding: 0.75rem 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { background: rgba(212,175,55,0.2); color: var(--gold); }
.admin-content { margin-left: 260px; flex: 1; background: var(--gray-100); min-height: 100vh; }
.admin-topbar { background: var(--white); padding: 1rem 2rem; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.admin-main { padding: 2rem; }
.admin-content .nav-tabs .nav-link { color: var(--gray-800); font-weight: 600; }
.admin-content .nav-tabs .nav-link.active { color: var(--primary); border-bottom: 3px solid var(--gold); }
.stat-widget { background: var(--white); border-radius: 12px; padding: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-left: 4px solid var(--primary); }
.stat-widget .number { font-size: 2rem; font-weight: 700; color: var(--primary); }
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.auth-card { background: var(--white); border-radius: 16px; padding: 2.5rem; width: 100%; max-width: 420px; box-shadow: var(--shadow); }

/* Mobile slide-out navigation */
.mobile-menu-btn {
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 0.4rem 0.55rem;
}
.mobile-nav-drawer {
    width: min(82vw, 340px) !important;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
    border-left: 3px solid var(--gold);
    box-shadow: -8px 0 32px rgba(13, 61, 16, 0.35);
}
.offcanvas-backdrop.show {
    background-color: rgba(13, 61, 16, 0.72);
}
.mobile-nav-header {
    padding: 1rem 1.15rem;
    background: var(--primary-dark);
    border-bottom: 2px solid rgba(212, 175, 55, 0.45);
}
.mobile-nav-header-close-only {
    padding: 0.75rem 1rem;
    min-height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mobile-nav-header-close-only {
    padding: 0.75rem 1rem;
    min-height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--white);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1rem;
}
.mobile-nav-brand .site-brand-mark {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border: 1px solid rgba(212, 175, 55, 0.4);
}
.mobile-nav-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
}
.mobile-nav-menu {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-nav-link,
.mobile-nav-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.8rem 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid transparent;
    text-align: left;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.mobile-nav-link {
    justify-content: flex-start;
}
.mobile-nav-toggle {
    justify-content: space-between;
}
.mobile-nav-link-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}
.mobile-nav-link-icon {
    width: 1.35rem;
    text-align: center;
    color: var(--gold);
    font-size: 1.05rem;
    flex-shrink: 0;
}
.mobile-nav-link.active .mobile-nav-link-icon,
.mobile-nav-toggle:not(.collapsed) .mobile-nav-link-icon {
    color: var(--gold-light);
}
.mobile-nav-link:hover,
.mobile-nav-toggle:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border-left-color: rgba(212, 175, 55, 0.5);
}
.mobile-nav-link.active,
.mobile-nav-toggle:not(.collapsed) {
    color: var(--gold-light);
    background: rgba(0, 0, 0, 0.12);
    border-left-color: var(--gold);
}
.mobile-nav-chevron {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
    color: var(--gold);
}
.mobile-nav-toggle:not(.collapsed) .mobile-nav-chevron {
    transform: rotate(180deg);
}
.mobile-nav-sub {
    background: rgba(13, 61, 16, 0.45);
    border-left: 3px solid rgba(212, 175, 55, 0.35);
}
.mobile-nav-sublink {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.15rem 0.7rem 1.85rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s, background 0.2s;
}
.mobile-nav-sublink-icon {
    color: var(--gold);
    font-size: 0.85rem;
    flex-shrink: 0;
    opacity: 0.85;
}
.mobile-nav-sublink:hover {
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.05);
}
.mobile-nav-sublink.active {
    color: var(--gold);
    font-weight: 600;
}
.mobile-nav-footer {
    padding: 1rem 1.15rem 1.25rem;
    border-top: 2px solid rgba(212, 175, 55, 0.45);
    background: var(--primary-dark);
}
.mobile-nav-footer .btn-enquire {
    padding: 0.7rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.mobile-nav-footer .btn-mobile-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    border: 2px solid var(--gold);
    background: transparent;
    color: var(--white) !important;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
}
.mobile-nav-footer .btn-mobile-login:hover {
    background: var(--gold);
    color: var(--primary-dark) !important;
    border-color: var(--gold);
}
.mobile-nav-footer .btn-mobile-login i {
    color: inherit;
}
body.mobile-nav-open {
    overflow: hidden;
}

/* Mobile bottom navigation bar */
.has-mobile-bottom-nav {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
}
.mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    z-index: 1035;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    min-height: 4.25rem;
    padding: 0.35rem 0 calc(0.35rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-top: 2px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 -6px 24px rgba(13, 61, 16, 0.25);
    animation: mobileBottomNavIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.mobile-bottom-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold), var(--gold-light), transparent);
    background-size: 200% 100%;
    animation: mobileBottomNavShine 4s linear infinite;
    pointer-events: none;
}
@keyframes mobileBottomNavIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes mobileBottomNavShine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.mobile-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-width: 0;
    padding: 0.15rem 0.25rem;
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none !important;
    transition: color 0.25s ease, transform 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}
.mobile-bottom-nav-item:hover {
    color: var(--white) !important;
}
.mobile-bottom-nav-item:active .mobile-bottom-nav-icon:not(.mobile-bottom-nav-icon-fab) {
    transform: scale(0.88);
}
.mobile-bottom-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    line-height: 1;
    transition: transform 0.25s ease, color 0.25s ease;
}
.mobile-bottom-nav-item.active:not(.featured) .mobile-bottom-nav-icon {
    animation: mobileNavIconPop 0.45s ease;
}
@keyframes mobileNavIconPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.15); }
    100% { transform: scale(1); }
}
.mobile-bottom-nav-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.02em;
    line-height: 1.1;
}
.mobile-bottom-nav-item.active {
    color: var(--gold-light) !important;
}
.mobile-bottom-nav-item.active .mobile-bottom-nav-icon {
    color: var(--gold);
}
.mobile-bottom-nav-icon-fab {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: -1.1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    border: 2px solid var(--white);
    animation: mobileApplyFabFloat 2.8s ease-in-out infinite;
}
.mobile-bottom-nav-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 14px;
    border: 2px solid rgba(212, 175, 55, 0.55);
    animation: mobileApplyFabPulse 2.8s ease-out infinite;
    pointer-events: none;
}
@keyframes mobileApplyFabFloat {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    }
    50% {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(212, 175, 55, 0.45);
    }
}
@keyframes mobileApplyFabPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70%, 100% {
        transform: scale(1.35);
        opacity: 0;
    }
}
.mobile-bottom-nav-item.featured:active .mobile-bottom-nav-icon-fab {
    animation: none;
    transform: scale(0.94);
}
.mobile-bottom-nav-item.featured.active .mobile-bottom-nav-icon-fab,
.mobile-bottom-nav-item.featured:hover .mobile-bottom-nav-icon-fab {
    color: var(--primary-dark);
}
.mobile-bottom-nav-item.featured .mobile-bottom-nav-label {
    color: var(--gold-light);
    font-weight: 700;
    animation: mobileApplyLabelGlow 2.8s ease-in-out infinite;
}
@keyframes mobileApplyLabelGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}
@media (prefers-reduced-motion: reduce) {
    .mobile-bottom-nav,
    .mobile-bottom-nav::before,
    .mobile-bottom-nav-icon-fab,
    .mobile-bottom-nav-pulse,
    .mobile-bottom-nav-item.featured .mobile-bottom-nav-label,
    .mobile-bottom-nav-item.active:not(.featured) .mobile-bottom-nav-icon {
        animation: none !important;
    }
}
.site-footer {
    margin-bottom: 0;
}
@media (min-width: 992px) {
    .has-mobile-bottom-nav {
        padding-bottom: 0;
    }
}
@media print {
    .mobile-bottom-nav { display: none !important; }
    .has-mobile-bottom-nav { padding-bottom: 0 !important; }
}

/* Careers page */
.careers-form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem 2.25rem;
    box-shadow: 0 8px 32px rgba(27, 94, 32, 0.1);
    border: 1px solid var(--gray-200);
}
.careers-input-group .input-group-text {
    background: var(--gray-100);
    border-color: var(--gray-200);
    color: var(--primary);
}
.careers-input-group .form-control,
.careers-file-input {
    border-color: var(--gray-200);
    border-radius: 8px;
}
.careers-input-group .form-control:focus,
.careers-file-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(27, 94, 32, 0.12);
}
.careers-form .captcha-field {
    margin-top: 0.25rem;
}
.btn-careers-submit {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white) !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.65rem 2.5rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 16px rgba(184, 150, 46, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-careers-submit:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 150, 46, 0.45);
}
@media (max-width: 767px) {
    .careers-form-card { padding: 1.25rem 1rem; }
}

/* Portal login hub & dashboards */
.portal-hub-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none !important;
    color: inherit;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.portal-hub-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
    color: inherit;
}
.portal-hub-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
}
.portal-hub-icon.student-icon { background: #e8f5e9; color: var(--primary); }
.portal-hub-icon.staff-icon { background: #e3f2fd; color: #1565c0; }
.portal-hub-icon.parent-icon { background: #fff8e1; color: var(--gold-dark); }
.portal-hub-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}
.portal-hub-card p { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 1rem; }
.portal-hub-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

.portal-auth-body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--primary-dark);
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(46, 125, 50, 0.4) 0%, transparent 50%),
        linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 45%, #1b5e20 100%);
}
.portal-auth-body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}
.portal-auth-body > header,
.portal-auth-body > main,
.portal-auth-body > footer {
    position: relative;
    z-index: 1;
}
.portal-auth-header {
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}
.portal-auth-header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none !important;
    color: var(--white) !important;
}
.portal-auth-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.35rem;
    flex-shrink: 0;
}
.portal-auth-school {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.portal-auth-school strong {
    font-family: var(--font-heading);
    font-size: 1rem;
}
.portal-auth-school small {
    font-size: 0.72rem;
    opacity: 0.85;
    color: var(--gold-light);
}
.portal-auth-header-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}
.portal-auth-header-links a:hover {
    color: var(--gold-light);
}
.portal-auth-logo-img {
    height: 44px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}
.portal-auth-menu-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-light);
    font-size: 1.45rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.portal-auth-menu-btn:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: var(--gold);
    color: var(--white);
}
.portal-auth-menu-drawer {
    position: fixed !important;
    z-index: 1055 !important;
    background: linear-gradient(165deg, #123018 0%, #0a1a0c 100%);
    color: var(--white);
    border-left: 1px solid rgba(212, 175, 55, 0.25);
    max-width: min(320px, 88vw);
}
.portal-auth-menu-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.15);
}
.portal-auth-menu-header .offcanvas-title {
    font-family: var(--font-heading);
    color: var(--gold-light);
    font-size: 1.1rem;
}
.portal-auth-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
}
.portal-auth-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.portal-auth-menu-link i:first-child {
    width: 1.35rem;
    color: var(--gold-light);
    font-size: 1.1rem;
}
.portal-auth-menu-link .bi-chevron-right {
    font-size: 0.8rem;
    opacity: 0.5;
}
.portal-auth-menu-link:hover {
    background: rgba(212, 175, 55, 0.12);
    color: var(--white);
    padding-left: 1.35rem;
}
.portal-auth-menu-drawer .mobile-nav-menu {
    flex: 1 1 auto;
    min-height: 0;
}
.portal-auth-menu-portal-section {
    flex-shrink: 0;
    border-top: 2px solid rgba(212, 175, 55, 0.45);
    background: rgba(0, 0, 0, 0.18);
}
.portal-auth-menu-section-label {
    margin: 0;
    padding: 0.75rem 1.15rem 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-light);
    opacity: 0.9;
}
.portal-auth-menu-portal-section .portal-auth-menu-link:last-child {
    border-bottom: none;
}
.portal-auth-header-phone {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    gap: 0.35rem;
    align-items: center;
}
.portal-auth-header-phone i { color: var(--gold); }
.portal-auth-footer {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}
.portal-auth-footer-links a {
    color: var(--gold-light);
    text-decoration: none;
}
.portal-auth-footer-links a:hover {
    color: var(--white);
}
.portal-footer-tagline {
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 600;
}
.portal-footer-tagline i { margin-right: 0.35rem; }
.portal-auth-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    justify-content: flex-start;
    align-items: stretch;
}
/* Login hub: grid layout — content under header, footer at bottom, no empty gap above */
.portal-auth-body.portal-auth-body--hub {
    display: grid !important;
    flex-direction: unset !important;
    grid-template-rows: auto auto 1fr;
    grid-template-columns: 100%;
    grid-template-areas:
        "header"
        "main"
        "footer";
    min-height: 100vh;
    min-height: 100dvh;
    align-content: start;
}
.portal-auth-body--hub .portal-auth-header {
    grid-area: header;
}
/* Mobile menu drawer: share header row so it does not create a blank grid row */
.portal-auth-body--hub > .offcanvas {
    grid-area: header;
    position: fixed !important;
    z-index: 1055 !important;
}
.portal-auth-body--hub .portal-auth-header .py-2,
.portal-auth-body--hub .portal-auth-header .py-md-3 {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
}
.portal-auth-body--hub > .portal-auth-main.portal-auth-main--hub {
    grid-area: main;
    display: block !important;
    flex: none !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    align-self: start !important;
    justify-self: stretch;
    width: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    padding: 0.5rem 1.5rem 1rem;
    margin: 0 !important;
}
.portal-auth-body--hub > .portal-auth-footer {
    grid-area: footer;
    align-self: end;
    margin-top: 0 !important;
}
.portal-auth-page {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    padding: 0.75rem 1rem 1.25rem;
}
@media (min-width: 768px) {
    .portal-auth-page:not(.portal-auth-page--login) {
        justify-content: center;
    }
}
.portal-login-shell {
    width: 100%;
    max-width: 960px;
    display: grid;
    grid-template-columns: 1fr;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 175, 55, 0.2);
}
@media (min-width: 768px) {
    .portal-login-shell { grid-template-columns: 1.05fr 1fr; }
}
.portal-login-brand {
    position: relative;
    padding: 2rem 1.75rem;
    color: var(--white);
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 60%, #2e7d32 100%);
    overflow: hidden;
}
.portal-login-brand-student { background: linear-gradient(145deg, #0d3d14 0%, var(--primary) 55%, #388e3c 100%); }
.portal-login-brand-staff { background: linear-gradient(145deg, #1a237e 0%, var(--primary-dark) 50%, var(--primary) 100%); }
.portal-login-brand-parent { background: linear-gradient(145deg, #4a148c 0%, var(--primary-dark) 45%, var(--primary) 100%); }
.portal-login-brand-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: radial-gradient(circle at 20% 80%, var(--gold) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, var(--white) 0%, transparent 35%);
}
.portal-login-brand-inner { position: relative; z-index: 1; }
.portal-login-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}
.portal-login-brand h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}
.portal-login-brand-desc {
    font-size: 0.92rem;
    opacity: 0.9;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}
.portal-login-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}
.portal-login-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
    font-size: 0.88rem;
}
.portal-login-features li i {
    color: var(--gold);
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}
.portal-login-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.portal-login-highlights div {
    text-align: center;
}
.portal-login-highlights strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--gold-light);
}
.portal-login-highlights span {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.8;
}
.portal-login-form-panel {
    padding: 2rem 1.75rem 2.25rem;
    background: var(--white);
}
.portal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    transition: color 0.2s;
}
.portal-back-link:hover { color: var(--primary); }
.portal-login-form-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.portal-login-form-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--gold);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.25);
}
.portal-login-form-head h3 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 1.45rem;
    margin: 0 0 0.2rem;
}
.portal-login-form-head p {
    color: var(--gray-600);
    font-size: 0.88rem;
    margin: 0;
}
.portal-field-group { margin-bottom: 1.1rem; }
.portal-field-group .form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-700);
}
.portal-input-group .input-group-text {
    background: var(--gray-100);
    border-color: var(--gray-200);
    color: var(--primary);
    border-radius: 10px 0 0 10px;
}
.portal-input-group .form-control {
    border-color: var(--gray-200);
    border-radius: 0 10px 10px 0;
    padding: 0.65rem 1rem;
}
.portal-input-group .form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(27, 94, 32, 0.12);
}
.btn-portal-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, #c9a227 100%);
    color: var(--primary-dark) !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    margin-top: 0.5rem;
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-portal-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.5);
    color: var(--primary-dark) !important;
}
.portal-login-help {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.85rem;
}
.portal-login-help a { color: var(--primary); font-weight: 600; }
.portal-login-help p { margin-bottom: 0.35rem; color: var(--gray-600); }

.portal-topbar {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: var(--white);
}
.portal-topbar-brand {
    color: var(--white) !important;
    text-decoration: none !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.portal-topbar-brand i { color: var(--gold); }
.portal-user-name { font-size: 0.9rem; opacity: 0.9; }
.portal-main { background: var(--gray-100); min-height: calc(100vh - 56px); }
.portal-dash-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    height: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.portal-dash-card h5 { color: var(--primary-dark); margin-bottom: 1rem; }
.portal-dash-header h2 { font-family: var(--font-heading); color: var(--primary-dark); }
.portal-info-list li { padding: 0.35rem 0; border-bottom: 1px solid var(--gray-200); }
.portal-info-list li:last-child { border-bottom: none; }
@media print {
    .mobile-bottom-nav { display: none !important; }
    .has-mobile-bottom-nav { padding-bottom: 0 !important; }
}

/* Careers page */
.careers-form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem 2.25rem;
    box-shadow: 0 8px 32px rgba(27, 94, 32, 0.1);
    border: 1px solid var(--gray-200);
}
.careers-input-group .input-group-text {
    background: var(--gray-100);
    border-color: var(--gray-200);
    color: var(--primary);
}
.careers-input-group .form-control,
.careers-file-input {
    border-color: var(--gray-200);
    border-radius: 8px;
}
.careers-input-group .form-control:focus,
.careers-file-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(27, 94, 32, 0.12);
}
.careers-form .captcha-field {
    margin-top: 0.25rem;
}
.btn-careers-submit {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white) !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.65rem 2.5rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 16px rgba(184, 150, 46, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-careers-submit:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 150, 46, 0.45);
}
@media (max-width: 767px) {
    .careers-form-card { padding: 1.25rem 1rem; }
}

/* Portal login hub & dashboards */
.portal-hub-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none !important;
    color: inherit;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.portal-hub-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
    color: inherit;
}
.portal-hub-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
}
.portal-hub-icon.student-icon { background: #e8f5e9; color: var(--primary); }
.portal-hub-icon.staff-icon { background: #e3f2fd; color: #1565c0; }
.portal-hub-icon.parent-icon { background: #fff8e1; color: var(--gold-dark); }
.portal-hub-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}
.portal-hub-card p { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 1rem; }
.portal-hub-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

.portal-auth-body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--primary-dark);
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(46, 125, 50, 0.4) 0%, transparent 50%),
        linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 45%, #1b5e20 100%);
}
.portal-auth-body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}
.portal-auth-body > header,
.portal-auth-body > main,
.portal-auth-body > footer {
    position: relative;
    z-index: 1;
}
.portal-auth-header {
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}
.portal-auth-header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none !important;
    color: var(--white) !important;
}
.portal-auth-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.35rem;
    flex-shrink: 0;
}
.portal-auth-school {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.portal-auth-school strong {
    font-family: var(--font-heading);
    font-size: 1rem;
}
.portal-auth-school small {
    font-size: 0.72rem;
    opacity: 0.85;
    color: var(--gold-light);
}
.portal-auth-header-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}
.portal-auth-header-links a:hover {
    color: var(--gold-light);
}
.portal-auth-logo-img {
    height: 44px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}
.portal-auth-menu-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-light);
    font-size: 1.45rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.portal-auth-menu-btn:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: var(--gold);
    color: var(--white);
}
.portal-auth-menu-drawer {
    position: fixed !important;
    z-index: 1055 !important;
    background: linear-gradient(165deg, #123018 0%, #0a1a0c 100%);
    color: var(--white);
    border-left: 1px solid rgba(212, 175, 55, 0.25);
    max-width: min(320px, 88vw);
}
.portal-auth-menu-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.15);
}
.portal-auth-menu-header .offcanvas-title {
    font-family: var(--font-heading);
    color: var(--gold-light);
    font-size: 1.1rem;
}
.portal-auth-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
}
.portal-auth-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.portal-auth-menu-link i:first-child {
    width: 1.35rem;
    color: var(--gold-light);
    font-size: 1.1rem;
}
.portal-auth-menu-link .bi-chevron-right {
    font-size: 0.8rem;
    opacity: 0.5;
}
.portal-auth-menu-link:hover {
    background: rgba(212, 175, 55, 0.12);
    color: var(--white);
    padding-left: 1.35rem;
}
.portal-auth-menu-drawer .mobile-nav-menu {
    flex: 1 1 auto;
    min-height: 0;
}
.portal-auth-menu-portal-section {
    flex-shrink: 0;
    border-top: 2px solid rgba(212, 175, 55, 0.45);
    background: rgba(0, 0, 0, 0.18);
}
.portal-auth-menu-section-label {
    margin: 0;
    padding: 0.75rem 1.15rem 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-light);
    opacity: 0.9;
}
.portal-auth-menu-portal-section .portal-auth-menu-link:last-child {
    border-bottom: none;
}
.portal-auth-header-phone {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    gap: 0.35rem;
    align-items: center;
}
.portal-auth-header-phone i { color: var(--gold); }
.portal-auth-footer {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}
.portal-auth-footer-links a {
    color: var(--gold-light);
    text-decoration: none;
}
.portal-auth-footer-links a:hover {
    color: var(--white);
}
.portal-footer-tagline {
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 600;
}
.portal-footer-tagline i { margin-right: 0.35rem; }
.portal-auth-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    justify-content: flex-start;
    align-items: stretch;
}
/* Login hub: grid layout — content under header, footer at bottom, no empty gap above */
.portal-auth-body.portal-auth-body--hub {
    display: grid !important;
    flex-direction: unset !important;
    grid-template-rows: auto auto 1fr;
    grid-template-columns: 100%;
    grid-template-areas:
        "header"
        "main"
        "footer";
    min-height: 100vh;
    min-height: 100dvh;
    align-content: start;
}
.portal-auth-body--hub .portal-auth-header {
    grid-area: header;
}
/* Mobile menu drawer: share header row so it does not create a blank grid row */
.portal-auth-body--hub > .offcanvas {
    grid-area: header;
    position: fixed !important;
    z-index: 1055 !important;
}
.portal-auth-body--hub .portal-auth-header .py-2,
.portal-auth-body--hub .portal-auth-header .py-md-3 {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
}
.portal-auth-body--hub > .portal-auth-main.portal-auth-main--hub {
    grid-area: main;
    display: block !important;
    flex: none !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    align-self: start !important;
    justify-self: stretch;
    width: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    padding: 0.5rem 1.5rem 1rem;
    margin: 0 !important;
}
.portal-auth-body--hub > .portal-auth-footer {
    grid-area: footer;
    align-self: end;
    margin-top: 0 !important;
}
.portal-auth-page {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    padding: 0.75rem 1rem 1.25rem;
}
@media (min-width: 768px) {
    .portal-auth-page:not(.portal-auth-page--login) {
        justify-content: center;
    }
}
.portal-login-shell {
    width: 100%;
    max-width: 960px;
    display: grid;
    grid-template-columns: 1fr;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 175, 55, 0.2);
}
@media (min-width: 768px) {
    .portal-login-shell { grid-template-columns: 1.05fr 1fr; }
}
.portal-login-brand {
    position: relative;
    padding: 2rem 1.75rem;
    color: var(--white);
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 60%, #2e7d32 100%);
    overflow: hidden;
}
.portal-login-brand-student { background: linear-gradient(145deg, #0d3d14 0%, var(--primary) 55%, #388e3c 100%); }
.portal-login-brand-staff { background: linear-gradient(145deg, #1a237e 0%, var(--primary-dark) 50%, var(--primary) 100%); }
.portal-login-brand-parent { background: linear-gradient(145deg, #4a148c 0%, var(--primary-dark) 45%, var(--primary) 100%); }
.portal-login-brand-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: radial-gradient(circle at 20% 80%, var(--gold) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, var(--white) 0%, transparent 35%);
}
.portal-login-brand-inner { position: relative; z-index: 1; }
.portal-login-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}
.portal-login-brand h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}
.portal-login-brand-desc {
    font-size: 0.92rem;
    opacity: 0.9;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}
.portal-login-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}
.portal-login-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
    font-size: 0.88rem;
}
.portal-login-features li i {
    color: var(--gold);
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}
.portal-login-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.portal-login-highlights div {
    text-align: center;
}
.portal-login-highlights strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--gold-light);
}
.portal-login-highlights span {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.8;
}
.portal-login-form-panel {
    padding: 2rem 1.75rem 2.25rem;
    background: var(--white);
}
.portal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    transition: color 0.2s;
}
.portal-back-link:hover { color: var(--primary); }
.portal-login-form-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.portal-login-form-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--gold);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.25);
}
.portal-login-form-head h3 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 1.45rem;
    margin: 0 0 0.2rem;
}
.portal-login-form-head p {
    color: var(--gray-600);
    font-size: 0.88rem;
    margin: 0;
}
.portal-field-group { margin-bottom: 1.1rem; }
.portal-field-group .form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-700);
}
.portal-input-group .input-group-text {
    background: var(--gray-100);
    border-color: var(--gray-200);
    color: var(--primary);
    border-radius: 10px 0 0 10px;
}
.portal-input-group .form-control {
    border-color: var(--gray-200);
    border-radius: 0 10px 10px 0;
    padding: 0.65rem 1rem;
}
.portal-input-group .form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(27, 94, 32, 0.12);
}
.btn-portal-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, #c9a227 100%);
    color: var(--primary-dark) !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    margin-top: 0.5rem;
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-portal-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.5);
    color: var(--primary-dark) !important;
}
.portal-login-help {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.85rem;
}
.portal-login-help a { color: var(--primary); font-weight: 600; }
.portal-login-help p { margin-bottom: 0.35rem; color: var(--gray-600); }

.portal-topbar {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: var(--white);
}
.portal-topbar-brand {
    color: var(--white) !important;
    text-decoration: none !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.portal-topbar-brand i { color: var(--gold); }
.portal-user-name { font-size: 0.9rem; opacity: 0.9; }
.portal-main { background: var(--gray-100); min-height: calc(100vh - 56px); }
.portal-dash-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    height: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.portal-dash-card h5 { color: var(--primary-dark); margin-bottom: 1rem; }
.portal-dash-header h2 { font-family: var(--font-heading); color: var(--primary-dark); }
.portal-info-list li { padding: 0.35rem 0; border-bottom: 1px solid var(--gray-200); }
.portal-info-list li:last-child { border-bottom: none; }

/* Auth hub */
.auth-hub-shell {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    padding: 0;
}
.portal-auth-main--hub .auth-hub-shell {
    width: 100%;
    margin: 0 auto;
}
.auth-hub-header {
    margin-bottom: 0.75rem;
}
.auth-hub-cards {
    margin-top: 0;
}
@media (min-width: 992px) {
    .portal-auth-body--hub > .portal-auth-main.portal-auth-main--hub {
        padding: 0.75rem 2rem 1.25rem;
    }
    .auth-hub-shell {
        max-width: 960px;
    }
}
.auth-hub-logo { max-height: 72px; border-radius: 12px; }
.auth-hub-title { font-family: var(--font-heading); color: var(--white); font-size: clamp(1.5rem, 4vw, 2rem); }
.auth-hub-subtitle {
    color: var(--gold-light);
    margin-bottom: 0;
    font-size: clamp(1rem, 3.5vw, 1.15rem);
}
.auth-hub-footer { margin-top: 1rem !important; }
.auth-hub-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 16px;
    padding: 1.25rem;
    text-decoration: none !important;
    color: inherit;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.auth-hub-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); border-color: var(--gold); color: inherit; }
.auth-hub-card-icon {
    width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--gold);
}
.auth-hub-card h3 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--primary-dark); margin-bottom: 0.25rem; }
.auth-hub-card p { font-size: 0.82rem; color: var(--gray-600); margin-bottom: 0.5rem; }
.auth-hub-card-link { color: var(--primary); font-weight: 600; font-size: 0.85rem; }
.portal-login-brand-admin { background: linear-gradient(145deg, #0d3d14 0%, #1b5e20 50%, #2e7d32 100%); }
.portal-login-brand-unified {
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 55%, #2e7d32 100%);
}
.portal-login-role-mentions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.portal-login-role-mentions span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: rgba(255, 255, 255, 0.92);
}
.portal-login-role-mentions span i { color: var(--gold); }
.portal-login-form-head-unified { margin-bottom: 1rem; }
.portal-login-role-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.35rem;
    background: var(--gray-100);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}
.portal-login-role-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.55rem 0.35rem;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: var(--gray-600);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.portal-login-role-tab i { font-size: 1.15rem; }
.portal-login-role-tab.is-active {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.portal-login-role-tab:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.6);
    color: var(--primary);
}
@media (min-width: 576px) {
    .portal-login-role-tab {
        flex-direction: row;
        font-size: 0.82rem;
        padding: 0.65rem 0.75rem;
    }
}
.portal-login-brand-unified.portal-login-brand-staff {
    background: linear-gradient(145deg, #1a237e 0%, var(--primary-dark) 50%, var(--primary) 100%);
}
.portal-login-brand-unified.portal-login-brand-student {
    background: linear-gradient(145deg, #0d3d14 0%, var(--primary) 55%, #388e3c 100%);
}
.portal-login-brand-unified.portal-login-brand-parent {
    background: linear-gradient(145deg, #4a148c 0%, var(--primary-dark) 45%, var(--primary) 100%);
}
.portal-login-brand-unified {
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 55%, #2e7d32 100%);
}
.portal-login-role-mentions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.portal-login-role-mentions span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: rgba(255, 255, 255, 0.92);
}
.portal-login-role-mentions span i { color: var(--gold); }
.portal-login-form-head-unified { margin-bottom: 1rem; }
.portal-login-role-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.35rem;
    background: var(--gray-100);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}
.portal-login-role-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.55rem 0.35rem;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: var(--gray-600);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.portal-login-role-tab i { font-size: 1.15rem; }
.portal-login-role-tab.is-active {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.portal-login-role-tab:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.6);
    color: var(--primary);
}
@media (min-width: 576px) {
    .portal-login-role-tab {
        flex-direction: row;
        font-size: 0.82rem;
        padding: 0.65rem 0.75rem;
    }
}
.portal-login-brand-unified.portal-login-brand-staff {
    background: linear-gradient(145deg, #1a237e 0%, var(--primary-dark) 50%, var(--primary) 100%);
}
.portal-login-brand-unified.portal-login-brand-student {
    background: linear-gradient(145deg, #0d3d14 0%, var(--primary) 55%, #388e3c 100%);
}
.portal-login-brand-unified.portal-login-brand-parent {
    background: linear-gradient(145deg, #4a148c 0%, var(--primary-dark) 45%, var(--primary) 100%);
}
.portal-login-shell-sm { max-width: 520px; }
.portal-login-shell-sm .portal-login-form-panel { max-width: 100%; }

/* Unified login page — card under header, full form visible */
.portal-auth-body.portal-auth-body--login {
    min-height: 100dvh;
}
.portal-auth-body--login .portal-auth-header .py-2,
.portal-auth-body--login .portal-auth-header .py-md-3 {
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
}
.portal-auth-main--login {
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    width: 100%;
    padding: 0.65rem 0 1rem;
}
.portal-auth-page--login {
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    align-items: center;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 0.85rem;
}
.portal-login-shell-unified {
    max-width: 980px;
    width: 100%;
    max-height: calc(100dvh - 4.75rem);
}
@media (min-width: 768px) {
    .portal-login-shell-unified {
        grid-template-columns: 0.95fr 1.05fr;
    }
}
.portal-login-shell-unified .portal-login-brand {
    padding: 1.35rem 1.35rem 1.25rem;
}
.portal-login-shell-unified .portal-login-brand h2 {
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    margin-bottom: 0.5rem;
}
.portal-login-shell-unified .portal-login-brand-desc {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.portal-login-shell-unified .portal-login-badge {
    margin-bottom: 0.85rem;
    font-size: 0.68rem;
}
.portal-login-shell-unified .portal-login-features {
    margin-bottom: 1rem;
}
.portal-login-shell-unified .portal-login-features li {
    margin-bottom: 0.45rem;
    font-size: 0.82rem;
}
.portal-login-role-mentions-compact {
    margin-bottom: 0;
}
.portal-login-shell-unified .portal-login-form-panel {
    padding: 1.35rem 1.35rem 1.15rem;
    overflow-y: auto;
    max-height: calc(100dvh - 4.75rem);
}
.portal-login-form-head-unified {
    margin-bottom: 0.75rem;
}
.portal-login-form-head-unified .portal-login-form-icon {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
}
.portal-login-form-head-unified h3 {
    font-size: 1.25rem;
}
.portal-login-role-tabs {
    margin-bottom: 1rem;
}
.portal-login-shell-unified .portal-field-group {
    margin-bottom: 0.85rem;
}
.portal-login-shell-unified .portal-login-form .form-control-lg {
    padding: 0.55rem 0.85rem;
    font-size: 0.95rem;
}
.portal-login-help-compact {
    margin-top: 1rem;
    padding-top: 0.85rem;
    font-size: 0.82rem;
}
.portal-login-help-compact p {
    margin-bottom: 0;
    color: var(--gray-600);
}
@media (max-width: 767.98px) {
    .portal-auth-main--login {
        padding: 0.5rem 0 0.75rem;
    }
    .portal-login-shell-unified {
        max-height: none;
    }
    .portal-login-shell-unified .portal-login-form-panel {
        max-height: none;
        overflow: visible;
    }
    .portal-login-shell-unified .portal-login-brand {
        padding: 1.15rem 1.15rem 1rem;
    }
}

/* Unified login page — card under header, full form visible */
.portal-auth-body.portal-auth-body--login {
    min-height: 100dvh;
}
.portal-auth-body--login .portal-auth-header .py-2,
.portal-auth-body--login .portal-auth-header .py-md-3 {
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
}
.portal-auth-main--login {
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    width: 100%;
    padding: 0.65rem 0 1rem;
}
.portal-auth-page--login {
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    align-items: center;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 0.85rem;
}
.portal-login-shell-unified {
    max-width: 980px;
    width: 100%;
    max-height: calc(100dvh - 4.75rem);
}
@media (min-width: 768px) {
    .portal-login-shell-unified {
        grid-template-columns: 0.95fr 1.05fr;
    }
}
.portal-login-shell-unified .portal-login-brand {
    padding: 1.35rem 1.35rem 1.25rem;
}
.portal-login-shell-unified .portal-login-brand h2 {
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    margin-bottom: 0.5rem;
}
.portal-login-shell-unified .portal-login-brand-desc {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.portal-login-shell-unified .portal-login-badge {
    margin-bottom: 0.85rem;
    font-size: 0.68rem;
}
.portal-login-shell-unified .portal-login-features {
    margin-bottom: 1rem;
}
.portal-login-shell-unified .portal-login-features li {
    margin-bottom: 0.45rem;
    font-size: 0.82rem;
}
.portal-login-role-mentions-compact {
    margin-bottom: 0;
}
.portal-login-shell-unified .portal-login-form-panel {
    padding: 1.35rem 1.35rem 1.15rem;
    overflow-y: auto;
    max-height: calc(100dvh - 4.75rem);
}
.portal-login-form-head-unified {
    margin-bottom: 0.75rem;
}
.portal-login-form-head-unified .portal-login-form-icon {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
}
.portal-login-form-head-unified h3 {
    font-size: 1.25rem;
}
.portal-login-role-tabs {
    margin-bottom: 1rem;
}
.portal-login-shell-unified .portal-field-group {
    margin-bottom: 0.85rem;
}
.portal-login-shell-unified .portal-login-form .form-control-lg {
    padding: 0.55rem 0.85rem;
    font-size: 0.95rem;
}
.portal-login-help-compact {
    margin-top: 1rem;
    padding-top: 0.85rem;
    font-size: 0.82rem;
}
.portal-login-help-compact p {
    margin-bottom: 0;
    color: var(--gray-600);
}
@media (max-width: 767.98px) {
    .portal-auth-main--login {
        padding: 0.5rem 0 0.75rem;
    }
    .portal-login-shell-unified {
        max-height: none;
    }
    .portal-login-shell-unified .portal-login-form-panel {
        max-height: none;
        overflow: visible;
    }
    .portal-login-shell-unified .portal-login-brand {
        padding: 1.15rem 1.15rem 1rem;
    }
}

/* Admission application form */
.admission-form-shell {
    position: relative;
    margin-top: 1.25rem;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}
.admission-form-ambient {
    position: absolute;
    inset: -12px -8px;
    border-radius: 16px;
    background:
        radial-gradient(ellipse 50% 60% at 0% 30%, rgba(27, 94, 32, 0.1), transparent 55%),
        radial-gradient(ellipse 45% 50% at 100% 70%, rgba(212, 175, 55, 0.14), transparent 50%);
    animation: admissionAmbientPulse 10s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}
@keyframes admissionAmbientPulse {
    0% { opacity: 0.85; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.02); }
}
.admission-form-card {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(27, 94, 32, 0.1);
    box-shadow: 0 14px 36px rgba(27, 94, 32, 0.09);
}
.admission-form-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(120deg, #1b5e20 0%, #2e7d32 45%, #1b5e20 90%);
    background-size: 200% 100%;
    animation: admissionHeaderFlow 8s ease infinite;
    color: var(--white);
}
@keyframes admissionHeaderFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.admission-form-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15));
    pointer-events: none;
}
.admission-form-header {
    position: relative;
}
.admission-form-header h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--white);
    font-size: 1.25rem;
}
.admission-form-header-sub {
    font-size: 0.84rem;
    opacity: 0.9;
    line-height: 1.35;
}
.admission-form-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gold-light);
    flex-shrink: 0;
    animation: admissionIconGlow 3s ease-in-out infinite;
}
@keyframes admissionIconGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(212, 175, 55, 0); }
    50% { box-shadow: 0 0 18px rgba(212, 175, 55, 0.45); }
}
.admission-form-body {
    padding: 1.1rem 1.25rem 1.2rem;
}
.admission-form-section {
    margin-bottom: 0.95rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed rgba(27, 94, 32, 0.1);
}
.admission-form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0.5rem;
    padding-bottom: 0;
}
.admission-form-section-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-dark);
    margin-bottom: 0.6rem;
}
.admission-form-section-title i {
    color: var(--gold-dark);
    font-size: 0.9rem;
}
.admission-input-wrap {
    position: relative;
}
.admission-field-icon {
    position: absolute;
    left: 0.72rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    opacity: 0.65;
    font-size: 0.86rem;
    pointer-events: none;
    z-index: 2;
    transition: color 0.25s ease, opacity 0.25s ease;
}
.admission-field-icon-top {
    top: 0.65rem;
    transform: none;
}
.admission-input {
    padding: 0.48rem 0.72rem 0.48rem 2.15rem !important;
    border: 1px solid #dfe5e2 !important;
    border-radius: 9px !important;
    min-height: 40px;
    font-size: 0.9rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.admission-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1) !important;
    background: #fafffa !important;
}
.admission-input-wrap:focus-within .admission-field-icon {
    color: var(--gold-dark);
    opacity: 1;
}
.admission-form-fields .form-label {
    font-weight: 600;
    color: #37474f;
    font-size: 0.82rem;
    margin-bottom: 0.25rem;
}
.admission-form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-top: 0.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid #edf2ef;
}
.admission-form-note {
    font-size: 0.8rem;
    color: var(--gray-600);
    max-width: 380px;
    line-height: 1.4;
}
.admission-form-note i {
    color: var(--primary);
    margin-right: 0.25rem;
}
.btn-admission-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.56rem 1.25rem;
    border: none;
    border-radius: 9px;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--white);
    background: linear-gradient(135deg, #c9a227 0%, #d4af37 40%, #b8860b 100%);
    background-size: 200% 100%;
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: admissionBtnShine 5s ease infinite;
}
@keyframes admissionBtnShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.btn-admission-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(201, 162, 39, 0.5);
    color: var(--white);
}
.btn-admission-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}
#admissionAlert .alert {
    border-radius: 8px;
    border: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    margin-bottom: 0.65rem;
}
@media (prefers-reduced-motion: reduce) {
    .admission-form-ambient,
    .admission-form-header,
    .admission-form-header-icon,
    .btn-admission-submit {
        animation: none;
    }
}

/* Admission application form */
.admission-form-shell {
    position: relative;
    margin-top: 2rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}
.admission-form-ambient {
    position: absolute;
    inset: -12px -8px;
    border-radius: 16px;
    background:
        radial-gradient(ellipse 50% 60% at 0% 30%, rgba(27, 94, 32, 0.1), transparent 55%),
        radial-gradient(ellipse 45% 50% at 100% 70%, rgba(212, 175, 55, 0.14), transparent 50%);
    animation: admissionAmbientPulse 10s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}
@keyframes admissionAmbientPulse {
    0% { opacity: 0.85; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.02); }
}
.admission-form-card {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(27, 94, 32, 0.1);
    box-shadow: 0 12px 32px rgba(27, 94, 32, 0.08);
}
.admission-form-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.15rem;
    background: linear-gradient(120deg, #1b5e20 0%, #2e7d32 45%, #1b5e20 90%);
    background-size: 200% 100%;
    animation: admissionHeaderFlow 8s ease infinite;
    color: var(--white);
}
@keyframes admissionHeaderFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.admission-form-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15));
    pointer-events: none;
}
.admission-form-header {
    position: relative;
}
.admission-form-header h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--white);
    font-size: 1.15rem;
}
.admission-form-header-sub {
    font-size: 0.78rem;
    opacity: 0.9;
    line-height: 1.35;
}
.admission-form-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--gold-light);
    flex-shrink: 0;
    animation: admissionIconGlow 3s ease-in-out infinite;
}
@keyframes admissionIconGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(212, 175, 55, 0); }
    50% { box-shadow: 0 0 18px rgba(212, 175, 55, 0.45); }
}
.admission-form-body {
    padding: 1rem 1.15rem 1.1rem;
}
.admission-form-section {
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(27, 94, 32, 0.1);
}
.admission-form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0.5rem;
    padding-bottom: 0;
}
.admission-form-section-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-dark);
    margin-bottom: 0.55rem;
}
.admission-form-section-title i {
    color: var(--gold-dark);
    font-size: 0.85rem;
}
.admission-input-wrap {
    position: relative;
}
.admission-field-icon {
    position: absolute;
    left: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    opacity: 0.65;
    font-size: 0.82rem;
    pointer-events: none;
    z-index: 2;
    transition: color 0.25s ease, opacity 0.25s ease;
}
.admission-field-icon-top {
    top: 0.55rem;
    transform: none;
}
.admission-input {
    padding: 0.4rem 0.65rem 0.4rem 2rem !important;
    border: 1px solid #dfe5e2 !important;
    border-radius: 8px !important;
    min-height: 36px;
    font-size: 0.875rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.admission-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1) !important;
    background: #fafffa !important;
}
.admission-input-wrap:focus-within .admission-field-icon {
    color: var(--gold-dark);
    opacity: 1;
}
.admission-form-fields .form-label {
    font-weight: 600;
    color: #37474f;
    font-size: 0.78rem;
    margin-bottom: 0.2rem;
}
.admission-form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-top: 0.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid #edf2ef;
}
.admission-form-note {
    font-size: 0.75rem;
    color: var(--gray-600);
    max-width: 380px;
    line-height: 1.4;
}
.admission-form-note i {
    color: var(--primary);
    margin-right: 0.25rem;
}
.btn-admission-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.15rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--white);
    background: linear-gradient(135deg, #c9a227 0%, #d4af37 40%, #b8860b 100%);
    background-size: 200% 100%;
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: admissionBtnShine 5s ease infinite;
}
@keyframes admissionBtnShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.btn-admission-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(201, 162, 39, 0.5);
    color: var(--white);
}
.btn-admission-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}
#admissionAlert .alert {
    border-radius: 8px;
    border: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    margin-bottom: 0.65rem;
}
@media (prefers-reduced-motion: reduce) {
    .admission-form-ambient,
    .admission-form-header,
    .admission-form-header-icon,
    .btn-admission-submit {
        animation: none;
    }
}

/* Portal dashboard layout */
.portal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: start; }
.portal-sidebar {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    padding: 1rem 0;
    position: sticky;
    top: 1rem;
}
.portal-sidebar-link {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.65rem 1.25rem; color: var(--gray-700); text-decoration: none; font-weight: 600; font-size: 0.9rem;
    border-left: 3px solid transparent;
}
.portal-sidebar-link:hover { background: var(--gray-100); color: var(--primary); }
.portal-sidebar-link.active { background: #e8f5e9; color: var(--primary-dark); border-left-color: var(--gold); }
.portal-sidebar-link i { color: var(--primary); }
.portal-stat-card {
    background: var(--white); border-radius: 12px; padding: 1rem; text-align: center;
    border: 1px solid var(--gray-200); height: 100%;
}
.portal-stat-card i { font-size: 1.5rem; color: var(--gold); display: block; margin-bottom: 0.35rem; }
.portal-stat-card strong { display: block; font-family: var(--font-heading); font-size: 1.25rem; color: var(--primary-dark); }
.portal-stat-card span { font-size: 0.75rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.03em; }
.portal-dash-section { scroll-margin-top: 1rem; margin-bottom: 0.5rem; }
@media (max-width: 991px) {
    .portal-layout { grid-template-columns: 1fr; }
    .home-hero { min-height: auto; padding: 2.5rem 0; }
    .home-hero-title { font-size: 1.85rem; }
}

/* ========== Student Life Page ========== */
.sl-hero {
    position: relative;
    padding: 3.5rem 0 3rem;
    background: linear-gradient(180deg, #f8fbf8 0%, #fff 100%);
    overflow: visible;
}
.sl-hero-collage-col {
    overflow: visible;
}
.sl-hero-collage-wrap {
    padding: 0.5rem;
    overflow: visible;
}
.sl-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 0% 0%, rgba(27, 94, 32, 0.07), transparent 55%),
        radial-gradient(ellipse 45% 35% at 100% 100%, rgba(212, 175, 55, 0.1), transparent 50%);
    pointer-events: none;
    animation: pageHeaderGlow 8s ease-in-out infinite alternate;
}
.sl-hero-badge,
.sl-hero-title-main,
.sl-hero-title-script,
.sl-hero-lead,
.sl-hero-pillars {
    animation: pageHeaderFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.sl-hero-badge { animation-delay: 0.06s; }
.sl-hero-title-main { animation-delay: 0.12s; }
.sl-hero-title-script { animation-delay: 0.2s; }
.sl-hero-lead { animation-delay: 0.28s; }
.sl-hero-pillars { animation-delay: 0.38s; }
.sl-hero-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 4px;
    color: var(--gold-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.sl-hero-title {
    margin-bottom: 1.15rem;
    line-height: 1.15;
}
.sl-hero-title-main {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    font-weight: 700;
    color: var(--primary-dark);
}
.sl-hero-title-script {
    display: block;
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.4rem, 5.5vw, 3.5rem);
    font-weight: 600;
    color: var(--gold-dark);
    margin-top: 0.15rem;
    line-height: 1.1;
}
.sl-hero-lead {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 1.75rem;
}
.sl-hero-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.25rem;
}
.sl-hero-pillar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.3;
}
.sl-hero-pillar-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--primary-dark);
    font-size: 1.05rem;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
    transition: transform 0.35s ease;
}
.sl-hero-pillar:hover .sl-hero-pillar-icon {
    transform: scale(1.08);
}

/* Honeycomb banner collage (mockup layout) */
.sl-honeycomb {
    --sl-hex-w: 132px;
    --sl-hex-h: 152px;
    --sl-hex-overlap: 38px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 0.25rem;
}
.sl-honey-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.sl-honey-row-mid {
    margin-top: calc(var(--sl-hex-overlap) * -1);
    margin-bottom: calc(var(--sl-hex-overlap) * -1);
    z-index: 2;
}
.sl-honey-hex {
    position: relative;
    width: var(--sl-hex-w);
    height: var(--sl-hex-h);
    flex-shrink: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: #e8ede9;
    box-shadow: 0 0 0 5px #fff, 0 10px 28px rgba(27, 94, 32, 0.12);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.sl-honey-hex img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.sl-honey-hex:hover {
    transform: scale(1.05);
    z-index: 6;
    box-shadow: 0 0 0 5px #fff, 0 16px 36px rgba(27, 94, 32, 0.18);
}
.sl-honey-hex-center {
    width: calc(var(--sl-hex-w) + 8px);
    height: calc(var(--sl-hex-h) + 8px);
    background: linear-gradient(155deg, #0d3d14 0%, #1b5e20 45%, #2e7d32 100%);
    box-shadow: 0 0 0 5px #fff, 0 0 0 8px rgba(212, 175, 55, 0.45), 0 14px 32px rgba(27, 94, 32, 0.28);
    z-index: 4;
}
.sl-honey-hex-center:hover {
    transform: scale(1.05);
}
.sl-honey-crest {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 0.5rem;
    color: var(--white);
}
.sl-honey-crest-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 0.35rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.sl-honey-crest-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(212, 175, 55, 0.55);
    margin-bottom: 0.35rem;
    font-size: 1.65rem;
    color: var(--gold-light);
}
.sl-honey-crest-name {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold-light);
    letter-spacing: 0.02em;
}
.sl-honey-crest-tag {
    font-size: 0.58rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.88);
    margin-top: 0.15rem;
}

/* Per-image framing */
.sl-honey-row-top .sl-honey-hex:first-child img { object-position: center 40%; }
.sl-honey-row-top .sl-honey-hex:last-child img { object-position: center 20%; }
.sl-honey-row-mid .sl-honey-hex:first-child img { object-position: center 35%; }
.sl-honey-row-mid .sl-honey-hex:last-child img { object-position: center 30%; }
.sl-honey-row-bot .sl-honey-hex:first-child img { object-position: center 55%; }
.sl-honey-row-bot .sl-honey-hex:last-child img { object-position: center 25%; }

/* Experiences grid */
.sl-experiences {
    background: #fff;
}
.sl-exp-head {
    max-width: 720px;
    margin: 0 auto 2.75rem;
}
.sl-exp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.sl-exp-eyebrow i { color: var(--gold); }
.sl-exp-card {
    background: var(--white);
    border: 1px solid rgba(27, 94, 32, 0.1);
    border-radius: 16px;
    padding: 1.35rem 1.25rem 1.25rem;
    height: 100%;
    box-shadow: 0 6px 24px rgba(27, 94, 32, 0.06);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
    border-top: 4px solid var(--sl-accent, var(--primary));
}
.sl-exp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(27, 94, 32, 0.12);
}
.sl-exp-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.sl-exp-num {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--white);
    background: var(--sl-accent, var(--primary));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.sl-exp-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--sl-accent, var(--primary-dark));
    margin: 0.15rem 0 0;
    line-height: 1.35;
}
.sl-exp-photos {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 1rem;
}
.sl-exp-photo {
    flex: 1;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.sl-exp-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.sl-exp-card:hover .sl-exp-photo img {
    transform: scale(1.06);
}
.sl-exp-desc {
    font-size: 0.86rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 0;
}
.sl-exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(27, 94, 32, 0.12);
}
.sl-exp-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    background: rgba(27, 94, 32, 0.06);
    color: var(--gray-700);
}
.sl-exp-tag i {
    color: var(--sl-accent, var(--primary));
    font-size: 0.75rem;
}

.sl-exp-green  { --sl-accent: #2e7d32; }
.sl-exp-gold   { --sl-accent: #b8860b; }
.sl-exp-forest { --sl-accent: #1b5e20; }
.sl-exp-pink   { --sl-accent: #c2185b; }
.sl-exp-blue   { --sl-accent: #1565c0; }
.sl-exp-purple { --sl-accent: #6a1b9a; }
.sl-exp-teal   { --sl-accent: #00838f; }
.sl-exp-orange { --sl-accent: #e65100; }
.sl-exp-navy   { --sl-accent: #1a237e; }

/* Student Life CTA */
.sl-cta {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, #faf8f2 0%, #f4f8f5 100%);
}
.sl-cta-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2rem;
    align-items: center;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem 2.25rem;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 12px 40px rgba(27, 94, 32, 0.08);
}
.sl-cta-visual img {
    width: 100%;
    max-width: 280px;
    border-radius: 14px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}
.sl-cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.sl-cta-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.35rem;
}
.sl-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}
.sl-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white) !important;
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sl-cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(27, 94, 32, 0.32);
    color: var(--white) !important;
}
.sl-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: gap 0.25s ease, color 0.25s ease;
}
.sl-cta-link:hover {
    color: var(--gold-dark);
    gap: 0.55rem;
}

@media (max-width: 991.98px) {
    .sl-hero { padding: 2.5rem 0 2rem; }
    .sl-honeycomb {
        --sl-hex-w: 112px;
        --sl-hex-h: 129px;
        --sl-hex-overlap: 32px;
    }
    .sl-honey-row { gap: 8px; }
    .sl-cta-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.75rem 1.5rem;
    }
    .sl-cta-actions { justify-content: center; }
}
@media (max-width: 575.98px) {
    .sl-hero-pillars { grid-template-columns: 1fr; }
    .sl-honeycomb {
        --sl-hex-w: 96px;
        --sl-hex-h: 110px;
        --sl-hex-overlap: 27px;
    }
    .sl-honey-row { gap: 6px; }
    .sl-honey-crest-name { font-size: 0.62rem; }
    .sl-honey-crest-tag { font-size: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    .sl-honey-hex:hover,
    .sl-exp-card:hover,
    .sl-hero-pillar:hover .sl-hero-pillar-icon,
    .sl-exp-card:hover .sl-exp-photo img {
        transform: none;
    }
}

/* Curriculum — unified academics page */
.academics-hero {
    background: #fff;
    color: #111111;
    padding: 2.75rem 0 2.85rem;
    border-bottom: 1px solid #ebe4d6;
}
.academics-hero-inner {
    max-width: 760px;
}
.academics-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    box-shadow: 0 2px 10px rgba(27, 94, 32, 0.06);
}
.academics-hero-badge i {
    color: var(--gold-dark);
}
.academics-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.85rem;
    color: var(--primary-dark);
}
.academics-hero-gold {
    color: var(--gold-dark);
    font-style: italic;
}
.academics-hero-lead {
    color: #333333;
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0;
    max-width: 640px;
}
.ach-jump-section,
.about-jump-section,
#our-story,
#vision-mission,
#directors-desk,
#principals-message,
#school-team,
#leadership,
#admission-procedure,
#documents-required,
#fee-structure-2025-26,
#school-timing-uniform,
#apply-online {
    scroll-margin-top: 4.5rem;
}
#overview,
#experiences,
#join-us {
    scroll-margin-top: 4.5rem;
}
.admission-box-trigger {
    cursor: pointer;
}
.admission-box-trigger:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
.admission-lightbox .modal-dialog {
    max-width: 520px;
}
.admission-lightbox-content {
    position: relative;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(155deg, #071a10 0%, #0d3d10 52%, #0a2818 100%);
    color: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.admission-lightbox-accent {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.admission-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    filter: invert(1);
    opacity: 0.85;
}
.admission-lightbox-body {
    position: relative;
    z-index: 1;
    padding: 2rem 1.75rem 1.85rem;
    text-align: center;
}
.admission-lightbox-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}
.admission-lightbox-title {
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 4vw, 1.85rem);
    line-height: 1.25;
    margin-bottom: 0.85rem;
    color: #fff;
}
.admission-lightbox-lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.65rem;
}
.admission-lightbox-sub {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.35rem;
}
.admission-lightbox-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}
.admission-lightbox-secondary {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}
.admission-lightbox-secondary:hover {
    color: var(--gold-light);
}
.academic-section-head {
    max-width: 720px;
}
.academic-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.65rem;
}
.academic-section-lead {
    color: #111111;
    font-size: 1rem;
    line-height: 1.65;
}
.academic-booklist-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.35rem 1.4rem;
    box-shadow: 0 4px 20px rgba(27, 94, 32, 0.06);
}
.academic-booklist-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fce8e8;
    color: #c0392b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.academic-booklist-card-body h3 {
    font-size: 1.15rem;
    color: #111111;
    margin-bottom: 0.45rem;
}
.academic-booklist-card-body p {
    color: #333333;
    margin-bottom: 0.85rem;
}
.academic-booklist-note {
    color: #333333;
    font-size: 0.92rem;
}
.academic-calendar-section {
    background: #f7f4ee;
    padding: 3.5rem 0 4rem;
}
.academic-calendar-section .acal-section-head {
    margin-bottom: 1.75rem;
}
.ach-awards-strip {
    background: #fff;
}

#gallery-photos,
#gallery-videos {
    scroll-margin-top: 4.5rem;
}
.gallery-tabs-root,
.section-tabs-root {
    overflow: hidden;
}
.gallery-tabs-panels,
.section-tabs-panels {
    position: relative;
}
.gallery-tab-panel,
.section-tab-panel {
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s ease;
}
.gallery-tab-panel:not(.is-active),
.section-tab-panel:not(.is-active) {
    position: absolute;
    top: 0;
    left: 0;
}
.gallery-tab-panel.is-active,
.section-tab-panel.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 1;
}
.gallery-tab-panel.is-leaving,
.section-tab-panel.is-leaving {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0;
    transform: translateY(-10px);
}
.gallery-tab-panel.is-entering,
.section-tab-panel.is-entering {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(14px);
}
.gallery-jump-nav .gallery-tab-link,
.about-jump-nav .section-tab-link {
    cursor: pointer;
}
.gallery-jump-nav.is-switching .gallery-tab-link,
.about-jump-nav.is-switching .about-jump-nav-link {
    pointer-events: none;
}
.gallery-hero {
    background: #fff;
    color: #111111;
    padding: 2.75rem 0 2.85rem;
    border-bottom: 1px solid #ebe4d6;
}
.gallery-hero-inner {
    max-width: 760px;
}
.gallery-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    box-shadow: 0 2px 10px rgba(27, 94, 32, 0.06);
}
.gallery-hero-badge i {
    color: var(--gold-dark);
}
.gallery-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.85rem;
    color: var(--primary-dark);
}
.gallery-hero-gold {
    color: var(--gold-dark);
    font-style: italic;
}
.gallery-hero-lead {
    color: #333333;
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0;
    max-width: 640px;
}
.gallery-section-lead {
    color: #333333;
    font-size: 1rem;
    line-height: 1.65;
}
.gallery-empty {
    text-align: center;
    color: #64748b;
    padding: 2rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}
.gallery-empty-videos i {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}
.gallery-album-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 20px rgba(27, 94, 32, 0.06);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.gallery-album-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 8px 28px rgba(27, 94, 32, 0.1);
    transform: translateY(-3px);
}
.gallery-album-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3efe6;
}
.gallery-album-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.gallery-album-card:hover .gallery-album-thumb img {
    transform: scale(1.04);
}
.gallery-album-body {
    padding: 1rem 1.1rem 1.15rem;
}
.gallery-album-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: #e8f5e9;
    color: var(--primary-dark);
    margin-bottom: 0.45rem;
}
.gallery-album-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 0.35rem;
}
.gallery-album-body p {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}
.gallery-video-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(27, 94, 32, 0.06);
}
.gallery-video-frame {
    background: #111;
}
.gallery-video-body {
    padding: 1rem 1.1rem 1.15rem;
}
.gallery-video-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 0.25rem;
}
.gallery-video-meta {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}
.gallery-video-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}
.gallery-video-link:hover {
    color: var(--gold-dark);
}

/* Curriculum — academic strip (legacy standalone pages) */
.curriculum-academic-strip {
    background: #0a1220;
    padding: 1.25rem 0 0;
}
.curriculum-academic-strip-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 280px;
}
.curriculum-academic-strip-link {
    display: block;
    flex: 1 1 140px;
    padding: 0.7rem 1rem;
    background: #14352a;
    color: #e8d9a8;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-left: 4px solid transparent;
    border-radius: 0 4px 4px 0;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.curriculum-academic-strip-link:hover {
    color: var(--gold-light);
    background: #1a4234;
    border-left-color: #3cb371;
}
.curriculum-academic-strip-link.is-active {
    color: var(--gold);
    border-left-color: #3cb371;
    background: #1a4234;
}

/* Curriculum — How We Teach (light theme) */
.curriculum-how-teach {
    background: #f7f4ee;
    position: relative;
    overflow: hidden;
}
.curriculum-how-teach::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 10% 15%, rgba(27, 94, 32, 0.06), transparent 55%),
        radial-gradient(ellipse 50% 40% at 90% 85%, rgba(212, 175, 55, 0.1), transparent 50%);
    pointer-events: none;
}
.curriculum-how-teach .container {
    position: relative;
    z-index: 1;
}
.curriculum-how-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.curriculum-how-title-script {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--gold-dark);
    font-weight: 600;
}
.curriculum-how-lead {
    max-width: 720px;
    margin: 0 auto;
    color: #333333;
    font-size: 1.02rem;
    line-height: 1.65;
}
.curriculum-teach-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.35rem 1.25rem 1.15rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    box-shadow: 0 4px 20px rgba(27, 94, 32, 0.06);
}
.curriculum-teach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--curriculum-accent, var(--gold-dark)), var(--gold), var(--gold-light));
}
.curriculum-teach-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 8px 28px rgba(27, 94, 32, 0.1);
}
.curriculum-teach-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
    background: #f3efe6;
    border: 1px solid #ebe4d6;
    box-shadow: none;
}
.curriculum-teach-accent-1 .curriculum-teach-icon {
    color: var(--primary);
}
.curriculum-teach-accent-2 .curriculum-teach-icon {
    color: #6a1b9a;
}
.curriculum-teach-accent-3 .curriculum-teach-icon {
    color: #1565c0;
}
.curriculum-teach-accent-4 .curriculum-teach-icon {
    color: #e65100;
}
.curriculum-teach-accent-5 .curriculum-teach-icon {
    color: var(--gold-dark);
}
.curriculum-teach-accent-6 .curriculum-teach-icon {
    color: #c2185b;
}
.curriculum-teach-card h3 {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 0.55rem;
}
.curriculum-teach-card p {
    color: #333333;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.curriculum-teach-tag {
    display: inline-block;
    align-self: flex-start;
    background: #f3efe6;
    border: 1px solid #ebe4d6;
    border-radius: 8px;
    padding: 0.28rem 0.65rem;
    font-size: 0.72rem;
    color: var(--primary-dark);
    font-weight: 600;
}
.curriculum-teach-accent-1 { --curriculum-accent: #1b5e20; }
.curriculum-teach-accent-2 { --curriculum-accent: #6a1b9a; }
.curriculum-teach-accent-3 { --curriculum-accent: #1565c0; }
.curriculum-teach-accent-4 { --curriculum-accent: #e65100; }
.curriculum-teach-accent-5 { --curriculum-accent: var(--gold-dark); }
.curriculum-teach-accent-6 { --curriculum-accent: #c2185b; }

/* Academic Calendar page */
.acal-page {
    --acal-navy: #152238;
    --acal-cream: #f8f6f1;
    --acal-cream-dark: #efe9df;
    background: var(--acal-cream);
    padding: 2.5rem 0 4rem;
    min-height: 60vh;
}
.acal-page-inner {
    max-width: 1140px;
}
.acal-hero {
    margin-bottom: 1.75rem;
}
.acal-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #fce8e8;
    color: #c0392b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}
.acal-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--acal-navy);
    margin-bottom: 0.75rem;
}
.acal-title-base {
    display: block;
    font-family: var(--font-body);
    font-weight: 700;
}
.acal-title-script {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--gold-dark);
    font-size: 1.05em;
}
.acal-lead {
    max-width: 640px;
    color: var(--gray-600);
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.6;
}
.acal-strip.curriculum-academic-strip {
    background: transparent;
    padding: 0 0 1.75rem;
}
.acal-strip .curriculum-academic-strip-nav {
    max-width: 100%;
}
.acal-strip .curriculum-academic-strip-link {
    background: var(--white);
    color: var(--acal-navy);
    border: 1px solid #d8dde6;
    border-left: 4px solid transparent;
    border-radius: 0 8px 8px 0;
}
.acal-strip .curriculum-academic-strip-link:hover,
.acal-strip .curriculum-academic-strip-link.is-active {
    background: #eef2f8;
    color: var(--acal-navy);
    border-left-color: var(--acal-navy);
}
.acal-term-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}
.acal-term-tab {
    border: 1px solid #d8dde6;
    background: var(--white);
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.15rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.acal-term-tab:hover {
    border-color: var(--acal-navy);
    color: var(--acal-navy);
}
.acal-term-tab.is-active {
    background: var(--acal-navy);
    border-color: var(--acal-navy);
    color: var(--white);
}
.acal-events {
    display: block;
}
.acal-events-list {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(27, 94, 32, 0.05);
}
.acal-event-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.55rem 0.9rem;
    border-bottom: 1px solid #f0ebe0;
    min-height: 3rem;
}
.acal-event-row:last-child {
    border-bottom: none;
}
.acal-event-row:hover {
    background: #faf8f3;
}
.acal-event-row-date {
    flex: 0 0 3.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    text-align: center;
}
.acal-event-row-date strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-dark);
}
.acal-event-row-date span {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-top: 0.1rem;
}
.acal-event-row-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.75rem;
}
.acal-event-row-title {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    color: #111111;
    margin: 0;
    line-height: 1.3;
}
.acal-event-row-meta {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.acal-event-row .acal-event-tag {
    flex-shrink: 0;
    font-size: 0.65rem;
    padding: 0.18rem 0.5rem;
    letter-spacing: 0.03em;
}
.acal-empty {
    color: var(--gray-600);
    padding: 2rem;
    text-align: center;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(21, 34, 56, 0.06);
}
.acal-event-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: var(--white);
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 4px 20px rgba(21, 34, 56, 0.06);
    border: 1px solid rgba(21, 34, 56, 0.04);
}
.acal-event-date {
    flex-shrink: 0;
    width: 64px;
    text-align: center;
    padding-top: 0.15rem;
}
.acal-event-day {
    display: block;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
    color: var(--acal-navy);
    font-family: var(--font-body);
}
.acal-event-month {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--gray-600);
    margin-top: 0.2rem;
}
.acal-event-body h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--acal-navy);
    margin-bottom: 0.25rem;
}
.acal-event-body p {
    color: var(--gray-600);
    font-size: 0.92rem;
    margin-bottom: 0.65rem;
}
.acal-event-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
}
.acal-event-tag-event {
    background: #fff3cd;
    color: #856404;
}
.acal-event-tag-exam {
    background: #fce8e8;
    color: #c0392b;
}
.acal-event-tag-holiday {
    background: #d4edda;
    color: #155724;
}
.acal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 6.5rem;
}
.acal-mini-cal {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(21, 34, 56, 0.08);
    border: 1px solid rgba(21, 34, 56, 0.05);
}
.acal-mini-cal-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--acal-navy);
    color: var(--white);
    padding: 0.85rem 1rem;
    font-weight: 700;
    font-size: 0.95rem;
}
.acal-mini-cal-head i {
    font-size: 1.1rem;
    color: var(--gold-light);
}
.acal-mini-cal-grid {
    padding: 0.85rem 0.75rem 0.5rem;
}
.acal-mini-cal-weekdays,
.acal-mini-cal-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.15rem;
    text-align: center;
}
.acal-mini-cal-weekdays {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gray-600);
    margin-bottom: 0.35rem;
}
.acal-mini-cal-week {
    margin-bottom: 0.15rem;
}
.acal-mini-day {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--acal-navy);
    padding: 0.35rem 0;
    border-radius: 6px;
    position: relative;
    min-height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.acal-mini-day.is-empty {
    visibility: hidden;
}
.acal-mini-day.is-marked::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.acal-mini-day.acal-mark-event::after { background: #f0ad4e; }
.acal-mini-day.acal-mark-exam::after { background: #e74c3c; }
.acal-mini-day.acal-mark-holiday::after { background: #27ae60; }
.acal-mini-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    padding: 0.65rem 1rem 0.85rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.72rem;
    color: var(--gray-600);
}
.acal-mini-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.acal-legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.acal-legend-dot.acal-mark-event { background: #f0ad4e; }
.acal-legend-dot.acal-mark-exam { background: #e74c3c; }
.acal-legend-dot.acal-mark-holiday { background: #27ae60; }
.acal-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.95rem 1.25rem;
    background: var(--acal-navy);
    color: var(--white) !important;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 6px 18px rgba(21, 34, 56, 0.2);
}
.acal-download-btn:hover {
    background: #0f1828;
    color: var(--white) !important;
    transform: translateY(-1px);
}
.acal-download-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1rem;
    background: var(--acal-cream-dark);
    color: var(--gray-600);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}
@media (max-width: 991.98px) {
    .acal-sidebar {
        position: static;
    }
    .acal-page {
        padding-top: 1.75rem;
    }
}
@media (max-width: 575.98px) {
    .acal-event-row {
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 0.65rem 0.75rem;
    }
    .acal-event-row-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }
    .acal-event-row-meta {
        white-space: normal;
    }
    .acal-event-row .acal-event-tag {
        margin-left: 3.95rem;
    }
}

/* Achievements page */
.ach-pride {
    position: relative;
    background: linear-gradient(135deg, #0a2818 0%, #0d3d10 45%, #0a2218 100%);
    color: var(--white);
    padding: 3.5rem 0 3rem;
    overflow: hidden;
}
.ach-pride-bg {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(115deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 18px),
        radial-gradient(ellipse 50% 60% at 85% 20%, rgba(212,175,55,0.08), transparent);
    pointer-events: none;
}
.ach-pride-inner { position: relative; z-index: 1; }
.ach-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}
.ach-eyebrow-line {
    width: 28px;
    height: 3px;
    background: #e67e22;
    border-radius: 2px;
}
.ach-pride-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--white);
}
.ach-pride-title .text-gold {
    font-style: italic;
    color: var(--gold-light) !important;
}
.ach-pride-lead {
    color: rgba(255,255,255,0.72);
    font-size: 1.02rem;
    line-height: 1.65;
    max-width: 520px;
    margin-bottom: 1.5rem;
}
.ach-pride-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.ach-btn-ghost {
    border: 1px solid rgba(255,255,255,0.45);
    color: var(--white) !important;
    background: transparent;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}
.ach-btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white) !important;
}
.ach-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}
.ach-highlight-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 1rem 1.1rem;
}
.ach-highlight-wide {
    grid-column: 1 / -1;
}
.ach-highlight-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(212,175,55,0.15);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.ach-highlight-card h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
    line-height: 1.35;
}
.ach-highlight-card p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.62);
    margin-bottom: 0.45rem;
    line-height: 1.45;
}
.ach-highlight-year {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
}
.ach-ticker { margin-top: 0; }
.ach-stats { margin-bottom: 0; }
.ach-grid-section {
    background: #eef6f1;
}
.ach-grid-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}
.ach-grid-tab {
    border: none;
    background: var(--white);
    color: var(--gray-800);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.ach-grid-tab.is-active {
    background: var(--primary-dark);
    color: var(--white);
}
.ach-grid-tab.is-active i { color: var(--gold-light); }
.ach-grid-empty {
    text-align: center;
    color: var(--gray-600);
    padding: 3rem 1rem;
    background: var(--white);
    border-radius: 14px;
}
.ach-grid-card {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    padding: 1.35rem 1rem 1.1rem;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(27,94,32,0.08);
    box-shadow: 0 6px 20px rgba(27,94,32,0.06);
}
.ach-grid-card-sports { background: #fffdf5; }
.ach-grid-card-academic { background: #f8fbff; }
.ach-medal {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.ach-medal-gold { background: linear-gradient(135deg, #f0c14b, #c9a227); }
.ach-medal-silver { background: linear-gradient(135deg, #b8c4ce, #8a9ba8); }
.ach-medal-bronze { background: linear-gradient(135deg, #cd7f32, #a0522d); }
.ach-grid-icon {
    width: 64px;
    height: 64px;
    margin: 0.25rem auto 0.85rem;
    border-radius: 50%;
    background: rgba(27,94,32,0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
}
.ach-grid-card h3 {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.35rem;
    line-height: 1.35;
}
.ach-grid-card p {
    font-size: 0.82rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    min-height: 2.5rem;
}
.ach-grid-year {
    display: block;
    font-family: var(--font-heading);
    color: var(--gold-dark);
    font-size: 1rem;
}
.ach-hall {
    background: linear-gradient(180deg, #ffffff 0%, #faf8f3 100%);
    color: #111111;
    border-top: 1px solid #ebe4d6;
}
.ach-hall-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.85rem;
    box-shadow: 0 2px 10px rgba(27, 94, 32, 0.06);
}
.ach-hall-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    color: var(--primary-dark);
    margin-bottom: 0.65rem;
}
.ach-hall-lead {
    max-width: 640px;
    margin: 0 auto;
    color: #333333;
    font-size: 1rem;
    line-height: 1.65;
}
.ach-hall-card {
    background: #fff;
    border: 1px solid rgba(27, 94, 32, 0.08);
    border-top: 3px solid var(--gold-dark);
    border-radius: 14px;
    padding: 1.35rem 1.15rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ach-hall-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(27, 94, 32, 0.1);
}
.ach-hall-avatar {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.55);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: rgba(27, 94, 32, 0.06);
}
.ach-hall-card h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 0.2rem;
}
.ach-hall-batch {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 0.65rem;
}
.ach-hall-card p {
    font-size: 0.84rem;
    color: #333333;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}
.ach-hall-status {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-dark);
}
@media (max-width: 767.98px) {
    .ach-highlights-grid { grid-template-columns: 1fr; }
    .ach-highlight-wide { grid-column: auto; }
}

/* About Us — Our Story */
.about-story {
    position: relative;
    background: linear-gradient(145deg, #071a10 0%, #0d3d10 42%, #0a2818 100%);
    color: var(--white);
    padding: 3.5rem 0 4rem;
    overflow: hidden;
    min-height: 70vh;
    border-bottom: 4px solid var(--gold);
}
.about-story-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black, transparent);
    pointer-events: none;
}
.about-story-inner { position: relative; z-index: 1; }
.about-story-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}
.about-story-eyebrow-line {
    width: 28px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}
.about-story-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.about-story-gold {
    display: inline;
    font-style: italic;
    color: var(--gold-light);
}
.about-story-script {
    display: inline;
    font-style: italic;
    color: rgba(255,255,255,0.55);
}
.about-story-lead {
    color: rgba(255,255,255,0.78);
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 2rem;
}
.about-founded-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    max-width: 420px;
    padding: 1.1rem 1.25rem;
    background: rgba(0,0,0,0.28);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
}
.about-founded-year {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    line-height: 1;
    color: var(--gold);
    flex-shrink: 0;
}
.about-founded-label {
    display: block;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.2rem;
}
.about-founded-meta {
    display: block;
    font-size: 0.86rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.45;
}
.about-quote-card {
    height: 100%;
    margin: 0;
    padding: 2rem 1.75rem 1.5rem;
    background: rgba(0,0,0,0.32);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
}
.about-quote-mark {
    color: var(--gold);
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.75rem;
}
.about-quote-card p {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    line-height: 1.55;
    color: rgba(255,255,255,0.92);
    margin-bottom: auto;
    padding-bottom: 1.75rem;
}
.about-quote-footer {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.about-quote-photo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(212,175,55,0.45);
}
.about-quote-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,175,55,0.12);
    color: var(--gold-light);
    font-size: 1.4rem;
}
.about-quote-footer cite {
    display: block;
    font-style: normal;
    font-weight: 700;
    color: var(--white);
    font-size: 0.98rem;
}
.about-quote-footer span {
    display: block;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    margin-top: 0.15rem;
}
@media (max-width: 991.98px) {
    .about-story { min-height: 0; padding: 2.5rem 0 2.75rem; }
    .about-quote-card { margin-top: 0.5rem; height: auto; }
}
@media (max-width: 767.98px) {
    .about-page-single .about-page-section.section-padding {
        padding-bottom: 2rem;
    }
    .about-page-single .vm-philosophy {
        padding: 2.5rem 0 2.75rem;
    }
    .about-page-single .about-leadership.section-padding {
        padding-bottom: 2rem;
    }
}

/* ========== FLOATING HELPDESK (homepage) ========== */
.floating-helpdesk-wrap {
    position: fixed;
    right: 1.25rem;
    bottom: 1.5rem;
    z-index: 1065;
    pointer-events: none;
}
.has-mobile-bottom-nav .floating-helpdesk-wrap {
    bottom: calc(4.85rem + env(safe-area-inset-bottom, 0px));
}
.floating-helpdesk-link {
    position: relative;
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.1rem 0.7rem 0.95rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary-dark) !important;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 8px 24px rgba(13, 61, 16, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none !important;
}
.floating-helpdesk-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(13, 61, 16, 0.32);
    color: var(--primary-dark) !important;
}
.floating-helpdesk-link i {
    font-size: 1.15rem;
}
.floating-helpdesk-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 2px solid rgba(212, 175, 55, 0.55);
    animation: helpdeskPulse 2.2s ease-out infinite;
    pointer-events: none;
}
@keyframes helpdeskPulse {
    0% { transform: scale(1); opacity: 0.85; }
    70% { transform: scale(1.18); opacity: 0; }
    100% { transform: scale(1.18); opacity: 0; }
}
@media (max-width: 575.98px) {
    .floating-helpdesk-wrap {
        right: 0.85rem;
    }
    .floating-helpdesk-label {
        display: none;
    }
    .floating-helpdesk-link {
        width: 3.25rem;
        height: 3.25rem;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .floating-helpdesk-link i {
        font-size: 1.35rem;
    }
}

/* ========== CONTACT PAGE ========== */
.contact-hero,
.contact-campus {
    position: relative;
    overflow: hidden;
    color: #111111;
}
.contact-hero {
    padding: 4rem 0 3.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #faf8f3 100%);
    border-bottom: 1px solid #ebe4d6;
}
.contact-campus {
    padding: 3.5rem 0 4rem;
    background: #f4f8f5;
    border-bottom: 1px solid #e5e7eb;
}
.contact-hero-bg,
.contact-campus-bg {
    display: none;
}
.contact-hero-inner,
.contact-campus-inner {
    position: relative;
    z-index: 1;
}
.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 1.15rem;
}
.contact-eyebrow-line {
    width: 28px;
    height: 3px;
    background: var(--gold-dark);
    border-radius: 2px;
}
.contact-hero-title,
.contact-campus-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.15rem);
    line-height: 1.15;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.15rem;
}
.contact-hero-gold {
    display: block;
    font-style: italic;
    color: var(--gold-dark);
}
.contact-hero-lead {
    color: #333333;
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 1.75rem;
}
.contact-hero-actions,
.contact-campus-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.contact-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.35rem;
    border: 1px solid rgba(27, 94, 32, 0.35);
    border-radius: 999px;
    background: #fff;
    color: var(--primary-dark) !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-btn-ghost:hover {
    background: rgba(27, 94, 32, 0.06);
    border-color: var(--primary);
    color: var(--primary-dark) !important;
    box-shadow: 0 4px 14px rgba(27, 94, 32, 0.08);
}
.contact-section-wave {
    display: none;
}
.contact-channel-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.contact-channel-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1.1rem;
    background: #fff;
    border: 1px solid rgba(27, 94, 32, 0.1);
    border-radius: 14px;
    text-decoration: none !important;
    color: #111111 !important;
    box-shadow: 0 4px 16px rgba(27, 94, 32, 0.06);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-channel-card:hover {
    background: #fff;
    border-color: rgba(212, 175, 55, 0.45);
    transform: translateX(4px);
    color: #111111 !important;
    box-shadow: 0 8px 24px rgba(27, 94, 32, 0.1);
}
.contact-channel-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.contact-channel-icon.tone-primary {
    background: rgba(27, 94, 32, 0.1);
    color: var(--primary-dark);
}
.contact-channel-icon.tone-gold {
    background: rgba(212, 175, 55, 0.18);
    color: #8a6d12;
}
.contact-channel-icon.tone-green {
    background: rgba(27, 94, 32, 0.08);
    color: var(--primary);
}
.contact-channel-icon.tone-whatsapp {
    background: rgba(37, 211, 102, 0.14);
    color: #128c7e;
}
.contact-channel-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.contact-channel-body small {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}
.contact-channel-body strong {
    font-size: 0.98rem;
    font-weight: 600;
    color: #111111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.contact-channel-arrow {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: #94a3b8;
}
.contact-campus-info {
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.5rem;
    background: #fff;
    border: 1px solid rgba(27, 94, 32, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(27, 94, 32, 0.06);
}
.contact-campus-info-row {
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem 0;
}
.contact-campus-info-row + .contact-campus-info-row {
    border-top: 1px solid #eef2f6;
}
.contact-campus-info-row:first-child { padding-top: 0; }
.contact-campus-info-row:last-child { padding-bottom: 0; }
.contact-campus-info-icon {
    flex-shrink: 0;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 8px;
    background: rgba(27, 94, 32, 0.08);
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.contact-campus-info-row small {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.2rem;
}
.contact-campus-info-row p {
    margin: 0;
    color: #333333;
    line-height: 1.55;
    font-size: 0.95rem;
}
.contact-campus-map {
    height: 100%;
    min-height: 360px;
}
.contact-campus-map-frame {
    position: relative;
    height: 100%;
    min-height: 360px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(27, 94, 32, 0.12);
    box-shadow: 0 12px 32px rgba(27, 94, 32, 0.1);
    background: #fff;
}
.contact-campus-map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: none;
}
.contact-campus-map-overlay {
    display: none;
}
.contact-campus-map-pin {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    pointer-events: none;
    z-index: 2;
}
.contact-campus-map-pin-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(27, 94, 32, 0.2);
}
.contact-campus-map-pin-icon i {
    transform: rotate(45deg);
    font-size: 1.1rem;
}
.contact-campus-map-pin-label {
    padding: 0.55rem 0.85rem;
    background: #fff;
    border: 1px solid rgba(27, 94, 32, 0.12);
    border-radius: 10px;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(27, 94, 32, 0.12);
}
.contact-campus-map-pin-label strong {
    display: block;
    font-size: 0.82rem;
    color: var(--primary-dark);
}
.contact-campus-map-pin-label span {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
}
.contact-campus-map-placeholder {
    height: 100%;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    text-align: center;
    border-radius: 18px;
    background: #fff;
    border: 1px dashed rgba(27, 94, 32, 0.2);
    color: #64748b;
}
.contact-campus-map-placeholder i {
    font-size: 2.5rem;
    color: var(--gold-dark);
}
.contact-form-section {
    background: var(--white);
}
.contact-form-head,
.contact-faqs-head {
    margin-bottom: 2rem;
}
.contact-form-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 0.65rem;
}
.contact-form-head h2,
.contact-faqs-head h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    color: var(--primary-dark);
    margin-bottom: 0.65rem;
}
.contact-form-head p,
.contact-faqs-head p {
    color: #333333;
    max-width: 520px;
    margin: 0 auto;
}
.contact-form-card {
    background: var(--white);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(27, 94, 32, 0.08);
}
.contact-form .form-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}
.contact-form .form-control {
    border-radius: 10px;
    border-color: var(--gray-200);
    padding: 0.65rem 0.9rem;
}
.contact-form .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.2);
}
.contact-faq-accordion .accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 0.65rem;
    background: var(--white);
}
.contact-faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--primary);
    background: var(--white);
    box-shadow: none;
}
.contact-faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(27, 94, 32, 0.06);
    color: var(--primary);
}
.contact-faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}
.contact-faqs-section {
    scroll-margin-top: 4.5rem;
}
#contact-form,
#contact-faqs {
    scroll-margin-top: 4.5rem;
}
.contact-faqs-section .helpdesk-faq-section {
    margin-top: 0;
    padding-top: 0;
}
.contact-faqs-more a {
    color: var(--primary);
    font-weight: 600;
}
@media (max-width: 991.98px) {
    .contact-hero { padding-top: 3rem; padding-bottom: 4.5rem; }
    .contact-campus { padding-top: 2.5rem; }
    .contact-channel-list { margin-top: 0.5rem; }
}

/* ========== HELPDESK PAGE ========== */
.helpdesk-page {
    background: #f8f6f1;
    padding: 3rem 0 4.5rem;
}
.helpdesk-page-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}
.helpdesk-page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.65rem;
}
.helpdesk-page-head h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    color: var(--primary);
    margin-bottom: 0.65rem;
}
.helpdesk-page-head p {
    color: var(--gray-600);
    margin: 0;
}
.helpdesk-form-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(27, 94, 32, 0.08);
}
.helpdesk-form-card-head {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 1.35rem 1.5rem;
}
.helpdesk-form-card-head h2 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    margin: 0 0 0.25rem;
    color: var(--white);
}
.helpdesk-form-card-head p {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.82);
}
.helpdesk-form {
    padding: 1.5rem;
}
.helpdesk-query-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 1.35rem;
}
.helpdesk-query-fieldset legend {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.helpdesk-query-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.helpdesk-query-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-800);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    margin: 0;
}
.helpdesk-query-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.helpdesk-query-chip.is-active,
.helpdesk-query-chip:has(input:checked) {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.helpdesk-query-chip i {
    font-size: 0.95rem;
}
.helpdesk-form .form-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.88rem;
}
.helpdesk-form .form-control,
.helpdesk-form .form-select {
    border-radius: 10px;
    border-color: var(--gray-200);
}
.helpdesk-char-count {
    color: var(--gray-600);
    font-weight: 500;
}
.helpdesk-upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.25rem;
    border: 2px dashed var(--gray-200);
    border-radius: 12px;
    background: var(--gray-100);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    margin: 0;
}
.helpdesk-upload-box:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.06);
}
.helpdesk-upload-box input {
    display: none;
}
.helpdesk-upload-box i {
    font-size: 1.35rem;
    color: var(--primary);
}
.helpdesk-upload-box span {
    font-size: 0.88rem;
    color: var(--gray-600);
}
.helpdesk-upload-name {
    color: var(--primary);
    font-weight: 600;
}
.helpdesk-submit-btn {
    border-radius: 12px;
}
.helpdesk-privacy-note {
    margin: 0.85rem 0 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-600);
}
.helpdesk-privacy-note i {
    color: var(--primary);
}
.helpdesk-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.helpdesk-side-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.15rem 1.2rem;
    border: 1px solid rgba(27, 94, 32, 0.08);
    box-shadow: 0 4px 18px rgba(27, 94, 32, 0.06);
}
.helpdesk-side-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}
.helpdesk-side-card-head.compact {
    align-items: center;
    margin-bottom: 0.65rem;
}
.helpdesk-side-card-head h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}
.helpdesk-side-card-head p {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: var(--gray-600);
}
.helpdesk-side-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}
.helpdesk-side-icon.office { background: var(--primary); }
.helpdesk-side-icon.hours { background: #1565c0; }
.helpdesk-side-icon.admission { background: var(--gold-dark); color: var(--primary-dark); }
.helpdesk-side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.helpdesk-side-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0;
    font-size: 0.88rem;
    color: var(--gray-800);
    border-top: 1px solid var(--gray-200);
}
.helpdesk-side-list li:first-child { border-top: none; padding-top: 0; }
.helpdesk-side-list li span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    word-break: break-word;
}
.helpdesk-side-list li i {
    color: var(--primary);
    flex-shrink: 0;
}
.helpdesk-copy-btn {
    flex-shrink: 0;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    cursor: pointer;
}
.helpdesk-copy-btn:hover {
    background: rgba(27, 94, 32, 0.06);
}
.helpdesk-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.helpdesk-hours-list li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.25rem 0.75rem;
    align-items: center;
    padding: 0.55rem 0;
    border-top: 1px solid var(--gray-200);
    font-size: 0.86rem;
}
.helpdesk-hours-list li:first-child { border-top: none; }
.helpdesk-hours-list li > span:first-child {
    color: var(--gray-600);
}
.helpdesk-hours-list li strong {
    grid-column: 1;
    color: var(--gray-800);
    font-weight: 600;
}
.helpdesk-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.helpdesk-badge.open { background: rgba(27, 94, 32, 0.12); color: var(--primary); }
.helpdesk-badge.limited { background: rgba(212, 175, 55, 0.2); color: #8a6d12; }
.helpdesk-badge.closed { background: rgba(220, 53, 69, 0.12); color: #b02a37; }
.helpdesk-status-pill {
    margin: 0.85rem 0 0;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    background: rgba(220, 53, 69, 0.08);
    color: #b02a37;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.helpdesk-status-pill.is-open {
    background: rgba(27, 94, 32, 0.1);
    color: var(--primary);
}
.helpdesk-status-pill i {
    font-size: 0.45rem;
}
.helpdesk-wa-card {
    background: linear-gradient(135deg, #128c7e, #25d366);
    color: var(--white);
    text-align: center;
}
.helpdesk-wa-card h3,
.helpdesk-wa-card p {
    color: var(--white);
}
.helpdesk-wa-card p {
    font-size: 0.86rem;
    opacity: 0.92;
    margin-bottom: 1rem;
}
.helpdesk-wa-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.65rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.helpdesk-wa-btn {
    background: var(--white) !important;
    color: #128c7e !important;
    font-weight: 700;
    border-radius: 999px;
    border: none;
}
.helpdesk-faq-section {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(27, 94, 32, 0.1);
}
.helpdesk-faq-nav {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(27, 94, 32, 0.08);
    box-shadow: 0 4px 18px rgba(27, 94, 32, 0.06);
    position: sticky;
    top: 6rem;
}
.helpdesk-faq-nav-head {
    background: var(--primary);
    color: var(--white);
    padding: 0.9rem 1.1rem;
    font-weight: 700;
    font-size: 0.95rem;
}
.helpdesk-faq-topics {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
}
.helpdesk-faq-topic {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    text-align: left;
    color: var(--gray-800);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s ease, color 0.2s ease;
}
.helpdesk-faq-topic i {
    font-size: 1.1rem;
    color: var(--primary);
    width: 1.35rem;
    text-align: center;
}
.helpdesk-faq-topic span {
    flex: 1;
}
.helpdesk-faq-topic em {
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: var(--gray-200);
    color: var(--gray-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.helpdesk-faq-topic.is-active {
    background: rgba(27, 94, 32, 0.1);
    color: var(--primary);
}
.helpdesk-faq-topic.is-active em {
    background: var(--primary);
    color: var(--white);
}
.helpdesk-faq-panel[hidden] {
    display: none !important;
}
.helpdesk-faq-panel-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    color: var(--primary);
    margin-bottom: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.helpdesk-faq-accordion .accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 0.6rem;
    background: var(--white);
}
.helpdesk-faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--primary);
    background: var(--white);
    box-shadow: none;
    font-size: 0.95rem;
}
.helpdesk-faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(27, 94, 32, 0.06);
}
.helpdesk-faq-accordion .accordion-button:focus {
    box-shadow: none;
}
@media (max-width: 991.98px) {
    .helpdesk-faq-nav { position: static; margin-bottom: 1rem; }
    .helpdesk-page { padding-top: 2rem; }
}

/* School Timing & Uniform */
.timing-uniform-page { background: var(--white); }
.timing-uniform-block + .timing-uniform-block { margin-top: 2.5rem; }
.timing-uniform-heading {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}
.timing-uniform-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.95rem;
    border: 1px solid var(--primary);
}
.timing-uniform-table thead th {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.75rem 1rem;
    border: 1px solid var(--primary);
    vertical-align: middle;
}
.timing-uniform-table tbody th,
.timing-uniform-table tbody td {
    border: 1px solid var(--primary);
    padding: 0.65rem 1rem;
    vertical-align: middle;
    color: var(--text-dark, #212529);
}
.timing-uniform-table tbody th.timing-class-cell {
    background: var(--white);
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}
.timing-uniform-table tbody td.timing-season-cell {
    font-weight: 600;
    white-space: nowrap;
}
.timing-uniform-table tbody tr:nth-child(even) td:not(.timing-season-cell),
.timing-uniform-table tbody tr:nth-child(even) th.timing-class-cell {
    background: rgba(27, 94, 32, 0.04);
}
.timing-uniform-notes {
    margin-top: 2.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: 4px;
}
.timing-uniform-notes-title {
    font-weight: 700;
    margin-bottom: 0.35rem;
}
.timing-uniform-notes ul {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
}
.timing-uniform-notes li { margin-bottom: 0.25rem; }
.timing-uniform-notes p:last-child { margin-bottom: 0; }

@media (max-width: 767.98px) {
    .timing-uniform-table { font-size: 0.85rem; }
    .timing-uniform-table thead th,
    .timing-uniform-table tbody th,
    .timing-uniform-table tbody td { padding: 0.5rem 0.65rem; }
    .timing-uniform-table tbody th.timing-class-cell { white-space: normal; }
}

/* Fee Structure */
.fee-structure-page {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #0d3d10 0%, var(--primary) 52%, #1b6e24 100%);
    color: rgba(255, 255, 255, 0.92);
    padding: 2.25rem 0;
}
.fee-structure-page-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 45% at 12% 18%, rgba(255, 255, 255, 0.08), transparent 58%),
        radial-gradient(ellipse 48% 42% at 88% 82%, rgba(212, 175, 55, 0.1), transparent 55%),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: auto, auto, 42px 42px, 42px 42px;
    mask-image: radial-gradient(ellipse 90% 85% at 50% 40%, black, transparent);
}
.fee-structure-container {
    position: relative;
    z-index: 1;
    max-width: 100%;
}
.fee-structure-heading {
    color: #fff;
}
.fee-structure-lead {
    max-width: 720px;
    margin: 0 0 1.35rem;
    text-align: left;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
}
.fee-structure-empty {
    color: rgba(255, 255, 255, 0.72) !important;
}
.fee-structure-card {
    background: linear-gradient(145deg, rgba(7, 26, 16, 0.72) 0%, rgba(13, 61, 16, 0.55) 100%);
    color: var(--white);
    border-radius: 12px;
    padding: 1.1rem 1.2rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.fee-structure-card:hover {
    border-color: rgba(212, 175, 55, 0.38);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
    transform: translateY(-2px);
}
.fee-structure-card-title {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.85rem;
    color: var(--gold-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.65rem;
}
.fee-structure-card-body {
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}
.fee-structure-plan {
    margin-bottom: 0.75rem;
}
.fee-structure-plan strong {
    display: block;
    margin-bottom: 0.15rem;
    color: #fff;
    font-size: 0.84rem;
}
.fee-structure-plan ul {
    margin: 0.3rem 0 0 1rem;
    padding: 0;
}
.fee-structure-plan li {
    margin-bottom: 0.15rem;
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 767.98px) {
    .fee-structure-page {
        padding: 1.75rem 0;
    }
    .fee-structure-card {
        padding: 0.95rem 1rem 1rem;
    }
    .fee-structure-card-title {
        font-size: 0.95rem;
    }
    .fee-structure-card-body {
        font-size: 0.82rem;
    }
}

/* Admission Procedure */
.admission-procedure-page {
    background: #f3f0f8;
}
.admission-procedure-heading {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
}
.admission-procedure-step {
    text-align: center;
    padding: 0.5rem 0.75rem;
}
.admission-procedure-step-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2.75rem;
    line-height: 1;
}
.admission-procedure-step-label {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
}
.admission-procedure-step-text {
    color: var(--text-dark, #212529);
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}
.admission-procedure-divider {
    border: 0;
    border-top: 2px solid var(--primary);
    opacity: 1;
    margin: 2.5rem auto;
    max-width: 100%;
}
.admission-procedure-policy {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}
.admission-procedure-policy-text {
    color: var(--text-dark, #212529);
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 767.98px) {
    .admission-procedure-heading { font-size: 1.45rem; margin-bottom: 1.5rem; }
    .admission-procedure-step-icon { width: 60px; height: 60px; font-size: 2.25rem; }
    .admission-procedure-step-text { font-size: 0.92rem; }
    .admission-procedure-divider { margin: 2rem auto; }
}

/* Documents Required */
.docs-required-page {
    background: #f4f8f5;
    padding: 2.25rem 0;
}
.docs-required-container {
    max-width: 100%;
}
.docs-required-layout {
    display: grid;
    grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
    gap: 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 12px 36px rgba(13, 61, 16, 0.08);
    border: 1px solid rgba(27, 94, 32, 0.1);
}
.docs-required-sidebar {
    background: linear-gradient(165deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
    color: var(--white);
    padding: 1.35rem 1.15rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.docs-required-sidebar-top {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 0.75rem;
}
.docs-required-sidebar-intro {
    min-width: 0;
    flex: 1;
}
.docs-required-sidebar-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    margin-bottom: 0.45rem;
}
.docs-required-sidebar-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.docs-required-sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--white);
}
.docs-required-sidebar-lead {
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.85rem;
}
.docs-required-sidebar-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--white);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    width: 100%;
    transition: gap 0.2s ease, color 0.2s ease;
}
.docs-required-sidebar-link:hover {
    color: var(--gold);
    gap: 0.55rem;
}
.docs-required-content {
    padding: 1.25rem 1.35rem 1.15rem;
    background: var(--white);
}
.docs-required-section + .docs-required-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(27, 94, 32, 0.08);
}
.docs-required-section-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}
.docs-required-section-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(27, 94, 32, 0.08);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.docs-required-section-title {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.docs-required-grid {
    --bs-gutter-x: 0.65rem;
    --bs-gutter-y: 0.65rem;
}
.docs-required-card {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    height: 100%;
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(27, 94, 32, 0.1);
    background: #fafcfb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.docs-required-card:hover {
    border-color: rgba(27, 94, 32, 0.22);
    box-shadow: 0 6px 16px rgba(13, 61, 16, 0.06);
}
.docs-required-card-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(27, 94, 32, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}
.docs-required-card-body {
    min-width: 0;
    flex: 1;
}
.docs-required-card-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 0.15rem;
    line-height: 1.3;
}
.docs-required-card-detail {
    font-size: 0.78rem;
    line-height: 1.45;
    color: #5b6670;
}
.docs-required-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 1rem;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    background: rgba(27, 94, 32, 0.06);
    border: 1px solid rgba(27, 94, 32, 0.1);
    color: var(--primary-dark);
    font-size: 0.8rem;
    line-height: 1.45;
}
.docs-required-note i {
    font-size: 1rem;
    color: var(--primary);
    margin-top: 0.05rem;
}

@media (min-width: 1400px) {
    .docs-required-layout {
        grid-template-columns: minmax(240px, 270px) minmax(0, 1fr);
    }
    .docs-required-content {
        padding: 1.35rem 1.65rem 1.25rem;
    }
}

@media (max-width: 991.98px) {
    .docs-required-page {
        padding: 1.75rem 0;
    }
    .docs-required-layout {
        grid-template-columns: 1fr;
    }
    .docs-required-sidebar {
        padding: 1.15rem 1.25rem;
    }
    .docs-required-sidebar-lead {
        margin-bottom: 0.65rem;
    }
    .docs-required-sidebar-link {
        margin-top: 0;
        padding-top: 0.65rem;
    }
    .docs-required-content {
        padding: 1.1rem 1.15rem 1rem;
    }
}

@media (max-width: 767.98px) {
    .docs-required-sidebar-title {
        font-size: 1.1rem;
    }
    .docs-required-card {
        padding: 0.65rem 0.7rem;
    }
}

/* Admissions — white & green page theme */
.admissions-page {
    position: relative;
    background: #f7f4ee;
    color: #111111;
    overflow: hidden;
}
.admissions-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 8% 12%, rgba(27, 94, 32, 0.06), transparent 55%),
        radial-gradient(ellipse 50% 40% at 92% 88%, rgba(212, 175, 55, 0.08), transparent 50%);
    pointer-events: none;
}
.admissions-page > .admissions-section {
    position: relative;
    z-index: 1;
}
.admissions-page > .admissions-section + .admissions-section {
    border-top: 1px solid #ebe4d6;
}
.admissions-page .section-heading {
    color: var(--primary-dark);
}
.admissions-page .admission-procedure-page {
    background: #fff;
}
.admissions-page .docs-required-page {
    background: #f4f8f5;
}
.admissions-page .fee-structure-page {
    background: linear-gradient(165deg, #0d3d10 0%, var(--primary) 52%, #1b6e24 100%);
}
.admissions-page .fee-structure-page .section-heading,
.admissions-page .fee-structure-page .fee-structure-heading {
    color: #fff;
}
.admissions-page .timing-uniform-page {
    background: #f4f8f5;
}
.admissions-page #apply-online {
    background: #fff;
}
.admissions-page .admission-procedure-heading {
    color: var(--primary-dark);
}
.admissions-page .admission-procedure-step {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.35rem 1rem;
    box-shadow: 0 4px 18px rgba(27, 94, 32, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.admissions-page .admission-procedure-step:hover {
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 8px 24px rgba(27, 94, 32, 0.08);
}
.admissions-page .admission-procedure-step-icon {
    color: var(--primary);
}
.admissions-page .admission-procedure-step-label {
    color: var(--primary);
}
.admissions-page .admission-procedure-step-text,
.admissions-page .admission-procedure-policy-text {
    color: #4b5563;
}
.admissions-page .admission-procedure-divider {
    border-top-color: rgba(27, 94, 32, 0.18);
}
.admissions-page .docs-required-layout {
    background: #fff;
    border-color: rgba(27, 94, 32, 0.1);
    box-shadow: 0 14px 36px rgba(27, 94, 32, 0.08);
}
.admissions-page .docs-required-sidebar {
    background: linear-gradient(165deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
}
.admissions-page .docs-required-content {
    background: #fff;
}
.admissions-page .docs-required-section + .docs-required-section {
    border-top-color: rgba(27, 94, 32, 0.08);
}
.admissions-page .docs-required-section-title {
    color: var(--primary-dark);
}
.admissions-page .docs-required-section-num {
    background: rgba(27, 94, 32, 0.08);
    color: var(--primary);
}
.admissions-page .docs-required-card {
    background: #fafcfb;
    border: 1px solid rgba(27, 94, 32, 0.1);
}
.admissions-page .docs-required-card:hover {
    background: #fff;
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 6px 18px rgba(27, 94, 32, 0.08);
}
.admissions-page .docs-required-card-icon {
    background: rgba(27, 94, 32, 0.08);
    color: var(--primary);
}
.admissions-page .docs-required-card-title {
    color: var(--primary-dark);
}
.admissions-page .docs-required-card-detail {
    color: #6b7280;
}
.admissions-page .docs-required-note {
    background: rgba(27, 94, 32, 0.06);
    border: 1px solid rgba(27, 94, 32, 0.12);
    color: #374151;
}
.admissions-page .docs-required-note i {
    color: var(--primary);
}
.admissions-page .timing-uniform-heading {
    color: var(--primary-dark);
}
.admissions-page .admission-form-shell {
    margin-top: 0;
}

/* Admissions hero — full green theme */
.admissions-hero {
    background: linear-gradient(165deg, #0d3d10 0%, var(--primary) 52%, #1b6e24 100%);
    color: rgba(255, 255, 255, 0.92);
    padding: 3rem 0 2.75rem;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid rgba(212, 175, 55, 0.35);
}
.admissions-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 45% at 12% 18%, rgba(255, 255, 255, 0.08), transparent 58%),
        radial-gradient(ellipse 48% 42% at 88% 82%, rgba(212, 175, 55, 0.1), transparent 55%),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: auto, auto, 42px 42px, 42px 42px;
    mask-image: radial-gradient(ellipse 90% 85% at 50% 40%, black, transparent);
}
.admissions-hero::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    pointer-events: none;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    opacity: 0.7;
}
.admissions-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
}
.admissions-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.admissions-hero-badge i {
    font-size: 0.45rem;
    color: var(--gold-light);
}
.admissions-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 4vw, 2.85rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}
.admissions-hero-gold {
    color: var(--gold-light);
}
.admissions-hero-lead {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
    line-height: 1.65;
    max-width: 640px;
    margin-bottom: 1.5rem;
}
.admissions-hero .btn-admission-apply {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary-dark);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.admissions-hero .btn-admission-apply:hover {
    color: var(--primary-dark);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}
.btn-admission-apply {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1.35rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.28);
}
.btn-admission-apply:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.38);
}
.btn-admission-apply-lg {
    padding: 0.8rem 1.65rem;
    font-size: 1rem;
}
.admission-section-apply {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 0.5rem;
}
.admission-jump-nav.is-switching .about-jump-nav-link {
    pointer-events: none;
}
.admissions-tabs-root {
    overflow: hidden;
}
.admission-jump-nav {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 18px rgba(27, 94, 32, 0.06);
}
.admission-jump-nav .about-jump-nav-link {
    color: var(--primary-dark);
}
.admission-jump-nav .about-jump-nav-link i {
    color: var(--gold-dark);
}
.admissions-page .admission-procedure-heading,
.admissions-page .section-heading,
.admissions-page .docs-required-sidebar-title,
.admissions-page .timing-uniform-heading {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

/* Vision & Mission — light section (contrast with dark Our Story above) */
.vm-philosophy {
    position: relative;
    background: #f7f4ee;
    color: #111111;
    padding: 4rem 0 4.5rem;
    overflow: hidden;
    border-top: 1px solid #e5e7eb;
}
.vm-philosophy-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 10% 15%, rgba(27, 94, 32, 0.06), transparent 55%),
        radial-gradient(ellipse 50% 40% at 90% 85%, rgba(212, 175, 55, 0.1), transparent 50%),
        linear-gradient(180deg, #faf8f3 0%, #f7f4ee 100%);
    pointer-events: none;
}
.vm-philosophy-inner {
    position: relative;
    z-index: 1;
}
.vm-philosophy-header {
    margin-bottom: 2.75rem;
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.vm-philosophy-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-dark);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.45);
    margin-bottom: 1.15rem;
    box-shadow: 0 2px 10px rgba(27, 94, 32, 0.06);
}
.vm-philosophy-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--primary-dark);
    margin: 0;
}
.vm-philosophy-script {
    font-style: italic;
    color: var(--gold-dark);
}
.vm-pillar {
    position: relative;
    padding: 2rem 1.5rem 1.75rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(27, 94, 32, 0.06);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.vm-pillar:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 8px 28px rgba(27, 94, 32, 0.1);
    transform: translateY(-3px);
}
.vm-pillar-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}
.vm-pillar-gold .vm-pillar-accent { background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light)); }
.vm-pillar-green .vm-pillar-accent { background: linear-gradient(90deg, #1b5e20, #4ade80, #1b5e20); }
.vm-pillar-blue .vm-pillar-accent { background: linear-gradient(90deg, #1565c0, #7dd3fc, #1565c0); }
.vm-pillar-num {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1;
    color: rgba(27, 94, 32, 0.07);
    pointer-events: none;
    user-select: none;
}
.vm-pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #f3efe6;
    border: 1px solid #ebe4d6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1rem;
    line-height: 1;
}
.vm-pillar-gold .vm-pillar-icon { color: var(--gold-dark); }
.vm-pillar-green .vm-pillar-icon { color: var(--primary); }
.vm-pillar-blue .vm-pillar-icon { color: #1565c0; }
.vm-pillar-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.vm-pillar-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #111111;
    position: relative;
    z-index: 1;
}
.vm-pillar-values {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}
.vm-pillar-values li {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #333333;
    padding: 0.35rem 0 0.35rem 1.15rem;
    position: relative;
}
.vm-pillar-values li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-dark);
}
.vm-pillar-green .vm-pillar-values li::before { background: var(--primary); }
.vm-pillar-blue .vm-pillar-values li::before { background: #1565c0; }

@media (max-width: 991.98px) {
    .vm-philosophy { padding: 3rem 0 3.5rem; }
    .vm-philosophy-header { margin-bottom: 2rem; }
}

@media (max-width: 767.98px) {
    .vm-pillar { padding: 1.5rem 1.25rem 1.35rem; }
    .vm-pillar-title { font-size: 1.2rem; }
    .vm-pillar-text,
    .vm-pillar-values li { font-size: 0.9rem; }
}

.about-jump-nav {
    position: sticky;
    top: 0;
    z-index: 102;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 18px rgba(27, 94, 32, 0.06);
}
.about-jump-nav-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--gold) 50%, var(--primary-dark) 100%);
}
.about-jump-nav-shell {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    min-height: 3.25rem;
}
.about-jump-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.75rem 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--primary-dark);
    white-space: nowrap;
    flex-shrink: 0;
    border-right: 1px solid #ebe4d6;
    padding-right: 1.15rem;
}
.about-jump-nav-brand i {
    color: var(--gold-dark);
    font-size: 0.95rem;
}
.about-jump-nav-inner {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    gap: 0.15rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.about-jump-nav-inner::-webkit-scrollbar {
    display: none;
}
.about-jump-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 0.85rem 1rem;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.about-jump-nav-link i {
    font-size: 0.9rem;
    color: var(--gold-dark);
    opacity: 1;
    transition: color 0.2s ease;
}
.about-jump-nav-link:hover {
    color: var(--primary-dark);
    background: rgba(212, 175, 55, 0.08);
}
.about-jump-nav-link:hover i {
    color: var(--gold);
}
.about-jump-nav-link.is-active {
    color: var(--primary-dark);
    border-bottom-color: var(--gold);
    font-weight: 700;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.04) 100%);
}
.about-jump-nav-link.is-active i {
    color: var(--gold-dark);
}
@media (max-width: 767.98px) {
    .about-jump-nav-shell {
        flex-direction: column;
        gap: 0;
        min-height: 0;
    }
    .about-jump-nav-brand {
        border-right: none;
        border-bottom: 1px solid #f0ebe0;
        padding: 0.55rem 0 0.5rem;
        font-size: 0.68rem;
    }
    .about-jump-nav-inner {
        padding: 0.15rem 0 0.05rem;
    }
    .about-jump-nav-link {
        font-size: 0.82rem;
        padding: 0.7rem 0.85rem;
    }
}
.about-page-section .content-area.about-cms-content {
    color: #111111;
}
.about-page-section .content-area.about-cms-content p,
.about-page-section .content-area.about-cms-content li {
    color: #111111;
}
.about-page-section .content-area.about-cms-content h2,
.about-page-section .content-area.about-cms-content h3 {
    color: var(--primary-dark);
}
.about-page-section .content-area.about-cms-content h2:first-child {
    display: none;
}
.about-leadership {
    background: #f7f4ee;
}
.about-leadership-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(27, 94, 32, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.about-leadership-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 8px 28px rgba(27, 94, 32, 0.1);
}
.about-leadership-card-director::before,
.about-leadership-card-principal::before {
    content: '';
    display: block;
    height: 4px;
}
.about-leadership-card-director::before {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--gold-dark));
}
.about-leadership-card-principal::before {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--primary));
}
.about-leadership-card-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.25rem 1.35rem 0.85rem;
    border-bottom: 1px solid #ebe4d6;
}
.about-leadership-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f3efe6;
    border: 1px solid #ebe4d6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--primary);
    flex-shrink: 0;
}
.about-leadership-card-principal .about-leadership-icon {
    color: var(--gold-dark);
}
.about-leadership-title {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 700;
    color: #111111;
    margin: 0;
    line-height: 1.3;
}
.about-leadership-body {
    flex: 1 1 auto;
    padding: 1.15rem 1.35rem 1.35rem;
}
.about-leadership-body h2:first-child {
    display: none;
}
.about-team-subtitle {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.15rem;
    margin: 0 0 1rem;
}
.about-team-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 1rem 0.85rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.about-team-grid {
    align-items: flex-start;
}
.about-team-grid:last-child {
    margin-bottom: 0 !important;
}
@media (min-width: 768px) {
    .about-team-card {
        height: 100%;
    }
}
@media (max-width: 767.98px) {
    .about-team-card {
        padding: 0.85rem 0.75rem 0.7rem;
    }
    .about-page-single #school-team.section-padding {
        padding-bottom: 1.25rem;
    }
    .about-team-subtitle {
        margin-bottom: 0.75rem;
    }
}
.about-team-avatar {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.65rem;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 700;
}
.about-team-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}
.about-team-role {
    color: var(--gold-dark, #b8860b);
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 0.15rem;
}
.about-team-qual {
    color: var(--gray-600);
    font-size: 0.78rem;
    margin-bottom: 0;
}

/* Page loader */
body.page-loading { overflow: hidden; }
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(155deg, #071a10 0%, #0d3d10 50%, #0a2818 100%);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}
.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.page-loader-inner {
    text-align: center;
    padding: 1.5rem;
    max-width: 320px;
}
.page-loader-ring {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-loader-ring::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--gold);
    border-right-color: var(--gold-light);
    animation: pageLoaderSpin 0.9s linear infinite;
}
.page-loader-logo {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1.65rem;
    animation: pageLoaderPulse 1.6s ease-in-out infinite;
}
.page-loader-logo.has-image {
    background: transparent;
    border: none;
    animation: none;
}
.page-loader-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}
.page-loader-school {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.35rem;
    line-height: 1.35;
}
.page-loader-text {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 1.1rem;
}
.page-loader-bar {
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}
.page-loader-bar span {
    display: block;
    height: 100%;
    width: 40%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    animation: pageLoaderBar 1.2s ease-in-out infinite;
}
@keyframes pageLoaderSpin {
    to { transform: rotate(360deg); }
}
@keyframes pageLoaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.88; }
}
@keyframes pageLoaderBar {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(320%); }
}

@media (prefers-reduced-motion: reduce) {
    .page-loader-ring::before,
    .page-loader-logo,
    .page-loader-bar span {
        animation: none;
    }
    .page-loader-bar span { width: 100%; }
}

/* —— LOC Registration (private CBSE Class 9 & 11) —— */
.loc-register-body {
    background: #eef4ef;
    min-height: 100vh;
}
.loc-register-topbar {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
    color: #fff;
    padding: 0.75rem 0;
    box-shadow: 0 2px 12px rgba(27, 94, 32, 0.25);
}
.loc-register-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    font-size: 1.05rem;
}
.loc-register-brand i {
    font-size: 1.35rem;
}
.loc-register-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}
.loc-register-page {
    max-width: 1400px;
    margin: 0 auto;
}
.loc-register-title {
    color: #1b5e20;
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}
.loc-instructions-card {
    background: #fff;
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 18px rgba(27, 94, 32, 0.08);
    margin-bottom: 1.25rem;
}
.loc-instructions-title {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 0.85rem;
}
.loc-instructions-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #37474f;
    font-size: 0.82rem;
    line-height: 1.55;
    text-transform: uppercase;
}
.loc-instructions-list li + li {
    margin-top: 0.35rem;
}
.loc-form-card {
    background: #fff;
    border: 1px solid #dceadf;
    border-radius: 10px;
    padding: 1rem 1.15rem;
    box-shadow: 0 2px 10px rgba(27, 94, 32, 0.05);
}
.loc-register-form .form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #37474f;
    margin-bottom: 0.25rem;
}
.loc-register-form .form-control,
.loc-register-form .form-select {
    border-color: #c5d9c8;
    font-size: 0.88rem;
    padding: 0.4rem 0.65rem;
    border-radius: 6px;
}
.loc-register-form .form-control:focus,
.loc-register-form .form-select:focus {
    border-color: #43a047;
    box-shadow: 0 0 0 0.15rem rgba(67, 160, 71, 0.2);
}
.loc-subjects-box {
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 0.75rem 0.85rem;
    background: #f1f8f2;
}
.loc-section-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 0.75rem;
}
.loc-section-heading-upper {
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}
.loc-whatsapp-note {
    color: #c62828;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.45;
}
.loc-upload-field {
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 0.65rem 0.75rem 0.75rem;
    background: #fafdfa;
    min-height: 100%;
}
.loc-upload-field legend {
    float: none;
    width: auto;
    font-size: 0.72rem;
    font-weight: 600;
    color: #2e7d32;
    padding: 0 0.35rem;
    margin-bottom: 0.35rem;
    text-transform: none;
}
.btn-loc-submit {
    background: linear-gradient(135deg, #1b5e20, #388e3c);
    color: #fff;
    border: none;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.65rem 2.5rem;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(27, 94, 32, 0.35);
}
.btn-loc-submit:hover,
.btn-loc-submit:focus {
    background: linear-gradient(135deg, #145214, #2e7d32);
    color: #fff;
}
.btn-loc-submit:disabled {
    opacity: 0.7;
}

