.rate {
    background: radial-gradient(100% 100% at 50% 0%, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0) 100%), linear-gradient(180deg, #73E6E0 0%, #38C4BD 100%);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    max-width: 320px;
    width: 320px;
    height: 100%;
}

.rate .white-button {
    font-weight: 500;
    font-size: 18px;
    padding: 14px;
}

.rate__divider {
    border: 1px solid #C6FFFC;
    margin-top: 10px;
    margin-bottom: 25px;
    opacity: 1;
}

.extreme-rate .rate__divider {
    border: 1px solid #D9D9D9;
}

.rate:not(.extreme-rate) {
    min-height: 570px;
}

.rate__button-group {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.extreme-rate {
    background: #fff;
    max-width: 320px;
    width: 320px;
    box-shadow: 0px 0px 12px 0px rgba(135, 132, 141, 0.50);
    border-radius: 10px;
}

.extreme-rate .black-empty-button {
    padding: 14px;
    font-size: 18px;
}

.extreme-rate__certificate-btn {
    padding: 14px;
    font-size: 18px;
    background: #F6F7FE;
    border-radius: 10px;
    color: #212529;
    border: 0;
    text-align: center;
    font-weight: 500;
}

.extreme-rate_active {
    background: radial-gradient(100% 100% at 50% 0%, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0) 100%), linear-gradient(180deg, #73E6E0 0%, #38C4BD 100%);
}

.extreme-rate:hover {
    background: radial-gradient(100% 100% at 50% 0%, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0) 100%), linear-gradient(180deg, #73E6E0 0%, #38C4BD 100%);
}

.extreme-rate_active .black-empty-button,
.extreme-rate:hover .black-empty-button {
    background: #fff;
    border: 0;
}

.extreme-rate_active .extreme-rate__features {
    font-weight: 500;
}

.extreme-rate:hover .rate__divider {
    border: 1px solid #C6FFFC;
}

.extreme-rate_active .rate__divider {
    border: 1px solid #C6FFFC;
}

.extreme-rate_active .extreme-rate__certificate-btn,
.extreme-rate:hover .extreme-rate__certificate-btn {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    text-decoration: none;
}

#rates {
    scroll-margin-top: 10px;
}

.swiper-slide {
    height: auto;
}

.ratesSwiper {
    margin-block: 30px;
    height: fit-content;
    padding-block: 10px;
}

.justify-start {
    justify-content: start !important;
}

.rate__title {
    font-weight: 600;
    font-size: clamp(20px, 3vw, 24px);
}

.rate__features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 16px;
    list-style-type: none;
    padding: 0;
}

.extreme-rate__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 60px;
    font-size: 14px;
    list-style-type: none;
    padding: 0;
}

.extreme-rate .rate__features {
    font-size: clamp(14px, 1.5vw, 12px);
}

.extreme-rate .text-rate {
    gap: 10px;
}

.rate__price {
    font-size: 32px;
    margin-top: 20px;
    margin-bottom: 30px;
    font-weight: 600;
}

.rates-container {
    margin-block: 40px;
}

.square-button:hover path {
    stroke: #fff;
}

@media (max-width: 1199px) {

    .extreme-rate,
    .rate {
        width: 290px;
    }

    .rate .square-button svg {
        width: 35px;
        height: 35px;
    }

}

@media (max-width: 350px) {
    .head-course-button {
        width: 100%;
    }
}

.swiper-pagination {
    margin-top: 20px;
    position: static;
}

.swiper-pagination-bullet {
    background: #C0C0C0;
    width: 15px !important;
    height: 15px !important;
}

.swiper-pagination-bullet-active {
    background-color: #38C4BD;
}

@media (min-width: 1600px) {

    .rate>div h2,
    .extreme-rate>div h2 {
        font-size: 27px;
    }

    .price {
        font-size: 34px;
    }

    .extreme-rate .text-rate {
        font-size: 16px;
    }

    .ratesSwiper {
        padding-inline: 12px;
    }
}