/* Base Styles - Solid Background at the Top */
.transparent-site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
    background-color: #000000 !important; /* Solid Black at the top */
    transition: all 0.4s ease-in-out;
    padding: 20px 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    box-shadow: 0 2px 15px rgba(0,0,0,0.5) !important; /* Shadow at the top */
}

/* Semi-Transparent Header on Scroll */
.transparent-site-header.scrolled {
    background-color: rgba(0, 0, 0, 0.75) !important; /* 75% Transparent when scrolling */
    padding: 12px 0;
    box-shadow: none !important;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 15px !important;
}

.header-logo img {
    height: 45px !important;
    width: auto !important;
    display: block !important;
    transition: height 0.3s ease;
}

.transparent-site-header.scrolled .header-logo img {
    height: 40px !important;
}

.header-nav {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

/* Desktop Menu: One Line */
.nav-menu-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
}

.nav-link {
    color: #ffffff !important; /* White text on transparent background */
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-transform: capitalize !important;
    white-space: nowrap !important;
    transition: color 0.3s ease;
}

/* Keep text white even when scrolled */
.transparent-site-header.scrolled .nav-link {
    color: #ffffff !important;
}

.nav-link:hover {
    color: #ff0000 !important;
}

#open-amu-checker {
    color: #add8e6 !important; /* Light Blue */
    transition: color 0.3s ease;
}

#open-amu-checker:hover, #open-amu-checker:active {
    color: #ff0000 !important; /* Red */
}

/* Courses Button */
.nav-button {
    background-color: #ff0000 !important;
    color: #ffffff !important;
    padding: 10px 25px !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    display: inline-block !important;
    text-align: center !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Mobile Specific: Two Column Layout */
@media (max-width: 767px) {
    .transparent-site-header {
        padding: 10px 0;
    }
    
    /* On mobile, if not scrolled, we might still want a slight background for visibility 
       but the user asked for transparent. Let's keep it transparent but ensure text is visible. */
    
    .header-logo img {
        height: 35px !important;
    }

    .header-nav {
        gap: 10px !important;
    }

    .nav-menu-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* Two columns */
        gap: 2px 15px !important;
    }

    .nav-link {
        font-size: 11px !important;
        /* On mobile, if background is white, we need dark text. 
           If background is transparent, we need white text. 
           Assuming the hero section is dark, white text works. */
    }

    .nav-button {
        padding: 8px 16px !important;
        font-size: 13px !important;
    }
}

/* If the mobile site background is white, we need to force dark text even when not scrolled */
/* @media (max-width: 767px) {
    .nav-link { color: #000000 !important; }
} */
