@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
* {
    margin: 0;
    box-sizing: border-box; /* Исправляет ошибки с padding и border */
    font-family: 'Montserrat', sans-serif; /* Применяем шрифт Montserrat */
    word-wrap: break-word; /* Переносит длинные слова */
    hyphens: auto;
}

@media (max-width: 1400px) {

    h1{
        font-size: 24px;
    }

    h2{
        font-size: 20px;
    }

    p{
        font-size: 20px;
    }

}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
  }
  
.shake {
    animation: shake 0.3s;
}

/* При наведении уменьшаем размер кнопки */
button:hover {
    transform: scale(0.92); /* Уменьшаем размер на 5% */
}

.cookie-placeholder{
    display: flex;
    position: fixed;
    bottom: 0px;
    justify-content: space-around;
    align-items: center;
    padding: 15px 15%;
    width:100%;
    z-index: 10000;
}

.cookie-banner {
    display: none; /* Изначально панель скрыта */
    font-size: 24px;
    bottom: 20px;
    background: #222;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    align-items: center;
    gap: 10px;
}
.cookie-banner button {
    font-size: 24px;
    background: #ffffff;
    color: rgb(0, 0, 0);
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 10px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}я
.cookie-banner button:hover {
    background: #b4b4b4;
}

#reset-cookies{
    color: black;
}

@media (max-width: 1200px) {
    .cookie-banner{
        flex-direction: column;
        text-align: center;
    }
}

/* Фиксированный хедер */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 3px solid #800080;
    z-index: 2000;
}

.logo img {
    height: 120px;
    margin-right: 2vw;
    margin-left: 2vw;
}

@media (max-width: 1200px) {
    .logo img {
        height: 80px;
        margin-right: 2vw;
        margin-left: 2vw;
    }
}


/* --------------------------------------------------------------------------------------------------------------------------------- */


/* Основные стили */
.nav {
    background: black;
    padding: 10px 2vw;
    display: flex;
    align-items: center;
    gap: 3vw; /* Расстояние между элементами */
}

/* Стили для ссылок */
.nav a {
    color: white;
    text-decoration: none;
    display: block;
}

.nav a:hover{
    transition: color 0.3s;
    color: #7a3d9d;
}


/* Стили для выпадающего контейнера */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

/* Выпадающее меню */
.dropdown-menu {
    width: 130px;
    position: absolute;
    top: calc(100% + 10px); /* Меню начинает отображаться прямо под элементом */
    left: calc(55% - 5px); /* Центрируем по горизонтали */
    transform: translateX(-50%) translateY(10px); /* Смещаем вниз на 10px */
    background: black;
    display: none;
    flex-direction: column;
    border-radius: 10px;
    border: 2px solid white;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none; /* Отключаем взаимодействие до появления списка */
}

/* Стили элементов выпадающего меню */
.dropdown-menu a {
    padding: 10px;
    display: block;
    color: white;
    border-top: 1px solid white;
}

.dropdown-menu::after {
    content: "";
    position: absolute;
    top: -12px;   /* Дополнительный отступ сверху */
    left: -20px;  /* Дополнительный отступ слева */
    right: -20px; /* Дополнительный отступ справа */
    bottom: -20px;/* Дополнительный отступ снизу */
    z-index: -1;  /* Псевдоэлемент должен быть ниже самого списка */
}

.dropdown:hover .dropdown-menu {
    opacity: 1; /* Меню становится видимым */
    transform: translateX(-50%) translateY(0); /* Позиция возвращается в исходное положение */
    pointer-events: all; /* Включаем взаимодействие с элементом */
}

/* Убираем границу у первого элемента */
.dropdown-menu a:first-child {
    border-top: none;
}

/* Показываем меню при наведении */
.dropdown:hover .dropdown-menu {
    display: flex;
}

/* --------------------------------------------------------------------------------------------------------------------------------- */

/* Кнопка языка */
.language_change {
    color: white;
    display: flex;
    margin-left: 1vw;
    margin-right: 2vw;
    justify-content: center;
    flex-direction: row;
    padding: 10px;
    align-items: center;
    background-color: white;
    color: black;
    border-radius: 10px;
    gap: 10px;
    font-size: 16px;
    cursor: pointer;
    position: relative;
}

.language_change img{
    width: 20px;
    height: 15px;
}

.language_option{
    border: #2e2e2e 2px;
}

/* Скрытый список флагов */
.language_dropdown {
    display: none;
    position: absolute;
    top: 42px; /* Размещение под кнопкой */
    background-color: black;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 5px 10px;  /* Увеличиваем padding для большего пространства */
    gap: 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.language_dropdown::after {
    content: "";
    position: absolute;
    top: -20px;   /* Дополнительный отступ сверху */
    left: -20px;  /* Дополнительный отступ слева */
    right: -20px; /* Дополнительный отступ справа */
    bottom: -20px;/* Дополнительный отступ снизу */
    z-index: -1;  /* Псевдоэлемент должен быть ниже самого списка */
}

/* Обычные ссылки в выпадающем меню */
.language_dropdown a {
    background-color: white;
    display: flex;
    align-items: center;
    margin: 5px 0;
    text-decoration: none;
    color: black;
    padding: 10px 15px; /* Добавляем отступы */
    border: 2px solid #2e2e2e; /* Обводка вокруг каждого флага */
    border-radius: 15px; /* Немного скругляем углы */
    transition: border 1s ease; /* Плавное изменение обводки */
}

.language_dropdown a:hover {
    background-color: #636363; /* Серый фон при наведении */
    border-radius: 15px; /* Немного скругляем углы для эстетики */
    transition: background-color 0.3s ease; /* Плавный переход */
    pointer-events: auto;
}

/* Отображение флагов */
.language_dropdown a img {
    width: 20px; /* Размер флагов */
    height: auto;
    margin-right: 10px;
}

/* Показываем выпадающее меню при наведении на кнопку или сам список */
.language_change:hover .language_dropdown,
.language_dropdown:hover {
    display: block;
}

/* Скрытый чекбокс, который управляет отображением выпадающего меню */
.language_toggle:checked + .language_change + .language_dropdown {
    display: block; /* Показываем меню, если чекбокс активирован */
}


.burger {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Затемнение при открытии меню */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100%;
    background: black;
    padding: 20px;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.mobile-menu a {
    color: white;
    padding: 15px 10px;
    border-bottom: 1px solid #444;
    text-decoration: none;
}

.mobile-menu .close-btn {
    font-size: 30px;
    text-align: right;
    cursor: pointer;
}

.mobile-dropdown > a {
    display: block;
    width: 100%;
}


/* Подменю */
.mobile-submenu {
    display: none;
    padding-left: 25px;
    padding-top: 10px;
    padding-bottom: 25px;
}

.mobile-submenu a {
    padding: 10px;
    display: block;
    background: #000000;
}

/* Показываем бургер и скрываем навигацию на маленьких экранах */
@media (max-width: 768px) {
    header{
        justify-content: space-around;
    }

    .burger {
        display: block;
    }

    .nav {
        display: none;
    }
}
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------------------------------------------------------------- */

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#formContainer {
    display: none;
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    z-index: 10002;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#formContainer.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.form-step.active {
    opacity: 1;
    transform: translate(-50%, 0);
}

.form-step.fade-out {
    opacity: 0;
    transform: translate(-50%, 20px);
}

.fade-out {
    opacity: 0;
    transform: translate(-50%, 20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#successMessage {
    z-index: 10010;
    display: none;
    background-color: green;
    color: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    font-size: 24px;
}

#successMessage.active {
    display: block;
    opacity: 1;
}








.form-step{
    position: absolute;
    top: 0;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, 20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    background-color: white;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2vh;
    font-size: 20px;
    width: 800px;
}

.form-step h1{
    font-size: 24;
    text-align: center;
}

.form1_choose{
    width: 80%;
}

.form1_choose{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;

}

.form1_choose_placeholder{
    display: flex;
    flex-direction: row;
    gap: 2vw;
}

.form1_choose_placeholder label{
    display: flex;
    flex-direction: row;
    border: 3px solid #722072; /* Можно добавить мягкую рамку */
    padding: 20px 15px;
    border-radius: 10px;
    align-items: center;
    gap: 20px;
    width: 20%;
}


/* Скрываем стандартную радио-кнопку */
input[type="radio"] {
    appearance: none; /* Отключаем стандартный вид */
    -webkit-appearance: none;
    -moz-appearance: none;
    width:  30px; /* Размер радио-кнопки */
    height: 30px;
    border-radius: 50%; /* Круглая форма */
    border: 2px solid #8e44ad; /* Фиолетовая обводка */
    background-color: white; /* Белый фон */
    transition: all 0.3s ease; /* Плавный переход */
    position: relative;
    transform: translateY(0%); /* Точное центрирование по вертикали */
}

/* Когда радио-кнопка выбрана, заполняем ее фиолетовым */
input[type="radio"]:checked {
    background-color: #8e44ad; /* Фиолетовый фон */
    border-color: #8e44ad;
}





.step1_input_container{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.step1_input{
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
    width: 100%;
}

.step1_input input{
    padding: 25px 15px;
    width: 45%;
    border-radius: 10px;
    outline: none;
    border: 1px solid #ccc; /* Можно добавить мягкую рамку */
    transition: border-color 0.3s ease; /* Плавный переход цвета рамки */
    box-shadow: -2px 3px 4px rgba(0, 0, 0, 0.3); /* Тень слева и снизу */
    font-size: 20px;
}

.step1_checkbox{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.step1_checkbox label{
    display: flex;
    flex-direction: row;
    border: 3px solid #722072; /* Можно добавить мягкую рамку */
    padding: 20px 15px;
    border-radius: 10px;
    align-items: center;
    gap: 5px;
}

.step1_checkbox input{
    margin-right: 20px;
}


.step1_button_placeholer{
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.step1_button_back{
    width: 20%;
    font-size: 16px;
    font-weight: bold;
    color: rgb(73, 73, 73);
    background: transparent;
    padding: 20px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: 20%;
    cursor: pointer;
    min-width: 150px;
    border-radius: 10px;
    background-color: rgb(158, 158, 158);
}

.step1_button_submit{
    width: 40%;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: transparent;
    padding: 20px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 10px;
    background-color: purple;
}


/* Скрываем стандартный чекбокс */
.custom-checkbox input {
    display: none;
}

/* Контейнер чекбокса */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

/* Стиль кастомного чекбокса */
.custom-checkbox .checkmark {
    width: 30px;
    height: 30px;
    border: 2px solid #5a005a; /* Фиолетовая граница */
    border-radius: 5px; /* Квадрат с закругленными углами */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s;
}

/* Галочка внутри чекбокса */
.custom-checkbox .checkmark::after {
    content: '✔';
    font-size: 20px;
    color: white;
    display: none;
}

/* Когда чекбокс активен */
.custom-checkbox input:checked + .checkmark {
    background: #5a005a; /* Фиолетовый фон */
    border-color: #5a005a; /* Фиолетовая граница */
}

/* Показываем белую галочку при нажатии */
.custom-checkbox input:checked + .checkmark::after {
    display: block;
}

input[type="checkbox"].error {
    outline: 2px solid red;
}

@media (max-width: 1000px) {


}

@media(max-height: 1400px)
{
    .form-step{
        gap: 1vh;
    }

    .form1_choose_placeholder label{
        width: 40%;
        padding: 10px 5px;
    }
    
    
}

@media (max-width: 1000px) {

    .form-step{
        width: 60vw;
    }

}

@media(max-height: 1050px)
{
    .step1_input_container{
        gap: 20px;
    }

    .step1_input input{
        padding: 10px 5px;
    }

    .step1_checkbox label{
        padding: 10px 5px;
    }

    .form1_input input{
        padding: 15px 5px;
    }

    .form1_choose label{
        padding: 10px 5px;
    }

    .myIframe{
        height: 80vh;
    }

}

@media (max-width: 768px) {

    .form1_input input{
        padding: 15px 5px;
        font-size: 12px;
    }

    .form1_input p{
        font-size: 12px;
    }


    .form1_choose label{
        padding: 10px 5px;
    }

    .form1_choose p{
        font-size: 12px;
    }

    .form-step{
        gap: 1vh;
        min-width: 300px;
        font-size: 12px;
    }

    .form-step h1{
        font-size: 16px;
    }

    .step1_input_container{
        gap: 20px;
        font-size: 12px;
    }

    .step1_input input{
        padding: 10px 5px;
        font-size: 12px;
    }

    .step1_checkbox label{
        padding: 10px 5px;
        font-size: 12px;
    }

    .step1_button_submit{
        font-size: 12px;
        padding: 10px;
    }

    .step1_button_back{
        font-size: 12px;
        padding: 10px;
        min-width: 100px;
    }
    
    #step1 button{
        font-size: 12px;
        padding: 10px;
    }

    .myIframe{
        height: 80vh;
    }

}




/* --------------------------------------------------------------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------------------------------------------------------------- */

.video-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-top: 100px;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.first_div{
    margin-top: 100px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 10vh 10vw;
    background-size: cover;
    font-family: 'Roboto', 'Helvetica', sans-serif;
    background-position: top;
}

.first_div p{
    margin: 10px;
    font-size: 24px;
    color: white;
    width: 50%;
}

.first_div h1{
    margin: 10px;
    width: 60%;
    font-size: 36px;
    color: white;
}

.first_div button{
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: transparent;
    border: 2px solid purple; /* Розовая обводка */
    padding: 10px 20px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: 20%;
    min-width: 300px;
    margin-top: 1vh;
    cursor: pointer;
}

.first_div button:hover{
    color: white; /* При наведении текст становится белым */
    background-color: purple;
}

@media (max-width: 768px) {

    .first_div p{
        font-size: 16px;
    }

    .first_div h1{
        font-size: 20px;
    }

}

@media (max-width: 1400px) {
    .first_div h1{
        width: 100%;
        font-size: 24px;
        text-align: center;
    }

    .first_div p{
        font-size: 20px;
        width: 100%;
        text-align: center;
    }

    .first_div button {
        margin: 1vw auto 0 auto; /* Верхний отступ + автоцентрирование */
        min-width: 200px;
    }
    

}

/* --------------------------------------------------------------------------------------------------------------------------------- */

.second_div{
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 5vh 10vw;
    background-color: purple;
    text-align: center;
    align-items: center;
    gap: 5vh;
}

.second_div h1{
    color: white;
    font-size: 36px;
}

.second_div_container{
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}

.second_div_line{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.second_div_box_container{
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    padding: 2vw 0vh;
    width: 50%;
}

.second_div_box{
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    align-items: center;
    width: 40%;
    max-width: 350px; /* Максимальная ширина */
}

.second_div p{
    background-color: white;
    border-radius: 0 0 10px 10px;
    padding: 20px;
    line-height: 1.6;
    font-size: 24px;
    width: 100%;
    height: 100%;
}

.second_div_img{
    width: 100%;
    height: 100%;
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
    max-width: 350px;
    max-height: 400px;
}

.second_div img{
    width: 100%;
    height: 100%; /* Авто-высота */
    object-fit: cover;
}

.second_div button{
    font-size: 24px;
    font-weight: bold;
    color: white;
    background: transparent;
    border: 2px solid #ffffff; /* Розовая обводка */
    border-radius: 10px;
    padding: 10px 20px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: 20%;
    cursor: pointer;
    min-width: 300px;
}

.second_div button:hover{
    background-color: white;
    color: black;
}


@media (max-width: 1400px) {

    .second_div_line{
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .second_div_box_container{
        width: 100%;
    }

    .second_div h1{
        color: white;
        font-size: 24px;
    }
    
    .second_div p{
        padding: 20px;
        font-size: 20px;
        width: auto;
        height: auto;
    }

    .second_div button{
        font-size: 20px;
        width: 20%;
        min-width: 300px;
        padding: 20px;
    }

}

@media (max-width: 768px) {

    .second_div_box_container{
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 6vh;
        padding-top: 3vh;
        padding-bottom: 3vh;
    }

    
    .second_div_box{
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        align-items: center;
        width: 100%;
        max-width: 350px; /* Максимальная ширина */
        background-color: white ;
        border-radius: 11px;
    }

}

/* --------------------------------------------------------------------------------------------------------------------------------- */

.FAQ_div{
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 5vh 10vw;
    text-align: center;
    align-items: center;
    gap: 2vh;
}

.FAQ_div_info_box {
    background-color: white;
    text-align: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    margin-bottom: 10px; /* Расстояние между панелями */
}

.FAQ_div_info_title {
    border-radius: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* Добавляем тень */
    padding: 20px;
    font-size: 24px;
    cursor: pointer;

    display: flex;
    justify-content: center;
    flex-direction: row;
    transition: transform 0.3s ease; /* Плавный переход */
}

.FAQ_div_info_title:hover {
    transform: scale(0.95); /* Уменьшаем элемент на 5% */
}

.FAQ_div_info_title img{
    left: 20%;
    width: auto;  /* Сохраняет пропорции */
    height: auto; /* Сохраняет пропорции */
}

.FAQ_div_info_text {
    font-size: 24px;
    border-radius: 0 0 10px 10px;
    padding: 10px;
    margin-top: 10px;
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    transition: opacity 0.5s ease, max-height 0.5s ease-in-out;
}

.FAQ_div_info_text.show {
    opacity: 1;
    max-height: 1000px; /* Достаточно большая высота для анимации */
}


@media (max-width: 1400px) {
    .FAQ_div_info_text {
        font-size: 20px;
    }

    .FAQ_div_info_title {
        font-size: 24px;
    }
}

/* --------------------------------------------------------------------------------------------------------------------------------- */

.fourth_div{
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 5vh 10vw;
    align-items: center;
    background-image: url(Source/background_image.png);
    background-size: cover;
}

.fourth_div_header{
    margin-bottom: 5vh;
}

.fourth_div_container{
    background-color: purple;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 5vh;
    width: 100%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 1); /* Добавляем тень */
    z-index: 10;
}

.fourth_div_container_holder{
    display: flex;
    justify-content: center;
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 2vw;
}

.fourth_div_container_left{
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    width: 90%;
    gap: 2vh;
    color: white;
}

.fourth_div_container_right{
    overflow: hidden;
    border-radius: 50px;
    width: 60vw;
    height: 30vw;
}

.fourth_div_container_right img{
    width: 100%;
    height: 100%; /* Авто-высота */
    object-fit: fill;
}

.fourth_div_box{
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 2vw;
    align-items: center;
    height: auto;
}

.fourth_div_text{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1vh;
}


.fourth_div_box_img{
    background-color: white;
    border-radius: 100%;


    overflow: hidden;
    width: 15vw;
    height: 10vw;
}

.fourth_div_box_img img{
    width: 100%;
    height: 100%; /* Авто-высота */
    object-fit: fill;
    padding: 20px;
}

.fourth_div_details_button{
    transition: transform 0.3s ease; /* Плавный переход */
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.fourth_div_details_button:hover{
    transform: scale(0.92); /* Уменьшаем элемент на 5% */
}

.fourth_div_more_details{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;

    padding: 2vh 2vw;
    gap: 2vh;
    border-radius: 0 0 15px 15px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: lightgray;
    margin: 0px 3vw;
    z-index: 9;
}

.fourth_div_more_details.show {
    max-height: 1000px; /* Достаточно большое значение */
    opacity: 1;
}

.fourth_div_more_details_header{
    text-align: center;
    line-height: 1.6;
    font-size: 20px;
}

.fourth_div_more_details h1{ 
   color: purple;
}

.fourth_div_more_details_text{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1vh;
}

@media (max-width: 768px) {

    .fourth_div_container_holder{
        flex-direction: column;
        text-align: center;
        gap: 5vh;
    }

    .fourth_div_container_right{
        width: 100%;
        height: auto;
    }

    .fourth_div_more_details{
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
        opacity: 0;
    
        padding: 4vh 4vw;
        gap: 2vh;
        border-radius: 0 0 15px 15px;
        display: flex;
        justify-content: center;
        flex-direction: column;
        background-color: lightgray;
        margin: 0px 3vh;
        z-index: 9;
    }
    
    .fourth_div_more_details.show {
        max-height: 2000px; /* Достаточно большое значение */
        opacity: 1;
    }

}

/* --------------------------------------------------------------------------------------------------------------------------------- */

.fifth_div{
    padding: 5vh 10vw;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    background-color: black;
    gap:  5vh;
}

.fifth_div_header{
    color: white;
    text-align: center;
}

.fifth_div_container{
    display: flex;
    justify-content: space-around;
    flex-direction: row;
}

.fifth_div_column{
    display: flex;
    justify-content: space-around;
    flex-direction: column;
}

.fifth_div_box{
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 2vh;
    background-color: white;
    width: 35%;
    border: 10px solid rgb(138, 9, 127); /* Толщина и цвет рамки */
    border-radius: 10px; /* Закругление рамки */
    padding: 20px;
}

.fifth_div_box p{
   padding: 1vh 3vw;
}

.fifth_div_box img{
    width: 50px;
    height: 50px;
    margin-top: 20px;
}

.fifth_div_box h1{
    color: purple;
}

@media (max-width: 1400px) {

    .fifth_div_container{
        justify-content: space-between;
    }

    .fifth_div_box{
        width: 45%;
    }

}

@media (max-width: 1000px) {

    .fifth_div_container{
        align-items: center;
        gap: 5vh;
        flex-direction: column;
    }

    .fifth_div_box{
        width: 70%;
    }

}


@media (max-width: 768px) {

    .fifth_div_box{
        width: 100%;
    }

}

/* --------------------------------------------------------------------------------------------------------------------------------- */

.sixth_div{
    padding: 5vh 10vw;
    display: flex;
    flex-direction: column;
    gap:  5vh;
    align-items: center; /* Центрирует кнопку */
}

.sixth_div_header{
    text-align: center;
}

.sixth_div_container{
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items:baseline;
    gap: 20vw;
}

.sixth_div_column{
    display: flex;
    flex-direction: column;
    gap: 3vh;
}

.sixth_div_box{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.sixth_div_box p{
    font-size: 28px;
}

.sixth_div_box img{
    width: 50px;
    height: 50px;
}

.sixth_div button{
    font-size: 24px;
    font-weight: bold;
    color: white;
    background-color: black;
    border: 2px solid black; /* Розовая обводка */
    border-radius: 10px;
    padding: 10px 20px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: 20%;
    cursor: pointer;
    min-width: 300px;
}

.sixth_div button:hover{
    border: 2px solid purple; /* Розовая обводка */
    background-color: purple;
    color: white;
}

@media (max-width: 768px) {

    .sixth_div_container{
        flex-direction: column;
        gap: 3vh;
    }

}

@media (max-width: 1400px) {

    .sixth_div_box p{
        font-size: 24px;
    }
    
    .sixth_div_box img{
        width: 35px;
        height: 35px;
    }

    .sixth_div button{
        font-size: 20px;
        width: 30%;
        min-width: 300px;
    }
    
}

/* --------------------------------------------------------------------------------------------------------------------------------- */

.partners_div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4vh;
    padding: 5vh 10vw;
    justify-content: space-between;
    text-align: center;
}

.partners_div_header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #660066;
    font-size: 28px;
}

.partners_div_header h1{
    font-size: 36px;
}

.partners_div_container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3vw; /* Промежуток между слайдами */
    width: 100%;
    overflow: hidden; /* Скрывает все, что выходит за пределы контейнера */
    
}

.partners_div_edge {
    width: 100%; /* Ширина контейнера, в котором видны только 3 слайда */
    overflow: hidden; /* Все, что выходит за пределы контейнера, скрыто */
}

.partners_div_slider {
    display: flex;
    transition: transform 0.5s ease; /* Плавный переход */
    width: 100%;
    gap: 5vw; /* Промежуток между слайдами */
    align-items: center;
    text-align: center;
}

.partners_div_slide {
    max-width: 235px;
    height: auto; /* Фиксированная высота для всех слайдов */
    object-fit: cover; /* Изображения масштабируются, чтобы полностью поместиться в контейнер */
}

.partners_div_slide img{
    width: 100%; /* Изображения заполняют контейнер по ширине */
    height: auto; /* Высота будет подстраиваться в зависимости от ширины */
    object-fit: cover;
}

/* Стиль для кнопок */
.partners_div_container button {
    color: white;
    background-color: rgb(172, 172, 172);
    font-size: 30px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    min-width: 50px; /* Минимальный размер кнопок */
    min-height: 50px;
    width: 4vw;
    height: 3vw;
}

.partners_div_container #prev {
    left: 10px;
}

.partners_div_container #next {
    right: 10px;
}

.partners_div_container button:hover {
    background-color: #727272;
}

.partners_div_container button:active {
    background-color: #2e2e2e;
    transform: scale(0.90);
}

@media (max-width: 1400px) {
    .partners_div_header h1{
        font-size: 36px;
    }

    .partners_div {
        gap: 3vh;
    }
}

@media (max-width: 768px) {

    .partners_div{
        text-align: center;
    }
}

/* --------------------------------------------------------------------------------------------------------------------------------- */

.eighth_div{
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 7vh;
    padding: 5vh 10vw;
    justify-content: space-between;
    font-size: 20px;
    background-size: cover;
}

.eighth_div_header{
    color: #660066;
    font-size: 48px;
}

.eighth_div_container{
    display: flex;
    flex-direction: row; 
    align-items: top;
    gap: 5vw;
}


/* Общие стили для формы */
.eighth_div_form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    max-width: 500px; /* Ограничение по ширине */
    border: 5px solid #c7e3ff; /* Добавляем обводку формы */
    border-radius: 15px; /* Закругление углов */
    height: 875px;
}

.contact-form{
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Стили для полей ввода */
.contact-form input {
    background-color: rgb(233, 233, 233);
    padding: 20px;
    font-size: 20px;
    border: 1px solid #cccccc;
    border-radius: 10px;
    width: 90%;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Плейсхолдеры */
.contact-form input::placeholder {
    color: #888;
    font-style: italic;
}

/* Стили для чекбокса */
.checkbox-label {
    width: 90%;
    font-size: 16px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 10px;
    gap: 20px;
}

.checkbox-label span {
    display: inline-block; /* Оставляем текст цельным */
    line-height: 1.5; /* Увеличиваем интервал для лучшей читаемости */
}

/* Кнопка */
.contact-form button {
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: purple;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 10px;
    transition: transform 0.5s ease; /* Плавный переход для масштаба */
}

.eighth_div_left_container{
    display: flex;
    flex-direction: column; 
    gap: 20px;
}

.eighth_div_left_container_info{
    display: flex;
    flex-direction: column; 
    gap: 20px;
    font-size: 20px;
    color: rgb(99, 99, 99);
}

.contact-form button:hover {
    background-color: #660066;
}

.eighth_div_right_container{
    display: flex;
    flex-direction: column; 
    gap: 10vh;
    font-size: 20px;
    width: 70%;
}

.eighth_div_right_container iframe{
    width: 100%;
    height: 600px;
    border-radius: 20px;
}

.eighth_div_right_container_info{
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    font-size: 24px;
}

.eighth_div_right_container_info h1{
    color: #660066;
}

.eighth_div_right_container_adresses{
    display: flex;
    flex-direction: row; 
    gap: 20px;
}

.eighth_div_right_container_adresses div{
    display: flex;
    flex-direction: row; 
    gap: 20px;
}

.eighth_div_right_container_adresses p{
    gap: 20px;
    width: 45%;
    font-size: 16px;
}

@media (max-width:1500px)
{
    .eighth_div_right_container_adresses{
        flex-direction: column; 
    }

    .eighth_div_right_container_adresses p{
        font-size: 20px;
    }
}


@media (max-width: 1200px) {

    .eighth_div{
        flex-direction: column;
        gap: 5vh;
        text-align: center;
        align-items: center;
    }

    .eighth_div_container{
        flex-direction: column; 
        gap: 5vh;
        width: 100%;
    }

    .eighth_div_header{
        color: #7a3d9d;
        font-size: 42px;
    }

    .eighth_div_right_container{
        gap: 5vh;
        width:100%;
    }

    .eighth_div_right_container iframe{
        width: 100%;
    }

    .eighth_div_left_container{
        display: flex;
        flex-direction: column; 
        gap: 20px;
        text-align: center;
        align-items: center;
    }

    .eighth_div img{
        width: 100%;
    }

}


/* --------------------------------------------------------------------------------------------------------------------------------- */

footer{
    display: flex;
    flex-direction: column; 
    align-items: center;
    padding: 5vh 10vw;
    justify-content: center;
    font-size: 20px;
    background-color: black;
    gap: 50px;
    color: white;
}

.ender_logo{
    width: 250px;
    height: 250px;
}

.ender_adresses{
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: center;
    font-size: 20px;
    gap: 25px;
}

.ender_line{
    width: 100%;
}

.ender_partners{
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: space-between;
    width: 80%;
}

.ender_partners img{
    max-width: 20vw; /* Адаптивный размер картинок */
    min-width: 200px;
    height: auto;
}

.ender_links{
    display: flex;
    flex-direction: row; 
    align-items: top;
    justify-content: space-around;
    font-size: 20px;
    gap: 25px;
    width: 100%;
}

.ender_links p{
    padding: 10px 0;
}

.ender_links a{ 
    padding: 10px 0;
    text-decoration: none;
    color: white;
    transition: transform 0.5s ease;
}

.ender_links a:hover{
    transform: scale(1.1);
}

.ender_links div{ 
    display: flex;
    flex-direction: column; 
}

.ender_social{
    display: flex;
    flex-direction: column; 
}

.ender_social a{
    width: 36px;
}

.ender_social a img {
    transition: transform 0.5s ease;
}

.ender_social p{
    justify-content: left;
}

.ender_social a {
    width: 36px;
}

.ender_social a img:hover {
    transform: scale(1.3);
}

.ender_social img{
    width: 36px;
    height: 36px;
    margin: 5px;
}

.ender_inc{
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: space-between;
    text-align: center;
    font-size: 20px;
    gap: 5vh;
}

.ender_inc a {
    color: white; /* Белый цвет для ссылок */
    transition: color 0.3s;
}

.ender_inc a:hover {
    color: #ccc; /* Светло-серый цвет при наведении (можно изменить) */
}

.ender_inc a:hover{
    color: #660066;
}

@media (max-width: 768px) {

    footer{
        display: flex;
        flex-direction: column; 
        align-items: center;
        padding: 5vh 10vw;
        justify-content: center;
        font-size: 20px;
        background-color: black;
        gap: 50px;
        color: white;
    }
    

    .ender_adresses{
        flex-direction: column; 
        font-size: 20px;
        gap: 25px;
        align-items: normal;
    }
    
    .ender_partners{
        flex-direction: column; 
        gap: 10vh;
        width: 100%;
    }

    .ender_partners img{
        max-width: 80vw; /* Адаптивный размер картинок */
    }

    .ender_links{
        flex-direction: column; 
    }

    .ender_social div{
        display: flex;
        gap: 5vw;
    }

    .break {
        display: block;
    }

}