<style>
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Poppins', sans-serif;
    }

    :root {
        --cream: #f2f099;
        --cream-dark: #F5EBE0;
        --blue: #D4E5F7;
        --blue-dark: #A8CCE8;
        --blue-accent: #5B9BD5;
        --red: #FADBD8;
        --red-dark: #F1948A;
        --red-accent: #E74C3C;
        --text-dark: #2C3E50;
        --text-light: #5D6D7E;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        background: var(--cream);
        color: var(--text-dark);
        overflow-x: hidden;
    }

    /* ===== PRELOADER ===== */
    .preloader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--cream) 0%, var(--blue) 50%, var(--red) 100%);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 99999;
        transition: all 1s ease;
    }

    .preloader.hide {
        opacity: 0;
        visibility: hidden;
    }

    .loader-box {
        text-align: center;
    }

    .loader-circle {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        border: 4px solid var(--cream-dark);
        border-top-color: var(--blue-accent);
        border-right-color: var(--red-accent);
        animation: spin 1s linear infinite;
        margin: 0 auto 30px;
        position: relative;
    }

    .loader-circle::after {
        content: '🎓';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 40px;
        animation: pulse 1s ease-in-out infinite;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    @keyframes pulse {
        0%, 100% { transform: translate(-50%, -50%) scale(1); }
        50% { transform: translate(-50%, -50%) scale(1.2); }
    }

    .loader-text {
        font-size: 28px;
        font-weight: 800;
        color: var(--text-dark);
        margin-bottom: 10px;
    }

    .loader-subtext {
        font-size: 14px;
        color: var(--text-light);
        animation: blink 1.5s ease-in-out infinite;
    }

    @keyframes blink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.4; }
    }

    .loader-bar {
        width: 200px;
        height: 6px;
        background: var(--cream-dark);
        border-radius: 3px;
        margin: 20px auto 0;
        overflow: hidden;
    }

    .loader-progress {
        height: 100%;
        width: 0%;
        background: linear-gradient(90deg, var(--blue-accent), var(--red-accent));
        border-radius: 3px;
        animation: loading 2s ease-in-out forwards;
    }

    @keyframes loading {
        to { width: 100%; }
    }

    /* ===== SCROLL PROGRESS ===== */
    .scroll-progress {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--cream-dark);
        z-index: 9999;
    }

    .scroll-bar {
        height: 100%;
        background: linear-gradient(90deg, var(--blue-accent), var(--red-accent));
        width: 0%;
        transition: width 0.1s;
    }

    .scroll-percent {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        background: white;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: 700;
        font-size: 14px;
        color: var(--blue-accent);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        z-index: 999;
        border: 3px solid var(--blue);
    }

    /* ===== NAVBAR ===== */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        backdrop-filter: blur(10px);
        z-index: 9998;
        padding: 0 2%;
        height: 80px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .logo-icon {
        width: 60px;
        height: 60px;
        background: white;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        border: 2px solid #f0f0f0;
    }

    /* Logo Text Container */
    .logo-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 1;
    }

    /* "The BASE" Styling */
    .logo-text h1 {
        font-family: 'Times New Roman', Times, serif;
        font-size: 24px;
        font-weight: 800;
        color: #000;
        margin: 0;
        padding: 0;
        letter-spacing: 0.5px;
        line-height: 1;
    }

    /* "BASE" Red Color */
    .logo-text h1 .highlight-red {
        color: #ed1c24;
    }

    /* Subtext Wrapper */
    .sub-text-wrapper {
        margin-top: 2px;
    }

    /* "NEO SCHOOL" Styling */
    .logo-text .sub-text {
        font-family: 'Times New Roman', Times, serif;
        font-size: 16px;
        font-weight: 900;
        background-color: #1e3a8a;
        color: #ffffff;
        padding: 2px 10px;
        border-radius: 3px;
        text-transform: uppercase;
        letter-spacing: 1px;
        display: inline-block;
        line-height: 1.2;
    }

    .nav-links {
        display: flex;
        gap: 8px;
        list-style: none;
        align-items: center;
    }

    .nav-links a {
        text-decoration: none;
        color: #2C3E50;
        font-weight: 600;
        font-size: 15px;
        transition: all 0.3s;
        position: relative;
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        border-radius: 5px;
    }

    .nav-links a:hover {
        background-color: #f8f9fa;
        color: #1e3a8a;
    }

    .nav-links a i {
        font-size: 16px;
    }

    .nav-btn {
        background: #1e3a8a;
        color: white;
        padding: 10px 28px;
        border-radius: 25px;
        text-decoration: none;
        font-weight: 600;
        font-size: 15px;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
    }

    .nav-btn:hover {
        background: #2563eb;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
    }

    .menu-toggle {
        display: none;
        font-size: 28px;
        cursor: pointer;
        color: var(--text-dark);
    }

    /* ===== DROPDOWN MENU STYLES ===== */
    .nav-links a, .dropbtn {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        font-size: 15px;
        font-weight: 600;
        color: #2C3E50;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
        border-radius: 5px;
    }

    .nav-links a:hover, .dropdown:hover .dropbtn {
        background-color: #f8f9fa;
        color: #1e3a8a;
    }

    .arrow {
        font-size: 10px;
        margin-left: 2px;
        transition: transform 0.3s;
    }

    .dropdown:hover .arrow {
        transform: rotate(180deg);
    }

    .dropdown {
        position: relative;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ffffff;
        min-width: 220px;
        box-shadow: 0px 8px 20px rgba(0,0,0,0.1);
        z-index: 99999;
        border-radius: 8px;
        padding: 8px 0;
        margin-top: 8px;
        animation: fadeIn 0.3s ease;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        color: #5D6D7E;
        padding: 10px 18px;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.2s;
    }

    .dropdown-content a:hover {
        background-color: #f8f9fa;
        color: #1e3a8a;
        padding-left: 22px;
    }

    .dropdown-content a i {
        width: 18px;
        text-align: center;
        font-size: 14px;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* ===== MOBILE MENU ===== */
    .mobile-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-120%);
        transition: transform 0.4s ease;
        z-index: 9997;
        overflow-y: auto;
        max-height: 80vh;
    }

    .mobile-menu.active {
        transform: translateY(0);
    }

    .mobile-link {
        display: block;
        padding: 15px;
        color: var(--text-dark);
        text-decoration: none;
        font-weight: 600;
        border-bottom: 1px solid #eee;
        font-size: 16px;
    }

    .mobile-dropbtn {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        background: white;
        border-bottom: 1px solid #eee;
        cursor: pointer;
        font-weight: 600;
        color: var(--text-dark);
        font-size: 16px;
    }

    .mobile-dropdown-content {
        display: none;
        background-color: #f9f9f9;
        padding-left: 20px;
    }

    .mobile-dropdown-content a {
        display: block;
        padding: 12px;
        text-decoration: none;
        color: #555;
        font-size: 14px;
        border-bottom: 1px solid #e0e0e0;
    }

    .mobile-dropdown-content a i {
        margin-right: 10px;
        color: #ff4757;
    }

    .mobile-arrow {
        transition: transform 0.3s ease;
    }

    .mobile-dropbtn.active .mobile-arrow {
        transform: rotate(180deg);
    }

    .mobile-dropbtn.active {
        background-color: #fff0f1;
        color: #ff4757;
    }

    /* ===== MARQUEE STRIP ===== */
    .marquee-container {
        width: 100%;
        background: #f2b072;
        overflow: hidden;
        padding: 20px 0;
        position: relative;
        display: flex;
        align-items: center;
    }

    .marquee-track {
        display: flex;
        width: max-content;
        animation: scroll-text 15s linear infinite; 
    }

    .marquee-track.paused {
        animation-play-state: paused;
    }

    .marquee-content {
        display: flex;
        flex-shrink: 0;
    }

    .marquee-item {
        color: black;
        font-size: 22px;
        font-weight: 700;
        margin-right: 80px;
        display: flex;
        align-items: center;
        gap: 15px;
        letter-spacing: 1px;
    }

    .marquee-btn {
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        background: white;
        color: #4B3621;
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 18px;
        transition: all 0.3s ease;
    }

    .marquee-btn:hover {
        transform: translateY(-50%) scale(1.1);
    }

    @keyframes scroll-text {
        from { transform: translateX(0); }
        to { transform: translateX(-50%); }
    }

    /* ===== SECTION STYLES ===== */
    section {
        padding: 80px 5%;
    }

    .section-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .section-tag {
        display: inline-block;
        background: var(--blue);
        color: var(--blue-accent);
        padding: 8px 20px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .section-title {
        font-size: clamp(28px, 4vw, 42px);
        font-weight: 800;
        color: var(--text-dark);
        margin-bottom: 15px;
    }

    .section-desc {
        font-size: 16px;
        color: var(--text-light);
        max-width: 600px;
        margin: 0 auto;
    }

    /* ===== SCROLL ANIMATIONS ===== */
    .animate {
        opacity: 0;
        transform: translateY(40px);
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .animate.show {
        opacity: 1;
        transform: translateY(0);
    }

    .animate-left {
        opacity: 0;
        transform: translateX(-60px);
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .animate-left.show {
        opacity: 1;
        transform: translateX(0);
    }

    .animate-right {
        opacity: 0;
        transform: translateX(60px);
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .animate-right.show {
        opacity: 1;
        transform: translateX(0);
    }

    .animate-scale {
        opacity: 0;
        transform: scale(0.8);
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .animate-scale.show {
        opacity: 1;
        transform: scale(1);
    }

    .delay-1 { transition-delay: 0.1s; }
    .delay-2 { transition-delay: 0.2s; }
    .delay-3 { transition-delay: 0.3s; }
    .delay-4 { transition-delay: 0.4s; }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 1024px) {
        .hero-container {
            grid-template-columns: 1fr;
            text-align: center;
        }

        .hero-content {
            order: 2;
        }

        .hero-image {
            order: 1;
        }

        .hero-btns {
            justify-content: center;
        }

        .hero-slider {
            height: 350px;
        }

        .hero-stats {
            position: relative;
            bottom: 0;
            margin-top: 30px;
        }

        .about-grid {
            grid-template-columns: 1fr;
        }

        .jep-container {
            grid-template-columns: 1fr;
        }

        .reels-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .contact-container {
            grid-template-columns: 1fr;
        }

        .footer-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
        .nav-links, .nav-btn {
            display: none;
        }

        .menu-toggle {
            display: block;
        }

        section {
            padding: 60px 5%;
        }

        .hero {
            padding: 100px 5% 40px;
        }

        .hero-slider {
            height: 300px;
        }

        .hero-stats {
            flex-direction: column;
            gap: 15px;
        }

        .stat-item {
            border: none;
            padding: 10px 0;
            border-bottom: 1px solid var(--cream-dark);
        }

        .stat-item:last-child {
            border: none;
        }

        .reels-grid {
            grid-template-columns: 1fr;
        }

        .reel-thumb {
            height: 350px;
        }

        .footer-grid {
            grid-template-columns: 1fr;
            text-align: center;
        }

        .scroll-percent {
            width: 50px;
            height: 50px;
            font-size: 12px;
            bottom: 20px;
            right: 20px;
        }

        .marquee-item {
            font-size: 16px;
            margin-right: 40px;
        }
        
        .marquee-container {
            padding: 15px 0;
        }
        
        .marquee-track {
            animation-duration: 15s; 
        }
    }

    /* ===== SCROLLBAR ===== */
    ::-webkit-scrollbar {
        width: 10px;
    }

    ::-webkit-scrollbar-track {
        background: var(--cream);
    }

    ::-webkit-scrollbar-thumb {
        background: linear-gradient(var(--blue-accent), var(--red-accent));
        border-radius: 10px;
    }
</style>