/* Ensure nav shows below the main navbar */
#subNavbar {
    top: 50px;
    /* Adjust if main nav height is different */
    left: 0;
}

/* Transition in/out behavior */
.sticky-show {
    display: flex !important;
    animation: slideDown 0.3s ease-out;
}

.sticky-hide {
    display: none !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


#subNavbar .nav-link {
    color: rgb(182, 182, 182);
}

#subNavbar .nav-link.active {
    color: white;
}

#mobileSubNav {
    appearance: none;
    /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
    /* Give space for the arrow */
}