.services {
    background-color: #F9F9F9;
    position: relative;
    z-index: 0;
    /* height: 500px; */
}

.services .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    justify-items: center;
}

.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: 40px;
}

.services .row .col-right {
    width: 28%;
    margin-bottom: 30px;
    /* margin-top: 100px; */
}

.services .row.row-1 {
    margin-bottom: 200px;
    position: relative;
    z-index: -1;
}

.services .row .col-right .top-quote {
    background-color: var(--primaryColor);
    padding: 10px 30px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 35px;
    color: var(--white);
}

.services .row .col-right h2 {
    margin-block: 30px;
    font-size: 25px;
    font-weight: 700;
}

.services .row .col-right p {
    margin-block: 30px;
    font-size: 17px;
}

.services .row .col-right .btn {
    background-color: var(--primaryColor);
    padding: 10px 30px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 10px;
    color: var(--white);
}

.services .row .col-left {
    width: 68%;
    overflow: hidden;

}

.services-cards {
    display: flex;
    gap: 20px;
    align-items: center;
    transition: transform 1s ease-in-out;
}

.service-card {
    flex: 0 0 33%;
    /* 3 شعارات في كل صف */
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: var(--white);
    position: relative;

}
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  width: 20%;
  height: 3px;
  background-color: var(--primaryColor);

}
.service-card .service-title{
    display: flex;
    justify-items: center;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.service-card .service-title h2:hover{
   color: var(--primaryColor);
}
.service-card .service-title i{
   color: var(--primaryColor);
   font-size: 20px;
   /* margin-bottom: 20px; */
}
.service-card .service-img{
  width: 100%;
}

.service-card img {
    width:100%;
    object-fit: contain;
    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-left {
        margin-bottom: 50px;
    }

    .services .row .col-right h2 {
        font-size: 30px;
    }

    .services .services-cards {
        gap: 20px;
    }

    .service-card {
        flex: 0 0 48%;
        /* 3 شعارات في كل صف */
    }

}

@media (max-width:767px) {
    .services .row .col-right h2 {
        font-size: 25px;
    }

    .services .services-cards {
        gap: 15px;
    }

    .service-card {
        flex: 0 0 100%;
        /* 2 شعارات في كل صف */
    }

}