/* General Navbar Styles */
#navbar {
    background-color: white;
    width: 100%;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .3);
    font-family: Arial, sans-serif;
}

/* Top section: logo + socials */
.topPart {
    width: 100%;
    max-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
}

.logoNeNgadan {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fitlogo1 {
    height: 60px;
    object-fit: contain;
}

.logo {
    color: #003300;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Social Icons */
.socials {
    display: flex;
    gap: 10px;
}
.socials img {
    width: 20px;
    height: 20px;
}

/* Navigation */
.navdiv2 {
    background-color: #f5f5f5;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#navbar a,
#navbar button {
    display: block;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    color: #193300;
    transition: 0.3s ease-in-out;
    border: none;
    background: none;
    cursor: pointer;
}

#navbar a:hover,
.dropdown:hover .dropbtn,
#navbar a.active,
button.active {
    color: #d4af37;
    border-bottom: 3px solid goldenrod;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    flex-direction: column;
}

.dropdown-content a {
    padding: 12px 16px;
    text-align: left;
    color: black;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
}
.line {
    height: 3px;
    width: 25px;
    background-color: #003300;
    margin: 4px 0;
}

/* Mobile Styles */
@media (max-width: 916px) {
    .navdiv2 {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 20px 0;
    }

    .navdiv2.active {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .logo {
        font-size: 1rem;
    }
}
