/* Mobile Navigation Container */
.mobile-nav-container {
    display: none;
    background: #0066AD;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    transform: translateX(-100%);
}

.mobile-nav-container.active {
    display: block;
    transform: translateX(0);
}

/* Ensure list is displayed as a column */
.mobile-nav-container ul {
    list-style: none;
    padding: 4rem 1rem;
    margin: 0;
    display: flex;
    flex-direction: column; /* Ensures vertical stacking */
}

/* Ensure each list item takes full width */
.mobile-nav-container ul li {
    border-bottom: 1px solid white;
    width: 100%; /* Ensures each item stretches full width */
}

/* Style Links */
.mobile-nav-container ul li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 5px;
    width: 100%;
}

/* Submenu Toggle Button */
.submenu-toggle {
    cursor: pointer;
    float: right;
    padding: 0;
    color: white;
    margin-top: 7px;
}
.submenu-toggle::after{
    border-color: #ffffff transparent transparent;!i;!;
}

.submenu-toggle.active {
    
}

/* Hide submenus by default */
.mobile-nav-container ul ul {
    display: none;
}

/* Show menu button only in mobile view */
@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: block;
        position: fixed;
        top: 10px;
        right: 0;
        background: var(--primary-color);
        color: white;
        border: none;
        padding: 10px 15px;
        font-size: 20px;
        cursor: pointer;
        z-index: 999;
        border-radius: 0;
        padding: 1rem 1.5rem 1rem 1rem;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }

    .mobile-menu-toggle span {
        color: white;
        font-weight: bold;
        font-family: 'Open Sans';
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        line-height: 1;
    }

    .mobile-menu-toggle span svg {
        width: 20px;
    }
}
