header .humbergar {
    background-color: transparent;
    padding: 0;
    border: 0;
}

@media screen and (min-width: 1440px) {
    header .humbergar {
        display: none;
    }
    .mobile-menu {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100%;
    background-color: white;
    transition: all 0.3s;
    overflow-y: scroll;
    z-index: 10025;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
}

.mobile-menu.sidemenu-open {
    left: 0;
}

.mobile-menu{
    /* padding: 40px 24px; */
    padding: 40px 20px 35px 30px;
    background-color: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
}
.mobile-menu .main-menu .menu-item-has-children > a {
    position: relative;
    padding-right: 30px;
    display: block;
}

.mobile-menu .main-menu > li > a {
    font-size: 17px;
    font-weight: 600;
}

.mobile-menu .main-menu .submenu li a{
    font-size: 18px;
}

.mobile-menu .main-menu .menu-item-has-children > a:after {
    content: '+';
    font-size: 1.2em;
    font-weight: bold;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    transition: transform 0.3s ease; 
    line-height: 1;
    width: 18px;
    text-align: center;
}

.mobile-menu .main-menu .menu-item-has-children.active > a:after {
    content: '-';
}

/* --- COLLAPSE TRANSITION CLASSES --- */

/* 1. Base Hidden State (Required for transition start, JS sets height: 0) */
.mobile-menu .main-menu .submenu.collapse {
    overflow: hidden;
}

/* 2. Transitioning State (Key for smooth animation timing) */
.mobile-menu .main-menu .submenu.collapsing {
    position: relative; 
    overflow: hidden;
    transition: height 0.35s ease !important; 
}

/* 3. Fully Hidden State (Bootstrap class to hide when closed) */
.mobile-menu .main-menu .submenu.collapse:not(.show){
    display: none;
}

/* 4. Fully Open State (Transition is stopped here, height handled by JS) */
.mobile-menu .main-menu .submenu.collapse.show {
    transition: none !important; 
}

/* --- GENERAL MENU STYLES --- */

.mob-top-section {
    display: flex;
    justify-content: space-between;
    align-content: center;
    border-bottom: 1px solid #7d7a7a;
    padding: 0 0 10px;
}

.mob-logo img{
    max-width: 120px;
}

.mobile-menu .main-menu {
    margin-top: 10px;
}

.mobile-menu-inner {
}

.mobile-menu .main-menu li{
    padding: 5px 0;
}

.mobile-menu .main-menu li a{
    color: var(--primary-blue);
}

.mobile-menu .close-menu{
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 25px;
    height: 32px;
    display: inline-flex;
    align-content: center;
    justify-content: center;
    line-height: 22px;
    text-align: center;
}

.mobile-menu .change_lang_btn {
    font-family: "Tajawal";
    font-weight: 500;
    list-style: none;
    display: inline-flex;
    align-items: center;
    display: none;
}

.mobile-menu .change_lang_btn a {
    border: 1px solid #001835;
    border-radius: 100px;
    display: inline-block;
    padding: 3px 13px;
    color: #001835;
    transition: all 0.15s ease;
    font-size: 14px;
}

body.rtl .mobile-menu .main-menu .menu-item-has-children > a {
    padding-left: 30px;
    padding-right: 0;
}

body.rtl .mobile-menu .main-menu .menu-item-has-children > a::after{
    left: 0;
    right: inherit;
}

.mobile-menu .main-menu .submenu {
    background: linear-gradient(to bottom, #ffffff, #f9fcff);
    border: 1px solid rgba(0, 117, 201, 0.12);
    border-left: 4px solid #0075c9;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 10px 0;
}

body.rtl .mobile-menu .main-menu .submenu {
    margin-right: 15px;
    margin-left: 0;
}

.mobile-menu .main-menu .submenu li{
    padding: 0;
}

.mobile-menu .main-menu .submenu li a{
    font-size: 16px;
    padding: 7px 10px;
    display: block;
}

.header-actions a.mobile.btn{
    display: inherit;
    background: #0075c9;
    border: none;
}

a.mobile.lang-switcher{
    line-height: 40px;
}

.mobile.header-actions {
    margin-top: 2rem;
    border-top: 1px solid #7d7a7a;
    padding-top: 1rem;
}

@media(max-width: 1440px){
    .header-actions .btn{
        display: none;
    }
}

@media(min-width: 1441px){
    a.mobile.lang-switcher,.header-actions a.mobile.btn {
      display: none;
  }
}