/* Mobile Menu Fix */
/* Custom mobile menu toggle */
.mobile-menu-toggle {
    display: block;
    position: relative;
    height: 24px;
    width: 28px;
    cursor: pointer;
    z-index: 1;
    margin-right: 10px;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #080a3c;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transition: 0.3s ease-in-out;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 9px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 18px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

/* Mobile Menu Styling */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    z-index: 1001;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transition: right 0.3s ease;
    visibility: hidden;
}

.mobile-menu.open {
    right: 0;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.mobile-menu .close-menu {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 15px;
    position: relative;
}

.mobile-nav li a {
    color: #111;
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding: 8px 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-nav li a:hover,
.mobile-nav li.active > a {
    color: #3cad45;
}

.mobile-nav ul {
    list-style: none;
    padding-left: 15px;
    margin-top: 10px;
    display: none;
}

.dropdown-toggle {
    position: absolute;
    right: 0;
    top: 8px;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #666;
    display: inline-block;
}

.has-dropdown > a {
    padding-right: 30px;
}

@media only screen and (max-width: 1199px) {
    /* Disable all meanmenu styles to prevent conflicts */
    .mean-container .mean-bar,
    .mean-container .meanmenu-reveal,
    .mean-nav {
        display: none !important;
    }
    
    /* Additional mobile menu styling */
    .main-responsive-nav {
        position: relative;
        padding: 15px 0;
    }
    
    .main-responsive-menu {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .main-navbar {
        display: none !important;
    }
    
    /* Ensure logo is behind mobile menu */
    .main-responsive-nav .logo {
        position: relative;
        z-index: 0;
    }
}

/* Hide language switcher */
.language-switcher {
    display: none !important;
}

/* Hide the default meanmenu icons completely */
.mean-container .meanmenu-reveal {
    display: none !important;
}

/* Footer Copyright Text Styling */
.copyright-area-content p {
    font-size: 12px;
    font-weight: 300;
    opacity: 0.8;
}
