/* Limit height and enable scroll for mega menus on small screens */
@media (max-width: 991.98px) {
    .mega-menu {
        max-height: 70vh;
        overflow-y: auto;
        overflow-x: hidden;
        position: static !important;
        background-color: rgba(255, 255, 255, 0.2); 
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .navbar-nav {
        gap: 5px; 
    }

        .navbar-nav .nav-item {
            margin-bottom: 0 !important;
        }

        .navbar-nav .nav-link {
            padding: 3px 10px !important;
            
        }


    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute;
        background: rgba(255, 255, 255);
        opacity: 0.9;
    }


}
