/* --- Header Layout --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #005f73;
    text-decoration: none;
}

/* --- Desktop Nav --- */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #005f73;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #005f73;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none; 
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: #fff !important; /* Force opaque background */
        border-top: 1px solid #eee;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 999;
        top: 0;
    }

    nav.show {
        display: block;
    }

    nav ul {
        flex-direction: column;
        margin: 0;
        padding: 20px 0;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }
}