.services__grid {
    row-gap: 24px;
}

.services__grid .col-md-6:nth-child(4) .services__card,
.services__grid .col-md-6:nth-child(5) .services__card,
.services__grid .col-md-6:nth-child(6) .services__card {
    height: 100%;
}

.services__desc {
    margin-bottom: 0;
}

.services__card {
    background: #0F1011;
    padding: 24px;
    border: 1px solid rgba(27, 28, 29, 1);
    height: 100%;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(.23, 1, .32, 1), box-shadow 0.35s ease;
}

.services__icon {
    text-align: center;
    height: 220px;
}

.services__card--wraper {
    margin-top: auto;
}

.services__card-title {
    font-weight: var(--fw-medium);
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-primary);
}

.services__card-desc {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.5%;
    vertical-align: middle;
    margin-bottom: 0;
}

.services__card--cta {
    display: flex;
    flex-direction: row;
    align-items: end;
    gap: 50px;
    background: linear-gradient(279.7deg, #191919 27.7%, #262626 91.71%);
    border: 1px solid #333333;
    position: relative;
}

.services__cta-wrapper {
    position: relative;
    display: inline-block;
}

/* Button */
.services__cta-btn {
    position: relative;
    z-index: 2;
    display: inline-block;
}

/* Waves container */
.waves-block {
    position: absolute;
    top: -14%;
    left: -16%;
    transform: translate(-50%, -50%);
}

/* Waves */
.waves {
    position: absolute;
    width: 42px;
    height: 42px;
    background: rgb(255 255 255 / 64%);
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
    animation: waves 3s ease-in-out infinite;
}

/* Animation delays */
.wave-1 {
    animation-delay: 0s;
}

.wave-2 {
    animation-delay: 1s;
}

.wave-3 {
    animation-delay: 2s;
}

/* Keyframes */
@keyframes waves {
    0% {
        transform: scale(0.2);
        opacity: 0;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.services__card--cta .services__card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.services__card-cta--bg {
    position: absolute;
    top: 0;
    z-index: 11;
    left: 0;
}

@media screen and (max-width: 1399px) {
    .services__icon {
        height: 200px;
    }
}

@media screen and (max-width: 1199px) {
    .services__card {
        padding: 15px;
    }

    .services__icon {
        height: 188px;
    }

    .services__icon svg {
        width: 80%;
    }

    .services__card--cta {
        gap: 15px;
    }

    .services__card--cta .services__card-title {
        font-size: 18px;
    }
}

@media screen and (max-width: 767px) {
    .services__card--cta {
        gap: 10px;
        justify-content: space-between;
    }
}

@media screen and (max-width: 575px) {
    .services__card {
        padding: 30px 20px;
    }
    .services__card--cta .services__card-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .services__card--cta .services__card-desc {
        color: var(--color-text-secondary);
    }

    .services__icon {
        height: auto;
        margin-bottom: 15px;
    }

    .waves-block {
        top: -28%;
        left: -27%;
    }

}