.block-title-02 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    max-width: 50%;
    margin-top: 4vh;
}

.type-grid-02 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 8vh;
    padding-bottom: 10vh;
    margin-right: 20vh;
    margin-left: 20vh;
    justify-items: center;
    justify-content: center;
}

.type-grid-card-02 {
    display: flex;
    cursor: pointer;
    background: #fff;
    padding: 20px;
    box-shadow: 0px -5px 10px 7px rgb(0 0 0 / 13%);
    width: 90%;
    height: 300px;
    transition: all 0.3s ease-in-out;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    cursor: pointer;
}

.type-grid-card-02:hover{
    transform: scale(1.03);
}

.multi-horizontal-list {
    display: flex;
    flex-direction: row;
    gap: 8vh;
    margin-top: 5vh;
    margin-bottom: 10vh;
}

.background-image-info-card {
    display: flex;
    cursor: pointer;
    width: 400px;
    transition: all 0.3s ease-in-out;
    flex-direction: column;
    background-size: 100% auto;
    background: url(/../assets/images/Group_11.png) no-repeat center center;
    border-radius: 20px;
    padding: 1vh;
    align-items: flex-start;
    justify-content: flex-start;
}

.etap-grid-card-03 {
    display: flex;
    cursor: pointer;
    background: #fff;
    padding: 20px;
    box-shadow: 0px 20px 20px 2px rgb(0 0 0 / 13%);
    width: 400px;
    height: 400px;
    transition: all 0.3s ease-in-out;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.etap-grid-card-03:hover {
    transform: scale(1.03);
}

.etap-grid-card-03:hover::before {
    width: 100%;
}

/* Чтобы текст оставался поверх заполнения */
.etap-grid-card-03 > * {
    position: relative;
    z-index: 2;
}

.etap-grid-card-03::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #FFD700;
    transition: width 0.5s ease-in-out;
    z-index: 1;
}

.multi-horizontal-list-02 {
    display: flex;
    flex-direction: row;
    gap: 4vh;
    margin-top: 10vh;
    padding-bottom: 15vh;
    justify-content: center;
}

.center-and-button-title {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    min-width: 100%;
    justify-content: space-between;
}

.center-title{
    display: flex;
    flex-direction: column;
}

.back-text-adn-button {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.title-text-02 {
    font-size: 18px;
    line-height: 1.4;
    width: 70%;
    text-align: justify;
}

.block-title-03 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 4vh;
    text-align: justify;
}

.double-div{
    display: flex;
    flex-direction: row;
}

.etap-grid-card-04 {
    display: flex;
    cursor: pointer;
    background: #fff;
    padding: 20px;
    box-shadow: 0px 20px 20px 2px rgb(0 0 0 / 13%);
    width: 100%;
    height: 250px;
    transition: all 0.3s ease-in-out;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.etap-grid-card-04:hover {
    transform: scale(1.03);
}

.etap-grid-card-04:hover::before {
    width: 100%;
}

/* Чтобы текст оставался поверх заполнения */
.etap-grid-card-04 > * {
    position: relative;
    z-index: 2;
}

.etap-grid-card-04::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #FFD700;
    transition: width 0.5s ease-in-out;
    z-index: 1;
}

.etap-grid-card-03 p{
    font-weight: 500;
}

.first-over {
    display: flex;
    align-items: center;
    width: 120%;
}

.problem-card-09 {
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    justify-self: center;
    height: 350px;
    width: 80%;
    display: flex;
    flex-direction: row;
    align-items: center;
    display: flex;
}

@media screen and (max-width: 1400px) {

    .double-div {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 4vh;
    }

    .first-over {
        display: flex;
        justify-content: center;
        align-items: center;
    }

.services-02 {
    display: flex;
    flex-direction: column;
    gap: 4vh;
    margin-top: 4vh;
    width: 80%;
}

}

/* Адаптация под экраны до 1200px */
@media screen and (max-width: 1200px) {
    .type-grid-02 {
        grid-template-columns: 1fr; /* Одна колонка */
        margin-left: 10vh;
        margin-right: 10vh;
    }

    .first-over {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 4vh;
        margin-bottom: 4vh;
    }

    .multi-horizontal-list,
    .multi-horizontal-list-02 {
        flex-direction: column;
        gap: 5vh;
        align-items: center;
        width: 100%;
    }

    .etap-grid-card-05 {
        height: 350px;
        width: 100% !important;
    }

    .background-image-info-card,
    .etap-grid-card-03,
    .etap-grid-card-04,
    .problem-card-09 {
        width: 90%;
        height: auto;
    }

    .double-div {
        flex-direction: column;
        align-items: center;
    }

    .center-and-button-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 2vh;
    }

    .back-text-adn-button {
        align-items: center;
    }
}

/* Адаптация под планшеты (до 768px) */
@media screen and (max-width: 768px) {
    .block-title-02,
    .block-title-03 {
        font-size: 20px;
        max-width: 100%;
    }

    .services-02 {
        display: flex;
        flex-direction: column;
        gap: 4vh;
        margin-top: 4vh;
        width: 100%;
    }

    .title-text-02 {
        font-size: 16px;
        width: 100%;
    }

    .type-grid-card-02 {
        width: 100%;
        height: auto;
    }

    .etap-grid-card-03,
    .etap-grid-card-04 {
        height: auto;
        padding: 15px;
        margin-top: 4vh;
    }

    .background-image-info-card {
        height: 200px;
        background-size: cover;
    }

    .problem-card-09 {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
}

/* Адаптация под телефоны (до 480px) */
@media screen and (max-width: 480px) {
    .block-title-02,
    .block-title-03 {
        font-size: 18px;
        margin-top: 2vh;
    }

    .type-grid-02 {
        margin-left: 5vw;
        margin-right: 5vw;
    }

    .multi-horizontal-list,
    .multi-horizontal-list-02 {
        gap: 3vh;
        padding: 2vh;
        margin-top: 0vh;
        width: 100%;
    }

    .background-image-info-card {
        width: 100%;
        padding: 10px;
        height: auto;
    }

    .center-and-button-title {
        flex-direction: column;
        gap: 2vh;
        justify-content: center;
        align-items: center;
    }

    .problem-card-09 {
        width: 100%;
        margin-top: 4vh;
    }
}