.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#topnav_hamburger_icon,
#topnav_responsive_menu {
    display: none;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05em;
    font-weight: bold;
    color: var(--brand-navy);
    text-decoration: none;
}

.aixagon-logo {
    display: block;
    width: 118px;
    height: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-menu a:hover {
    background: var(--brand-blue-soft);
    color: var(--brand-blue-dark);
}

.admin-link {
    background: var(--brand-blue-dark);
    color: white !important;
}

.admin-link:hover {
    background: var(--brand-navy) !important;
}

.dropdown {
    position: relative;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 5px;
    z-index: 1;
    margin-top: 5px;
}

.dropdown-content a {
    display: block;
    padding: 12px 16px;
}

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

@media (max-width: 1220px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    #topnav_menu {
        display: none;
    }

    #topnav_hamburger_icon {
        display: block;
        position: relative;
        width: 33px;
        height: 28px;
        z-index: 100;
        cursor: pointer;
    }

    #topnav_hamburger_icon span {
        display: block;
        position: absolute;
        height: 4px;
        width: 100%;
        background: #333;
        border-radius: 3px;
        transition: .25s ease-in-out;
    }

    #topnav_hamburger_icon span:nth-child(1) { top: 0; transform-origin: left top; }
    #topnav_hamburger_icon span:nth-child(2) { top: 12px; transform-origin: left center; }
    #topnav_hamburger_icon span:nth-child(3) { top: 24px; transform-origin: left bottom; }

    #topnav_hamburger_icon.open span:nth-child(1) {
        transform: rotate(45deg);
        width: 110%;
    }

    #topnav_hamburger_icon.open span:nth-child(2) {
        width: 0%;
        opacity: 0;
    }

    #topnav_hamburger_icon.open span:nth-child(3) {
        transform: rotate(-45deg);
        width: 110%;
    }

    #topnav_responsive_menu {
        display: block;
        position: fixed;
        right: 0;
        top: 0;
        width: 50%;
        height: 100%;
        z-index: 99;
        transform: translate(100%, 0);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        background: #ededed;
    }

    #topnav_responsive_menu.open {
        transform: translate(0, 0);
    }

    #topnav_responsive_menu ul {
        list-style: none;
        padding: 80px 0 0 0;
        text-align: center;
    }

    #topnav_responsive_menu li {
        padding: 15px 0;
    }

    #topnav_responsive_menu a {
        text-decoration: none;
        font-size: 1.2rem;
        color: #333;
    }
}
