nav.navbar {
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 1rem;
}

.nav-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.navbar-brand img {
    width: 150px;
    height: 50px;
    object-fit: contain;
    object-position: left;
}

.menu-toggle {
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.nav-menu ul li {
    position: relative;
    white-space: nowrap;
    width: auto;
    flex-shrink: 0;
}

.nav-menu ul li a {
    width: 100%;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    white-space: nowrap;
    justify-content: space-between;
}

.nav-menu ul li .dropdown {
    gap: 0;
    display: none;
    position: absolute;
    top: 55px;
    left: 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
    flex-direction: column;
    white-space: nowrap;
    z-index: 10;
    min-width: 250px;
    width: max-content;
    max-width: 100vw;
}

.nav-menu ul li.open .dropdown {
    display: flex;
}

.nav-menu ul li.open .dropdown li {
    border-bottom: dashed 1px grey;
    padding: 8px 16px;
    width: 100%;
}

.nav-menu ul li.open .dropdown li:last-child {
    border-bottom: none;
}

.nav-menu ul li.open .dropdown li:hover {
    background-color: #0d6c7f48;
    color: #ff6b42;
}

.nav-menu ul li.open .dropdown li:hover a { 
    color: #ff6b42;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-orange {
    border-radius: 25px;
    padding: 5px 25px; 
}

.close-sidenav {
    padding: 0;
    margin: 0 0 1rem auto;
    font-size: 25px;
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #ff6b42;
}

.nav-menu ul li.active a {
    color: #ff6b42;
    font-weight: bold;
}

/* Mobile styles */
@media (max-width: 992px) {
    .nav-container {
        padding: 0 10px;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        align-items: start;
        width: 300px;
        height: 100%;
        background-color: white;
        flex-direction: column;
        padding: 10px 25px;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .nav-menu ul li {
        width: 100%;
    }


    .nav-menu ul li .dropdown {
        position: relative;
        top: 0;
        left: 0;
        box-shadow: none;
        padding-left: 1rem;
        transition: all 0.3s ease;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        min-width: 100%;
    }

    .nav-menu ul li.open .dropdown {
        max-height: 500px;
        opacity: 1;
        padding: 0;
        margin: 0;
    }

    .nav-menu ul li.open .dropdown li {
        padding: 5px 25px;
    }

    .nav-menu ul li.open .dropdown li::after {
        content: '—';
        position: absolute;
        top: 12px;
        left: 15px;
    }

    .nav-actions {
        width: 100%;
        text-align: center;
        flex-direction: column;
        gap: 0.75rem;
    }

    .close-sidenav {
        display: block;
    }
}

.arrow-icon {
    font-size: 12px;
}