 :root {
            --primary-navy: #0B1F3A;
            --secondary-navy: #123E73;
            --accent-gold: #D4A72C;
            --light-gold: #F3E4B3;
            --bg-offwhite: #F8F9FB;
            --text-charcoal: #17202A;
            --font-display: 'Cinzel', Georgia, serif;
            --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
        }
        
        

        body {
            font-family: var(--font-sans);
            color: var(--text-charcoal);
            background-color: #ffffff;
            scroll-behavior: smooth;
            overflow-x: hidden;
        }

        h1, h2, h3, .font-serif { font-family: var(--font-display); }
        .eyebrow {
            letter-spacing: 0.18em;
            font-weight: 700;
            font-size: 0.8rem;
            color: var(--accent-gold);
            text-transform: uppercase;
            display: inline-block;
        }
        .hero-heading {
            font-size: clamp(2.5rem, 5vw, 4.8rem);
            font-weight: 800;
            line-height: 1.08;
            letter-spacing: -0.02em;
        }
        .gold-divider {
            width: 50px;
            height: 3px;
            background-color: var(--accent-gold);
            display: inline-block;
        }

        /* TOP BAR */
        .top-bar {
            background-color: var(--primary-navy);
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.8rem;
            border-bottom: 1px solid rgba(212, 167, 44, 0.2);
            padding: 0.4rem 0;
        }
        .top-bar a { color: inherit; text-decoration: none; transition: color 0.2s; }
        .top-bar a:hover { color: var(--accent-gold); }

        /* NAVIGATION & DESKTOP DROPDOWNS */
        .navbar-custom {
            padding: 1rem 0;
            transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
            background: rgba(11, 31, 58, 0.95);
            backdrop-filter: blur(12px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }
        .navbar-custom.scrolled {
            background: rgba(11, 31, 58, 0.98);
            padding: 0.6rem 0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }
        .brand-text-main {
            font-family: var(--font-display);
            font-weight: 400;
            font-size: 1.1rem;
            color: #FFFFFF;
            letter-spacing: 0.03em;
            line-height: 1.1;
            display: block;
        }
        .brand-text-sub {
            font-size: 0.55rem;
            color: var(--accent-gold);
            letter-spacing: 0.18em;
            text-transform: uppercase;
            display: block;
        }
        .navbar-custom .nav-link {
            color: rgba(255, 255, 255, 0.88);
            font-weight: 500;
            font-size: 0.85rem;
            padding: 0.5rem 0.75rem !important;
            transition: color 0.25s;
        }
        .navbar-custom .nav-link:hover,
        .navbar-custom .nav-link.active,
        .navbar-custom .dropdown-toggle:hover {
            color: var(--accent-gold);
        }
        .dropdown-menu {
            background-color: var(--primary-navy);
            border: 1px solid rgba(212, 167, 44, 0.2);
            border-radius: 6px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            padding: 0.5rem 0;
        }
        .dropdown-item {
            color: rgba(255, 255, 255, 0.85);
            font-size: 0.85rem;
            padding: 0.5rem 1.25rem;
            transition: all 0.2s;
        }
        .dropdown-item:hover {
            background-color: var(--secondary-navy);
            color: var(--accent-gold);
        }

        /* CUSTOM RIGHT-SIDE MOBILE DRAWER STYLING */
        .mobile-sidebar-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            z-index: 1040;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        .mobile-sidebar-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .mobile-sidebar {
            position: fixed;
            top: 0;
            right: -320px;
            width: 300px;
            height: 100%;
            background-color: var(--primary-navy);
            color: #ffffff;
            z-index: 1050;
            box-shadow: -10px 0 30px rgba(0,0,0,0.4);
            transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex;
            flex-direction: column;
        }
        .mobile-sidebar.show {
            right: 0;
        }
        .mobile-sidebar-header {
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid rgba(212, 167, 44, 0.2);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .mobile-sidebar-body {
            padding: 1.5rem;
            overflow-y: auto;
            flex-grow: 1;
        }
        .mobile-nav-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            padding: 0.75rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            transition: color 0.2s;
        }
        .mobile-nav-link:hover {
            color: var(--accent-gold);
        }
        .mobile-submenu {
            list-style: none;
            padding-left: 1rem;
            margin: 0.25rem 0 0.75rem 0;
            display: none;
            border-left: 2px solid var(--accent-gold);
        }
        .mobile-submenu.open {
            display: block;
        }
        .mobile-submenu li a {
            display: block;
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 0.85rem;
            padding: 0.4rem 0;
            transition: color 0.2s;
        }
        .mobile-submenu li a:hover {
            color: var(--accent-gold);
        }

        /* BUTTONS */
        .btn-gold {
            background-color: var(--accent-gold);
            color: var(--primary-navy);
            font-weight: 700;
            font-size: 0.8rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            padding: 0.75rem 1.5rem;
            border-radius: 4px;
            border: 1px solid var(--accent-gold);
            transition: all 0.3s ease;
        }
        .btn-gold:hover {
            background-color: #c09423;
            border-color: #c09423;
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(212, 167, 44, 0.3);
        }
        .btn-whatsapp {
            background-color: #25D366;
            color: #ffffff;
            font-weight: 700;
            font-size: 0.8rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            padding: 0.75rem 1.5rem;
            border-radius: 4px;
            border: 1px solid #25D366;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        .btn-whatsapp:hover {
            background-color: #1EBE5D;
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
        }
        .btn-outline-gold {
            background-color: transparent;
            color: #ffffff;
            font-weight: 700;
            font-size: 0.8rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            padding: 0.75rem 1.5rem;
            border-radius: 4px;
            border: 1px solid var(--accent-gold);
            transition: all 0.3s ease;
        }
        .btn-outline-gold:hover {
            background-color: var(--accent-gold);
            color: var(--primary-navy);
            transform: translateY(-2px);
        }

        /* HERO SECTION */
    .hero-section {
    min-height: 90vh;
    background: linear-gradient(180deg, rgba(11, 31, 58, 0.5) 0%, rgba(11, 31, 58, 0.75) 50%),
                url('../../assets/sliders/harmony_schools_building.PNG') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #ffffff;
    position: relative;
    padding-top: 130px;
    padding-bottom: 80px;
    transition: background-image 1s ease-in-out; /* Smooth transition */
}
        .hero-section::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0; right: 0; height: 100px;
            background: linear-gradient(to top, rgba(11, 31, 58, 1), transparent);
            pointer-events: none;
        }

        .trust-strip {
            background: var(--primary-navy);
            border-top: 1px solid rgba(212, 167, 44, 0.3);
            border-bottom: 1px solid rgba(212, 167, 44, 0.2);
            padding: 1.25rem 0;
            font-size: 0.825rem;
            letter-spacing: 0.12em;
            font-weight: 700;
            color: var(--light-gold);
        }

        /* STATS COUNTER BOXES */
        .stat-counter-box {
            background: #ffffff;
            border-bottom: 3px solid var(--accent-gold);
            border-radius: 6px;
            padding: 1.5rem 1rem;
            box-shadow: 0 10px 30px rgba(11, 31, 58, 0.06);
            transition: transform 0.3s ease;
        }
        .stat-counter-box:hover { transform: translateY(-5px); }

        /* EDITORIAL LAYERING */
        .img-layered-wrapper {
            position: relative;
            padding-bottom: 2rem;
            padding-right: 2rem;
        }
        .img-layered-main {
            border-radius: 6px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
            width: 100%;
            height: auto;
            object-fit: cover;
        }
        .img-layered-accent {
            position: absolute;
            bottom: 0; right: 0; width: 50%;
            border: 6px solid #ffffff;
            border-radius: 6px;
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }

        /* CARDS & MODULES */
        .feature-box {
            background: #ffffff;
            border: 1px solid #E2E8F0;
            border-radius: 6px;
            padding: 1.75rem;
            height: 100%;
            transition: all 0.35s ease;
            position: relative;
        }
        .feature-box::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 0%; height: 3px;
            background: var(--accent-gold);
            transition: width 0.35s ease;
        }
        .feature-box:hover {
            transform: translateY(-6px);
            box-shadow: 0 15px 35px rgba(11, 31, 58, 0.08);
            border-color: transparent;
        }
        .feature-box:hover::before { width: 100%; }
        .feature-icon-wrapper {
            width: 48px; height: 48px;
            background: rgba(11, 31, 58, 0.04);
            color: var(--secondary-navy);
            border-radius: 6px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            margin-bottom: 1rem;
            transition: all 0.3s ease;
        }
        .feature-box:hover .feature-icon-wrapper {
            background: var(--primary-navy);
            color: var(--accent-gold);
        }

        .academic-card {
            position: relative;
            border-radius: 6px;
            overflow: hidden;
            min-height: 400px;
            display: flex;
            align-items: flex-end;
            color: #ffffff;
            box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        }
        .academic-card-bg {
            position: absolute;
            inset: 0; width: 100%; height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .academic-card:hover .academic-card-bg { transform: scale(1.08); }
        .academic-card-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(11, 31, 58, 0.95) 0%, rgba(11, 31, 58, 0.4) 60%, transparent 100%);
        }
        .academic-card-body {
            position: relative;
            z-index: 2;
            padding: 2rem;
        }

        .facility-featured {
            position: relative;
            border-radius: 6px;
            overflow: hidden;
            height: 100%;
            min-height: 360px;
        }
        .facility-featured img {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform 0.5s ease;
        }
        .facility-featured:hover img { transform: scale(1.05); }
        .facility-badge {
            position: absolute;
            bottom: 20px; left: 20px; right: 20px;
            background: rgba(11, 31, 58, 0.92);
            backdrop-filter: blur(6px);
            border-left: 3px solid var(--accent-gold);
            padding: 1.1rem;
            color: #ffffff;
        }
        .facility-pill {
            background: #ffffff;
            border: 1px solid #E2E8F0;
            border-radius: 6px;
            padding: 0.85rem 1.1rem;
            display: flex;
            align-items: center;
            gap: 0.85rem;
            transition: all 0.25s ease;
        }
        .facility-pill:hover {
            border-color: var(--accent-gold);
            box-shadow: 0 6px 18px rgba(0,0,0,0.06);
            transform: translateX(4px);
        }

        .bg-navy-statement {
            background: linear-gradient(135deg, var(--primary-navy) 0%, #061224 100%);
            color: #ffffff;
            position: relative;
        }

        .gallery-filter-btn {
            background: transparent;
            border: none;
            color: #64748B;
            font-weight: 600;
            font-size: 0.85rem;
            padding: 0.4rem 1.1rem;
            border-radius: 30px;
            transition: all 0.25s;
        }
        .gallery-filter-btn.active,
        .gallery-filter-btn:hover {
            background: var(--primary-navy);
            color: var(--accent-gold);
        }
        .gallery-item {
            position: relative;
            border-radius: 6px;
            overflow: hidden;
            cursor: pointer;
            aspect-ratio: 4/3;
        }
        .gallery-item img {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform 0.5s ease;
        }
        .gallery-item:hover img { transform: scale(1.08); }
        .gallery-overlay {
            position: absolute;
            inset: 0;
            background: rgba(11, 31, 58, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            color: #ffffff;
        }
        .gallery-item:hover .gallery-overlay { opacity: 1; }

        .contact-info-panel {
            background: var(--primary-navy);
            color: #ffffff;
            border-radius: 6px;
            padding: 2.5rem 2rem;
            height: 100%;
        }

        #backToTop {
            position: fixed;
            bottom: 30px; right: 30px;
            width: 44px; height: 44px;
            background: var(--accent-gold);
            color: var(--primary-navy);
            border: none;
            border-radius: 50%;
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 999;
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
            transition: all 0.25s;
        }
        #backToTop:hover {
            background: var(--primary-navy);
            color: var(--accent-gold);
            transform: translateY(-3px);
        }

        /* ANIMATIONS */
        .fade-up-init {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .fade-up-active {
            opacity: 1;
            transform: translateY(0);
        }
        
        
        @media (max-width: 991.98px) {
    #mobileMenuToggle {
        display: inline-block !important;
        background: transparent;
        border: none;
    }
}