/* --- Mobile Menu Styles (Stripe-like) --- */

/* Toggle Button */
.mobile-menu-toggle {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle img {
    width: 28px;
    height: 28px;
    /* Force WHITE icon always */
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover img {
    transform: scale(1.1);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99999;
    padding: 24px;
    display: flex;
    flex-direction: column;

    /* Animation State: Hidden */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0.3s;
}

.mobile-menu-overlay.active {
    /* Animation State: Visible */
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0s;
}

/* Mobile Header (internal) */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e6ebf1;
    /* Stripe-like dashed border */
}

/* Mobile Logo Styling */
.mobile-logo img {
    height: 70px;
    /* Default desktop/tablet size to match Hero */
    width: auto;
    /* Invert colors to match white background if logo is white text */
    filter: invert(1);
    transition: height 0.4s ease;
}

@media (max-width: 768px) {
    .mobile-logo img {
        height: 50px;
        /* Match mobile Hero logo size */
    }
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-close img {
    width: 24px;
    height: 24px;
    /* Force BLACK icon always */
    filter: brightness(0);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.mobile-menu-close:hover img {
    opacity: 1;
}

/* Navigation List */
.mobile-nav-list {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mobile-nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    text-decoration: none;
    border-bottom: 1px dashed #e6ebf1;

    /* Font Styling */
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: #425466;
    /* Stripe Dark Blue/Grey */
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    /* Remove blue highlight on touch */
}

.mobile-nav-item:hover {
    color: var(--secondary);
}

.mobile-nav-item span {
    position: relative;
    top: 1px;
}

.mobile-nav-item i {
    font-size: 0.9rem;
    color: #a0aec0;
}

/* Footer / Last Item */
/* Removed as Contact is now in the list */

/* Helper to lock body scroll */
body.no-scroll {
    overflow: hidden;
}

/* Media Query Updates */
@media (max-width: 991px) {

    .nav-menu,
    .header-action {
        display: none !important;
        /* Force hide desktop nav & button */
    }

    .mobile-menu-toggle {
        display: block;
    }
}