.services {
    /* background-color: #F9F9F9; */
    position: relative;
    z-index: 0;
    /* height: 500px; */
}

.services .services-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    justify-items: center;
    gap: var(--space-lg);
}

.services::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background-image: url("../img/section-bg-rec-circle.png");
    background-repeat: no-repeat;
    background-position: bottom;
    background-attachment: fixed;

    opacity: .15;
    z-index: -22;
}

.services .row {
    /* padding-top: 50px; */
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    width: 100%;
    /* يخليها مرنة على الموبايل */
    gap: var(--space-lg);
}


.services .row .col-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 40%;

}

.services .row .col-right {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: var(--middleColor);
    /* margin-top: 100px; */
}


.services .row .col-right h3 {
    font-size: 25px;
    font-weight: 700;
}


.services .row .col-left {
    /* width: 68%; */
    overflow: hidden;
}

.services .row .col-left img {
    width: 100%;
    aspect-ratio: 1/0.9;
    border-radius: 10px;
}

.services-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    transition: transform 1s ease-in-out;
}

.service-card {
    flex: 0 0 32%;
    /* 3 شعارات في كل صف */
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    padding: 20px;
    background-color: var(--white);
    position: relative;
    box-shadow: var(--shadow-right);
    overflow: hidden;

}

.service-card::after {
    content: "";
    position: absolute;
    top: 0;
    width: 20%;
    height: 3px;
    background-color: var(--helperColor);

}

.service-card .service-title {
    display: flex;
    justify-items: center;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.service-card .service-title h2 {
    color: var(--primaryColor);
}

.service-card .service-title i {
    color: var(--primaryColor);
    font-size: 20px;
}

.service-card .service-img {
    width: 100%;
    overflow: hidden;
}

.service-card img {
    width: 100%;
    /* min-height: 350px;
    max-height: 350px; */
    aspect-ratio: 1/0.9;
    object-fit: fill;
    transition: all 1s ease;
}

.service-card img:hover {
    transform: scale(1.1);
}


@media (max-width:1014px) {

    .services .row .col-right,
    .services .row .col-left {
        width: 100%;
        text-align: center;
    }

    .services .row .col-right h2 {
        font-size: 30px;
    }

    .services .services-cards {
        gap: 20px;
    }

    .service-card {
        flex: 0 0 48%;
        /* 3 شعارات في كل صف */
    }

    .service-card .service-title h2 {
        font-size: var(--text-lg);
    }

}

@media (max-width:767px) {
    .services .row .col-right h2 {
        font-size: 25px;
    }

    .services .services-cards {
        gap: 15px;
    }

    .service-card {
        flex: 0 0 48%;
        /* 2 شعارات في كل صف */
    }


    /* .services .row .col-right .btn {
        background-color: var(--primaryColor);
        padding: 10px 30px;
        font-size: 15px;
        font-weight: 400;
        border-radius: 10px;
        color: var(--white);
    } */

}

@media (max-width:425px) {
    .service-card {
        flex: 0 0 100%;
        /* 2 شعارات في كل صف */
    }

}