﻿:root {
    --primary: #4A6EFF;
    --dark: #111827;
    --gray: #6B7280;
    --light: #F8FAFC;
    --border: #E5E7EB;
    --white: #FFFFFF;
}
body {
    overflow-x: hidden;
    background: #F5F7FF;
}
.services-page {
    direction: @(dir);
    padding-bottom: 80px;
}
.services-hero {
    padding: 70px 0 40px;
    text-align: center;
    background: transparent;
}
.hero-content {
    max-width: 900px;
    margin: auto;
}
    .hero-content h1 {
        font-size: 55px;
        font-weight: 900;
        color: var(--dark);
        margin-bottom: 18px;
        line-height: 1.3;
        text-align: center;
    }
    .hero-content p {
        font-size: 18px;
        color: var(--gray);
        line-height: 1.9;
        max-width: 760px;
        margin: auto;
        text-align: center;
    }
.search-wrapper {
    margin-top: 40px;
}
.search-box {
    position: relative;
    max-width: 850px;
    margin: auto;
}
    .search-box i {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        @(isArabic ? "right:25px;" : "left:25px;") color: var(--primary);
        font-size: 18px;
    }
    .search-box input {
        width: 100%;
        height: 72px;
        border: none;
        outline: none;
        border-radius: 24px;
        background: #fff;
        box-shadow: 0 10px 35px rgba(0,0,0,.07);
        padding: 0 65px;
        font-size: 18px;
        font-weight: 600;
        color: var(--dark);
    }
        .search-box input::placeholder {
            color: #9CA3AF;
        }
.filter-wrapper {
    margin-top: 35px;
}
.filter-box {
    background: #fff;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,.06);
}
.country-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}
.filter-btn {
    border: none;
    background: #EEF2FF;
    color: var(--primary);
    padding: 14px 24px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    transition: .3s;
    cursor: pointer;
}
    .filter-btn:hover,
    .filter-btn.active {
        background: #4A6EFF;
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(74,110,255,.25);
    }
.country-section {
    margin-top: 65px;
}
.country-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 15px;
    flex-wrap: wrap;
}
    .country-title h2 {
        font-size: 34px;
        font-weight: 900;
        color: var(--dark);
        margin: 0;
    }
.service-count {
    background: #EEF2FF;
    color: var(--primary);
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 14px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(290px,1fr));
    gap: 28px;
}
.service-link {
    text-decoration: none !important;
}
.service-card {
    position: relative;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    padding: 35px 28px;
    transition: .35s;
    border: 1px solid rgba(0,0,0,.04);
    box-shadow: 0 10px 35px rgba(0,0,0,.05);
    height: 100%;
}
    .service-card::before {
        content: "";
        position: absolute;
        top: -70px;
        @(isArabic ? "left:-70px;" : "right:-70px;") width: 180px;
        height: 180px;
        background: rgba(74,110,255,.06);
        border-radius: 50%;
        transition: .4s;
    }
    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(74,110,255,.15);
    }
        .service-card:hover::before {
            transform: scale(1.2);
        }
.service-icon {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    background: #EEF2FF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 30px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}
.service-name {
    font-size: 22px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 22px;
    min-height: 75px;
    position: relative;
    z-index: 2;
}
.service-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    font-weight: 800;
    font-size: 15px;
    position: relative;
    z-index: 2;
    transition: .3s;
}
.service-card:hover .service-action {
    gap: 18px;
}
.no-results {
    display: none;
    text-align: center;
    padding: 80px 20px;
}
    .no-results i {
        font-size: 70px;
        color: var(--primary);
        margin-bottom: 25px;
    }
    .no-results h3 {
        font-size: 28px;
        font-weight: 900;
        color: var(--dark);
    }
@media(max-width:768px) {
    .hero-content h1 {
        font-size: 34px;
    }
    .hero-content p {
        font-size: 15px;
    }
    .search-box input {
        height: 60px;
        font-size: 15px;
    }
    .services-grid {
        grid-template-columns: repeat(auto-fill,minmax(100%,1fr));
    }
    .country-title h2 {
        font-size: 26px;
    }
    .service-name {
        min-height: auto;
    }
}
