﻿:root {
    /* Colors */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-primary: #91111C;
    --color-secondary: #8A0E1A;
    --color-yellow: #FFB703;
    --color-dark-blue: #132744;
    --color-gray-light: #f3f3f3;
    --color-gray-lighter: #f8f8f8;
    --color-gray-medium: #ccc;
    --color-gray-dark: #222;
    --color-blue-dark: #142846;
    --color-border-light: #eee;
    --color-overlay-gradient: linear-gradient( 0deg, rgba(0, 0, 0, 0.5) 0%, rgba(17, 17, 17, 0.47) 45%, rgba(9, 92, 158, 0.3) 65%, rgba(36, 77, 111, 0.2) 75%, rgba(63, 63, 63, 0.1) 82%, rgba(102, 102, 102, 0) 86% );
    /* Font sizes */
    --font-size-base: 14px;
    --font-size-md: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-xxl: 24px;
    --font-size-xxxl: 32px;
    --font-size-xxxxl: 40px;
    --font-size-xxxxxl: 42px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', Arial, sans-serif; /*  English */
}

html[lang="ar"] *:not(.fa):not(.fas):not(.far):not(.fab):not([class^="fa-"]) {
    font-family: 'Cairo', Arial, sans-serif; /* Arabic */
}

html {
    font-size: var(--font-size-base);
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background: var(--color-white);
    /*    margin-bottom: 60px;*/
}
/* Flex + align-items center */
.flex-align-center {
    display: flex;
    align-items: center;
}

/* Flex + align-items center + justify-content center */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-gap {
    display: flex;
    gap: 8px;
}

.flex-inine-gap {
    display: inline-flex;
    gap: 8px;
}
/* Flex + justify-content center (horizontal only) */
.flex-justify-center {
    display: flex;
    justify-content: center;
}

.flex-direction-column {
    display: flex;
    flex-direction: column;
}
/* Scroll To Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    font-size: 18px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

    #scrollTopBtn i {
        color: var(--color-white) !important;
    }

    #scrollTopBtn:dir(rtl) {
        font-family: 'Font Awesome 7 Free' !important;
    }

    #scrollTopBtn:hover {
        background: var(--color-secondary);
        transform: translateY(-3px);
    }

    /* Show button */
    #scrollTopBtn.show {
        opacity: 1;
        visibility: visible;
    }
/******************   skeltoooooooooooooon   *****************************/
/* ================== SKELETON LOADING ================== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.hadith-content-skeleton {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hadith-text-skeleton {
    width: 100%;
}

.swapper-dots-skeleton {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot-skeleton {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
}

.swapper-track-skeleton {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 0 40px;
}

/* Fix for hire section skeleton */
.hire-container-skeleton {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    width: -webkit-fill-available;
}

.hire-content-skeleton {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.skeleton-section {
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.hero-skeleton-content,
.how-skeleton-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.section-header-skeleton {
    text-align: center;
    margin-bottom: 40px;
}

    .section-header-skeleton .label-skeleton {
        width: 120px;
        height: 20px;
        margin: 0 auto 20px;
    }

    .section-header-skeleton .title-skeleton {
        width: 60%;
        height: 60px;
        margin: 0 auto 20px;
    }

    .section-header-skeleton .description-skeleton {
        width: 40%;
        height: 24px;
        margin: 0 auto;
    }

.services-swapper-container,
.how-steps-skeleton,
.stats-cards-skeleton,
.testimonials-wrapper-skeleton,
.hire-container-skeleton {
    margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .swapper-track-skeleton {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-cards-skeleton {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-wrapper-skeleton {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .swapper-track-skeleton {
        grid-template-columns: 1fr;
    }

    .stats-cards-skeleton {
        grid-template-columns: 1fr;
    }
}
/* Hero Skeleton */
.hero-skeleton {
    height: 600px;
    position: relative;
    overflow: hidden;
}

.slider-skeleton {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

    .slide-skeleton.active {
        display: block;
    }

.slide-content-skeleton {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1200px;
    text-align: center;
    z-index: 2;
}

.welcome-skeleton {
    width: 200px;
    height: 24px;
    margin: 0 auto 20px;
}

.heading-skeleton {
    width: 80%;
    height: 60px;
    margin: 0 auto 30px;
}

.subtext-skeleton {
    width: 60%;
    height: 24px;
    margin: 0 auto;
}

.search-skeleton {
    margin-top: 40px;
    height: 80px;
    border-radius: 12px;
}

/* About Section Skeleton */
.about-skeleton {
    padding: 80px 0;
}

.about-text-skeleton {
    max-width: 800px;
    margin: 0 auto 60px;
}

.label-skeleton {
    width: 120px;
    height: 20px;
    margin-bottom: 20px;
}

.title-skeleton {
    width: 100%;
    height: 80px;
    margin-bottom: 30px;
}

.description-skeleton {
    width: 80%;
    height: 100px;
}

.about-row-skeleton {
    display: flex;
    gap: 40px;
    align-items: center;
}

.image-skeleton {
    flex: 1;
    height: 300px;
    border-radius: 12px;
}

.mission-skeleton {
    flex: 1;
    height: 300px;
    border-radius: 12px;
}

/* Services Skeleton */
.services-skeleton {
    padding: 80px 0;
}

.services-header-skeleton {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.swapper-track-skeleton {
    display: flex;
    gap: 24px;
    overflow: hidden;
    margin-bottom: 40px;
}

.service-card-skeleton {
    flex: 0 0 calc(25% - 18px);
    height: 350px;
    border-radius: 12px;
}

/* How It Works Skeleton */
.how-skeleton {
    padding: 80px 0;
    text-align: center;
}

.how-steps-skeleton {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.step-skeleton {
    width: 300px;
    height: 200px;
    border-radius: 12px;
}

/* Stats Skeleton */
.stats-skeleton {
    padding: 80px 0;
}

.stats-cards-skeleton {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stats-card-skeleton {
    height: 200px;
    border-radius: 12px;
}

/* Testimonials Skeleton */
.testimonials-skeleton {
    padding: 80px 0;
    position: relative;
}

.testimonials-wrapper-skeleton {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card-skeleton {
    width: 350px;
    height: 300px;
    border-radius: 12px;
}

/* Hire Section Skeleton */
.hire-skeleton {
    padding: 80px 0;
}

.hire-container-skeleton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.hire-content-skeleton {
    flex: 1;
    max-width: 600px;
    text-align: center;
}

.hire-title-skeleton {
    width: 80%;
    height: 60px;
    margin: 0 auto 20px;
}

.hire-text-skeleton {
    width: 60%;
    height: 40px;
    margin: 0 auto 30px;
}

.hire-buttons-skeleton {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.button-skeleton {
    width: 180px;
    height: 50px;
    border-radius: 8px;
}


/********************* Section reveal animations **************************/
.section-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

    .section-animate.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Stagger children animations */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-animate.visible .stagger-children > * {
    opacity: 1;
    transform: translateY(0);
}

    /* Add delay for staggered children */
    .section-animate.visible .stagger-children > *:nth-child(1) {
        transition-delay: 0.1s;
    }

    .section-animate.visible .stagger-children > *:nth-child(2) {
        transition-delay: 0.2s;
    }

    .section-animate.visible .stagger-children > *:nth-child(3) {
        transition-delay: 0.3s;
    }

    .section-animate.visible .stagger-children > *:nth-child(4) {
        transition-delay: 0.4s;
    }

    .section-animate.visible .stagger-children > *:nth-child(5) {
        transition-delay: 0.5s;
    }

    .section-animate.visible .stagger-children > *:nth-child(6) {
        transition-delay: 0.6s;
    }

/* Specific section animations */
.hero {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}
/* ================= HEADER ================= */
.header {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 0px 32px;
    height: 72px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    border-radius: 25px 25px 0 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

}

.logo-img {
    height: 42px;
}

/* CENTER NAV */
.header-center {
    display: flex;
    justify-content: center;
    gap: 28px;
}

    .header-center a {
        color: var(--color-white);
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
    }

        .header-center a.active {
            color: var(--color-secondary);
            font-weight: 700;
        }

/* RIGHT SIDE */
.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.login-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.contact-btn {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}


/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    padding: 5px;
}

.page-header .mobile-menu-toggle {
    color: var(--color-dark-blue);
}

.header:not(.page-header) .mobile-menu-toggle {
    color: var(--color-white);
}
/* Homepage navigation links */
.header:not(.page-header) .header-center a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

/*    .header:not(.page-header) .header-center a:hover {
        color: var(--color-secondary);
    }*/
    .header:not(.page-header) .header-center a:hover {
        color: var(--color-white);
    }
    .header:not(.page-header) .header-center a.active {
        /*        color: var(--color-secondary);*/
        color: var(--color-white);
        font-weight: 700;
    }

    .header:not(.page-header) .header-center a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -6px;
        width: 0%;
        height: 3px;
        background: var(--color-secondary);
        border-radius: 2px;
        transform: translateX(-50%);
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(145, 17, 28, 0.5); 
    }
 
    .header:not(.page-header) .header-center a.active::after,
    .header:not(.page-header) .header-center a:hover::after {
        width: 100%;
    }

    /* OPTIONAL: keep active slightly bold */
    .header:not(.page-header) .header-center a.active {
        font-weight: 700;
    }
/* Homepage right side */
.header:not(.page-header) .login-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .header:not(.page-header) .login-link:hover {
        color: var(--color-yellow);
    }

.header:not(.page-header) .contact-btn {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .header:not(.page-header) .contact-btn:hover {
        background: var(--color-secondary);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(145, 17, 28, 0.3);
    }

.page-header {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--color-white) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    /* margin-bottom: 30px; */
    border-bottom: 1px solid var(--color-border-light) !important;
    backdrop-filter: none !important;
    /*    border-bottom: 1px solid #FFFFFF33*/
    min-height: 64px;
    height: 64px;
    /*    padding: 0px 32px;*/
}

    /* Page header navigation links (NO ICONS) */
    .page-header .header-center a {
        color: var(--color-dark-blue);
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
        padding: 8px 12px;
        border-radius: 6px;
        transition: all 0.3s ease;
        position: relative;
    }

        .page-header .header-center a:hover {
            color: var(--color-primary);
            /* background: rgba(145, 17, 28, 0.05); */
        }

        .page-header .header-center a.active {
            color: var(--color-primary);
            /* background: rgba(145, 17, 28, 0.1); */
            font-weight: 700;
        }

    .page-header .header-center .worker-link {
        /*        color: var(--color-yellow) !important;*/
    }

        .page-header .header-center .worker-link:hover {
            color: #ffa000 !important;
            background: rgba(255, 183, 3, 0.1) !important;
        }

    /* Page header right side (NO ICONS) */
    .page-header .login-link {
        color: var(--color-dark-blue);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .page-header .login-link:hover {
            color: var(--color-primary);
        }

    .page-header .contact-btn {
        background: var(--color-primary);
        color: var(--color-white);
        padding: 6px 24px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

        .page-header .contact-btn:hover {
            background: var(--color-secondary);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(145, 17, 28, 0.3);
        }
/* Profile dropdown container */
.profile-dropdown-container {
    position: relative;
    display: inline-block;
}

/* Toggle button styles */
.profile-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    /*    padding: 8px 12px;*/
    background: transparent;
    border: none;
    /*    border-radius: 8px;*/
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

    .profile-dropdown-toggle:hover {
        /*        background: rgba(9, 46, 71, 0.05);*/
    }

/* User avatar */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #FFFFFF61;
    color: #91111C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid rgba(9, 46, 71, 0.1);
    transition: all 0.3s ease;
}

.profile-dropdown-toggle:hover .user-avatar {
    border-color: rgba(9, 46, 71, 0.3);
    transform: scale(1.05);
}

/* User name */
.user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    color: #092E47;
}

/* Dropdown menu */
.profile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    margin-top: 8px;
    min-width: 240px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(9, 46, 71, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid rgba(9, 46, 71, 0.1);
}

    .profile-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* RTL support */
    .profile-menu:dir(rtl) {
        right: auto;
        left: 0;
        direction: rtl;
    }
    /* RTL support */
    .profile-menu:dir(ltr) {
        /*right: auto !important;*/
        left: auto;
        direction: ltr;
    }
/* Header section */
.profile-heading {
    padding: 16px;
    background: linear-gradient(135deg, #092E47 0%, #0d3b5d 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-avatar-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.profile-info h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.profile-info small {
    opacity: 0.9;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

/* Divider */
.profile-divider {
    height: 1px;
    background: rgba(9, 46, 71, 0.1);
    margin: 0;
}

/* Menu items */
.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #092E47;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}

    .profile-menu-item:hover {
        background: rgba(9, 46, 71, 0.05);
        color: #092E47;
        padding-left: 20px;
    }

    .profile-menu-item i {
        width: 20px;
        text-align: center;
        color: #092E47;
        opacity: 0.7;
    }

    .profile-menu-item:hover i {
        opacity: 1;
        color: #092E47;
    }

/* Logout item specific styles */
.profile-logout-form {
    margin: 0;
}

.logout-item {
    color: #dc3545;
}

    .logout-item i {
        color: #dc3545;
    }

    .logout-item:hover {
        background: rgba(220, 53, 69, 0.1);
        color: #dc3545;
    }

/* Badge for notifications (optional) */
.menu-item-badge {
    margin-left: auto;
    background: #092E47;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.admin-item {
    color: #dc3545;
}

    .admin-item:hover {
        background: #f8d7da;
        color: #dc3545;
    }

.logout-item {
    color: #dc3545;
}

    .logout-item:hover {
        background: #f8d7da;
        color: #dc3545;
    }

.profile-logout-form {
    margin: 0;
}
/* Minimal Version */
.mobile-language-switcher {
    padding: 16px;
    background: white;
    border-radius: 10px;
    margin: 16px 0;
    border: 1px solid #eaeaea;
}

.mobile-language-title {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: #092E47;
}

.mobile-language-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    text-decoration: none;
    color: #666;
    background: #f9f9f9;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

    .mobile-language-option:hover {
        background: #f0f0f0;
        color: #092E47;
    }

    .mobile-language-option.active {
        background: rgba(9, 46, 71, 0.1);
        border-color: #092E47;
        color: #092E47;
        font-weight: 500;
    }

.language-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.worker-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.worker-modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 24px;
    border-radius: 14px;
    width: 90%;
    max-width: 760px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.worker-modal-close {
    position: absolute;
    top: 1px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #91111C;
}

.bold {
    font-weight: 900;
    font-size: 24px;
}

.worker-modal-body ul li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.worker-modal-body ul li {
    margin-bottom: 10px;
    line-height: 1.5;
}


.worker-modal-body {
    display: flex;
    gap: 16px;
    /*    flex-wrap: wrap;*/
}

.modal-qr {
    font-size: 12px;
    color: #1F1F1F99;
    text-align: center;
}

    .modal-qr img {
        max-width: 260px;
        height: 260px;
    }

.modal-info {
    justify-content: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

    .modal-info h2 {
        margin-bottom: 14px;
        font-size: 22px;
        font-weight: 600;
    }

    .modal-info p {
        color: #555555;
        text-align: center;
        margin-bottom: 16px;
        font-size: 16px;
        line-height: 1.3;
    }

.google-play-btn img {
    max-width: 180px;
    margin-top: 10px;
}

/* ================= ENHANCED MOBILE MENU / ASIDE ================= */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.mobile-menu {
    position: fixed;
    top: 0;
    right: -390px;
    width: 340px;
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 40px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

    .mobile-menu.active {
        right: 0;
    }

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(145, 17, 28, 0.2);
}

.mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-logo {
    height: 45px;
    filter: brightness(0) invert(1);
}

.mobile-menu-brand-text h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.mobile-menu-brand-text p {
    margin: 2px 0 0;
    font-size: 11px;
    opacity: 0.9;
    color: white;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

.mobile-menu-content {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* User Profile */
.mobile-user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 24px;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.mobile-user-info p {
    margin: 0;
    font-weight: 600;
    color: var(--color-dark-blue);
}

.mobile-user-info small {
    color: #666;
    font-size: 12px;
}

/* Navigation */
.mobile-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.mobile-nav-section {
    padding: 0 24px;
    margin-bottom: 25px;
}

.mobile-nav-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 15px;
    padding-left: 10px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    color: var(--color-dark-blue);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateX(20px);
    opacity: 0;
}

.mobile-menu.active .mobile-nav-link.animate-in {
    transform: translateX(0);
    opacity: 1;
}

.mobile-nav-link i:first-child {
    width: 24px;
    text-align: center;
    font-size: 18px;
    color: var(--color-primary);
}

.mobile-nav-link span {
    flex: 1;
}

.mobile-nav-link .arrow {
    font-size: 12px;
    color: #999;
    transition: transform 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(145, 17, 28, 0.05);
    border-color: rgba(145, 17, 28, 0.1);
    transform: translateX(5px);
}

    .mobile-nav-link:hover .arrow {
        transform: translateX(3px);
    }

.mobile-nav-link.active {
    background: linear-gradient(135deg, rgba(145, 17, 28, 0.1) 0%, rgba(145, 17, 28, 0.05) 100%);
    border-color: var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
}

    .mobile-nav-link.active i:first-child {
        color: var(--color-primary);
    }

.mobile-worker-link {
    color: var(--color-yellow-dark) !important;
}

    .mobile-worker-link i:first-child {
        color: var(--color-yellow) !important;
    }

.badge {
    background: var(--color-yellow);
    color: var(--color-dark-blue);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: auto;
}

.phone-number {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 14px;
}

/* Quick Actions */
.mobile-quick-actions {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(145, 17, 28, 0.2);
}

    .mobile-action-btn i {
        font-size: 20px;
    }

    .mobile-action-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(145, 17, 28, 0.3);
    }

    .mobile-action-btn.clicked {
        transform: scale(0.95);
    }

    .mobile-action-btn.secondary {
        background: var(--color-dark-blue);
        box-shadow: 0 4px 15px rgba(20, 40, 70, 0.2);
    }

        .mobile-action-btn.secondary:hover {
            box-shadow: 0 6px 20px rgba(20, 40, 70, 0.3);
        }

/* Social Links */
.mobile-social-links {
    padding: 20px 24px;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin: 15px 0px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark-blue);
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .social-icon:hover {
        background: var(--color-primary);
        color: white;
        transform: translateY(-3px);
    }

/* Footer */
.mobile-menu-footer {
    padding: 20px 24px;
    text-align: center;
    background: var(--color-dark-blue);
    color: white;
    margin-top: auto;
}

    .mobile-menu-footer p {
        margin: 0;
        font-size: 13px;
    }

    .mobile-menu-footer .small {
        font-size: 11px;
        opacity: 0.8;
        margin-top: 5px;
    }

/* Animation for menu items */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-link:nth-child(1) {
    animation-delay: 0.1s;
}

.mobile-nav-link:nth-child(2) {
    animation-delay: 0.2s;
}

.mobile-nav-link:nth-child(3) {
    animation-delay: 0.3s;
}

.mobile-nav-link:nth-child(4) {
    animation-delay: 0.4s;
}

.mobile-nav-link:nth-child(5) {
    animation-delay: 0.5s;
}

.mobile-nav-link:nth-child(6) {
    animation-delay: 0.6s;
}

/* Responsive adjustments */
@media (max-width: 400px) {
    .mobile-menu {
        width: 300px;
        right: -340px;
    }

    .mobile-menu-header,
    .mobile-user-profile,
    .mobile-nav-section,
    .mobile-quick-actions,
    .mobile-social-links,
    .mobile-menu-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mobile-nav-link {
        padding: 14px 18px;
    }
}

@media (max-height: 600px) {
    .mobile-user-profile {
        padding: 15px 24px;
    }

    .mobile-nav-link {
        padding: 12px 20px;
        margin-bottom: 6px;
    }

    .mobile-quick-actions {
        padding: 15px 24px;
    }
}

/* Scrollbar styling for mobile menu */
.mobile-menu::-webkit-scrollbar {
    width: 6px;
}

.mobile-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.mobile-menu::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

    .mobile-menu::-webkit-scrollbar-thumb:hover {
        background: var(--color-secondary);
    }

/* ================= ENHANCED LANGUAGE SWITCHER ================= */

.language-switcher {
    position: relative;
    display: inline-block;
    margin-right: 10px;
}

/* Language selector trigger */
.language-selector {
    background: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    /*    color: var(--color-white);*/
    color: #070523;
}

.page-header .language-selector {
    color: var(--color-dark-blue);
}

.language-selector:hover {
    background: rgba(255, 255, 255, 0.1);
}

.page-header .language-selector:hover {
    background: rgba(20, 40, 70, 0.05);
}

.language-flag {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.language-text {
    font-size: 18px;
    font-weight: 500;
}

.language-chevron {
    font-size: 12px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

/* Dropdown menu */
.language-menu {
    position: absolute;
    top: 100%;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 12px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

    .language-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(5px);
    }

/* Homepage dropdown */
.header:not(.page-header) .language-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Dropdown items */
.language-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--color-dark-blue);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

    .language-item:last-child {
        border-bottom: none;
    }

    .language-item:hover {
        background: linear-gradient(135deg, rgba(145, 17, 28, 0.05) 0%, rgba(145, 17, 28, 0.02) 100%);
        color: var(--color-primary);
        padding-left: 24px;
    }

    .language-item.active {
        background: linear-gradient(135deg, rgba(145, 17, 28, 0.1) 0%, rgba(145, 17, 28, 0.05) 100%);
        color: var(--color-primary);
        font-weight: 600;
    }

.language-item-flag {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    object-fit: cover;
}

.language-item-text {
    flex: 1;
}

/* RTL Support */
html[lang="ar"] .language-selector {
    /*    flex-direction: row-reverse;*/
}

html[lang="ar"] .language-menu {
    text-align: right;
}

html[lang="ar"] .language-item {
    flex-direction: row-reverse;
}

    html[lang="ar"] .language-item:hover {
        padding-left: 20px;
        padding-right: 24px;
    }

/* Responsive */
@media (max-width: 768px) {
    .content {
        max-width: 420px !important;
    }

    .language-text {
        display: none;
    }

    .language-selector {
        padding: 8px;
    }

    .language-flag {
        width: 20px;
        height: 15px;
    }
}



/* ================= RESPONSIVE STYLES ================= */
@media (max-width: 1100px) {
    .header-center {
        gap: 20px;
    }

        .header-center a {
            font-size: 16px;
        }
}

@media (max-width: 992px) {
    .header-center {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header {
        /*        left: 15px;*/
        /*        right: 15px;*/
        padding: 12px 0px;
    }

    .page-header {
        padding: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }
}

@media (max-width: 768px) {
    .header {
        top: 10px;
        padding: 10px 0px;
        height: 60px;
    }

    .logo-img {
        height: 35px;
    }

    .header:not(.page-header) .contact-btn,
    .page-header .contact-btn {
        padding: 8px 15px;
        font-size: 13px;
    }

    .header:not(.page-header) .login-link,
    .page-header .login-link {
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .header {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }


        .header:not(.page-header) .contact-btn,
        .page-header .contact-btn {
            padding: 6px 12px;
        }

    .login-link span {
        display: none;
    }

    .contact-btn span {
        display: none;
    }
}

@media (max-width: 400px) {
    .content {
        max-width: 320px !important;
    }

    .mobile-menu {
        width: 280px;
    }

    .header {
        padding: 8px 0px;
        left: auto !important;
        right: auto !important;
    }
}









/* ================= Footer ================= */

.site-footer {
    background: #092E47;
    color: #fff;
    /*    padding: 60px 20px;*/
    padding: 40px 40px 20px 40px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p {
    font-size: 20px;
    line-height: 1.6;
    color: #FDFDFD;
    margin: 20px 0;
}

.footer-logo {
    width: 153px;
    height: 67px;
}

.footer-col h4 {
    /*    font-size: 20px;*/
    font-weight: 700;
    position: relative;
    font-size: 18px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    color: #fff !important;
}

    .footer-col h4::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: auto;
        width: 40px;
        height: 2px;
        background: var(--color-primary);
    }

[dir="rtl"] .footer-col h4::after {
    right: 0;
    left: auto;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col span {
    color: rgba(255, 255, 255, 0.8);
}

.footer-col a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    font-size: 16px;
    transition: 0.3s;
}

    .footer-col a:hover {
        color: var(--color-white);
        padding-left: 5px;
    }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}
/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
}

.icon {
    width: 50px;
    height: 50px;
    background: #91111C;
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .icon i {
        font-size: 24px !important;
        color: #fff !important;
    }

    .icon:hover i {
        color: #91111C !important;
    }

    .icon:hover {
        background: #fff;
        color: #91111C;
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    .icon.facebook:hover {
        background: #1877f2;
        color: #fff;
    }

    .icon.twitter:hover {
        background: #1da1f2;
        color: #fff;
    }

    .icon.instagram:hover {
        background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
        color: #fff;
    }
/* Responsive */
@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr 1fr;
    }
}

.footer-social-mobile {
    display: none;
    justify-content: center;
    gap: 14px;
    margin-bottom: 15px;
}

/* Small screens */
@media (max-width: 576px) {

    .stats-card {
        width: 100%;
        max-width: 260px !important;
        height: 125px !important;
    }

    .card-icon-circle {
        top: -40px !important;
        width: 60px !important;
        height: 60px !important;
    }

    .card-value {
        font-size: 24px !important;
    }

    .card-label {
        font-size: 16px !important;
    }
}

@media (max-width: 500px) {
    .worker-modal-body {
        display: block !important;
    }
    /* hide top social */
    .footer-brand .social-icons {
        display: none;
    }

    /* show bottom social */
    .footer-social-mobile {
        display: flex;
    }

    .footer-bottom {
        text-align: center;
        padding-top: 30px;
    }

    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hire-section {
        padding: 70px !important;
    }

    .hire-container {
        padding: 0px !important;
    }

    .hire-content h2 {
        font-size: 16px !important;
    }

    .hire-content p {
        font-size: 14px !important;
    }

    .btn {
        padding: 6px 16px !important;
        border-radius: 16px !important;
        font-size: 12px !important;
        font-weight: 500 !important;
    }

    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }

    .hero {
        height: 400px !important;
    }

    .welcome {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }

    .content h1 {
        font-size: 18px !important;
        line-height: 24px !important;
    }

    .content p {
        font-size: 10px !important;
    }

    .content {
        top: 49% !important;
        left: 16px !important;
        max-width: 250px;
    }

        .content:dir(rtl) {
            top: 49% !important;
            right: 16px !important;
            max-width: 250px;
        }

    .search-wrapper {
        max-width: 350px !important;
    }

    .search-box-lg {
        width: 95%;
    }

    .filter-dropdown div {
        font-size: 12px !important;
    }

    .filter-btn:dir(rtl) {
        padding: 8px !important;
        font-size: 12px !important;
    }

    .filter-btn {
        min-width: auto !important;
    }

        .filter-btn:dir(ltr) {
            font-size: 10px !important;
            padding: 6px !important;
        }

    .contact-btn, .language-selector {
        display: none !important;
    }

    .hero {
        padding: 12px 12px 0px 12px !important;
    }

    .logo-img {
        height: 35px;
        width: 70px;
    }

    .about-label, .services-label {
        font-size: 16px !important;
        margin-bottom: 8px !important;
        font-weight: 700 !important;
    }

    .about-title, .services-title {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }

    .about-description {
        font-size: 13px !important;
    }

    .learn-btn-main {
        padding: 0 8px 0 8px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
    }

    .mission-slide p {
        font-size: 16px !important;
    }

    [dir="rtl"] .mission-footer span {
        font-size: 16px !important;
    }

    [dir="ltr"] .mission-footer span {
        font-size: 14px !important;
    }

    .mission-arrows-container button {
        width: 24px !important;
        height: 24px !important;
    }

    .mission-arrow {
        width: 16px !important;
        height: 16px !important;
    }

    .how-steps {
        gap: 20px;
        margin-top: 30px;
    }

    .step-badge {
        width: 60px !important;
        height: 40px !important;
        border-radius: 100px;
        font-weight: 500 !important;
        margin-bottom: 12px;
        font-size: 12px !important;
    }

    [dir="rtl"] .how-step:nth-child(2) .step-badge::before, .how-step:nth-child(3) .step-badge::before {
        width: 22px !important;
        height: 20px !important;
    }

    .how-it-works {
        padding: 0px 10px 10px !important;
    }

    .how-step h4 {
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .how-step p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    [dir="rtl"] .how-step:nth-child(1)::after {
        right: 60% !important;
    }

    [dir="rtl"] .how-step:nth-child(2) .step-badge::before, [dir="rtl"] .how-step:nth-child(3) .step-badge::before {
        left: auto;
        right: -62% !important;
    }

    [dir="rtl"] .how-step::after {
        right: 48% !important;
        left: auto;
    }

    .how-image img {
        max-width: 250px !important;
    }

    .how-image {
        margin-top: -90px !important;
    }

    .stats-section {
        margin-top: -90px !important;
    }

    .how-step:nth-child(3) .step-badge::before {
        right: 60% !important;
    }

    .section-label {
        font-size: 16px !important;
        margin-bottom: 8px !important;
        font-weight: 600 !important;
    }

    .section-title {
        font-size: 20px !important;
    }

    .section-description {
        font-size: 14px !important;
    }

    .user-avatar {
        width: 30px !important;
        height: 30px !important;
        font-size: 14px !important;
    }

        .user-avatar i {
            font-size: 14px !important;
        }

    .mobile-menu-toggle i {
        font-size: 18px !important;
    }

    .header-right {
        gap: 0px !important;
    }

    .header {
        left: auto !important;
        right: auto !important;
    }

    .search-box-lg button {
        padding: 8px 16px !important;
        border-radius: 4px !important;
        font-size: 14px !important;
    }

    .search-box-lg {
        border-radius: 6px !important;
        padding: 0px 6px !important;
    }

    .services-swapper-track .service-card {
        height: 270px !important;
    }

    .service-overlay h3 {
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .service-overlay p {
        font-size: 12px !important;
    }


    .workers-count {
        font-size: 12px !important;
        padding: 2px 8px !important;
        border-radius: 16px !important;
        font-weight: 500 !important;
    }

    .auto-play-indicator {
        bottom: 22px !important;
    }

    .view-all-btn-bg {
        width: 120px !important;
    }
}
/* ================= HERO / SLIDER ================= */
.hero {
    height: 100vh;
    min-height: 500px;
    padding: 20px 20px 0px 20px;
    position: relative;
    background: var(--color-white);
    /*    border-radius: 16px;*/
}

.slider {
    height: 100%;
    position: relative;
    overflow: visible;
    border-radius: 42px;
}

.slide {
    position: absolute;
    /*    border-radius: 25px;*/
    /*    overflow: hidden;*/
    inset: 0;
    background-size: cover;
    background-position: center top;
    opacity: 0;
    transition: opacity 1s ease;
    border-radius: 16px;
}

    .slide.active {
        opacity: 1;
    }

    .slide .content {
        position: absolute;
        z-index: 10;
    }

.filter-dropdown {
    position: absolute;
    z-index: 100;
    max-height: 200px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #0b2343 transparent;
}

    .filter-dropdown::-webkit-scrollbar {
        width: 5px; /* thin scrollbar */
    }

    .filter-dropdown::-webkit-scrollbar-track {
        background: transparent;
    }

    .filter-dropdown::-webkit-scrollbar-thumb {
        background-color: #0b2343;
        border-radius: 10px;
    }

        .filter-dropdown::-webkit-scrollbar-thumb:hover {
            background-color: #0b2343;
        }

.overlay {
    position: absolute;
    inset: 0;
    top: -120px;
    border-radius: 25px;
    /*    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(63, 63, 63, 0.1) 80.26%, rgba(17 17 17 / 9%) 85.63%, rgba(102, 102, 102, 0) 86.33%);*/
    background: linear-gradient(0deg, rgb(0 0 0 / 50%) 0%, rgb(63 63 63 / 0%) 80.26%, rgb(17 17 17 / 0%) 85.63%, rgba(102, 102, 102, 0) 86.33%);
}

.slide .overlay {
    pointer-events: none;
}

.slide:not(.active) .filter-dropdown {
    display: none !important;
}

.slide:not(.active) .filter.active .filter-dropdown {
    display: none !important;
}
/* ================= CONTENT ================= */
.content {
    position: absolute;
    top: 55%;
    left: 60px;
    right: auto;
    transform: translateY(-50%);
    color: var(--color-white);
    max-width: 650px;
}

    .content:dir(rtl) {
        position: absolute;
        top: 55%;
        right: 60px;
        left: auto;
        transform: translateY(-50%);
        color: var(--color-white);
        max-width: 690px;
    }

.welcome {
    color: var(--color-yellow);
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
    display: block;
}

.content h1 {
    font-size: 40px;
    margin-bottom: 12px;
    max-height: 4.1em; /*  ( 3 lines of text) */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

[dir="rtl"] .content h1 {
    line-height: 50px;
}

.content p {
    /*    font-size: 15px;*/
    line-height: 1.4;
    font-size: 20px;
    margin-bottom: 20px;
}

/* ================= SEARCH WRAPPER ================= */
.search-wrapper {
    margin-top: 30px;
    max-width: 720px;
    position: relative;
    z-index: 200;
}

/* FILTER BUTTONS */
.search-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.filter {
    position: relative;
}

.filter-btn {
    background: var(--color-white);
    border: none;
    color: #00000080;
    border-radius: 4px;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    min-width: 125px;
}

/* CONNECTOR LINE */
.filter::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 9px;
    height: 0;
    background: var(--color-white);
    opacity: 0;
    transition: 0.3s ease;
}

.filter.last-selected::after,
.filter.active::after {
    height: 10px;
    opacity: 1;
}

/* DROPDOWN */
.filter-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    /*    z-index: 50;*/
    z-index: 9999;
}

.filter.active .filter-dropdown {
    display: flex;
}

.filter-dropdown div {
    padding: 8px 12px;
    font-size: 14px;
    color: var(--color-gray-dark);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .filter-dropdown div:hover {
        background: var(--color-gray-lighter);
        padding-left: 20px;
    }

    .filter-dropdown div:not(:last-child) {
        border-bottom: 1px solid var(--color-border-light);
    }

    .filter-dropdown div.selected {
        background: var(--color-primary);
        color: var(--color-white);
        font-weight: 500;
        position: relative;
    }

        .filter-dropdown div.selected::after {
            content: "✔";
            font-size: 14px;
            position: absolute;
            right: 16px;
            left: auto;
            color: var(--color-white);
            opacity: 1;
        }

    .filter-dropdown div::after {
        content: "";
    }

[dir="rtl"] .filter-dropdown div.selected::after {
    left: 16px;
    right: auto;
}

.filter-dropdown div:hover::after {
    opacity: 1;
}

/* ================= SEARCH BOX ================= */
.search-box-lg {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--color-white);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

    .search-box-lg input {
        flex: 1;
        border: none;
        outline: none;
        padding: 8px;
        font-size: 15px;
        width: 650px;
    }

/* TAGS */
.selected-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding-left: 10px;
}

.tag {
    background: var(--color-gray-light);
    color: var(--color-gray-dark);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .tag span {
        cursor: pointer;
        font-weight: bold;
    }

/* SEARCH BUTTON */
.search-box-lg button {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    line-height: 100%;
    padding: 14px 26px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

/* ================= DOTS ================= */
.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--color-gray-medium);
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
}

    .dot.active {
        background: var(--color-white);
    }

/* ================= ABOUT SECTION ================= */
.about-section {
    position: relative;
    padding: 48px 20px 0px;
    background: var(--color-white);
    overflow: hidden;
}

/* top background image */
.about-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    max-height: 380px;
    background-image: url("/images/bg/about-bg.svg");
    background-position: top center;
    background-repeat: no-repeat;
    /*    background-size: auto 100%;*/
    max-width: 1439px;
}

[dir="rtl"] .about-bg-img {
    transform: scaleX(-1);
}


.about-container {
    position: relative;
    z-index: 2;
    padding: 0px 16px;
    /*    max-width: 1200px;*/
    /*    margin: auto;*/
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* about text top */
.about-text-top {
    max-width: 1200px;
}

.about-label::before {
    content: "";
    width: 32px;
    height: 0px;
    border-top: 2px solid #9F2F38;
    margin-bottom: 8px;
    display: inline-block;
}

.about-label {
    display: flex;
    font-size: 20px;
    color: var(--color-dark-blue);
    margin-bottom: 10px;
    font-weight: 800;
    align-items: center;
    gap: 10px;
}

.about-title {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--color-blue-dark);
    max-width: 690px;
}

    .about-title .highlight {
        color: var(--color-primary);
    }

.about-description {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-blue-dark);
    max-width: 760px;
    margin-bottom: 24px;
}

.learn-btn {
    position: relative;
    display: inline-block;
    height: 66px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.learn-btn-bg:dir(ltr) {
    position: absolute;
    right: 0;
    left: auto;
    top: 6px;
    width: 128px;
    height: 50px;
    border-radius: 25px;
    background: rgba(19, 19, 18, 0.05);
    transition: transform 0.3s ease, background 0.3s ease;
}

.learn-btn-bg:dir(rtl) {
    position: absolute;
    left: 0;
    right: auto;
    top: 6px;
    width: 128px;
    height: 50px;
    border-radius: 25px;
    background: rgba(19, 19, 18, 0.05);
    transition: transform 0.3s ease, background 0.3s ease;
}

.learn-btn-main {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    height: 50px;
    padding: 0 40px 0 32px;
    margin: 6px 47px 0 8px;
    background: #91111C;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.3);
    transition: background 0.3s ease, transform 0.3s ease;
}

    .learn-btn-main:dir(rtl) {
        margin: 6px 8px 0 47px;
    }

.learn-btn-arrow {
    position: absolute;
    z-index: 3;
    right: 4px;
    top: 12px;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: #142846;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.learn-arrow {
    width: 20px;
    transform: scaleX(-1);
    transition: transform 0.3s ease;
}

.btn-container {
    display: flex;
    align-items: end;
}



html[dir="rtl"] .learn-btn-arrow {
    left: 4px;
    right: auto;
    transform: scale(-1);
}

.learn-btn:hover .learn-btn-main {
    background: #b51a27;
    transform: translateX(5px);
}

.learn-btn:hover .learn-btn-arrow {
    background: #1a3760;
    transform: translateX(5px);
}

.learn-btn:hover .learn-arrow {
    transform: scaleX(-1) translateX(4px);
}

html[dir="rtl"] .learn-btn:hover .learn-arrow {
    transform: scaleX(1) translateX(4px);
}

.learn-btn:hover .learn-btn-bg {
    transform: scaleX(1.05);
    background: rgba(19,19,18,0.1);
}



html[dir="rtl"] .learn-btn .btn-icon {
    right: auto;
    left: -6px;
}

.description-container {
    display: flex;
    justify-content: space-between;
}

.about-row {
    display: flex;
    gap: 20px;
    align-items: stretch;
    max-height: 290px;
}


.about-image {
    flex: 1;
}

    .about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 18px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }


.mission-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

    .mission-footer span {
        color: #8bc34a;
        font-weight: 800;
        font-size: 32px;
    }

.mission-arrows-container {
    display: flex;
    gap: 10px;
}

    .mission-arrows-container button {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: none;
        background: transparent;
        color: var(--color-white);
        border: 1px solid #FFFFFF;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .mission-arrows-container button.active {
            background: var(--color-white);
            color: #8bc34a;
            box-shadow: 0px 4px 4px 0px #00000040;
        }

.mission-arrow {
    display: flex;
    width: 20px;
}

    .mission-arrow:dir(rtl) {
        transform: scale(-1);
    }
/* ================= MISSION CAROUSEL ================= */
.mission-container {
    flex: 1;
    position: relative;
}

/* Mission Card */
.mission-card {
    position: relative;
    flex: 1;
    background: #0b2343;
    color: var(--color-white);
    padding: 32px 32px 32px 50px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    height: 100%;
    min-height: 290px;
}

    /* Green shape on the left with spacing */
    .mission-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 12px;
        bottom: 12px;
        width: 8px;
        background: #83AA2D;
        clip-path: polygon( 0 0, 100% 20px, 100% calc(100% - 20px), 0 100% );
    }

    .mission-card p {
        font-size: 25px;
        line-height: 1.6;
        font-weight: 500;
    }


.mission-slides {
    flex: 1;
    position: relative;
    overflow: hidden;
    /*    margin-bottom: 20px;*/
}

.mission-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateX(20px);
    pointer-events: none;
}

    .mission-slide.active {
        opacity: 1;
        transform: translateX(0);
        pointer-events: all;
    }

    .mission-slide p {
        font-size: 25px;
        line-height: 1.6;
        font-weight: 500;
        margin: 0;
        padding-right: 10px;
        max-height: 200px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #0b2343 transparent;
    }

        .mission-slide p::-webkit-scrollbar {
            width: 5px;
        }

        .mission-slide p::-webkit-scrollbar-track {
            background: transparent;
        }

        .mission-slide p::-webkit-scrollbar-thumb {
            background-color: #0b2343;
            border-radius: 10px;
        }

            .mission-slide p::-webkit-scrollbar-thumb:hover {
                background-color: #0b2343;
            }

/* Mission Footer */
.mission-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

    .mission-footer span {
        color: #8bc34a;
        font-weight: 800;
        font-size: 32px;
    }

.mission-arrows-container {
    display: flex;
    gap: 10px;
}

    .mission-arrows-container button {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: none;
        background: transparent;
        color: var(--color-white);
        border: 1px solid #FFFFFF;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
    }

        .mission-arrows-container button:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .mission-arrows-container button.active {
            background: var(--color-white);
            color: #8bc34a;
            box-shadow: 0px 4px 4px 0px #00000040;
        }

        .mission-arrows-container button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

            .mission-arrows-container button:disabled:hover {
                background: transparent;
            }

.mission-arrow {
    display: flex;
    width: 20px;
    height: 20px;
}

.prev-arrow {
    /* transform: rotate(180deg); */
}

.next-arrow {
    transform: rotate(0deg);
}

.mission-arrows-container button.active .next-arrow {
    filter: invert(47%) sepia(93%) saturate(343%) hue-rotate(56deg) brightness(94%) contrast(86%);
}

/* Mission Counter */
.mission-counter {
    position: absolute;
    bottom: 40px;
    right: 2px;
    left: auto;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 500;
    z-index: 2;
}

    .mission-counter:dir(rtl) {
        right: auto;
        left: 26px;
    }

    .mission-counter .current-slide {
        color: #fff;
        font-weight: 700;
    }

/* Responsive adjustments */
@media (max-width: 992px) {
    .mission-card {
        padding: 30px 30px 30px 40px;
        min-height: 250px;
    }

    .mission-slide p {
        font-size: 20px;
    }

    .mission-footer span {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .how-step::after {
        left: 48% !important;
    }

    .mission-card {
        padding: 20px 20px 20px 30px;
        min-height: 220px;
    }

    .mission-slide p {
        font-size: 18px;
    }

    .mission-footer span {
        font-size: 24px;
    }

    .mission-counter {
        bottom: 20px;
        right: 20px;
        font-size: 14px;
    }
}
/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .about-row {
        flex-direction: row;
        gap: 20px;
    }

    .about-image img,
    .mission-card {
        width: 100%;
        /*        height: 160px;*/
    }

    .about-text-top {
        /*        text-align: center;*/
    }

    .learn-btn-main {
        width: max-content;
        height: 40px;
        padding: 0 16px 0 16px;
    }

    .learn-btn-arrow {
        top: 12px;
        width: 28px;
        height: 28px;
    }

    .learn-btn-bg, .view-all-btn-bg {
        height: 40px !important;
    }

    .about-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .content h1 {
        font-size: 32px;
    }

    .content p {
        font-size: 14px;
    }

    .about-description {
        font-size: 14px;
    }
}
/* Hadith Section Styles */
.hadith-section {
    background-image: url("/images/bg/hadith-bg.svg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding: 30px 20px;
    margin-top: 60px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hadith-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}


.hadith-text {
    /* text-align: right; */
    flex-grow: 1;
    color: #092E47;
    font-size: 20px;
    font-weight: 500;
    padding-top: 10px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .hadith-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .hadith-text {
        text-align: center;
        font-size: 14px;
    }

    .hadith-arabic {
        font-size: 1.4rem;
    }
}

.hadith-title {
    color: #91111C !important;
}

/***************************************service section *******************************/
.services-section {
    padding: 60px 30px 120px 30px;
    text-align: center;
    background-image: url("/images/bg/services-bg.svg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    /*    background-size: 100% auto;*/
    margin-top: -0px;
}

.services-header {
    margin-top: 32px;
    justify-content: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.services-content {
    /*    position: relative;*/
    z-index: 2;
}

.services-label::before {
    content: "";
    width: 32px;
    height: 0px;
    border-top: 2px solid #9F2F38;
    /*    margin-bottom: 8px;*/
    display: inline-block;
}

.services-label::after {
    content: "";
    width: 32px;
    height: 0px;
    border-top: 2px solid #9F2F38;
    /*    margin-bottom: 8px;*/
    display: inline-block;
}

.services-label {
    display: flex;
    font-size: 20px;
    color: var(--color-dark-blue);
    /*    margin-bottom: 10px;*/
    font-weight: 800;
    align-items: center;
    gap: 10px;
}


/*.services-label {
    color: #b21f24;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 600;
}*/

.services-title {
    font-size: 40px;
    margin-top: 10px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-blue-dark);
}

    .services-title span {
        color: #b21f24;
    }

.services-cards {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    height: 370px;
    overflow: hidden;
    border-radius: 0px;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(178, 31, 36, 0.95), rgba(178, 31, 36, 0.3), transparent );
    color: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: start;
}

    .service-overlay h3 {
        font-size: 22px;
        font-weight: 700;
    }

    .service-overlay p {
        font-size: 14px;
        margin: 10px 0 20px;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 4.8em; /* 14px * 1.6 * 3 = 67.2px，*/
    }

.service-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.workers-count {
    background: #fff;
    color: #b21f24;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    border: none;
    gap: 8px;
    display: flex;
}

.arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #b21f24;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/*    .arrow-btn img {
        width: 14px;
    }*/
.workers-arrow {
    filter: brightness(0) saturate(100%) invert(12%) sepia(70%) saturate(5100%) hue-rotate(345deg) brightness(99%) contrast(80%);
    transform: scaleX(-1);
    width: 16px;
}

    .workers-arrow:dir(rtl) {
        transform: scale(1);
    }

/* View All */
.services-view-all {
    margin-top: 20px;
    justify-content: center;
}

.view-all-btn-bg {
    position: absolute;
    right: 0;
    left: auto;
    top: 6px;
    width: 128px;
    height: 50px;
    border-radius: 25px;
    background: #FFFFFF;
}

    .view-all-btn-bg:dir(rtl) {
        right: auto;
        left: 0;
    }

@media (max-width: 1200px) {
    .services-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 120px 20px;
    }

    .services-cards {
        grid-template-columns: 1fr;
    }

    .services-title {
        font-size: 32px;
    }
}
/* ================= SERVICES SWAPPER STYLES ================= */
.services-swapper-container {
    position: relative;
    margin: 0px auto 0;
    /* max-width: 1200px; */
    overflow: hidden;
    padding: 20px 0;
}

.services-swapper-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 10px 0;
    will-change: transform;
}

    /* Individual Card in Swapper */
    .services-swapper-track .service-card {
        flex: 0 0 calc(25% - 18px); /* 4 cards visible on desktop */
        min-width: calc(25% - 18px);
        height: 370px;
        /* border-radius: 12px; */
        overflow: hidden;
        position: relative;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
    }

        .services-swapper-track .service-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(178, 31, 36, 0.2);
        }

/* Navigation Buttons */
.swapper-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-white);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--color-primary);
    display: none
}

    .swapper-nav-btn:hover {
        background: var(--color-primary);
        color: var(--color-white);
        transform: translateY(-50%) scale(1.1);
    }

    .swapper-nav-btn:active {
        transform: translateY(-50%) scale(0.95);
    }

.swapper-prev {
    left: 20px;
}

.swapper-next {
    right: 20px;
}

.swapper-nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Dots Navigation */
.swapper-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.swapper-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

    .swapper-dot.active {
        background: var(--color-primary);
        transform: scale(1.2);
    }

    .swapper-dot:hover {
        background: #aaa;
    }

/* Auto-play indicator */
.auto-play-indicator {
    position: absolute;
    bottom: 10px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 12px;
}

.auto-play-toggle {
    width: 36px;
    height: 20px;
    background: #ddd;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .auto-play-toggle.active {
        background: var(--color-primary);
    }

    .auto-play-toggle::after {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        width: 16px;
        height: 16px;
        background: white;
        border-radius: 50%;
        transition: transform 0.3s ease;
    }

    .auto-play-toggle.active::after {
        transform: translateX(16px);
    }

.services-view-all {
    position: absolute;
    bottom: 120px;
    left: 20px;
    margin: 0;
    z-index: 15;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .services-swapper-track .service-card {
        flex: 0 0 calc(33.333% - 16px); /* 3 cards on tablet */
        min-width: calc(33.333% - 16px);
    }
}

@media (max-width: 992px) {
    .services-swapper-track .service-card {
        flex: 0 0 calc(50% - 12px); /* 2 cards on smaller tablets */
        min-width: calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .services-swapper-container {
        padding: 0 15px;
    }

    .services-swapper-track .service-card {
        flex: 0 0 100%; /* 1 card on mobile */
        min-width: 100%;
    }

    .swapper-nav-btn {
        width: 40px;
        height: 40px;
    }

    .swapper-prev {
        left: 5px;
    }

    .swapper-next {
        right: 5px;
    }
}

/* Pause animation on hover */
.services-swapper-container:hover .services-swapper-track {
    animation-play-state: paused;
}

/* Loading animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.services-swapper-track .service-card {
    animation: slideIn 0.5s ease forwards;
}

    /* Active state for current slide */
    .services-swapper-track .service-card.active {
        border: 2px solid var(--color-primary);
    }
/*end service section */

/***************************************
            HOW IT WORKS
***************************************/
.how-it-works {
    padding: 0px 90px 60px;
    position: relative;
    overflow: hidden;
    margin-top: -20px;
}

/* Steps container */
.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    margin-top: 50px;
}

    /* Horizontal line behind steps */
    .how-steps::before {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 90px;
        right: 0;
        height: 1px;
        background: #2D2D2D1A;
        z-index: 1;
        width: calc(100% - 160px);
    }
/* Step 1 shorter line */
.how-step:nth-child(1)::after {
    left: 36%;
    right: auto;
    width: 65%;
}

[dir="rtl"] .how-step:nth-child(1)::after {
    right: 36%;
    left: auto;
}
/* Step 2 normal line */
/*.how-step:nth-child(2)::after {
    left: 0;
    width: 100%; 
}
*/
/* Step 3 shorter line */
.how-step:nth-child(3)::after {
    /*    left: 10%;*/
    width: 50%;
}
/* Individual step */
.how-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

/* Step badges */
.step-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 99px;
    height: 40px;
    border-radius: 100px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    margin-bottom: 14px;
    position: relative;
}

/* Step text */
.how-step h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-blue-dark);
}

.how-step p {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
    color: #666;
}

/* Step lines & circles */
.how-step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 27%;
    right: auto;
    width: calc(100% - 30px);
    height: 1px;
    background: #2D2D2D1A;
    z-index: 1;
}

[dir="rtl"] .how-step::after {
    right: 27%;
    left: auto;
}
/* Vertical connector lines for steps 2+ */
.how-step:nth-child(n+2) .step-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -20%;
    right: auto;
    transform: translate(-50%, 0);
    width: 1px;
    height: var(--line-height, calc(100% + 126px)); /* Fallback value */
    background: #2D2D2D1A;
    z-index: 2;
}

[dir="rtl"] .how-step:nth-child(n+2) .step-badge::after {
    right: -20%;
    left: auto;
}
/* Step 1 shorter line */
.how-step:nth-child(1) .step-badge {
    background: #092E47;
    color: #fff;
}

/* Step 2 & 3 badges */
.how-step:nth-child(2) .step-badge,
.how-step:nth-child(3) .step-badge {
    background: #fff;
    color: #092E47;
    border: 2px solid #2D2D2D1A;
}

    /* Step 2 circle */
    .how-step:nth-child(2) .step-badge::before {
        content: '';
        position: absolute;
        top: 0%;
        left: -22%;
        right: auto;
        transform: translate(-50%, 0);
        width: 33px;
        height: 30px;
        border-radius: 50%;
        background: #91111C url('/images/icons/double-arrow.svg') no-repeat center center;
        background-size: 24px 24px;
        box-shadow: 0px 4px 4px 0px #00000040;
        z-index: 3;
        opacity: 1;
    }

[dir="rtl"] .how-step:nth-child(2) .step-badge::before {
    left: auto;
    right: -55%;
}
/* Step 3 circle */
.how-step:nth-child(3) .step-badge::before {
    content: '';
    position: absolute;
    top: 0%;
    left: -22%;
    right: auto;
    transform: translate(-50%, 0);
    width: 33px;
    height: 30px;
    border-radius: 50%;
    background: #fff url('/images/icons/double-arrow-blue.svg') no-repeat center center;
    background-size: 24px 24px;
    box-shadow: 0px 4px 4px 0px #00000040;
    z-index: 3;
    opacity: 1;
}

[dir="rtl"] .how-step:nth-child(3) .step-badge::before {
    right: -55%;
    left: auto;
}
/* Image styling */
.how-image {
    width: 100%;
    margin-top: -190px;
    display: flex;
}

html[dir="ltr"] .how-image {
    justify-content: flex-start;
}

html[dir="rtl"] .how-image {
    justify-content: flex-end;
}

.how-image img {
    max-width: 400px;
    width: 100%;
    z-index: 2;
}

/* Arrow images */
.how-arrow img {
    width: 22px;
    filter: brightness(0) saturate(100%) invert(12%) sepia(70%) saturate(5100%) hue-rotate(345deg) brightness(99%) contrast(80%);
}

/* Responsive */
@media (max-width: 992px) {
    .how-steps {
        /*        display: flex;
        flex-direction: column;
        gap: 24px;*/
    }

    .how-arrow,
    .how-image {
        /*        display: none;*/
    }
}
/************************* stats ********************/

/* Stats Section Styles */
.stats-section {
    position: relative;
    padding: 40px 80px 40px 80px;
    background-color: #142846CC;
    /* Background image */
    background-image: url('/images/bg/stats-bg.svg');
    /* Combine position, repeat, and size */
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: -130px;
}

.stats-container {
    /*    max-width: 1200px;*/
    margin: 0 auto;
}

/* Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    color: white;
}

.section-label {
    display: flex;
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 800;
    align-items: center;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

    .section-label::before {
        content: "";
        width: 32px;
        height: 0px;
        border-top: 2px solid #9F2F38;
        margin-bottom: -2px;
        display: inline-block;
    }



.section-title {
    font-size: 42px;
    margin-bottom: 12px;
    color: white;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    /*    max-width: 600px;*/
    /*    margin: 0 auto;*/
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Stats Cards Grid */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Individual Card */
.stats-card {
    position: relative;
    width: 260px;
    height: 160px;
    background: rgba(255, 255, 255, 0.2);
    border: 0.5px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(2px);
    /*    border-radius: 12px;*/
    /*    padding: 20px 15px;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .stats-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

.card-icon-circle {
    position: absolute;
    top: -50px;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Card Content */
.card-content {
    text-align: center;
    margin-top: 40px;
}

.card-value {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    font-family: 'Arial', sans-serif;
}

.card-label {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    display: block;
}

/* Plus sign for numbers */
.card-value::after {
    content: '+';
    font-size: 36px;
    margin-left: 2px;
}

/* Card 1 specific - 24/7 */
.stats-card:nth-child(1) .card-value::after {
    content: '/7';
    font-size: 24px;
    vertical-align: super;
}

/* Card 4 specific - Years */
.stats-card:nth-child(4) .card-value::after {
    content: '+ Years';
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .stats-card {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .stats-cards {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stats-card {
        margin-bottom: 40px !important;
    }

    .stats-card {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-header {
        margin-bottom: 50px !important;
    }

    .section-label::before,
    .section-label::after {
        width: 20px;
    }

    .section-label::before {
        left: -30px;
    }

    .section-label::after {
        right: -30px;
    }
}
/************************* TESTIMONIALS SECTION ********************/

.testimonials-section {
    position: relative;
    padding: 80px 20px 0px 20px;
    background-color: var(--color-white);
    overflow: hidden;
    margin-bottom: -120px;
}

.testimonials-container {
    padding: 0px 16px;
    position: relative;
    overflow: visible;
    min-height: 500px;
}

/* Header Styles */
.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.testimonials-section .section-label {
    color: var(--color-blue-dark);
}

    .testimonials-section .section-label::before {
        border-top: 2px solid var(--color-primary);
    }

.testimonials-section .section-title {
    color: var(--color-blue-dark);
    font-size: 42px;
    margin-bottom: 16px;
}

.testimonials-section .section-description {
    color: #666;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}



.testimonial-card {
    /*    position: absolute;*/
    width: calc(33.333% - 16px);
    min-width: 280px;
    max-width: 350px;
    border-radius: 22px;
    padding: 16px;
    background: transparent;
    transition: all 0.4s ease;
    opacity: 0.6;
    filter: blur(2px);
    transform: scale(0.9);
    cursor: pointer;
    pointer-events: auto;
    will-change: transform, opacity, filter;
}


.slick-current.slick-active.slick-center .testimonial-box::after {
    content: '';
    position: absolute;
    bottom: -10.5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid rgb(9, 46, 71);
    z-index: 5;
}

.slick-slide:not(.slick-center) {
    opacity: 0.6;
    filter: blur(2px);
    transform: scale(0.9);
}

.slick-current.slick-active.slick-center .testimonial-box {
    background: rgb(9, 46, 71);
    color: #fff !important;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
}

.testimonial-card.center .testimonial-box::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid rgb(9, 46, 71);
    z-index: 5;
}



.client-info {
    display: flex;
    flex-direction: column;
    /*    gap: 16px;*/
    align-items: center;
    position: relative;
    z-index: 2;
    margin-top: 18px;
}

.client-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f1f1f1;
}

.client-details h4 {
    font-size: 16px;
    color: var(--color-blue-dark);
    /*    margin-bottom: 4px;*/
    font-weight: 700;
}

.client-details span {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Testimonial Box */
.testimonial-box {
    min-height: 100px;
    border-radius: 22px;
    transition: all 0.4s ease;
    display: flex;
    justify-content: center;
}

.testimonial-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.6;
    /*    color: #444;*/
    margin-bottom: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more {
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    margin-left: 5px;
    background: transparent;
    border: none;
}
/* Star Ratings */
.star-wrapper {
    position: relative;
    display: inline-block;
    font-size: 20px;
    line-height: 1;
}

    .star-wrapper i {
        font-size: 14px;
    }

.star-fill-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    height: 100%;
}

/* RTL Support for stars */
[dir="rtl"] .star-fill-wrapper {
    left: auto;
    right: 0;
}

.star-empty {
    color: #ddd;
}

.star-fill {
    color: #FFB703;
}

/* Dots Navigation */
.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 90px;
    position: relative;
    z-index: 20;
    opacity: 0;
}

    .testimonials-dots .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #ddd;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .testimonials-dots .dot.active {
            background: var(--color-primary);
            transform: scale(1.2);
        }

        .testimonials-dots .dot:hover {
            background: #aaa;
        }

@keyframes swipeLeftOut {
    0% {
        transform: translateX(0) scale(0.9);
        opacity: 0.6;
    }

    50% {
        transform: translateX(-50px) scale(0.85);
        opacity: 0.3;
    }

    100% {
        transform: translateX(0) scale(0.9);
        opacity: 0.6;
    }
}

@keyframes swipeRightOut {
    0% {
        transform: translateX(0) scale(0.9);
        opacity: 0.6;
    }

    50% {
        transform: translateX(50px) scale(0.85);
        opacity: 0.3;
    }

    100% {
        transform: translateX(0) scale(0.9);
        opacity: 0.6;
    }
}

[dir="rtl"] .swipe-left {
    animation: swipeRightOut 0.4s ease forwards !important;
}

[dir="rtl"] .swipe-right {
    animation: swipeLeftOut 0.4s ease forwards !important;
}

.testimonial-card.swipe-left {
    animation: swipeLeftOut 0.4s ease forwards;
}

.testimonial-card.swipe-right {
    animation: swipeRightOut 0.4s ease forwards;
}

/* Hover effects */
.testimonial-card.left:hover,
.testimonial-card.right:hover {
    opacity: 0.8;
    filter: blur(1px);
    transform: scale(0.92);
    z-index: 5;
}

.testimonial-card.center:hover {
    transform: scale(1.07) !important;
}

/* Responsive Design */
@media (max-width: 992px) {


    .testimonial-card {
        position: static !important;
        width: 100% !important;
        max-width: 500px;
        margin: 0 auto;
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        animation: none !important;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 20px;
    }

        .testimonials-section .section-title {
            font-size: 32px;
        }

    .testimonial-card {
        min-width: 260px;
    }
}

@media (max-width: 992px) {


    .testimonial-card {
        position: relative;
        transform: none !important;
        width: 100%;
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1100px) {


    .top-center-card {
        position: relative;
        left: auto;
        transform: none;
        margin: 0 auto 40px;
        width: 90%;
    }

    .bottom-left-card,
    .bottom-right-card {
        position: relative;
        width: 90%;
        margin: 20px auto;
        left: auto;
        right: auto;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 20px;
    }

        .testimonials-section .section-title {
            font-size: 32px;
        }

    .testimonial-card {
        padding: 30px;
    }

    .testimonial-text {
        font-size: 16px;
    }
}

.client-rating {
    display: flex;
    gap: 4px;
    align-items: center;
    padding-bottom: 16px;
}

.star-img {
    width: 24px;
    height: 24px;
}
/* Default name color (light cards) */
.client-details h4 {
    color: var(--color-blue-dark);
}

/* White name on blue card */
.top-center-card .client-details h4 {
    color: #ffffff;
}

.hire-section {
    /*    background: #f9f9f9;
    padding: 80px 20px;*/
    position: relative;
    overflow: hidden;
    padding: 100px 30px 20px 30px;
    text-align: center;
    background-image: url(/images/bg/hire-bg.svg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    /* background-size: 100% auto; */
    /*    margin-top: -120px;*/
    /*    margin-bottom:100px;*/
}

.hire-container {
    padding: inherit;
    /*    max-width: 1200px;*/
    margin: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hire-content {
    text-align: center;
    max-width: 700px;
    z-index: 2;
}

    .hire-content h2 {
        font-size: 36px;
        font-weight: 700;
        color: #0b2c3d;
        line-height: 1.3;
    }

        .hire-content h2 span {
            color: #0b2c3d;
        }

    .hire-content p {
        margin: 15px 0 30px;
        color: #6b7280;
        font-size: 16px;
    }

.hire-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 26px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline {
    border: 1px solid #b91c1c;
    color: #b91c1c;
    background: transparent;
}

    .btn-outline:hover {
        background: var(--color-primary);
        color: #fff;
    }

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border: none;
}

    .btn-primary:hover {
        background: #991b1b;
    }

/* Images */
.hire-img {
    position: absolute;
    max-height: 280px;
}

    .hire-img.left {
        left: -40px;
        bottom: -22px;
        max-height: 400px;
    }

    .hire-img.right {
        right: -20px;
        top: 14px;
    }

/* Responsive */
@media (max-width: 768px) {
    .hire-img {
        display: none;
    }

    .hire-content h2 {
        font-size: 28px;
    }
}
/****************LOading ********************/

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #F0EEFF;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #F0EEFF;
    border-top: 4px solid #142846;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner p {
    color: #142846;
    font-size: 16px;
    font-weight: 600;
    margin-top: 15px;
}

.loading-progress {
    width: 300px;
    height: 6px;
    background: #F0EEFF;
    border-radius: 3px;
    margin-top: 20px;
    overflow: hidden;
}

.loading-progress-bar {
    height: 100%;
    background: #142846;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 3px;
}

.loading-steps {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.loading-step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #F0EEFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

    .step-check.active {
        background: #142846;
        color: white;
    }

    .step-check.completed {
        background: #28a745;
        color: white;
    }

/* ================= HEADER ================= */
.header {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 0px 32px;
    height: 72px;
    z-index: 20;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

/* RIGHT SIDE */
.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    padding: 5px;
}

/* ================= RESPONSIVE STYLES - FIXED ================= */
@media (max-width: 1100px) {
    .header-center {
        gap: 20px;
    }

        .header-center a {
            font-size: 16px;
        }
}

@media (max-width: 992px) {
    /* SWITCH TO FLEXBOX FOR MOBILE */
    .header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        left: 15px !important;
        right: 15px !important;
        padding: 12px 20px !important;
    }

    .header-center {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block !important;
    }

    .header-right {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
    }

    .page-header {
        padding: 0px 8px !important;
        left: 0 !important;
        right: 0 !important;
        top: 0px !important;
    }
}

@media (max-width: 768px) {
    .header {
        top: 10px !important;
        padding: 10px 15px !important;
        height: 60px !important;
    }

    .page-header {
        padding: 0px !important;
        left: 0 !important;
        right: 0 !important;
        top: 0px !important;
    }

    .logo-img {
        height: 35px;
        width: auto;
    }

    .header:not(.page-header) .contact-btn,
    .page-header .contact-btn {
        padding: 8px 15px !important;
        font-size: 13px !important;
    }

    .header:not(.page-header) .login-link,
    .page-header .login-link {
        font-size: 13px !important;
    }
}

/* SPECIFIC FIXES FOR VERY SMALL SCREENS */
@media (max-width: 576px) {
    .services-section {
        padding: 40px 20px 90px 20px;
    }

    .services-view-all {
        bottom: 70px;
    }

    .auto-play-indicator {
        bottom: 0px !important;
    }

    .mission-card {
        padding: 12px;
    }

    .about-container {
        padding: 0px;
    }

    .description-container {
        flex-direction: column;
    }

    .header {
        padding: 8px 12px !important;
        left: 10px !important;
        right: 10px !important;
    }

    .page-header {
        padding: 0px !important;
        left: 0 !important;
        right: 0 !important;
        top: 0px !important;
    }
}

@media (max-width: 992px) {

    .header {
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        grid-template-areas: none !important;
        direction: rtl;
    }


    .header-left,
    .header-right {
        display: flex !important;
        align-items: center !important;
    }
}

@media (max-width: 992px) {
    .header-left {
        flex-shrink: 0;
    }

    .header-right {
        flex-shrink: 0;
        margin-right: auto !important;
        flex-direction: row-reverse;
    }

    .header {
        flex-direction: row-reverse !important;
        direction: ltr;
    }
}
/* Responsive adjustments for skeleton */
@media (max-width: 1200px) {
    .service-card-skeleton {
        flex: 0 0 calc(33.333% - 16px);
    }

    .stats-cards-skeleton {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-brand p {
        font-size: 16px !important;
    }

    .footer-col h4 {
        font-size: 14px !important;
    }

    .footer-col a {
        font-size: 12px !important;
    }

    .footer-bottom {
        font-size: 12px;
    }

    .icon i {
        font-size: 12px !important;
    }

    .icon {
        width: 35px;
        height: 35px;
    }

    .rating-container {
        flex-direction: column;
        gap: 4px;
    }

    .service-card-skeleton {
        flex: 0 0 calc(50% - 12px);
    }

    .how-steps-skeleton {
        flex-direction: column;
        align-items: center;
    }

    .about-row-skeleton {
        flex-direction: column;
    }

    .hire-container-skeleton {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .search-box-lg {
        width: 95%;
        flex-direction: column;
        padding: 8px !important;
    }

        .search-box-lg input {
            width: stretch !important;
        }

        .search-box-lg button {
            width: -webkit-fill-available;
        }

    .service-card-skeleton {
        flex: 0 0 100%;
    }

    .stats-cards-skeleton {
        grid-template-columns: 1fr;
    }
}

.star-wrapper {
    position: relative;
    display: inline-block;
    font-size: 18px;
    margin-right: 2px;
    line-height: 1;
}


.star-fill-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    height: 100%;
    white-space: nowrap;
}

.star-fill {
    color: #ffc107;
}

.star-empty {
    color: #ddd;
    /*    opacity: 0;*/
}

.skeleton-section {
    min-height: 400px;
    position: relative;
    background-color: #f5f5f5;
    opacity: 1 !important;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    opacity: 1 !important;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.service-card-skeleton,
.stats-card-skeleton,
.testimonial-card-skeleton,
.step-skeleton {
    min-width: 100px;
    min-height: 100px;
}


/* Slick slider container */
.testimonials-slick {
    margin: 0 -15px;
    margin-top: 40px;
}

    .testimonials-slick .slick-slide {
        opacity: 0.6;
        filter: blur(2px);
        transform: scale(0.9);
        transition: all 0.4s ease;
        padding: 16px;
        outline: none;
    }

    .testimonials-slick .slick-center {
        opacity: 1 !important;
        filter: blur(0px) !important;
        transform: scale(1.05) !important;
        z-index: 10;
    }

    .testimonials-slick .testimonial-card {
        position: relative;
        width: 100%;
        min-width: auto;
        max-width: none;
        opacity: 1;
        filter: none;
        transform: none;
        padding: 0;
    }

    .testimonials-slick .slick-track {
        display: flex;
        align-items: center;
        gap: 24px;
        padding: 12px;
    }

@media (max-width: 768px) {
    .testimonials-slick .slick-slide {
        transform: scale(0.95);
    }

    .testimonials-slick .slick-center {
        transform: scale(1) !important;
    }
}

.slick-initialized .slick-slide {
    display: block;
    opacity: .5;
    transition: 0.4s;
    pointer-events: all;
    cursor: grabbing;
}
/********************Scroll****************/

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background-color: #0b2343;
    border-radius: 6px;
    border: 3px solid #f0f0f0;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #1e4a73;
    }
