.advantage {
    padding: 80px 0;
}

.advantage .advantage__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 40px;
}

.advantage .advantage__card {
    background-color: #6C94E5;
    padding: 40px 24px;
    padding-bottom: 30px;
    border-radius: 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.advantage .advantage__card::before {
    content: "";
    height: 410.15px;
    width: 410.15px;
    display: block;
    background-image: url("../img/advantage/advantage-bg.svg");
    background-size: 100%;
    position: absolute;
    z-index: 0;
    pointer-events: none;
    top: -151px;
    right: -211.5px;
    transform: rotate(39.07deg);
}

.advantage .advantage__card-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0%;
    margin-top: 16px;
    min-height: 3.9em;
    margin-bottom: 95px;
    position: relative;
    z-index: 2;
}

.advantage .advantage__card-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0%;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 1200px) {
    .advantage .advantage__cards {
        display: flex;
        flex-direction: column;
    }

    .advantage .advantage__card-title {
        min-height: unset;
        margin-bottom: 20px;
    }

    .advantage .advantage__card::before {
        right: -47.54px;
        top: -151.08px;
    }
}

@media screen and (max-width: 980px) {
    .advantage {
        padding: 60px 0;
    }
}

@media screen and (max-width: 680px) {
    .advantage {
        padding: 40px 0;
    }

    .advantage .advantage__card::before {
        right: -237px;
        top: -151px;
    }
}
