/* Off-Canvas Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    max-height: 100%;
    max-width: 90vw;
    background-color: white;
    z-index: 1999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 10;
}

.mobile-menu-header .logo img {
    height: 50px;
}

.mobile-menu-close {
    font-size: 24px;
    cursor: pointer;
    color: #333;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-items {
    padding: 20px;
    flex: 1;
    margin-bottom: 10px;
}

.mobile-menu-items li {
    margin-bottom: 15px;
}

.mobile-menu-items li a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 16px;
    display: block;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.mobile-menu-items li a:hover,
.mobile-menu-items li a.active {
    color: var(--primary-color);
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: white;
}

.mobile-social {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.mobile-social .social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-social .social-icon:hover {
    background-color: var(--primary-color);
    color: white;
}



/* Responsive Styles for Mobile Menu */
@media (max-width: 992px) {
    .desktop-menu {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: block !important;
    }
}

/* Prevent body scrolling when menu is open */
body.menu-open {
    overflow: hidden;
}
