/* ===================================
   MOBILE NAVIGATION STYLES
   =================================== */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #003366;
    cursor: pointer;
    padding: 0.5rem;
    display: none;
    margin-left: auto;
}

.mobile-menu-toggle::before {
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
}

/* Hide desktop menu on mobile, show toggle */
@media (max-width: 991px) {
    .megamenu {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        align-self: center;
        display: flex;
        border: 1px solid #003366;
        border-radius: 25px;
        margin-right: 5px;
    }
}

/* Mobile Offcanvas Styling */
.offcanvas {
    background: #F3F6F9;
    transition: transform 0.3s ease-in-out;
}

.offcanvas-header {
    border-bottom: 1px solid #e0e0e0;
    padding: 1.25rem 1.5rem;
    background: #F3F6F9;
}

.offcanvas-body {
    padding: 0;
    background: #F3F6F9;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #204A8A;
}

.mobile-nav-links > li {
    border-bottom: 1px solid #e0e0e0;
}

.mobile-nav-links > li > a {
    color: #204A8A;
    text-decoration: none;
    padding: 1rem 1.25rem;
    display: block;
    font-weight: 700;
    background: #F3F6F9;
}

.mobile-nav-links > li > a:hover {
    background: #e8ecf1;
}

/* Mobile Accordion Styling */
.accordion-button {
    background: #F3F6F9;
    border: none;
    box-shadow: none !important;
    padding: 1rem 1.25rem;
    color: #204A8A;
	font-weight: 700;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: #e8ecf1;
    color: #204A8A;
	font-weight: 700;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-item {
    border: none;
    background: #F3F6F9;
}

.accordion-body {
    padding: 0;
    background: #F3F6F9;
}

.accordion-collapse {
    transition: height 0.35s ease;
}

/* Mobile Mega Links */
.mega-links-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #F3F6F9;
}

.mega-links-mobile label {
    font-weight: 600;
    font-size: 0.875rem;
    color: #79797A;
    padding: 0.75rem 1.25rem 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #F3F6F9;
}

.mega-links-mobile li a {
    padding: 0.5rem 1.25rem 0.5rem 2rem;
    font-size: 16px;
    color: #204A8A;
    font-style: normal;
    font-weight: 700;
    text-decoration: none;
    display: block;
    background: #F3F6F9;
}

.mega-links-mobile li a:hover {
    background: #e8ecf1;
}

.mega-links-mobile hr {
    margin: 0.5rem 1.25rem;
    opacity: 0.3;
}

/* Ensure wrapper-user has proper flex layout */
.wrapper-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#header {
    height: 80px;
    padding: 0px 20px;
}
