 /* Global Styles & Layout */
        body { 
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
            background: #f4f6f9; 
            margin: 0; 
            padding: 0; 
            color: #333; 
            display: flex; 
            flex-direction: column; 
            min-height: 100vh; 
            -webkit-user-select: none; /* Safari */
            -moz-user-select: none;    /* Firefox */
            -ms-user-select: none;     /* IE10+/Edge */
            user-select: none;         /* Standard */
        }
        
        .main-content { 
            flex: 1; 
            padding: 20px; 
        }

        /* Base Header Styling */
        .custom-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 30px;
            background-color: #ffffff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            font-family: 'Roboto', sans-serif;
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 3px solid #0052cc;
            flex-wrap: wrap; /* Added for mobile wrapping */
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 25px;
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        /* Specific Logo Sizing Rule */
        .header-logo img {
            width: 194px;
            height: 40px;
            object-fit: contain; 
        }

        /* Dropdown Elements */
        .dropdown-wrapper {
            position: relative;
        }

        .dropdown-btn {
            background: none;
            border: none;
            font-size: 15px;
            font-weight: 500;
            color: #47494a;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 5px 10px;
            transition: color 0.3s ease;
        }

        .dropdown-btn:hover, 
        .dropdown-btn:focus {
            color: #0052cc; 
        }

        /* The actual dropdown card */
        .dropdown-menu {
            display: none; 
            position: absolute;
            top: calc(100% + 10px);
            right: 0; 
            background-color: #ffffff;
            min-width: 140px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.15);
            border-radius: 8px;
            flex-direction: column;
            z-index: 1001;
            overflow-y: auto; 
            max-height: 400px; 
        }

        /* Specific alignment for dropdowns */
        .header-left .dropdown-menu {
            left: 0;
            right: auto;
            min-width: 250px; 
        }
        #servicesMenu { min-width: 320px; }
        #subjectsMenu { min-width: 200px; }

        /* Scrollbar styling */
        .dropdown-menu::-webkit-scrollbar { width: 6px; }
        .dropdown-menu::-webkit-scrollbar-thumb {
            background-color: #cfcfcf;
            border-radius: 4px;
        }

        /* Active class added via JS */
        .dropdown-menu.show { display: flex; }

        .dropdown-menu a {
            display: flex; 
            align-items: center;
            gap: 12px; 
            padding: 12px 20px;
            text-decoration: none;
            color: #47494a;
            font-size: 14px;
            border-bottom: 1px solid #f1f1f1;
            transition: background 0.2s, color 0.2s;
            white-space: nowrap;
        }

        .dropdown-menu a:hover {
            background-color: #eaf2ff; 
            color: #0052cc; 
        }
        .dropdown-menu a img { width: 24px; height: 24px; object-fit: contain; }
        .dropdown-menu a:last-child { border-bottom: none; }

        /* Action Button */
        .btn-assignment {
            background: linear-gradient(90deg, #0b2146, #0052cc); 
            color: #ffffff;
            padding: 10px 24px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: opacity 0.3s ease, transform 0.1s ease;
            text-align: center;
        }
        .btn-assignment:hover { opacity: 0.9; }
        .btn-assignment:active { transform: scale(0.98); }

        /* Page Loader Styling */
        .page-loader {
            display: none; 
            position: fixed;
            top: 0; left: 0;
            width: 100vw; height: 100vh;
            background: rgba(255, 255, 255, 0.95);
            z-index: 99999;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }
        .page-loader.active { display: flex; }
        .spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #0052cc; 
            border-radius: 50%;
            width: 50px; height: 50px;
            animation: spin 1s linear infinite;
            margin-bottom: 15px;
        }
        .page-loader p { font-family: 'Roboto', sans-serif; color: #47494a; font-size: 16px; font-weight: 500; margin: 0; }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 26px;
            color: #0b2146; 
            cursor: pointer;
            padding: 5px;
            line-height: 1;
        }

        /* Mobile Responsiveness */
        @media (max-width: 950px) {
            .custom-header {
                padding: 15px 20px;
            }
            .mobile-menu-btn {
                display: block; /* Show hamburger icon on mobile */
            }
            .header-right {
                display: none; /* Hide nav by default on mobile */
                width: 100%;
                flex-direction: column;
                align-items: stretch;
                gap: 10px;
                padding-top: 15px;
                border-top: 1px solid #eee;
                margin-top: 10px;
            }
            .header-right.active {
                display: flex; /* Show nav when toggled */
            }
            .dropdown-btn {
                width: 100%;
                justify-content: space-between;
                padding: 12px;
                font-size: 16px;
            }
            /* Make dropdowns push content down instead of overlapping */
            .dropdown-menu {
                position: static;
                box-shadow: none;
                border: 1px solid #eee;
                margin-top: 5px;
                width: 100%;
                max-height: none; /* allow full display inline */
            }
            #servicesMenu, #subjectsMenu {
                min-width: 100%; /* Fix width limitations on mobile */
            }
        }
        
        
            /* =========================================
       Professional Footer Styles
       ========================================= */
    .site-footer {
        background-color: #0f172a; /* Sleek dark slate/navy */
        color: #f8fafc;
        padding: 80px 24px 24px;
        margin-top: auto; 
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        border-top: 4px solid #4f46e5; /* Primary brand color accent */
    }
    
    .footer-container {
        max-width: 1280px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 48px;
        margin-bottom: 60px;
    }
    
    .footer-column h3 {
        color: #ffffff;
        font-size: 16px;
        margin-top: 0;
        margin-bottom: 24px;
        font-weight: 700;
        position: relative;
        padding-bottom: 12px;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }
    
    .footer-column h3::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 3px;
        background-color: #4f46e5; /* Primary brand color */
        border-radius: 2px;
    }
    
    .footer-column p {
        color: #94a3b8;
        font-size: 14px;
        line-height: 1.8;
        margin: 0 0 20px 0;
    }

    /* Brand Section */
    .footer-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 24px;
        font-weight: 800;
        color: #ffffff;
        text-decoration: none;
        letter-spacing: -0.025em;
    }
        .footer-brand img {
            width: 150px;
            height: 53px;
    }
    .footer-brand i {
        color: #4f46e5;
    }

    /* Lists & Links */
    .footer-links-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-links-list li {
        margin-bottom: 14px;
    }
    
    .footer-links-list a {
        color: #94a3b8;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    
    .footer-links-list a::before {
        content: '→';
        font-size: 12px;
        color: #4f46e5;
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.2s ease;
    }
    
    .footer-links-list a:hover {
        color: #ffffff;
        transform: translateX(4px);
    }
    
    .footer-links-list a:hover::before {
        opacity: 1;
        transform: translateX(0);
    }

    /* Get In Touch Specifics */
    .contact-item {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 20px;
        font-size: 14px;
        color: #94a3b8;
        line-height: 1.6;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
        background: rgba(79, 70, 229, 0.1);
        color: #818cf8;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 16px;
        transition: all 0.3s ease;
    }
    
    .contact-item:hover .contact-icon {
        background: #4f46e5;
        color: #ffffff;
    }
    
    .contact-item a {
        color: #94a3b8;
        text-decoration: none;
        transition: color 0.2s;
        font-weight: 500;
    }
    
    .contact-item a:hover {
        color: #ffffff;
    }

    /* Footer Bottom & Legal Links */
    .footer-bottom {
        max-width: 1280px;
        margin: 0 auto;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .footer-copyright p {
        margin: 0;
        color: #64748b;
        font-size: 14px;
        font-weight: 500;
    }
    
    .footer-legal {
        display: flex;
        gap: 24px;
    }
    
    .footer-legal a {
        color: #64748b;
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    
    .footer-legal a:hover {
        color: #ffffff;
    }

    /* Social Icons */
    .social-icons {
        display: flex;
        gap: 12px;
    }
    
    .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        color: #94a3b8;
        text-decoration: none;
        font-size: 16px;
        transition: all 0.3s ease;
    }
    
    .social-icons a:hover {
        background-color: #4f46e5;
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
    }

    /* Mobile Responsiveness */
    @media (max-width: 1024px) {
        .footer-container {
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }
    }
    
    @media (max-width: 768px) {
        .site-footer {
            padding: 60px 20px 24px;
        }
        .footer-container {
            grid-template-columns: 1fr;
            gap: 40px;
        }
        .footer-bottom {
            flex-direction: column;
            text-align: center;
            gap: 24px;
        }
        .footer-legal {
            justify-content: center;
            flex-wrap: wrap;
            gap: 16px;
        }
        .social-icons {
            justify-content: center;
        }
    }