.steps-block {
    width: 100%;
    padding: 40px 0;
}

.steps-block .steps-title {
    font-size: 32px;
    margin-bottom: 32px;
    text-align: center;
    margin-bottom: 32px;
}

.steps-block .step-card {
    height: 100%;
    display: flex;
    padding: 32px;
    border: 1px solid var(--gray-5, #D9D9D9);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}

.steps-block .step-index {
    background-color: #FDB602;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #000000;
    color: black;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 54px;
    font-size: 20px;
}

.steps-block .yellow {
    font-weight: 400;
    font-size: 28px;
    line-height: 34px;
    color: #DB9B09;
    margin-bottom: 16px;
}

.steps-block .black {
    font-weight: 400;
    font-size: 28px;
    line-height: 34px;
    color: #333;
}

.steps-block .swiper {
    width: 100%;
    position: relative;
}

.steps-block .swiper-wrapper {
    padding: 64px 0;
}

.steps-block .swiper-slide {
    display: flex;
    justify-content: center;
    background: white;
}

@media (min-width: 768px) {
    .steps-block .swiper-slide:nth-child(odd):not(:last-child) .step-card:after {
        content: url(../../img/icons/odd.svg);
        position: absolute;
        top: -64px;
        left: 50%;
    }

    .steps-block .swiper-slide:nth-child(even):not(:last-child) .step-card:after {
        content: url(../../img/icons/even.svg);
        position: absolute;
        bottom: -64px;
        left: 50%;
    }
}

@media (max-width: 767px) {

    .steps-block .swiper-slide {
        z-index: 1;
    }

    .steps-block .swiper-slide:not(:last-child) .step-card:after {
        content: url(../../img/icons/steps-after.svg);
        position: absolute;
        bottom: -64px;
        right: 32px;
        z-index: 2;
    }
}

.steps-block .swiper-button-prev,
.steps-block .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background-color: #000;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    content: 'next';
    color: #DB9B09;
    z-index: 10;
    cursor: pointer;
}

.steps-block .swiper-button-next::after,
.steps-block .swiper-rtl .swiper-button-prev::after {
    font-size: inherit;
    content: url(../../img/icons/next-yellow.svg);
}

.steps-block .swiper-button-prev::after {
    content: url(../../img/icons/prev-yellow.svg);
}

.steps-block .swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .steps-block .swiper {
        overflow: visible;
    }

    .steps-block .swiper-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .steps-block .swiper-slide {
        width: auto !important;
        flex: none;
    }

    .steps-block .swiper-pagination {
        display: none;
    }
}