.type-block {
    margin-right: 10px;
    margin-left: 10px;
    width: calc(100% - 20px);
    border-radius: 60px;
    overflow: hidden;
    background-image: url("./images/bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    padding: 80px 45px;
    position: relative;
}

.type-block .container {
    display: flex;
    flex-direction: row;
    gap: 170px;
    justify-content: space-between;
}

.type-block .ihfo_holder {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 580px;
    flex-shrink: 0;
}

.type-block .block_subtitle {
    color: var(--text_primary_main);
}

.type-block .steps_holder {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
    margin-bottom: 30px;
}

.type-block .step_item {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}



.type-block .step_number {
    background: var(--gradient_value);
    border-radius: 100%;
    color: var(--text_alt_head);
    width: 33px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

}

.type-block .step_text {
    color: var(--text_primary_main);
}

.type-block .types_wrapper {
    width: 1030px;
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    gap: 45px;
    position: absolute;
    right: 0;
}

.type-block .navigation {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: relative;
    margin-right: 60px;
}

.type-block .nav_btns {
    display: flex;
    flex-direction: row;
    gap: 10px;
    position: relative;
}

.type-block .swiper-pagination {
    position: relative;
}

.type-block .swiper-pagination-bullet {
    width: 27px;
    height: 5px;
    border: 1px solid var(--bg_primary_stroke);
    background: var(--bg_primary_main);
    border-radius: 5px;
    opacity: 1;

}

.type-block .swiper-pagination-bullet-active {
    background: var(--gradient_value);
    opacity: 1;
}

.type-block .type_btn {
    min-width: 280px;
}

.type-block .type_slider {
    width: 100%;
    overflow: hidden;
}

.type-block .swiper-slide {
    width: 280px;
    height: 340px;
}

.type-block .type_item {
    width: calc(100% - 42px);
    height: calc(100% - 42px);
    gap: 10px;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    padding: 20px;
    background-color: var(--bg_primary_main);
    border: 1px solid var(--bg_primary_stroke);
    cursor: pointer;
    transition: ease 0.5s;

}

.type-block .type_item:hover {
    box-shadow: 0px 0px 60px 0px #0B7CDE4D inset;
    ;
}

.type-block .type_item.active {
    background: var(--gradient_value);
}

.type-block .type_item.active svg circle:nth-child(1) {
    fill: var(--bg_primary_main);
}

.type-block .type_item.active svg circle:nth-child(2) {
    fill: var(--color_primary);
}

.type-block .type_item.active .type_title {
    color: var(--text_alt_head);
}

.type-block .type_item.active .type_subtitle {
    color: var(--text_alt_main);
}



.type-block .type_image {
    width: 100%;
    position: absolute;
    height: 160px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: auto;
    bottom: 0;
    left: -0px;
}

.type-block .type_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.type-block .swiper-button-next {
    position: relative !important;
    width: 60px;
    height: 60px;
    right: 0;
    top: 0;
    left: 0;
    border-radius: 100%;
    margin: 0;
    border: 1px solid var(--bg_alt_main);
}

.type-block .swiper-button-prev {
    position: relative !important;
    width: 60px;
    height: 60px;
    right: 0;
    top: 0;
    left: 0;
    border-radius: 100%;
    margin: 0;
    border: 1px solid var(--bg_alt_main);
    transform: rotate(-180deg);
}

.type-block .swiper-button-next:hover,
.type-block .swiper-button-prev:hover {
    background-color: var(--color_hover);
    border: 1px solid var(--color_hover);
}


.type-block .swiper-button-next:hover svg path,
.type-block .swiper-button-prev:hover svg path {
    stroke: var(--bg_primary_main);
}


.type-block .swiper-button-next svg,
.type-block .swiper-button-prev svg {
    width: 16px;
    height: 16px;
}


.type-block .swiper-button-next::after,
.type-block .swiper-button-prev::after {
    content: '';
}

.type-block .swiper-pagination {
    top: 0;
}

.type-block .type_block_image {
    width: 256px;
    height: 256px;
    position: absolute;
    top: 150px;
    left: -260px;

}

.type-block .type_block_image img {
    width: 100%;
    height: 100%;
    object-fit: contain;

}

@media (min-width: 1920px){
    .type-block .types_wrapper{
        position: relative;
    }
}

@media (max-width: 1850px) {

    .type-block .type_block_image {
        opacity: 0.2;

    }

}

@media (max-width: 1700px) {
    .type-block .ihfo_holder {
        width: 500px;
    }

    .type-block .types_wrapper {
        width: 800px;
    }
}

@media (max-width: 1570px) {
    .type-block .type_block_image {
       

    }
}


@media (max-width: 1450px) {
    .type-block .types_wrapper {
        position: relative;
        width: 100%;
    }

    .type-block .ihfo_holder {
        width: 100%;
    }

    .type-block .container {
        flex-direction: column;
        gap: 40px;
    }

    .type-block .navigation {
        margin: 0;
    }

    .type-block .type_block_image {
        display: block;
        right: -30px;
        top: -300px;
        left: unset;

    }

    .type-block .block_title, 
    .type-block .block_subtitle {
        width: calc(100% - 220px);
    }
}

@media (max-width: 900px) {
    .type-block .navigation {
        flex-wrap: wrap;
    }

    .type-block .type_btn {
        order: 3;
        width: 100%;
    }

    .type-block .swiper-pagination {
        display: flex;
        width: fit-content;
        gap: 5px;
        max-width: 150px;

        flex-wrap: wrap;
    }
}

@media (max-width: 750px) {
    .type-block .type_block_image {
        display: none;

    }

    .type-block .block_title {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .type-block {
        padding: 25px 10px;
    }

    .type-block .type_btn {
        min-width: unset;
    }

    .type-block .swiper-button-next,
    .type-block .swiper-button-prev {
        width: 50px;
        height: 50px;
    }
    .type-block .steps_holder{
        margin: 0;
    }
}

@media (max-width: 400px) {
    .type-block .nav_btns {
        width: 100%;
        justify-content: space-between;

    }

    .type-block .swiper-pagination {
        width: 100%;
    }

    .type-block .steps_holder {
        margin: 0;
    }

    .type-block .swiper-pagination {
        max-width: 100%;
    }

    .type-block .ihfo_holder,
    .type-block .container,
    .type-block .types_wrapper {
        gap: 15px;
    }
}