/* Mobile Navigation Styles */

.mobile-menu-toggle {
    padding: 0;
    background: none;
    border: none;
    outline: none;
    color: #2d5016;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
    transform: scale(1.1);
    color: #2d5016;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transition: right 0.4s ease-in-out;
    overflow: hidden;
}

.mobile-menu-overlay.active {
    right: 0;
}

/* Mobile Menu Container */
.mobile-menu-container {
    position: absolute;
    right: 0;
    top: 0;
    width: 80%;
    max-width: 350px;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-container {
    transform: translateX(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #2d5016 0%, #3d6b1f 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-logo {
    max-height: 40px;
    /* filter: brightness(0) invert(1); */
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    padding: 16px 25px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-link i {
    margin-right: 15px;
    font-size: 18px;
    color: #2d5016;
    width: 25px;
    text-align: center;
}

.mobile-menu-link:hover {
    background-color: rgba(45, 80, 22, 0.05);
    border-left-color: #2d5016;
    color: #2d5016;
    padding-left: 30px;
}

.mobile-menu-link.active {
    background-color: rgba(45, 80, 22, 0.1);
    border-left-color: #2d5016;
    color: #2d5016;
    font-weight: 600;
}

.mobile-menu-link.active i {
    color: #2d5016;
}

/* Mobile CTA Button */
.mobile-menu-cta {
    margin: 20px 25px;
    padding: 14px 25px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
    transition: all 0.3s ease;
}

.mobile-menu-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.4);
}

/* Animation for menu items */
.mobile-menu-overlay.active .mobile-menu-link {
    animation: slideInRight 0.4s ease forwards;
    opacity: 0;
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(1) {
    animation-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(2) {
    animation-delay: 0.15s;
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(3) {
    animation-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(4) {
    animation-delay: 0.25s;
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(5) {
    animation-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-menu-cta {
    animation: slideInRight 0.4s ease forwards;
    animation-delay: 0.35s;
    opacity: 0;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .mobile-menu-container {
        width: 85%;
    }
}

@media (min-width: 992px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}