*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
    zoom: 98%;
}

html {
    scroll-behavior: smooth; /* Плавне прокручування */
    /* background-color: #3d3917; */
}

/* Regular */
@font-face {
    font-family: 'UAFSans';
    src: url('../fonts/UAFSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Medium */
@font-face {
    font-family: 'UAFSans';
    src: url('../fonts/UAFSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* SemiBold */
@font-face {
    font-family: 'UAFSans';
    src: url('../fonts/UAFSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* Bold */
@font-face {
    font-family: 'UAFSans';
    src: url('../fonts/UAFSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Використання шрифтів у стилях */
body {
    font-family: 'UAFSans', sans-serif;
    width: 100%;
}

.body_class{
    padding: 0;
    width: 100%;
    min-height: 100vh; /* Повна висота екрана */
    margin: auto;
    background-color: #19180F; /* Основний темний колір */
    background-image:
            url('../images/nalipki_first.png'),
            url('../images/nalipki_second.png'),
            url('../images/nalipki_last.png');
    background-repeat: no-repeat, no-repeat, no-repeat; /* Фон не повторюється */
    background-position: left bottom, center bottom, right bottom; /* Розташування фонів */
    background-size: cover, cover, cover; /* Кожен фон адаптується */
    background-attachment: fixed; /* Фіксуємо фон */
    position: relative;
}

.body_class.vacancies {
    padding: 150px 0 0 0;
}

/* Прибираємо всі підкреслення з посилань */
a {
    text-decoration: none;
}
/* Щоб картинка не вилазила за межі батьківського блоку */
img {
    max-width: 100%;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black; /* Колір фону */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Уникаємо прокрутки */
    opacity: 1; /* Початкова непрозорість */
    transition: opacity 2.5s ease; /* Плавне зникнення */
}

#preloader-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Масштабує відео для заповнення екрану */
    z-index: 1;
}

.container{
    max-width: 100%;
    margin: auto;
}
.navbar {
    position: fixed; /* Фіксує меню */
    top: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
    z-index: 1000;
    transition: background-color 0.3s ease; /* Плавний перехід для фону */
}


.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.342);; /* Чорний прозорий фон */
}

.list_nav {
    margin-right: 3%;
    margin-top: 2.5%;
    z-index: 1000; /* Забезпечує, щоб меню було на передньому плані */

}
/* Стилі для контейнера списку */
.list_nav1 {
    position: relative; /* Дозволяє позиціонувати елементи всередині */
    display: inline-block; /* Щоб елементи не займали всю ширину */
    margin-left: 20px;
}

/* Стилі для зображення */
.image_coner1 {
    position: absolute; /* Абсолютне позиціонування */
    bottom:0;
    left: 0;
    width: 25px; /* Налаштуйте розмір зображення */
    height: 25px; /* Налаштуйте розмір зображення */
    z-index: -1; /* Переміщає зображення за текст, щоб не перекривало його */
}
.image_coner2{
    position: absolute; /* Абсолютне позиціонування */
    top: 0;
    right: 0;
    width: 25px; /* Налаштуйте розмір зображення */
    height: 25px; /* Налаштуйте розмір зображення */
    z-index: -1; /* Переміщає зображення за текст, щоб не перекривало його */
}

/* Стили для списку */
.list_nav ul {
    display: flex;
    list-style: none;
}

.list_nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
}

.list_nav ul li:hover {
    background-color: #F29203; /* Підсвітка при наведенні */
    border-radius: 3px;

}
.navbar_logo{
    width: 32px;
    height: 32px;
    margin-top: 32px;
    margin-left: 48px;
    z-index: 1000;
}

/* Стилі для кнопки-гамбургера */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #F29203;
    border-radius: 10px;
}

.block_1 {
    max-width: 100%;
    min-height: 100vh;
    /* padding: 20px; */
    background-image:
            url('../images/soldiers2.png'),
            url('../images/Army.jpg');
    background-repeat: no-repeat, no-repeat; /* Запобігти повторенню */
    background-position: left 0 bottom 0, right 0 bottom 0; /* Розміщення зображень */
    background-size: 36%, cover; /* Розмір зображень */
}

.block_1.page-404{
    background: #6A653A;
    padding: 150px 0 0
}
.block_1.page-404 h1{
    text-align: center;
    font-size: 48px;
    color: #000000;
}
.block_1.page-404 h2{
    text-align: center;
    color: #000000;
    display: inherit;
}
.block_1.page-404 h2:after{
    display: none;
}

.bl_1_title_18-24{
    color: white;
    font-size: 40px;
    border-bottom: 2px solid orange;
    font-weight: 500;
}

.block_1_1 {
    max-width: 80%;
    padding-top: 10%;
    margin: auto;
}

.block_1_1_1{
    display: flex; /* Вирівнює картинку і текст у рядок */
    justify-content: center; /* Центрує вміст */
    padding: 0 20px 0 20px;
    width: 100%;
}

.block_1_1_1_1{
    margin-left: 8%;
}

.img_logo1{
    width: 340px;
    position: absolute; /* Забезпечує абсолютне позиціонування всередині контейнера */
    top: 50%; /* Початково в центрі контейнера */
    left: 50%;
    transform: translate(-50%, -50%) scale(3); /* Великий розмір у центрі */
    opacity: 0; /* Початково невидима */
    transition: all 2s ease; /* Плавна зміна положення та масштабу */
}


.btn_lets_go{
    padding-left: 50px;
}

.block_1_1_1.active .img_logo1 {
    transform: translate(0, 0) scale(1); /* Звичайний розмір */
    opacity: 1; /* Робимо видимою */
    top: auto; /* Скидаємо позицію */
    left: auto;
    position: static; /* Повертаємо статичне позиціонування для адаптації в контейнері */
}

.block_1_1_1_1 h1{
    color: white;
    font-size: 40px;
    max-width: 100%; /* Обмежує ширину тексту */
    word-wrap: break-word; /* Дозволяє переносити текст */

}

.block_1_1_1_2{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6% 0;
    text-align: center; /* Центрує вміст всередині */
}

.block_1_1_1_2 h2{
    color: #F29203;
    font-size: 30px;
    font-weight: 100;
}

.block_1_1_1_1 h1 {
    color: white;
    font-size: 50px;
    max-width: 100%; /* Обмежує ширину тексту */
    word-wrap: break-word; /* Дозволяє переносити текст */
}

.block_1_1_1_1 h1 .line {
    display: inline-block;
    opacity: 0;
    position: relative;
    white-space: nowrap;
    transform: translateX(0); /* Initial transform state */
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

.block_1_1_1_1 h2 .line {
    display: inline-block;
    opacity: 0;
    position: relative;
    white-space: nowrap;
    transform: translateX(0); /* Initial transform state */
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

.block_1_1_1_2 a .line {
    display: inline-block;
    opacity: 0;
    position: relative;
    white-space: nowrap;
    transform: translateX(0); /* Initial transform state */
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

.block_1_1_1_1 h1 .from-left {
    animation-name: slideInFromLeft;
    animation-delay: 0.5s;
}

.block_1_1_1_1 h1 .from-right {
    animation-name: slideInFromRight;
    animation-delay: 1s;
}

.block_1_1_1_1 h1 .from-top {
    animation-name: slideInFromTop;
    animation-delay: 1.5s;
}

.block_1_1_1_2 h2 .from-bottom {
    animation-name: slideInFromBottom;
    animation-delay: 2s;
}

.block_1_1_context_2_2 a .from-bottom {
    animation-name: slideInFromBottom;
    animation-delay: 2.5s;
}

.block_1_2{
    padding: 5% 0 5% 0;
    max-width: 80%;
    margin: auto;
}

.block_1_2_title{
    color: #F29203;
    margin-top: 3%;
    margin-bottom: 1%;
}

.block_1_2_title h2{
    font-size: 48px;
    color: white;
    font-weight: 100;
}


.block_1_2_context{
    display: flex; /* Вирівнює елементи в рядок */
    justify-content: space-between; /* Розподіляє блоки рівномірно */
    gap: 5%; /* Відстань між блоками */
    padding: 30px; /* Внутрішні відступи для краси */
    align-items: stretch; /* Робить усі блоки однакової висоти */
}

.block_1_2_context div {
    flex: 1; /* Робить всі блоки однакової ширини */
    background-color: #0303036c; /* Напівпрозорий фон */
    display: flex; /* Використовуємо для вирівнювання тексту всередині */
    flex-direction: column; /* Текст всередині вертикально */
    justify-content: center; /* Центруємо текст по вертикалі */
    border-left: 2px solid #fcfbf9; /* Рамка для прикладу */
    padding: 10px; /* Відступи всередині блоку */
    min-height: 100px; /* Задаємо мінімальну висоту блоку */
}

.block_1_2_context h3 {
    color: #F29203;
    font-size: 24px;
    font-weight: 100;
    margin: 0; /* Забирає зайві відступи */
}

.block_1_2_title h2 .line {
    display: inline-block;
    opacity: 0;
    position: relative;
    white-space: nowrap;
    transform: translateX(0); /* Initial transform state */
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;

}

/* .block_1_2_context_1.line.from-left {
    display: inline-block;
    opacity: 0;
    position: relative;
    white-space: nowrap;
    transform: translateX(0);
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

.block_1_2_context_1.line.from-right {
    display: inline-block;
    opacity: 0;
    position: relative;
    white-space: nowrap;
    transform: translateX(0);
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
} */

.block_1_2_title h2 .from-bottom {
    animation-name: slideInFromBottom;
    animation-delay: 2.5s;
}

.block_1_2_context_1.line.from-left {
    animation-name: slideInFromLeft;
    animation-delay: 3s;
}

.block_1_2_context_1.line.from-right {
    animation-name: slideInFromRight;
    animation-delay: 3s;
}



.block_2 {

    position: relative;
}

.block_2_1 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 100vh;
    /* gap: 20px; Додає простір між блоками */
    margin: auto;
}

.form_call_me{
    display: flex;
    flex-direction: column;
    gap: 15px; /* Відстань між полями */
    width: 300px; /* Ширина форми */
    margin-bottom: 20px;
}

.block_2_1_1{
    color: white;
    padding-right: 30px;
}

.block_2_1_1 h2{
    font-size: 48px;
    color: white;
}

.block_2_1_1 a{
    font-size: 42px;
    color: white;
}

.phone_1{
    padding-bottom: 50px;
}

.block_2_1_1 h3{
    padding-top: 150px;
    margin-bottom: 10%;
    font-size: 24px;
    font-weight: 100;
}

.border_cal_me{
    display: none;
}

.block_2_for_780px{
    display: none;
}

.block_2_1_1,
.block_2_1_2 {
    width: 50%;
    padding-top: 200px;
    padding-left: 10%;
}

.block_2_1_2{
    /* padding-top: 200px; */
    padding-right: 20px;
}

.block_2_1_2 img{
    width: 108px; /* Задає ширину картинки */
    height: auto; /* Пропорційно змінює висоту */
    filter: invert(42%) sepia(100%) saturate(733%) hue-rotate(3deg) brightness(95%) contrast(90%);
}

.block_2_1_2 button{
    text-align: center;
    height: 50px;
    width: 70%;
    border-radius: 30px;
    margin: auto;
    font-size: 24px;
    color: black;
}

.block_2_1_2 form{
    width: 400px;
    padding-top: 10%;
    gap: 60px;
}

.block_2_1_2 h3{
    padding-top: 150px;
    color: white;
    font-size: 24px;
    font-weight: 100;
}

.image_coner3{
    position: absolute;
    top: 580px; /* Центрування по вертикалі */
    left: 50%; /* Центрування по горизонталі */
    transform: translate(-50%, -50%); /* Центрування відносно свого розміру */
    width: 2px;
    height: 26%; /* Робить бордер на всю висоту контейнера */
    z-index: 1;
}

.form-container {
    text-align: center;
}

.input-field {
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 16px;
    color: #000;
    background-color: #fff;
}

.input-field::placeholder {
    color: #bbb; /* Колір тексту-підказки */
}

.submit-button {
    height: 40px;
    background-color: #F29203; /* Помаранчевий */
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #d87c03; /* Темніший помаранчевий при наведенні */
}

.block_3 {
    width: 100%; /* Ширина блоку */
    min-height: 100vh; /* Висота блоку */
    background-image: url('../images/druzi.jpg'); /* Шлях до вашого фону */
    background-size: cover; /* Забезпечує покриття блоку */
    background-repeat: no-repeat; /* Запобігає повторенню зображення */
    background-position: center; /* Початкова позиція фону */
    position: relative; /* Позиціювання для додаткових маніпуляцій */
}

/* Загальні стилі для секції */
.reasons-to-join {
    width: 100%;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    gap: 20px;
}

.reasons-to-join h2 {
    font-size: 48px;
    font-weight: 100;
    padding: 50px 50px 0 200px;
}

/* Стилі для контейнера */
.reasons-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Дві колонки */
    gap: 150px;
    padding: 100px 150px 50px 150px;
}

/* Стилі для кожного блоку */
.reason {
    text-align: left; /* Вирівнювання тексту */
    transition: transform 0.3s ease;
    width: 100%; /* Займає всю доступну ширину контейнера */
    margin: 0 auto; /* Центрує блоки */
    position: relative;
}

/* Верхній лівий кут */
.reason::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 250px; /* Довжина горизонтальної лінії */
    height: 1px; /* Товщина лінії */
    background: #fff;
}

.reason::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px; /* Товщина вертикальної лінії */
    height: 150px; /* Висота вертикальної лінії */
    background: #fff;
}

/* Нижній правий кут */
.corner-right::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px; /* Довжина горизонтальної лінії */
    height: 1px; /* Товщина лінії */
    background: #fff;
}

.corner-right::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 1px; /* Товщина вертикальної лінії */
    height: 150px; /* Висота вертикальної лінії */
    background: #fff;
}



.reason:hover {
    transform: translateY(-10px); /* Анімація при наведенні */
}

.reason h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #F29203; /* Помаранчевий акцент */
    padding: 20px;
    font-weight: 100;
}

.reason p {
    font-size: 18px;
    padding: 20px;
    line-height: 40px;
}

.reason ul {
    padding: 0 20px 0 70px;
}

.reason ul li {
    list-style-type: disc;
    margin-bottom: 5px;
}

.block_4 {

    position: relative;
}

.block_4_for_780px{
    display: none;
}

.img_logo{
    width: 348px;
    height: 353px;
}

.block_4 .block_1_1 .block_1_1_1 .block_1_1_1_1 h1{
    margin-bottom: 40px;
    line-height: 60px;
}

.block_4 .block_1_1_1_2 {
    width: 100%;
    text-align: left;
}

.block_4 .block_1_1 .block_1_1_1 .block_1_1_1_2 h3{
    color: white;
    font-weight: 100;
    line-height: 30px;
    margin-top: -63px;
    margin-bottom: 20px;
}

.block_4 .block_1_2 .block_1_2_title h2{
    text-align: center;
    margin-top: -50px;
    margin-bottom: 30px;
}

.block_4_2_context{
    display: flex;
    justify-content: space-between;
}

.block_4_2_context_1{
    width: 30%;
    gap: 10px;
    background-color: #0000006e;
    padding: 20px;
    border-radius: 20px;
}

.block_4_2_context_1 h3 {
    line-height: 40px;
    color: white;
    font-size: 18px;
    padding-top: 20px;
    font-weight: 100;
}

.circle_block{
    display: flex;
    width: 100%;
    height: 50px;
}



.circle {
    width: 37px;
    height: 37px;
    border: none;
    background-color: #fff; /* Білий фон */
    margin: auto;
    color: #111; /* Темний текст */
    border-radius: 50%; /* Робимо круглим */
    text-align: center;
    align-items: center;
    font-size: 30px;
    justify-content: center;
    font-weight: 800;
}



/* Блок для вузьких екранів */
.block_4_2_context_for_780 {
    display: none; /* Прихований для великих екранів */
}

.block_5 {
    min-height: 100vh;
    /* text-align: center; */
    color: white;
    position: relative;
    overflow-x: auto; /* Горизонтальний скролбар */
}

.block_5 h2{
    padding: 100px 20px 50px 70px;
    font-weight: 100;
    font-size: 42px;
}

.block_5_1{
    display: flex;
    justify-content: space-between;
    padding: 20px 20px;
    overflow-x: auto; /* Горизонтальний скролбар */
}

.block_5_galery{
    display: flex;
    overflow-x: auto;
    gap: 50px;
    padding: 50px;
    height: 600px;
    white-space: nowrap;
    scroll-behavior: smooth;
    align-items: center;
}

.block_5_galery {
    scrollbar-width: none; /* Для Firefox */
}

.block_5_galery::-webkit-scrollbar {
    display: none; /* Для Chrome, Safari */
}

.block_5_img {
    flex: 0 0 370px;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.5s ease-in-out;
    position: relative;
}

.video_bl_5 source{
    border-radius: 10px;
}

.video_bl_5 {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Масштабує відео */
    opacity: 0.8; /* Напівпрозоре відео */
    transition: opacity 1s ease-in-out;
    padding: 20px;
    clip-path: inset(0 round 10px); /* Застосовуємо округлені кути */
}

.block_5_img:hover {
    transform: scale(1.2); /* Ефект збільшення */
}

.block_5_img:hover .video_bl_5 {
    opacity: 1; /* Робить відео видимим при наведенні */
}


.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
}

.arrow img {
    width: 100px;
    height: 100px;
    filter: invert(1); /* Білий колір іконки */
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

.arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

.img_bl_5_1{
    position: absolute;
    bottom: 40px;
    left: 0;
}

.button-text{
    position: absolute;
    bottom: 50px;
    left: 80px;
    font-size: 24px;
    color: black;
    font-weight: bold;
}

.block_5_btn_footer{
    max-width: 100%;
    display: flex;
    justify-content: center;
    padding: 50px;
}

.block_5_btn_footer img{
    width: 250px;
}

.block_5_btn_footer a{
    color: #F29203;
    font-size: 36px;
    padding: 30px;
}



.block_6 {
    min-height: auto;
}

.block_6 h2{
    color: white;
    font-size: 32px;
    font-weight: 100;
    padding: 50px 0 0 235px;

}

.block_contact_1{
    max-width: 75%;
    display: flex;
    justify-content: space-between;
    margin: auto;
    padding: 50px 0;
}

.block_contact_1_1{
    width: 350px;
    display: flex;
    flex-direction: column; /* Вміст блоку розташовується вертикально */
}

.block_contact_1_1 span {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Відступ між рядками */
}

.block_contact_1_1 a {
    font-size: 18px;
    padding: 0 20px;
    color: white;
}

.block_contact_1_1 img {
    width: 40px;
    height: 40px;
    margin-bottom: 5px; /* Відступ між іконкою і текстом */
}

.social{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 50px 0 70px;

}

.copyright{
    text-align: center; 
    color: white; 
    margin: 20px 0;
}


/* Keyframes для анімацій */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.copyright {
    text-align: center;
    color: white;
    margin: 20px 0;
}



/* Модальне вікно */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Трохи темніший фон */
    overflow: auto;
    padding-top: 60px;
    color: white;
}

/* Контент модального вікна */
.modal-content {
    background-color: #3d3917e7;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 70%; /* Модальне вікно на 70% ширини екрана */
    max-width: 900px; /* Максимальна ширина вікна */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px; /* Відстань між елементами */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border: solid 2px #F29203;
    box-sizing: border-box;
}

/* Заголовок */
.modal-content h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Елементи форми */
.modal-content input,
.modal-content select,
.modal-content textarea{
    width: 90%; /* Усі елементи займають 80% ширини вікна */
    max-width: 900px; /* Максимальна ширина елементів */
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-group button{
    width: 100%; /* Ширина блоку */

}

/* Кнопка */
.modal-content button {
    /* width: 300px; */
    margin: 25px 0;
    height: 40px;
    align-items: center;
    border-radius: 10px;
    background-color: #F29203;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-content button:hover {
    background-color: #e18102;
}

/* Текст погодження */
.form-footer {
    text-align: center;
    font-size: 14px;
    color: #ccc;
    margin-top: 10px;
}

/* Кнопка закриття */
.close {
    color: white;
    font-size: 40px;
    font-weight: bold;
    /* position: absolute; */
    top: 100px;
    right: 20px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #F29203;
    text-decoration: none;
}

/* Стиль для спливаючого повідомлення */
.toast-message {
    visibility: hidden;
    min-width: 450px;
    height: 60px;
    margin-left: -225px; /* Центрування */
    background-color: #e18102;
    color: white;
    text-align: center;
    border-radius: 10px;
    padding: 20px;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 90px; /* Відстань від низу */
    font-size: 17px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.5s, visibility 0.5s;
}

/* Клас для показу повідомлення */
.toast-message.show {
    visibility: visible;
    opacity: 1;
}



/*copied from training.css*/

.training_block_1 {
    width: 1000px;
    margin: 150px auto 50px auto;
    background-color: white;
    color: #6A653A;
    padding: 0 50px;
    border-radius: 10px;
}
.training_block_1 h1 {
    text-align: center;
    padding: 30px;
    font-size: 36px;
    font-weight: 100;
}
.training_block_1 p {
    font-size: 16px;
    line-height: 25px;
}
.training_block_1 ul {
    padding-left: 30px;
    line-height: 25px;
}
.block_vvnz {
    display: flex;
    align-items: center; /* Вирівнює зображення та текст по вертикалі */
    gap: 20px; /* Відступ між елементами */
    padding: 30px 0;
}
.block_vvnz_img1, .block_vvnz_img2 {
    flex-wrap: wrap; /* Дозволяє переносити контент на наступний рядок для маленьких екранів */
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center; /* Вирівнювання по вертикалі */
    gap: 20px; /* Відстань між зображенням та текстом */
}
.block_vvnz img {
    max-width: 420px; /* Максимальна ширина для зображень */
    height: 168px; /* Зберігає пропорції зображення */
    border-radius: 5px;
    object-fit: cover;
}
.block_vvnz_1 {
    flex: 1; /* Займає залишковий простір */
}
.block_vvnz_1 p, .block_vvnz_1 ul {
    margin: 10px 0; /* Додає рівномірні відступи між текстом та списком */
}


/*copied from style_2*/
.wrap1 {
    display: flex;
    align-items: center;
    justify-content: center;
    /*padding-left: 50px;*/
}

.button1 {
    min-width: 200px;
    min-height: 60px;
    display: inline-flex;
    font-family: 'Nunito', sans-serif;
    font-size: 22px;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1.3px;
    font-weight: 700;
    color: #313133;
    background: #F29203;
    background: linear-gradient(90deg, rgba(#F29203) 0%, rgba(#F29203) 100%);
    border: none;
    border-radius: 1000px;
    transition: all 0.3s ease-in-out 0s;
    cursor: pointer;
    outline: none;
    position: relative;
    padding: 10px;
    z-index: 1; /* Кнопка знаходиться вище інших елементів */
}

.button1::before {
    content: '';
    border-radius: 1000px;
    min-width: calc(200px + 12px);
    min-height: calc(60px + 12px);
    border: 6px solid #F29203;
    box-shadow: 0 0 60px #F29203;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all .3s ease-in-out 0s;
}

.button1:hover,
.button1:focus {
    color: #313133;
    transform: translateY(-6px);
}

.button1:hover::before,
.button1:focus::before {
    opacity: 1;
}

.button1::after {
    content: '';
    width: 30px; height: 30px;
    border-radius: 100%;
    border: 2px solid #F29203;
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ring 1.5s infinite;
}

.button1:hover::after,
.button1:focus::after {
    animation: none;
    display: none;
}

@keyframes ring {
    0% {
        width: 30px;
        height: 30px;
        opacity: 1;
    }
    100% {
        width: 250px;
        height: 250px;
        opacity: 0;
    }

}


/*copy from vacancies style_block_vacancies.css*/

#vacancies {
    text-align: center;
}
.container #vacancies{
    width: 1260px;
    margin: 0 auto;
}
.container #vacancies.block_5{
    width: 100%;
}
.body_class_nav{
    background-color: #6A653A;
    margin: auto;
}
.cont_vac {
    max-width: 90%;
    margin: 190px auto 20px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.title_header_vac{
    font-size: 24px;
    color: #757575;
    padding: 20px;
    font-weight: 500;
}

.title_header_vac_2{
    font-size: 36px;
    padding: 50px;
    text-transform: uppercase;
}

.body_class_nav h1 {
    text-align: center;
    color: #6A653A;
}

.body_class_nav h2 {
    display: flex;
    align-items: center;
    color: #6A653A;
    font-size: 20px;
}

.body_class_nav h2::after {
    content: "";
    flex-grow: 1;
    height: 2px;
    background-color: #6A653A;
    margin-left: 20px;
}

.body_class_nav p {
    line-height: 1.6;
    color: #6A653A;
    padding: 20px 20px 20px 20px;
    font-size: 16px;
}

.body_class_nav ul {
    margin-left: 40px;
    line-height: 1.6;
    color: #6A653A;
    font-size: 16px;
    /*padding: 20px 20px 50px 0px;*/
}


/*****************************************/



.block_5_1_vac h2{
    text-align: start;
    padding: 40px;
    font-size: 36px;
    color: white;
    font-weight: 100;
}

.block_1_galery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-content: center;
    padding: 0 40px;
}

.block_5_img_vac {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out; /* Анімація збільшення */
}

.block_5_img_vac:hover {
    transform: scale(1.1); /* Збільшення картинки на 10% */
    transition: transform 0.3s ease-in-out; /* Додавання плавної анімації */
}

.block_5_img_vac img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out; /* Плавна анімація при зміні розміру */
}

.button-container_vac {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.button-container_vac a {
    display: block;
    text-align: center;
    text-decoration: none;
    background-color: #F29203;
    color: white;
    font-size: 24px;
    padding: 10px 0;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.button-container_vac a:hover {
    background-color: #f9f9fa;
    color: #F29203;
    font-weight: 500;
}





/*************** BLOCK_18-24 *************/

.block_18_24_1{
    max-width: 100%;
    min-height: 100vh;
    background-image: url('/assets/images/img_bl_1.jpg');
    background-size: cover;  /* Масштабує зображення на весь блок */
    background-position: center bottom;  /* Центрує зображення */
    background-repeat: no-repeat;  /* Забороняє повторення */
    display: flex;
    align-items: center;  /* Вирівнює дочірні елементи по нижньому краю */
    justify-content: center;  /* Центрує по горизонталі */
    padding-bottom: 40px;  /* Додає відступ від низу */
    text-align: center;
    color: white;
    opacity: 0.8;
}


.list_nav1_18-24 li{
    color: #F29203;
    font-weight: 800;
}

.block_18_24_1 h1{
    font-size: 50px;
}

.block_18_24_2{
    max-width:100%;
    min-height:500px;
    background-image: url('/assets/images/img_bgr_bl_2.png');
    background-size: cover;  /* Масштабує зображення на весь блок */
    background-position: center;  /* Центрує зображення */
    background-repeat: no-repeat;  /* Забороняє повторення */
    display: flex;
}


.block_18_24_2_1 {
    flex: 1;                     /* Обидва блоки займають однакову площу */
    display: flex;
    align-items: center;         /* Вирівнюємо по вертикалі */
    justify-content: center;     /* Вирівнюємо по горизонталі */
}

.block_18_24_2_1 img {
    width: 90%; /* Картинка займає всю ширину блоку */
    height: 100%; 
    padding-bottom: 8px;
}

.block_18_24_2_2 {
    flex: 1;
    display: flex;
    flex-direction: column; /* Вирівнює елементи вертикально */
    align-items: center;    /* Центрує по горизонталі */
    justify-content: center; /* Центрує по вертикалі */
    /*text-align: center;*/      /* Центрує текст */
    padding: 20px;
}


.block_18_24_2_2 p {
    max-width: 80%;              /* Обмежуємо ширину тексту */
    font-size: 20px;             /* Розмір шрифту */
    line-height: 1.5;            /* Міжрядковий інтервал */
    color:white;
}

.text-container {
    max-width: 100%;
    text-align:left;
    display: flex;
    flex-direction: column; /* Розташовує текст і кнопку вертикально */
    align-items: flex-start; /* Центрує весь контент по горизонталі */
    /*text-align: center;*/ /* Вирівнює текст */
    padding-left: 0; /* Прибрати зміщення */
}

.text-container p {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.wrap-left {
    width: 0;
    height: 0;
    margin-top: 70px;
}



.block_18_24_3 {
    padding: 40px 40px 40px 80px;
    color: white;
}

.block_18_24_3 h2 {
    text-align: left;
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 30px 10%;
    display: inline-block;
    padding-bottom: 5px;
}

.advantages-container {
    display: flex;
    justify-content: center;
    
}

.left-column,
.right-column {
    width:40%;
}

.left-column ul,
.right-column ul {
    list-style: none;
    padding: 0;
}

.left-column li,
.right-column li {
    display: flex;
    align-items: center;
    font-size: 18px;
}

.left-column li{
    margin-bottom: 38px;
}

li img {
    filter: invert(41%) sepia(92%) saturate(636%) hue-rotate(355deg) brightness(99%) contrast(97%);
}


.left-column img {
    width: 60px;
    height: 60px;
    margin-right: 25px;
}

.check-mark{
    color: #F39200; /* Галочка */
    font-size: 32px; /* Збільшений розмір */
}

.list-item {
    display: flex;
    align-items: flex-start; /* Вирівнює іконку та текст по лівому краю */
    gap: 20px; /* Відступ між іконкою та текстом */
}

.text-cont {
    display: flex;
    flex-direction: column; /* Розміщує текст у стовпчик */
    line-height: 25px;
}

.small-text {
    font-size: 14px; /* Зменшений шрифт */
    font-weight: 300; /* Тонший шрифт */
    color: #ccc; /* Світліший колір (за бажанням) */
}



.block_18_24_4 {
    max-width: 100vw;
    margin: auto;
    padding: 20px;
}

.block_18_24_4_title {
    font-size: 22px;
    margin: 0 0 40px 10.5%;
    text-transform: uppercase;
    color: white;
}

.block_18_24_4_cards {
    display: flex;
    justify-content: center;
    gap: 2%;
    flex-wrap: wrap;
}

.block_18_24_4_card {
    background: rgba(104, 121, 0, 0.3);
    border: 3px solid #426609;
    padding: 10px;
    width: 230px;
    min-height: 380px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.5s ease-in-out;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

/* Коли розгорнуто, блок збільшується */
.block_18_24_4_card.expanded {
    width: 300px; /* Змінено для більш помітного ефекту */
    min-height: 450px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
}

.block_18_24_4_card img {
    width: 100%;
    height: 250px;
    border-radius: 5px;
    object-fit: contain;
    transition: opacity 0.3s ease-in-out;
}

.block_18_24_4_card h3 {
    font-size: 18px;
    margin: 10px 0;
    color: white;
    transition: opacity 0.3s ease-in-out;
}

.block_18_24_4_more {
    font-size: 14px;
    color: #ccc;
    margin-top: 5px;
    cursor: pointer;
    display: block;
    transition: opacity 0.3s ease-in-out;
}

/* Опис блоку спочатку прихований */
.block_18_24_4_description {
    display: none;
    font-size: 14px;
    color: white;
    text-align: left;
    transition: opacity 0.5s ease-in-out;
}



/* Показуємо опис при розгортанні */
.block_18_24_4_card.expanded .block_18_24_4_description {
    display: block;
    opacity: 1;
}




/*************** BLOCK_DRONE_LINE *************/

.block_drone_line_1{
    max-width: 100%;
    min-height: 100vh;
    background-image: url('/assets/images/drone_line/img_drone_line.jpg');
    background-size: cover;  /* Масштабує зображення на весь блок */
    background-position: center bottom;  /* Центрує зображення */
    background-repeat: no-repeat;  /* Забороняє повторення */
    display: flex;
    align-items: center;  /* Вирівнює дочірні елементи по нижньому краю */
    justify-content: center;  /* Центрує по горизонталі */
    padding-bottom: 40px;  /* Додає відступ від низу */
    text-align: center;
    color: white;
    opacity: 0.8;
}


.block_d_l_2 h1{
    text-align: center;
}

.block_line_drone_3{
    background-color: rgba(0, 0, 0, 0.3);
    padding: 70px 30px 50px 30px;
    color: white;
    margin:20px 50px;
    border-radius:10px;
}

.left-column_h2{
    color: white;
    font-size: 35px;
}

.right-column_d_l {
    font-size: 16px;
}

.right-column_d_l h3{
    font-size: 26px;
    margin: 30px 0;
}

.right-column_d_l li{
    font-size: 21px;
    line-height: 35px;
}

.block_d_l_2 {
    max-width: 100%;
    min-height: 500px;
    background-image: url('/assets/images/drone_line/line_bl_2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    padding:0 100px;
}

/* Верхній заголовок */
.block_d_l_2_h3_1 {
    color: #F39200;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top:10%;
}

/* Основний заголовок */
.block_d_l_2 h1 {
    font-size: 118px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding:20px 0;
}

/* Нижній заголовок (справа) */
.block_d_l_2_h3_2 {
    color: #F39200;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 0;
    text-align: right;
    margin-bottom:10%;
}

.btn_drone_line{
    display: block;
    
}






/*RESPONSIVE*/
/*copied from style_phone*/
/* Адаптивність під планшет */
@media (min-width: 780px) and (max-width: 1020px) {
    *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        max-width: 100%;
    }
    
    .list_nav1 {
        margin-left: 10px;
    }
    .body_class{
        padding: 0;
        width: 100%;
        max-width: 100%;
        min-height: 100vh; /* Фон завжди буде на всю висоту екрана */
        margin: auto;
        background-color: #19180F; /* Основний темний колір */
        background-image:
                url('../images/nalipki_first.png'),
                url('../images/nalipki_second.png'),
                url('../images/nalipki_last.png');
        background-repeat: no-repeat, no-repeat, no-repeat; /* Зображення не повторюються */
        background-position: left bottom, center bottom, right bottom; /* Розташування зображень */
        background-size: cover, cover, cover; /* Зображення покривають доступну область */
    }

    .block_1{
        background-image:
                url('../images/Army.jpg');
        background-repeat: no-repeat, no-repeat; /* Запобігти повторенню */
        background-position: left 0 bottom 0, right 0 bottom 0;
        background-size: cover; /* Розмір зображень */
    }
    
    .block_1_1_1{
        padding-top: 30px;
        flex-direction: column;
        align-items: center;
    }

    .img_logo1{
        width: 500px;
        height: 510px;
    }

    .block_1_1_1_1{
        text-align: center;
        margin: 40px 0 0 0;
    }

    .block_1_1_1_1 h1{
        text-align: center;
        font-size: 42px;
        padding: 50px 0 10px 0;
    }

    .block_1_1_1_2{
        flex-direction: column;
        gap: 50px;
    }

    .block_1_1_1_2 h2{
        font-size: 36px;
        font-weight: 500;
    }

    .wrap1{
        margin: 0;
        padding: 0 0 50px 0;
    }

    .button1{
        margin-top: 20px;
    }
    
    .btn_lets_go {
        padding-left: 0;
    }
    
    .bl_1_title_18-24{
        font-size: 20px;
        margin-bottom: 20px;
    }

    .block_1_2 {
        flex-direction: column; /* Розташовує елементи по вертикалі */
        align-items: center; /* Центрує всі елементи по горизонталі */
        justify-content: center; /* Центрує контент по вертикалі */
        text-align: start;
        margin: auto;
        padding: 0 0 30px 0;
    }

    .block_1_2_title h2{
        font-size: 28px;

    }

    .block_1_2_context{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        align-items: center;
        padding: 20px 0 20px 0;
    }

    .block_1_2_context_1 h3{
        font-size: 26px;
        margin-bottom: 20px;
    }


    .modal-content{
        width: 90%;
    }
    
    
    /*************** BLOCK_2 *******************/
    
    .block_2_1_1, .block_2_1_2 {
        padding-top: 100px;
    }
    
    
    /*************** BLOCK_3 *******************/
    .block_3{
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .reasons-to-join{
        margin: 0;
        padding: 0;
    }

    .reasons-to-join h2{
        font-size: 27px;
        padding-left: 50px;
        margin-top: 30px;
        text-align: center;
    }

    .reasons-container{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        align-items: center;
        gap: 35px;
        padding: 0 0 30px 0;
        margin: 30px 45px 0 45px;
    }

    .reasons-container h3{
        font-size: 26px;
        font-weight: 500;
        margin-bottom: -20px;

    }
    .reasons-container p{
        font-size: 18px;
        font-weight: 300;
        line-height: 27px;
    }

    .reasons-container li{
        font-size: 18px;
        font-weight: 300;
        line-height: 27px;
    }

    .reason::before {
        width: 150px; /* Змінена довжина горизонтальної лінії */
        height: 1px; /* Змінена товщина горизонтальної лінії */
    }

    .reason::after {
        width: 1px; /* Змінена товщина вертикальної лінії */
        height: 100px; /* Змінена висота вертикальної лінії */
    }
    
    .corner-right::before {
        width: 150px; /* Змінена довжина горизонтальної лінії */
        height: 1px; /* Змінена товщина горизонтальної лінії */
    }

    .corner-right::after {
        width: 1px; /* Змінена товщина вертикальної лінії */
        height: 100px; /* Змінена висота вертикальної лінії */
    }
    
    
    /****************** BLOCK_4 ****************/
    .block_4{
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    .block_4_1{
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .block_4_for_780px{
        display: flex; /* Встановлюємо flex-контейнер */
        width: 100%;
        max-width: 100%;
        padding-left: 90px;
    }

    .block_4 .block_1_1 .block_1_1_1{
        width: 100%;
        max-width: 100%;
    
    }


    .block_4 .block_1_1 .block_1_1_1 .block_4_for_780px .img_logo2{
        width: 185px;
        height: 192px;
        margin: 0 10px 0 0;
    }
    
    .block_4 .block_1_1 .block_1_1_1 .img_logo{
        display: none;
    }

    .block_4 .block_1_1 .block_1_1_1 .block_1_1_1_1 h1{
        display: none;
    }



    .block_4 .block_1_1 .block_1_1_1 .block_4_for_780px h1 {
        margin: 5px 10% 0 40px;
        line-height: 45px;
        text-align: start;
        color: #F29203;
        font-size: 36px;
    }

    .block_4 .block_1_1 .block_1_1_1 .block_1_1_1_2 h3{
        font-size: 21px;
        line-height: 30px;
        padding: 30px 10% 30px 90px;
    }
    
    .block_4 .block_1_2 .block_1_2_title h2{
        margin: -50px 0 50px 0;
        text-align: start;
    
    }

    .block_4_2_context_780{
        flex-direction: column;
    }
    
    .block_4_2_context {
        display: none; /* Приховує основний блок */
    }
    .block_4_2_context_for_780 {
        display: block; /* Відображає блок для вузьких екранів */
    }
    
    .block_4_2_context_1{
        width: 780px;
        display: flex;
        margin-bottom: 20px;
    }
    
    .block_4_2_context_1 h3{
        font-size: 18px;
        line-height: 25px;
        padding-top: -30px;
    }
    
    .block_circle{
        margin: auto;
    }
    
    
    .circle1 {
        width: 50px; /* Фіксована ширина */
        height: 50px; /* Фіксована висота */
        border-radius: 50%; /* Робить елемент круглим */
        background-color: white; /* Для демонстрації додаємо фон */
        color: black; /* Колір тексту */
        display: flex; /* Використовуємо flex для вирівнювання тексту всередині */
        justify-content: center; /* Вирівнюємо текст по горизонталі */
        align-items: center; /* Вирівнюємо текст по вертикалі */
        font-size: 20px; /* Розмір тексту */
        font-weight: bold; /* Жирний текст */
        margin: 10px; /* Відступ від інших елементів */
    }
    
    
    
    /***************** BLOCK_6 ***************/
    .block_6 h2 {
        color: white;
        font-size: 18px;
        font-weight: 100;
        padding: 30px 0 0 10%;
    }

    .block_contact_1{
        align-items: center; /* Горизонтальне вирівнювання по центру */
        justify-content: center; /* Вертикальне вирівнювання по центру */
    }
    
    .block_contact_1_1.social {
        flex-direction: row; /* Соцмережі в рядок */
        justify-content: center;
        gap: 15px; /* Відступи між іконками соцмереж */
    }
    
    .block_contact_1_1 a{
        font-size: 14px;
    }
    .social{
        padding: 0 50px;
    }
    .block_1_1{
        max-width: 100%;
    }
    .block_4_1 {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    .block_1_1_1 {
        padding-top: 80px;
        flex-direction: column;
        align-items: center;
    }
    .block_4 .block_1_1 .block_1_1_1 {
        width: 780px;
        max-width: 100vw;
    }
    .block_4_for_780px {
        display: flex;
        width: 780px;
        max-width: 100vw;
        padding-left: 10%;
    }
    
    .copyright{
        font-size: 11px; 
        margin: 20px 20px;
    }
    
    
}

/*copied from training*/
/* Адаптивність */
@media screen and (max-width: 780px) {
    .block_1_1{
        display: flex;
        flex-direction: column; /* Змінюємо порядок елементів у колонку */
        align-items: center;   /* Вирівнюємо по центру */
    }
    .block_1_1_img{
        order: 1; /* Картинка буде перша */
        max-width: 100%;
        margin: auto;
    }
    .block_1_1_context{
        order: 2; /* Текст буде другим */
        max-width: 100%;
    }

    .block_1_1_context_1 h1{
        text-align: center;
    }

    .block_1{
        background-image:
                url('assets/images/soldiers2.png'),
                url('../images/Army.jpg');
        background-repeat: no-repeat, no-repeat; /* Запобігти повторенню */
        background-position: left 0 bottom 0, right 0 bottom 0;
        background-size: 70%, cover; /* Розмір зображень */
    }

    .list_nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 70%;
        width: 200px;
        z-index: 1000;
    }

    .list_nav.active {
        display: flex;
    }

    .hamburger {
        display: flex;
        width: 32px;
        height: 32px;
        margin-top: 32px;
        margin-right: 48px;
    }
}


/*copied from training*/
/* Адаптивність */
@media screen and (max-width: 780px) {
    .block_1_1{
        display: flex;
        flex-direction: column; /* Змінюємо порядок елементів у колонку */
        align-items: center;   /* Вирівнюємо по центру */
    }
    .block_1_1_img{
        order: 1; /* Картинка буде перша */
        max-width: 100%;
        margin: auto;
    }
    .block_1_1_context{
        order: 2; /* Текст буде другим */
        max-width: 100%;
    }

    .block_1_1_context_1 h1{
        text-align: center;
    }

    .block_1{
        background-image:
                url('assets/images/soldiers2.png'),
                url('../images/Army.jpg');
        background-repeat: no-repeat, no-repeat; /* Запобігти повторенню */
        background-position: left 0 bottom 0, right 0 bottom 0;
        background-size: 70%, cover; /* Розмір зображень */
    }

    .list_nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 70%;
        width: 200px;
        z-index: 1000;
    }

    .list_nav.active {
        display: flex;
    }

    .hamburger {
        display: flex;
        width: 32px;
        height: 32px;
        margin-top: 32px;
        margin-right: 48px;
    }
}

.error-message {
    display: none;
    font-size: 15px;
    font-weight: 900;
    color: red;
}




/* index phone styles */
/* Адаптивність */
@media screen and (max-width: 780px) {
    *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        max-width: 100%;
    }
    .body_class{
        padding: 0;
        width: 780px;
        max-width: 100%;
        min-height: 100vh; /* Фон завжди буде на всю висоту екрана */
        margin: auto;
        background-color: #19180F; /* Основний темний колір */
        background-image:
                url('../images/nalipki_first.png'),
                url('../images/nalipki_second.png'),
                url('../images/nalipki_last.png');
        background-repeat: no-repeat, no-repeat, no-repeat; /* Зображення не повторюються */
        background-position: left bottom, center bottom, right bottom; /* Розташування зображень */
        background-size: cover, cover, cover; /* Зображення покривають доступну область */
    }

    .block_1{
        background-image:
                url('../images/Army.jpg');
        background-repeat: no-repeat, no-repeat; /* Запобігти повторенню */
        background-position: left 0 bottom 0, right 0 bottom 0;
        background-size: cover; /* Розмір зображень */
    }

    .list_nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 0;
        right: 0;
        width: 100%; /* Ширина меню на весь екран */
        min-height: 100vh ; /* Висота меню на весь екран */
        z-index: 1000;
        background-color: rgba(7, 7, 7, 0.918);
        align-items: center; /* Вирівнювання по горизонталі */
        text-align: center; /* Текст у списках по центру */
        padding: 0;
        margin: 0;
    }

    .list_nav ul li a{
        padding: 0 70px;
    }

    .list_nav.active {
        padding-top: 50px;
        display: flex;
    }

    .list_nav1{
        margin: 0;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 40px;
        height: 30px;
        cursor: pointer;
        background: none;
        border: none;
        position: absolute;
        top: 32px;
        right: 48px;
        z-index: 1100;
        margin-top: 0;
        margin-right: 0;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 4px;
        background-color: #F29203;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger_1_for_page_training{
        margin: 0;
    }

    /* Анімація для хрестика */
    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(0px, 0px);
    }

    .hamburger.open span:nth-child(2) {
        transform: rotate(-45deg) translate(8px, -10px);

    }

    .hamburger.open span:nth-child(3) {
        opacity: 0; /* Ховаємо середню лінію */
    }

    .block_1_1_1{
        padding-top: 80px;
        flex-direction: column;
        align-items: center;
    }
    .list_nav1{
        margin-top: 40px;
    }
    .list_nav ul{
        display: flex;
        flex-direction: column; /* Список вертикально */
        list-style: none; /* Видаляємо маркери списку */
        margin: 0;
        padding: 0 30px;
    }

    .img_logo1{
        width: 200px;
        height: 210px;
        margin-top: 20px;
    }

    .block_1_1_1_1{
        text-align: center;
        margin: 40px 0 0 5%;
    }

    .block_1_1_1_1 h1{
        text-align: center;
        font-size: 22px;
        padding: 50px 0 10px 0;
    }

    .block_1_1_1_2{
        flex-direction: column;
        gap: 50px;
    }

    .block_1_1_1_2 h2{
        font-size: 16px;
        font-weight: 500;
    }

    .wrap1{
        margin: 0;
        padding: 0 0 50px 0;
    }

    .button1{
        margin-top: 20px;
    }
    
    .btn_lets_go {
        padding-left: 0;
    }
    
    .bl_1_title_18-24{
        font-size: 20px;
        margin-bottom: 20px;
    }

    .block_1_2 {
        flex-direction: column; /* Розташовує елементи по вертикалі */
        align-items: center; /* Центрує всі елементи по горизонталі */
        justify-content: center; /* Центрує контент по вертикалі */
        text-align: start;
        margin: auto;
    }

    .block_1_2_title h2{
        font-size: 18px;

    }

    .block_1_2_context{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        align-items: center;
        padding: 20px 0 20px 0;
    }

    .block_1_2_context_1 h3{
        font-size: 16px;
        margin-bottom: 20px;
    }


    .modal-content{
        width: 90%;
    }




/**************** BLOCK 2 *****************/
    .block_2{
        margin: 0;
        padding: 0;
        width: 780px;
        max-width: 100vw;
    }

    .image_coner3 {
        display: none;
    }

    .block_2_1{
        flex-direction: column;
        justify-content: unset;
    }

    .block_2_1_1{
        width: 780px;
        max-width: 100vw;
        padding: 0;
        text-align: center;
    }

    .block_2 .block_2_1 .block_2_1_1 h2 {
        display: none;
    }

    .block_2_for_780px{
        display: flex; /* Встановлюємо flex-контейнер */
        justify-content: center; /* Вирівнюємо елементи по горизонталі */
        align-items: center; /* Вирівнюємо елементи по вертикалі */
        position: absolute; /* Дозволяє точно позиціонувати блок */
        left: 50%; /* Встановлюємо відступ зліва на 50% */
        transform: translate(-50%, -50%); /* Центруємо блок відносно середини екрана */
        top: 10%;
    }

    .block_2_for_780px img{
        width: 60px;
        height: 60px;
        filter: invert(42%) sepia(100%) saturate(733%) hue-rotate(3deg) brightness(95%) contrast(90%);
        margin-right: 20px;
    }

    .block_2_for_780px h4{
        color: white;
        font-size: 24px;
        line-height: 30px;
        font-weight: 500;
    
    }

    .block_2 .block_2_1 .block_2_1_1 .block_2_for_780px h4{
        margin: auto;
    }
    
    .block_2 .block_2_1 .block_2_1_1 .block_2_for_780px img{
        margin-right: 10px;
    }

    .block_2_1_1 h3 {
        font-size: 20px;
        line-height: 35px;
        padding-top: 180px;
        text-align: start;
        padding-left: 10%;
        margin-bottom: 40px;
    }

    .block_2_1_1 span{
        font-size: 24px;
        color: white;
    
    }
    
    .block_2_1_1, .block_2_1_2{
        padding-top: 0;
        padding-left: 0;
    }

    .border_cal_me{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 83%; /* Встановлюємо ширину 90% */
        margin: 0 auto; /* Центруємо блок */
        position: relative; /* Для позиціонування ліній */
        gap: 20px; /* Відстань між лініями та текстом */
        padding: 0 0; /* Відступи зверху та знизу */
    }

    .border_cal_me .line {
        flex-grow: 1;
        height: 2px;
        background-color: #ffffff; /* Білий колір лінії */
    
    
    }

    .border_cal_me .text {
        color: #ffffff; /* Білий текст */
        font-size: 20px;
        font-weight: bold;
        padding: 40px 0;
    }

    .block_2_1_2{
        padding: 0;
        margin: 0;
        width: 780px;
        max-width: 100vw;
    }
    
    .block_2_1_2 h3{
        padding-top: 0;
        font-size: 20px;
        text-align: start;
        margin-left: 10%;
    }
    
    .block_2_1_2 img{
        display: none;
    }
    
    .form-container{
        display: flex; /* Використовуємо Flexbox */
        justify-content: center; /* Горизонтальне центрування */
        align-items: center; /* Вертикальне центрування */
    }

    .form-group input{
        /* width: 85%; */
        height: 50px;
        padding-left: 20px;
    }
    
    .block_2_1_2 form{
        width: 350px;
    }

/*************** BLOCK_3 *******************/
    .block_3{
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .reasons-to-join{
        margin: 0;
        padding: 0;
    }

    .reasons-to-join h2{
        font-size: 17px;
        padding-left: 50px;
        margin-top: 30px;
        text-align: center;
    }

    .reasons-container{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        align-items: center;
        gap: 25px;
        padding: 0 0 30px 0;
        margin: 30px 25px 0 25px;
    }

    .reasons-container h3{
        font-size: 16px;
        font-weight: 500;
        margin-bottom: -20px;

    }
    .reasons-container p{
        font-size: 14px;
        font-weight: 300;
        line-height: 27px;
    }

    .reasons-container li{
        font-size: 14px;
        font-weight: 300;
        line-height: 27px;
    }

    .reason::before {
        width: 150px; /* Змінена довжина горизонтальної лінії */
        height: 1px; /* Змінена товщина горизонтальної лінії */
    }

    .reason::after {
        width: 1px; /* Змінена товщина вертикальної лінії */
        height: 100px; /* Змінена висота вертикальної лінії */
    }
    
    .corner-right::before {
        width: 150px; /* Змінена довжина горизонтальної лінії */
        height: 1px; /* Змінена товщина горизонтальної лінії */
    }

    .corner-right::after {
        width: 1px; /* Змінена товщина вертикальної лінії */
        height: 100px; /* Змінена висота вертикальної лінії */
    }


/****************** BLOCK_4 ****************/
    .block_4{
        margin: 0;
        padding: 0;
        width: 780px;
        max-width: 100%;
    }

    .block_4_1{
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .block_4_for_780px{
    display: flex; /* Встановлюємо flex-контейнер */
    width: 780px;
    max-width: 100vw;
    padding-left: 10%;
    }

    .block_4 .block_1_1 .block_1_1_1{
        width: 780px;
        max-width: 100vw;
    
    }


    .block_4 .block_1_1 .block_1_1_1 .block_4_for_780px .img_logo2{
        width: 85px;
        height: 92px;
        margin: 0 10px 0 0;
    }
    
    .block_4 .block_1_1 .block_1_1_1 .img_logo{
        display: none;
    }

    .block_4 .block_1_1 .block_1_1_1 .block_1_1_1_1 h1{
        display: none;
    }



    .block_4 .block_1_1 .block_1_1_1 .block_4_for_780px h1 {
        margin: 0 10% 0 40px;
        line-height: 25px;
        text-align: start;
        color: #F29203;
        font-size: 16px;
    }

    .block_4 .block_1_1 .block_1_1_1 .block_1_1_1_2 h3{
        font-size: 14px;
        line-height: 20px;
        padding: 30px 10% 30px 0;
    }
    
    .block_4 .block_1_2 .block_1_2_title h2{
        margin: -50px 0 50px 0;
        text-align: start;
    
    }

    .block_4_2_context_780{
        flex-direction: column;
    }
    
    .block_4_2_context {
        display: none; /* Приховує основний блок */
    }
    .block_4_2_context_for_780 {
        display: block; /* Відображає блок для вузьких екранів */
    }
    
    .block_4_2_context_1{
        width: 780px;
        display: flex;
        margin-bottom: 20px;
    }
    
    .block_4_2_context_1 h3{
        font-size: 14px;
        line-height: 20px;
        padding-top: -30px;
    }
    
    .block_circle{
        margin: auto;
    }
    
    
    .circle1 {
        width: 50px; /* Фіксована ширина */
        height: 50px; /* Фіксована висота */
        border-radius: 50%; /* Робить елемент круглим */
        background-color: white; /* Для демонстрації додаємо фон */
        color: black; /* Колір тексту */
        display: flex; /* Використовуємо flex для вирівнювання тексту всередині */
        justify-content: center; /* Вирівнюємо текст по горизонталі */
        align-items: center; /* Вирівнюємо текст по вертикалі */
        font-size: 20px; /* Розмір тексту */
        font-weight: bold; /* Жирний текст */
        margin: 10px; /* Відступ від інших елементів */
    }



/***************** BLOCK_5 *****************/
    .block_5{
        min-height: 0;
    }

    .block_5_galery{
        height: 400px;
        padding: 30px;
        gap: 40px;
        position: relative;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .block_5_img.active {
        transform: scale(1.2); /* Збільшення */
        z-index: 10; /* Пріоритет */
    }
    
    .video_bl_5 {
        width: 100%;
        height: auto;
    }
    
    
    
    .block_5_img{
        flex: 0 0 220px;
        height: 350px;
    }
    
    .button-text{
        bottom: 13%;
        left: 14%;
        font-size: 16px;
    }
    
    .block_5_1 h2{
        font-size: 18px;
        padding: 0 40px 0 25px;
    }
    
    .arrow{
        display: none;
    }
    
    .arrow img{
        display: none;
    }
    
    .block_5_btn_footer img{
        display: none
    }
    
    .block_5_btn_footer a{
        font-size: 16px;
        background-color: #F29203;
        color: black;
        font-weight: 500;
        padding: 10px 20px;
        border-radius: 20px;
    }
    
    .block_5_btn_footer{
        padding: 30px;
    }
    
    
    /***************** BLOCK_YouTube ***************/
    
    
    .block_youtube iframe {
        height: 250px; /* зменшуємо висоту */
    }


/***************** BLOCK_6 ***************/
    .block_6 h2 {
        color: white;
        font-size: 18px;
        font-weight: 100;
        padding: 30px 0 0 10%;
    }

    .block_contact_1{
        display: flex; /* Встановлюємо flex-контейнер */
        flex-direction: column; /* Якщо потрібно розташувати елементи вертикально */
        align-items: center; /* Горизонтальне вирівнювання по центру */
        justify-content: center; /* Вертикальне вирівнювання по центру */
    }
    
    .block_contact_1_1.social {
        flex-direction: row; /* Соцмережі в рядок */
        justify-content: center;
        gap: 15px; /* Відступи між іконками соцмереж */
    }
    
    .block_contact_1_1 a{
        font-size: 14px;
    }
    .social{
        padding: 0 50px;
    }
    .block_1_1{
        max-width: 100%;
    }
    .block_4_1 {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    .block_1_1_1 {
        padding-top: 80px;
        flex-direction: column;
        align-items: center;
    }
    .block_4 .block_1_1 .block_1_1_1 {
        width: 780px;
        max-width: 100vw;
    }
    .block_4_for_780px {
        display: flex;
        width: 780px;
        max-width: 100vw;
        padding-left: 10%;
    }
    
    .copyright{
        font-size: 11px; 
        margin: 20px 20px;
    }


/*************** BLOCK_VACANCIES **************/

    .block_1_galery{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-content: center;
        padding: 0 25px;
    }

    .block_1_vacs .block_1_galery .block_vacancies img{
        height: 235px;
    }

    .button-container_vac a{
        font-size: 16px;
    }

    .block_5_1_vac h2{
        font-size: 18px;
        padding: 30px;
    }




/************** BLOCK_TRAINING ****************/
    .training_block{
        padding: 0 10px;
    }

    .training_block_1{
        padding: 0 30px;
    }

    .training_block_1 h1{
        text-align: center;
        font-size: 16px;
        font-weight: 500;
    }

    .training_block_1 p{
        font-size: 14px;
    }

    .block_vvnz img{
        width: 100%;
    }


/*************** BLOCK_VACANCIE *************/


    .title_header_vac{
        font-size: 18px;
        padding: 10px;
    }

    .title_header_vac_2{
        font-size: 18px;
        padding: 20px;
    }

    .cont_vac h2{
        font-size: 18px;
        padding: 5px 0;
    }

    .cont_vac p{
        font-size: 14px;
        padding: 10px 20px 30px 0;
    }

    .cont_vac ul{
        font-size: 14px;
        padding: 10px 20px 30px 0;
    }
    
    
    /*************** BLOCK_18-24_780px *************/
    
    .block_18_24_1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start; /* Вирівнюємо контент зверху */
        height: 100%; /* Якщо потрібно зайняти всю висоту */
        padding-top: 100px;
    }
    
    .block_18_24_1 h1 {
        font-size: 40px;
        font-weight: 300;
        margin: 0;
    }
    
    .block_18_24_2 {
        display: block;
        max-width: 100%;
        min-height: 600px;
        background-image: url(/assets/images/img_bl_2.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .block_18_24_2_1 {
        display:none;
    }
    
    .text-container p {
        font-size: 15px;
        line-height: 1.5;
        
    }
    
    .text-container {
        display: flex;
        align-items: center; /* Вирівнюємо текст по центру вертикально */
        justify-content: center; /* Центруємо горизонтально */
        padding-top:90%;
    }
    
    .block_18_24_2_2{
        padding: 0;
    }
    
    .advantages-container {
        display: block;
    }
    
    .left-column, .right-column {
        width:100%;
    }
    
    .block_18_24_3 {
        padding: 20px 20px;
    }
    
    .right-column li {
        margin-bottom:30px;
    }
    
    .block_18_24_3 h2{
        margin: 0 0 30px 0;
    }
    
    .block_18_24_4_title{
        text-align: center;
    }
    
    .text-cont br{
        display:  none;
    }
    
    
    
    /*************** BLOCK_DRONE_LINE_780px *************/
    
    .block_drone_line_1{
        max-width: 100%; /* Робить блок на всю ширину екрану */
        min-height: 300px; /* Якщо потрібно, щоб займало всю висоту */
        background-image: url('/assets/images/drone_line/img_drone_line_780.jpg');
    }
    
    
    
    .block_d_l_2{
        padding:0 20px;
    }
    
    .block_d_l_2_h3_1 {
        font-size:11px;
    }
    
    .block_d_l_2 h1 {
        font-size: 38px;
    }
    
    .block_d_l_2_h3_2 {
        font-size:11px;
    }
    
    .block_d_l_2 {
        max-width: 100%;
        min-height: 200px;
    }
    
    .block_line_drone_3 {
        margin: 0
    }
    
    .left-column_h2 {
        font-size: 25px;
    }
    
    .right-column_d_l {
        font-size: 10px;
    }
    
    .right-column_d_l li {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .right-column_d_l h3 {
        font-size: 18px;
    }
    
    
    .block_18_24_4_title {
        font-size: 22px;
        margin: 30px 20px;
    }
    
    
    .left-column_h2{
        font-size: 25px;
        margin-bottom: 25px;
    }
    
    .right-column_d_l {
        font-size: 11px;
    }
    
    .right-column_d_l h3{
        font-size: 20px;
        margin: 30px 0;
    }
    
    .right-column_d_l li{
        font-size: 15px;
    }
    
    .block_line_drone_3 {
        padding: 50px 30px 10px 30px;
    }
    
    .block_18_24_4_card {
        width: 250px;
    }

}









