  /* ===== RESET & GLOBAL ===== */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Poppins', sans-serif;
            background: #f8f9fa;
            color: #2c3e50;
            overflow-x: hidden;
        }

        /* ===== CSS VARIABLES FOR AUTO-HEIGHT MATCHING ===== */
        :root {
            --header-height: 170px; /* Updated for banner height */
        }

        /* ===== HEADER ===== */
        header {
            position: relative;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 15px 20px;
            height: auto;
            min-height: 100px;
            transition: all 0.4s ease;
        }

        /* ===== FULL WIDTH COLLEGE BANNER ===== */
        .top-banner{
            width:100%;
            background:transparent;
            text-align:center;
            z-index:3;
            position:relative;
            margin-bottom: 10px;
        }

        .top-banner img{
            width:100%;
            max-height:110px;
            object-fit:contain;
            display:block;
            background:transparent; /* Remove white background */
        }

        /* Standard Header for all pages EXCEPT index.php */
        header.standard-header{
            background:#ffffff;
            border-bottom:3px solid #000000;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
            position: relative; /* Changed from fixed to relative */
        }
        
        /* Remove dark overlay */
        header.standard-header::before{
            display:none;
        }
        
        /* Ensure content stays above overlay */
        header.standard-header .logo {
            position: relative;
            z-index: 3;
            margin-bottom: 15px;
        }
        
        header.standard-header nav {
            position: relative;
            z-index: 2;
        }

        /* Homepage specific: Keep it transparent over the video */
        header.transparent-header {
            background: transparent;
            position: absolute; /* Position over the image/video */
            top: 0;
            left: 0;
        }
        
        /* Homepage menu styling - gold colors */
        header.transparent-header nav a,
        header.transparent-header .logo {
            color: #ff9800;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
        }
        
        header.transparent-header .logo span {
            color: #ff9800;
        }
        
        header.transparent-header nav a:hover {
            color: #ffc107;
        }

        /* Handle bright text visibility on subpages */
        header.standard-header nav a, 
        header.standard-header .logo {
            color: #000000;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
        }

        header.scrolled {
            background: #ffffff;
            padding: 15px 60px;
            min-height: 70px;
        }

        .logo {
            color: #ffffff;
            font-size: 24px;
            font-weight: 800;
            letter-spacing: 1px;
            text-decoration: none;
        }
        
        .logo span {
            color: #000000;
        }

        nav {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 10px 0;
            margin-top: 10px;
        }
        
        /* Add divider line only for standard header (non-homepage) */
        header.standard-header nav {
            border-top: 2px solid #e0e0e0;
        }

        nav a {
            color: #000000;
            text-decoration: none;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 14px;
            position: relative;
            transition: 0.3s;
            display: flex;
            align-items: center;
        }

        nav a:hover { color: #333333; }
        .has-submenu::after { content: ' ▾'; font-size: 12px; margin-left: 4px; }

        /* ===== SUBMENU STYLES ===== */
        .submenu {
            position: absolute;
            top: calc(100% + 5px);
            left: 50%;
            transform: translateX(-50%) translateY(-10px);
            background: #ffffff;
            min-width: 250px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            border-radius: 0 0 8px 8px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            border-top: 3px solid #ff9800;
            border: 1px solid #e0e0e0;
            z-index: 99;
        }

        .has-submenu {
            position: relative;
            display: flex;
            align-items: center;
        }

        .has-submenu.active .submenu {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .submenu a {
            display: block;
            padding: 10px 18px;
            color: #000000;
            text-decoration: none;
            font-size: 14px;
            font-weight: 400;
            text-transform: none;
            border-bottom: 1px solid #e0e0e0;
            transition: all 0.3s ease;
            line-height: 1.3;
        }

        .submenu a:hover {
            background: rgba(255, 152, 0, 0.1);
            color: #ff9800;
            padding-left: 22px;
        }

        .submenu a:last-child {
            border-bottom: none;
        }
        
        /* Custom scrollbar for submenus */
        .submenu::-webkit-scrollbar {
            width: 6px;
        }
        
        .submenu::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 3px;
        }
        
        .submenu::-webkit-scrollbar-thumb {
            background: #ff9800;
            border-radius: 3px;
        }
        
        .submenu::-webkit-scrollbar-thumb:hover {
            background: #ffc107;
        }

        /* ===== NESTED SUBMENU STYLES ===== */
        .has-nested-submenu {
            position: relative;
        }

        .nested-submenu {
            position: absolute;
            top: 0;
            left: 100%;
            background: #ffffff;
            min-width: 200px;
            display: none;
            border-left: 2px solid #ff9800;
            box-shadow: 8px 0 25px rgba(0,0,0,0.15);
            border-radius: 0 8px 8px 0;
            border: 1px solid #e0e0e0;
            z-index: 100;
        }

        .has-nested-submenu.active > .nested-submenu {
            display: block;
        }

        .nested-submenu a {
            display: block;
            padding: 10px 15px;
            color: #000000;
            text-decoration: none;
            font-size: 13px;
            font-weight: 400;
            text-transform: none;
            border-bottom: 1px solid #e0e0e0;
            transition: all 0.3s ease;
            line-height: 1.3;
            white-space: nowrap;
        }

        .nested-submenu a:hover {
            background: rgba(255, 152, 0, 0.1);
            color: #ff9800;
            padding-left: 18px;
        }

        .nested-submenu a:last-child {
            border-bottom: none;
        }

        /* Right arrow icon styling */
        .has-nested-submenu a i {
            float: right;
            font-size: 10px;
            margin-top: 5px;
            color: #ff9800;
        }

        /* ===== BUTTONS ===== */
        .btn {
            padding: 10px 24px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.3s ease;
            border: none;
            text-transform: uppercase;
            font-size: 12px;
            display: inline-block;
            text-decoration: none;
        }

        .btn-admission { background: #3498db; color: #fff; padding: 5px 15px; border-radius: 4px; font-weight: 700; }
        .btn-primary { background: #3498db; color: #fff; }
        .btn-outline { border: 1px solid #fff; background: transparent; color: #fff; margin-left: 10px; }
        .btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

        /* ===== MAIN CONTENT SPACING ===== */
        .main-content {
            margin-top: 20px; /* Small margin instead of header height */
            padding: 0; /* Remove padding since about-container will handle it */
        }

        /* About container spacing for pages that use it */
        .about-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px; /* Proper spacing inside the container */
        }

        /* On the homepage, we want the video to stay at the very top (no margin) */
        .home-page-content {
            margin-top: 0;
        }

        @media (max-width: 1024px) {
            /* Remove 'display: none' so menus stay visible */
            header { 
                padding: 15px 20px; 
                flex-direction: column; /* Stacks logo above menu on small screens */
                height: auto; 
            }

            nav { 
                display: flex; 
                flex-wrap: wrap; /* Allows menu items to move to a new line if they don't fit */
                justify-content: center;
                gap: 10px;
                margin-top: 15px;
            }

            nav a {
                font-size: 13px; /* Slightly smaller text for mobile/small windows */
            }

            .logo { font-size: 20px; }

            /* Update header height for mobile */
            :root {
                --header-height: 170px; /* Mobile header height */
            }
            
        /* Main content styling for mobile */
        .main-content {
            padding-top: 20px; /* Simple padding for mobile */
        }
        
        .home-page-content {
            padding-top: 0;
        }
        
        /* Adjust about-container padding for mobile */
            .about-container {
                padding: 20px 15px;
            }
        }
    </style>