.services {
    background-color: #f6f7f8;
}

.services__wrapper {
    max-width: 1200px;
    margin-inline: auto;
    padding: 100px 0;
}

.services__title {
    text-align: center;
    font-weight: 900;
    font-size: 34px;
    text-transform: uppercase;
    color: #000c;
}

.services__card {
    flex-basis: 30%;
    background-color: #ffff;
    border-radius: 10px;
    transform: scaleX(1);
    transition: transform .4s cubic-bezier(0,0,.4,1);
    will-change: transform;
}

    .services__card:hover {
        transform: scale3d(1.03,1.03,1.03);
    }

.services-img {
    width: 100%;
    height: 250px;
}

    .services-img > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

.services__row {
    height: 200px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services__row__title {
    font-size: 16px;
    font-weight: 600;
    color: #000c;
}

.services-text {
    line-height: 1.5;
    font-size: 16px;
    font-weight: 300;
    color: #000c;
}

    .services__link > a {
        font-weight: 400;
        color: #ffdd2d;
        text-decoration: none;
        cursor: pointer;
    }

        .services__link > a:hover {
            text-decoration: underline;
            color: #ffcd33;
        }

@media (width > 1200px) {

    .services__content {
        margin-top: 50px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 40px;
    }

}

@media (width <= 1200px) and (width > 767px) { 

    .services__wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .services__content {
        margin-top: 50px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 30px;
    }

}

@media (width <= 767px) {

    .services__wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }

    .services__content {
        margin-top: 50px;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(6, 1fr);
        gap: 30px;
    }

}