
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

 
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;   /* match logo height */
    background-color: #08386c;
   
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 9999;   /* keep above everything */
}

/* body {
    margin-top: 100px; 
} */

.navbar-left .logo {
    height: 150px;   /* set to 150px for maximum clarity */
    border-radius: 3px;
}


.navbar-right .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}


.navbar-right .nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s;
}


.navbar-right .nav-links li a:hover {
    background-color: #f2f5f7;
    color: #08386c;   
}

.navbar-right .nav-links li {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0056b3;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 150px;
    border-radius: 5px;
    z-index: 1000;
}


.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: white;
}


.dropdown:hover .dropdown-menu {
    display: block;
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .navbar-left .logo {
        height: 75px;   /* a bit more for mobile */
    }

    .navbar-right .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color:  #08386c;;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
    }

    .navbar-right .nav-links.active {
        display: flex;
    }

    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        min-width: 100%;
        border-radius: 0;
    }

    .hamburger {
        display: flex;
    }
}
