@font-face {
    font-family: 'TheSansArabic';
    src: url('../fonts/thesans/TheSansArabic-ExtraLight.woff2') format('woff2'),
        url('../fonts/thesans/TheSansArabic-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TheSansArabic';
    src: url('../fonts/thesans/TheSansArabic-Light.woff2') format('woff2'),
        url('../fonts/thesans/TheSansArabic-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TheSansArabic';
    src: url('../fonts/thesans/TheSansArabic-Bold.woff2') format('woff2'),
        url('../fonts/thesans/TheSansArabic-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* @font-face {
    font-family: 'TheSansArabic';
    src: url('../fonts/thesans/TheSansArabic-Light.woff2') format('woff2'),
        url('../fonts/thesans/TheSansArabic-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
} */

body:lang(ar){
    font-family: 'TheSansArabic';
    font-weight: 300;
}

h1:lang(ar), h2:lang(ar), h3:lang(ar), h4:lang(ar), h5:lang(ar), h6:lang(ar){
    font-family: 'TheSansArabic';
}

.widgets-footer-element a{
    color:var(--secondary-color);
}


.widgets-footer-element{
    color: #FFF;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}


.footer-working-hour-box.footer-links ul{
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
}

@media(max-width:767px){
    .topbar{
        background-color: var(--primary);
    }

    .navbar {
        background: #FFFFFF;
    }
}

@media only screen and (max-width: 991px) {
    .main-header .navbar-brand img {
        max-width: 185px;
    }

    .services-list-box .service-item{
        width: 48%;
    }

    .services-list-box {
        justify-content: center;
        align-items: center;
    }
}

/*
.case-study-image figure, .post-featured-image figure{
    background: #E6E5E5;
    padding: 25px;
}

.case-study-image figure img, .post-featured-image figure img{
	object-fit: contain;
}


.page-header .container{
    position: relative;
    z-index:9999;
}

.page-header .page-title{
    color:#FFFFFF;
}

.page-header .breadcrumb-nav, .page-header .breadcrumb-nav a{
    color: #FFFFFF;
    margin-bottom: 15px;
    font-size: 0.8rem;
} */




/* Search Icon Wrapper */
.search-icon-wrapper {
    display: flex;
    align-items: center;
}

.search-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    border: 1px solid var(--dark-divider-color);
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
    text-decoration: none;
    color:#FFF;
}

.search-toggle-btn:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
}

.search-container {
    position: relative;
    width: 100%;
}

/* Search Form */
.search-form {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 20px 20px 20px 20px;
    font-size: 18px;
    border: none;
    border-bottom: 2px solid #fff;
    background: transparent;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:lang(ar){
    direction: rtl; /* For Arabic text */
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

.search-input:focus {
    border-bottom-color: var(--primary-color);
}

.search-submit {
    position: absolute;
    bottom: 5px;
    /* top: 50%;
    transform: translateY(-50%); */
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 10px 15px;
    transition: color 0.3s ease;
}
.search-submit:lang(ar){
    left: 0; /* For Arabic text */
}
.search-submit:not(:lang(ar)){
    right: 0; /* For non-Arabic text */
}


.search-submit:hover {
    color: var(--primary-color);
}

/* Close Button */
.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    color: #fff;
    font-size: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.search-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* Animation for search input */
@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.search-overlay.active .search-container {
    animation: slideDown 0.5s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-input {
        font-size: 16px;
        padding: 15px 45px 15px 15px;
    }
    
    .search-close {
        top: -50px;
        font-size: 25px;
    }
}

/* ===== favorite heart visibility fix =====
   The wishlist heart sits in the product card header; the image slider
   (.product-simple-slider with overflow:hidden + Swiper stacking) could
   cover it on listing/category pages. Force it above the slider and make
   the non-active outline clearly visible for guests. */
.product_card .product_card_header--favorite{
    z-index: 5 !important;
}
/* Non-active: white background with outline heart */
.product_card .product_card_header--favorite:not(.active) .svg_container{
    background:#fff !important;
    border:1px solid #eee;
}
.product_card .product_card_header--favorite:not(.active) .svg_container svg .wishlist,
.product_card .product_card_header--favorite:not(.active) .svg_container svg path{
    stroke: var(--primary_color, #f7941d) !important;
    stroke-width: 1.5 !important;
    fill: none !important;
}
/* Active state: filled heart with primary color background */
.product_card .product_card_header--favorite.active .svg_container{
    background: var(--primary_color, #f7941d) !important;
    border: 1px solid var(--primary_color, #f7941d) !important;
}
.product_card .product_card_header--favorite.active .svg_container svg .wishlist,
.product_card .product_card_header--favorite.active .svg_container svg path{
    stroke: #fff !important;
    fill: #fff !important;
}
.product_card .product-simple-slider{
    z-index: 1;
}