@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: 9999;
}

.cookie-banner {
	display: none; /* Изначально панель скрыта */
	font-size: 24px;
	bottom: 20px;
	background: #222;
	color: white;
	padding: 15px 20px;
	border-radius: 10px;
	align-items: center;
	gap: 1vw;
	z-index: 1000;
}

.cookie-banner div {
	display: flex;
	flex-direction: row;
	gap: 1vw;
}

.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: 900px) {
	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: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.9);
	height: calc(100svh - 5%);
	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-height: 1400px) {
	.form-step {
		gap: 1vh;
	}

	.form1_choose_placeholder label {
		width: 40%;
		padding: 10px 5px;
	}
}

@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: 1000px) {
	.form-step {
		width: 60vw;
	}
}

@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 {
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding: 10vh 10vw;
	align-items: center;
	text-align: center;
	font-family: 'Roboto', 'Helvetica', sans-serif;
	gap: 20px;
	position: relative;
	z-index: 1;
	color: white;
}

.first_div h1 {
	font-size: 36px;
	color: white;
}

.first_div p {
	margin: 10px;
	font-size: 28px;
	color: white;
}

@media (max-width: 1400px) {
	.first_div p {
		font-size: 20px;
	}

	.first_div h1 {
		font-size: 24px;
	}
}

/* --------------------------------------------------------------------------------------------------------------------------------- */

.second_div {
	display: flex;
	justify-content: space-around;
	flex-direction: row;
	padding: 5vh 10vw;
	align-items: top;
	background-size: cover;
}

.second_div div {
	box-sizing: border-box;
	font-size: 24px;
	width: 40%;
	font-family: 'Roboto', 'Helvetica', sans-serif;
}

.second_div_right_panel {
	font-size: 20px;
}

.second_div h1 {
	margin: 0px;
}

.second_div p {
	color: gray;
	margin: 0px;
}

.second_div_button {
	background-color: purple; /* Фиолетовый цвет фона */
	color: white; /* Черный цвет текста */
	border: none; /* Убираем обводку */
	padding: 15px; /* Отступы внутри кнопки (сверху/снизу и слева/справа) */
	border-radius: 15px; /* Закругленные углы */
	font-size: 24px; /* Размер текста */
	cursor: pointer; /* Курсор в виде руки при наведении */
	transition: background-color 0.3s ease; /* Плавный переход фона при наведении */
	margin-top: 40px;
	transition: transform 0.5s ease; /* Плавный переход для масштаба */
}

.second_div_button:hover {
	background-color: #7a3d9d; /* Темно-фиолетовый цвет при наведении */
}

@media (max-width: 768px) {
	.second_div {
		flex-direction: column;
		align-items: center;
		gap: 5vh;
	}

	.second_div div {
		width: 100%;
		text-align: center;
	}

	.second_div h1 {
		font-size: 24px;
	}

	.second_div img {
		margin-bottom: 5vh;
	}

	.second_div_button {
		font-size: 20px;
	}
}

/* --------------------------------------------------------------------------------------------------------------------------------- */

.third_div {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5vh;
	font-size: 24px;
	color: black;
	padding: 5vh 10vw;
	background-image: url(Source/background_image.png);
	background-size: cover;
}

.third_div img {
	width: 30vw;
	max-width: 400px;
	height: auto;
}

.third_div_container {
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	gap: 4vh;
	align-items: center;
}

.third_div p {
	padding: 20px 0;
}

.third_div h1 {
	font-size: 36px;
}

.third_div_button {
	background-color: purple; /* Фиолетовый цвет фона */
	color: white; /* Черный цвет текста */
	border: none; /* Убираем обводку */
	padding: 15px; /* Отступы внутри кнопки (сверху/снизу и слева/справа) */
	border-radius: 15px; /* Закругленные углы */
	font-size: 16px; /* Размер текста */
	cursor: pointer; /* Курсор в виде руки при наведении */
	transition: background-color 0.3s ease; /* Плавный переход фона при наведении */
	width: 300px;
	transition: transform 0.5s ease; /* Плавный переход для масштаба */
	text-decoration: none;
	text-align: center;
}

.third_div_button:hover {
	background-color: #7a3d9d;
	transform: scale(0.92);
}

@media (max-width: 1400px) {
	.third_div img {
		width: 20vw;
		max-width: 300px;
		height: auto;
	}

	.third_div h1 {
		font-size: 32px;
	}
}

@media (max-width: 768px) {
	.third_div {
		flex-direction: column;
		padding: 5vh 10vw;
		align-items: center;
		gap: 7vh;
	}

	.third_div_container {
		flex-direction: column;
	}

	.order1 {
		order: 1;
	}

	.order2 {
		order: 2;
	}

	.third_div img {
		width: 60vw;
		height: auto;
	}

	.third_div button {
		font-size: 20px;
	}
}

/* --------------------------------------------------------------------------------------------------------------------------------- */

.fourth_div {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5vh;
	font-size: 24px;
	color: black;
	padding: 5vh 10vw;
	text-align: center;
}

.fourth_div h1 {
	color: #660066;
}

.fourth_div_carousel {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	width: 100%;
	gap: 20px;
	max-width: 1800px;
	max-height: 1000px;
}

.fourth_div_bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	width: 100%;
	height: auto;
}

.fourth_div_slider_container {
	display: flex;
	transition: transform 0.5s ease-in-out; /* Добавляет плавность */
	width: 100%;
	height: auto;
}

.fourth_div_slide h1 {
	margin-top: -6px;
	background-color: #660066;
	padding: 10px;
	color: white;
	font-size: 28px;
	width: 100%;
}

.fourth_div_slide p {
	background-color: purple;
	padding: 10px;
	color: white;
	border-radius: 0px 0px 20px 20px;
	font-size: 24px;
}

.fourth_div_slide {
	display: flex;
	flex-direction: column;
	flex: 0 0 100%; /* Каждый слайд занимает 100% ширины */
	align-items: center; /* Центрирует по ширине, можно убрать */
}

.fourth_div_slider_container img {
	width: 100%;
	height: 20vw; /* или любую нужную */
	object-fit: fill; /* Прямоугольная форма, но может немного тянуть картинку */
	border-radius: 20px 20px 0 0;
}

.fourth_div_edge {
	width: 55vw; /* Ширина одного слайда */
	height: auto; /* Высота зависит от содержимого */
	max-width: 1800px;
	max-height: 1000px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start; /* Контент должен быть выровнен сверху */
	overflow: hidden; /* Скрывает лишние слайды */
}

/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/

.fourth_div_dots {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.fourth_div_dot {
	background-color: gray;
	width: 15px;
	height: 15px;
	border-radius: 20px;
	transition: background-color 0.7s ease, transform 0.7s ease; /* Плавное изменение цвета и размера */
}

.fourth_div_dot.active {
	background-color: black;
	transform: scale(1.2); /* Увеличиваем точку */
}

.fourth_div_button:hover {
	background-color: #7a3d9d;
	transform: scale(0.92);
}

.fourth_div_button {
	margin-top: 20px;
	background-color: purple; /* Фиолетовый цвет фона */
	color: white; /* Черный цвет текста */
	border: none; /* Убираем обводку */
	padding: 20px; /* Отступы внутри кнопки (сверху/снизу и слева/справа) */
	border-radius: 15px; /* Закругленные углы */
	cursor: pointer; /* Курсор в виде руки при наведении */
	transition: background-color 0.3s ease, transform 0.3s ease; /* Плавный переход фона */
	font-size: 24px;
	text-decoration: none;
	text-align: center;
}

#ArrowLeft,
#ArrowRight {
	cursor: pointer;
	transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

#ArrowLeft:active,
#ArrowRight:active {
	transform: scale(0.9); /* Эффект нажатия */
}

.arrow-click-animation {
	animation: arrowPulse 0.3s ease-in-out;
}

@keyframes arrowPulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.2);
	}
	100% {
		transform: scale(1);
	}
}

.fourth_div_button {
	transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.fade-out {
	opacity: 0;
	transform: translateY(-10px);
}

.fade-in {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 1700px) {
	.fourth_div_slide h1 {
		font-size: 24px;
	}

	.fourth_div_slide p {
		font-size: 16px;
	}
}

@media (max-width: 1300px) {
	.fourth_div_slider_container img {
		height: 30vw; /* или любую нужную */
	}
}

@media (max-width: 900px) {
	.fourth_div_edge {
		width: 65vw;
	}

	.fourth_div_slide h1 {
		font-size: 16px;
	}
}

/* --------------------------------------------------------------------------------------------------------------------------------- */

.fifth_div {
	display: flex;
	flex-direction: row;
	align-items: center;
	background-size: cover;
	background-position: top;
	background-image: url('Source/Background2.png');
	gap: 3vw;
	font-size: 24px;
	padding: 5vh 10vw;
	justify-content: space-around;
	height: auto;
	min-height: 400px;
	color: white;
	height: 550px;
}

.fifth_div_text {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.fifth_div h1 {
	font-size: 36px;
}

.fifth_div_button {
	background-color: purple; /* Фиолетовый цвет фона */
	color: white; /* Черный цвет текста */
	border: none; /* Убираем обводку */
	padding: 15px; /* Отступы внутри кнопки (сверху/снизу и слева/справа) */
	border-radius: 15px; /* Закругленные углы */
	font-size: 20px; /* Размер текста */
	cursor: pointer; /* Курсор в виде руки при наведении */
	transition: background-color 0.3s ease; /* Плавный переход фона при наведении */
	width: 300px;
	transition: transform 0.5s ease; /* Плавный переход для масштаба */
	text-decoration: none;
	text-align: center;
}

.fifth_div_button:hover {
	background-color: #7a3d9d;
	transform: scale(0.92);
}

@media (max-width: 1400px) {
	.fifth_div h1 {
		font-size: 24px;
	}

	.fifth_div_text {
		font-size: 20px;
	}
}

@media (max-width: 768px) {
	.fifth_div {
		flex-direction: column;
		gap: 5vh;
		text-align: center;
	}

	.fifth_div_text {
		display: flex;
		align-items: center;
		flex-direction: column;
		gap: 5vh;
		font-size: 20px;
	}

	.fifth_div button {
		font-size: 20px;
		width: 200px;
	}
}

/* --------------------------------------------------------------------------------------------------------------------------------- */

.sixth_div {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5vh;
	padding: 5vh 10vw;
	justify-content: space-between;
	background-image: url(Source/background_image.png);
	background-size: cover;
}

.sixth_div h1 {
	color: #660066;
}

.sixth_div_container {
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	gap: 5vw;
	align-items: top;
}

.sixth_div_column {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	gap: 5vh;
	align-items: center;
}

.sixth_div_title {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
}

.sixth_div_title img {
	width: 40px;
	height: 40px;
}

.sixth_div_info p {
	margin: 20px 60px;
}

@media (max-width: 768px) {
	.sixth_div {
		flex-direction: column;
		gap: 5vh;
	}

	.sixth_div_container {
		flex-direction: column;
		gap: 5vh;
	}
}

/* --------------------------------------------------------------------------------------------------------------------------------- */

.partners_div {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3vh;
	padding: 5vh 10vw;
	justify-content: space-between;
}

.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: 80%;
	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 #prev {
	left: 10px;
}

.partners_div_container #next {
	right: 10px;
}

@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%;
	height: 875px;
}

/* Стили для полей ввода */
.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: 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: 36px;
	}

	.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%;
	}
}

@media (max-width: 1500px) {
	.eighth_div_right_container_adresses {
		flex-direction: column;
	}

	.eighth_div_right_container_adresses p {
		font-size: 20px;
	}
}

/* --------------------------------------------------------------------------------------------------------------------------------- */

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 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: #7a3d9d;
}

@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;
		flex-direction: row;
	}

	.break {
		display: block;
	}
}

/* Стили для модального окна компаний */
.company-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(5px);
	animation: fadeIn 0.3s ease-in-out;
}

.company-modal-content {
	background-color: #ffffff;
	margin: 3% auto;
	padding: 28px;
	border-radius: 20px;
	width: 95%;
	max-width: 1200px;
	max-height: 70vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	animation: slideIn 0.4s ease-out;
	text-align: center;
}

.company-modal-close {
	color: #999;
	float: right;
	font-size: 32px;
	font-weight: bold;
	position: absolute;
	top: 15px;
	right: 25px;
	cursor: pointer;
	transition: color 0.3s ease;
}

.company-modal-close:hover,
.company-modal-close:focus {
	color: #7a3d9d;
}

.company-modal h2 {
	color: #7a3d9d;
	margin-bottom: 20px;
	font-size: 28px;
	font-weight: 700;
}

.company-modal p {
	color: #666;
	margin-bottom: 30px;
	font-size: 18px;
	line-height: 1.6;
}

.company-sites-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
	margin-bottom: 24px;
}

.company-site-card {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	padding: 30px;
	border-radius: 15px;
	border: 2px solid transparent;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.company-site-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #7a3d9d, #9b59b6);
	transform: scaleX(0);
	transition: transform 0.3s ease;
}

.company-site-card:hover::before {
	transform: scaleX(1);
}

.company-site-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(122, 61, 157, 0.2);
	border-color: #7a3d9d;
}

.company-site-card h3 {
	color: #7a3d9d;
	margin-bottom: 15px;
	font-size: 22px;
	font-weight: 700;
}

.company-site-card p {
	color: #555;
	margin-bottom: 20px;
	font-size: 16px;
	line-height: 1.5;
}

.company-site-btn {
	display: inline-block;
	background: linear-gradient(135deg, #7a3d9d 0%, #9b59b6 100%);
	color: white;
	padding: 12px 25px;
	text-decoration: none;
	border-radius: 25px;
	font-weight: 600;
	font-size: 16px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(122, 61, 157, 0.3);
	margin-top: auto;
}

.company-site-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(122, 61, 157, 0.4);
	background: linear-gradient(135deg, #9b59b6 0%, #7a3d9d 100%);
}

.company-modal-stay {
	background: linear-gradient(135deg, #7a3d9d 0%, #9b59b6 100%);
	color: #ffffff;
	border: none;
	padding: 12px 30px;
	border-radius: 25px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.3s ease;
	margin-top: 20px;
	box-shadow: 0 4px 15px rgba(122, 61, 157, 0.3);
}

.company-modal-stay:hover {
	background: linear-gradient(135deg, #9b59b6 0%, #7a3d9d 100%);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(122, 61, 157, 0.4);
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-50px) scale(0.9);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Адаптивные стили для модального окна */
@media (max-width: 768px) {
	.company-modal-content {
		margin: 8% auto;
		padding: 24px 18px;
		width: 95%;
		max-height: 85vh;
		overflow-y: auto; /* Вся модалка вертикально скроллится на телефоне */
	}

	.company-modal h2 {
		font-size: 24px;
	}

	.company-modal p {
		font-size: 16px;
	}

	.company-sites-grid {
		display: grid;
		grid-template-columns: 1fr; /* Карточки в столбик */
		gap: 16px;
	}

	.company-site-card {
		padding: 20px;
	}

	.company-site-card h3 {
		font-size: 20px;
	}

	.company-site-card p {
		font-size: 14px;
	}
}