
.tornado-header {
    border-top: 10px solid var(--secondary-color);
    box-shadow: var(--component-shadow);
    z-index: 100;
    position: relative;
    background: var(--component-background);
    color: var(--component-color);
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000; /* أعلى من باقي العناصر */
}

.tornado-header .container {
    min-height: 60px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.tornado-header .logo {
    color: inherit;
    outline: 0 dotted rgba(0, 0, 0, 0);
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
    text-decoration: none;
}

.tornado-header .logo img {
    max-height: 45px;
}

.tornado-header .navigation-menu {
   
    background-color: transparent;
    border: 0 none;
    position: relative;
    z-index: 99;
    background: var(--component-background);
    padding: 0 var(--component-padding);
    box-shadow: var(--component-shadow);
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;

}

.navigation-menu>ul {
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.tornado-header .menu-item{
    border-radius: 5px;
    margin: 0 5px;
    padding: 0 10px;
    transition: background 0.3s linear;

}
.tornado-header .navigation-menu>ul>li:hover,
.tornado-header .navigation-menu>ul>li.active {
    background: var(--component-active-bg);
    color: var(--primary-reverse);
}
.navigation-menu>ul>li a {
    color: inherit;
    font-weight: 700;
    font-family: inherit;
    display: inline-block;
    vertical-align: middle;
}
.tornado-header .action-btns .dropdown{
    position: relative;
    display: inline-block;
}
.tornado-header .action-btns .btn-small-square{
    margin-right: 5px;
    width: var(--forms-height-small);
    font-weight: var(--strong-weight);
    text-align: center;
    border-radius: var(--forms-radius);
    border: 0 none;
    padding: 3px 10px;

}
.dropdown-btn{
    background: var(--primary-color);
    color: var(--primary-reverse);
    box-shadow: var(--primary-color);
}
.dropdown-btn:hover{
    background: var(--primary-hover);
}
.tornado-header .action-btns .dropdown .dropdown-list {
        right: auto;
    left:0;
    position: absolute;
    top: 100%;
    background: #fff;
    min-width: 190px;
    box-shadow: 0 5px 5px rgba(0,0,0,.1);
    border-radius: 6px;
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

.tornado-header .action-btns .dropdown .dropdown-list.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}
.tornado-header .action-btns .dropdown .dropdown-list::before {
    left: 12px;
    right: auto;
    content: '';
    position: absolute;
    bottom: 100%;
    border: 7px solid transparent;
    border-bottom-color: #ebebeb;
}
.dropdown .dropdown-list li {
    font-size: .875rem;
    font-weight: var(--medium-weight);
    padding: 8px 15px;
    border-bottom: 1px solid rgba(0,0,0,.1);
    margin-bottom: 0;
    color: var(--gray-color);
}
.dropdown .dropdown-list li:last-child {
    border-bottom: none;
}
.dropdown .dropdown-list li a:not(.btn-small-square) {
    display: block;
    color: inherit;
}
.whatsapp-bg{
    background-color: #10d058;
    color: var(--white);
}
.ti-phone-in-talk, .ti-mail, .ti-menu-round{
    background: var(--secondary-color);
    color: var(--secondary-reverse);
    box-shadow: var(--forms-btns-shadow) var(--secondary-color);
}
.ti-menu-round{
    display: none;
}
/* المينيو الجانبية */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px; /* تبدأ برا الشاشة */
    width: 290px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,.2);
    z-index: 9999;
    transition: right 0.8s ease-in-out;
    overflow-y: auto;
    
}

.mobile-menu.active {
    right: 0; /* تظهر */
}

/* محتوى المينيو */

/* محتوى المينيو */
.mobile-menu .menu-content ul li{
    padding: 15px;
    border-bottom: 1px solid rgba(0,0,0,.1);
}
.mobile-menu .menu-content ul li a{
   color: inherit;
}

/* الـ Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
}
.menu-overlay.active {
    display: block;
}

/* زرار القائمة يظهر فقط في الموبايل */
@media(max-width: 991px) {
    .ti-menu-round {
        display: inline-block;
    }
    .navigation-menu {
        display: none;
    }
    .tornado-header .container {
        flex-wrap: nowrap;
    }
    .tornado-header .logo img {
        max-height: 28px
    }
}
