/* Mobile Info Bar */
.info-bar a {
    transition: opacity 0.2s;
}
.info-bar a:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 300px; /* fixed height */
    overflow-y: auto; /* scroll when content exceeds height */
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

/* Optional custom scrollbar styling for WebKit */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}
.dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
}
.dropdown-menu::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

/* Mobile specific styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .dropdown-menu {
        margin-left: 1rem;
        border-left: 2px solid #0d6efd;
        border-radius: 0;
        max-height: 250px;
        overflow-y: auto;
    }

    /* Keep arrow icon visible on mobile */
    .dropdown-toggle::after {
        display: inline-block;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
    }

    /* Better tap target spacing */
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
}

/* Desktop specific styles */
@media (min-width: 992px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }

    .dropdown-menu {
        transition: all 0.2s ease;
        display: block;
        visibility: hidden;
        opacity: 0;
        margin-top: 0;
        max-height: 300px;
        overflow-y: auto;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown:focus-within .dropdown-menu {
        visibility: visible;
        opacity: 1;
    }
}

/* Sticky Header */
.sticky-top {
    z-index: 1020;
}



