/* Mobile Responsive Navbar Improvements */

/* Make navbar more compact on mobile */
@media (max-width: 991px) {
    /* Reduce header top bar padding on mobile */
    .header-top-bar {
        padding: 8px 0px;
        font-size: 12px;
    }
    
    .header-top-bar .col-lg-6 {
        text-align: center !important;
        margin-bottom: 5px;
    }
    
    .top-bar-info {
        justify-content: center;
        font-size: 13px;
    }
    
    .top-right-bar {
        text-align: center !important;
        margin-top: 5px !important;
    }
    
    .top-right-bar .h4 {
        font-size: 1rem !important;
    }
    
    /* Make navbar more compact */
    .navbar {
        padding: 10px 0;
    }
    
    .navbar-brand img {
        max-height: 50px;
        width: auto;
    }
    
    /* Style the toggle button */
    .navbar-toggler {
        padding: 8px 12px;
        border: 2px solid #223a66;
        border-radius: 5px;
        background: #fff;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }
    
    .navbar-toggler .icofont-navigation-menu {
        color: #223a66;
        font-size: 24px;
    }
    
    /* Navbar collapse menu - show all items, no dropdown */
    #navbarmain {
        padding: 15px 0px;
        background: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
        border-radius: 8px;
    }
    
    #navbarmain .navbar-nav {
        width: 100%;
    }
    
    #navbarmain .nav-item {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    
    #navbarmain .nav-item:last-child {
        border-bottom: none;
    }
    
    #navbarmain .nav-link {
        padding: 12px 20px !important;
        font-size: 16px !important;
        font-weight: 600;
        color: #222 !important;
        display: block;
        transition: all 0.3s ease;
    }
    
    #navbarmain .nav-link:hover,
    #navbarmain .nav-item.active .nav-link {
        background: #f8f9fa;
        color: #223a66 !important;
        border-left: 4px solid #e12454;
    }
    
    /* Remove any dropdown styling on mobile */
    .dropdown-menu {
        display: none !important;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 45px;
    }
    
    .header-top-bar {
        font-size: 11px;
    }
    
    .top-bar-info li {
        margin-bottom: 3px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .header-top-bar .list-inline-item {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
    
    .navbar-brand img {
        max-height: 40px;
    }
    
    #navbarmain .nav-link {
        font-size: 15px !important;
        padding: 10px 15px !important;
    }
}

/* Desktop: ensure no issues */
@media (min-width: 992px) {
    .navbar {
        padding: 0;
    }
    
    #navbarmain {
        padding: 20px 0px;
    }
    
    #navbarmain .nav-link {
        padding: 10px 15px;
    }
}
