/* Mobile Menu Styles */
.vs-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.vs-menu-wrapper.show {
    display: block;
    opacity: 1;
}

.vs-menu-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.vs-menu-wrapper.show .vs-menu-area {
    transform: translateX(0);
}

/* Close Button */
.vs-menu-toggle.close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #1e3a8a;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Search Section */
.mobile-search-section {
       margin: 0px 0 20px 0;
        max-width: 78%
}

.mobile-search-form {
    width: 100%;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 5px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
        border: 2px solid #101c6a !important;
}

.search-input-wrapper:focus-within {
    border-color: #1e3a8a;
}


select, .form-control, .form-select, textarea, input {
    height: 30px !important;
    }


.vs-mobile-menu ul li a{
font-size: 14px !important;
}

.search-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 15px;
    font-size: 16px;
    outline: none;
    color: #333;
}

.search-field::placeholder {
    color: #6c757d;
}

.search-submit {
    background: #1e3a8a;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background: #1e40af;
}

/* Mobile Menu */
.vs-mobile-menu {
    margin: 30px 0;
}



.vs-mobile-menu ul li.menu-item-has-children > a::before{
display: none !important;
}


.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-list li {
    border-bottom: 1px solid #e9ecef;
}

.mobile-menu-list li:last-child {
    border-bottom: none;
}

.mobile-menu-list a {
    display: block;
    padding: 15px 0;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.mobile-menu-list a:hover {
    color: #1e40af;
}

/* Social Media Section */
.mobile-social-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.social-title {
    color: #1e3a8a;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.social-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fbbf24;
}

.social-icons-wrapper {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


.vs-menu-area svg.e-font-icon-svg {
    width: 14px !important;
    fill: #ffffff !important;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #1e3a8a;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Menu Toggle Button */
.vs-menu-toggle-wraper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-mobile-menu ul .vs-item-has-children > a .vs-mean-expand:before {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 6px;
}

/* Custom arrow class for mobile menu */
.vs-mobile-menu .mobile-menu-arrow {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: none;
    color: #233985;
    position: relative;
}

.vs-mobile-menu .mobile-menu-arrow:before {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.vs-mobile-menu ul .vs-item-has-children > a .vs-mean-expand {
    width: 22px !important;
    height: 22px !important;
    background: none !important;
    color: #233985 !important;
}

.vs-menu-toggle {
    background: #1e3a8a;
    color: #fff;
    border: none;
    width: 40px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 20px;
    margin-right: 20px;
}

.vs-menu-toggle:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Arabic Language Support - Menu opens from right */
[lang="ar"] .vs-menu-area {
    left: auto;
    right: 0;
    transform: translateX(100%);
}

[lang="ar"] .vs-menu-wrapper.show .vs-menu-area {
    transform: translateX(0);
}

[lang="ar"] .vs-menu-toggle.close-btn {
    left: auto;
    right: 20px;
}

/* Responsive */
@media (max-width: 480px) {
    .vs-menu-area {
        width: 90%;
        padding: 15px;
    }
    
    .mobile-search-section {
        margin: 0px 0 20px 0;
        max-width: 78%;
    }
    
    .search-field {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .mobile-menu-list a {
        font-size: 14px;
        padding: 12px 0;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
