#navbar {
    transition: all .3s ease;
    background-color: var(--bg-1);
    /* border-bottom: 1px solid var(--bg-2);  */
    z-index: 1000;
    max-width: 100vw;

    .nav-link {
        color: var(--text-secondary) !important;
    }

    .custom-dropdown-menu .nav-link {
        color: var(--text-primary) !important;
    }
}

#footer {
    color: var(--text-secondary);

    a {
        color: var(--text-secondary) !important;
        transition: all .3s ease;

        &:hover {
            font-weight: bold !important;
        }
    }
}

.navbar-logo {
    transform: scale(2.5) translate(15px, 7px);
}

.navbar-row {
    height: 90px;
}

@media(min-width: 778px) {
    .navbar-logo {
        transform: scale(2.5) translate(-5px, 4px);
    }

    .navbar-row {
        height: 75px;
    }

    .nav-container {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
}

.nav-item {
    list-style: none !important;
}

.left-nav-item[data-selected='true'] {
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}

.nav-link {
    transition: all .3s ease;

    &:hover {
        font-weight: bold;
    }
}

.nav-link[data-selected='true'] {
    font-weight: bold;
    color: var(--brand-2) !important;
}

#mobileNavOffcanvas {
    .nav-link {
        color: var(--text-secondary) !important;
    }
}

#mobileNavOffcanvas .collapse .nav-link {
    color: var(--text-primary) !important;
}

/* Ensure the offcanvas is actually visible when Bootstrap adds the .show class */
#mobileNavOffcanvas.show .offcanvas-body {
    visibility: visible !important;
    display: flex !important; /* Matches your d-flex class */
}

/* Prevent custom transitions from fighting Bootstrap's internal logic */
#mobileNavOffcanvas {
    transition: transform 0.3s ease-in-out !important;
}

/* Ensure the background variable is applied correctly */
#mobileNavOffcanvas {
    background-color: var(--bg-6) !important;
}

.custom-dropdown-menu {
    transition: all .3s ease;
}

.custom-dropdown-menu .nav-link {
    border-radius: 25px;
    height: fit-content;
    padding: 12px;
    font-weight: 400;

    &:hover {
        text-decoration: none !important;
        background-color: var(--bg-4) !important;
        color: var(--text-primary) !important;
        font-weight: 400;
    }
}

.custom-dropdown-menu .nav-link[data-selected='true'] {
    text-decoration: none !important;
    background-color: var(--bg-4);
    color: var(--text-secondary) !important;
    font-weight: 400;
}

/* .mobile-nav {
    position: fixed;
    top: 0;
    left: -110vw;
    background-color: rgba(0, 0, 0, .7);
    height: 100vh;
    width: 100vw;
    z-index: 99999;
    transition: all .3s ease;
    color: white !important;
}

.mobile-nav-open {
    left: 0;
} */

/* Breadcrumbs */
.breadcrumb-item {
    list-style: none !important;
}
