/*-------------
 	General
-------------*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

/* Применение шрифта */
body {
	font-family: 'Open Sans', sans-serif;
}


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	font: normal 16px sans-serif;
	color: #555;
}

ul,
nav {
	list-style: none;
}

a {
	text-decoration: none;
	color: inherit;
	cursor: pointer;

	opacity: 0.9;
}

a:hover {
	opacity: 1;
}

a.btn {
	color: #fff;
	/* border-radius: 4px; */
	/* text-transform: uppercase; */
	text-align: center;
}

hr {
	width: 150px;
	height: 2px;
	background-color: #2196F3;
	border: 0;
	margin-bottom: 80px;
	margin: 0 auto;
}

section {
	display: flex;
	flex-direction: column;
	align-items: center;

	padding: 84px 62px;
}

@media (max-width: 1000px) {

	section {
		padding: 100px 50px;
	}

}

@media (max-width: 600px) {

	section {
		padding: 70px 8px;
	}

}

section h3.title {
	color: #414a4f;
	text-transform: uppercase;
	font: bold 30px 'Open Sans', sans-serif;
	margin-bottom: 35px;
	text-align: center;
}

section p {
	max-width: 800px;
	text-align: start;
	/* margin-bottom: 35px; */
	padding: 0 20px;
	line-height: 1.5;
}

/* ul.grid {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: stretch;
	align-items: center;

} */


/*-------------
 	Header
-------------*/

header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	/* display: flex; */
	/* justify-content: space-between; */
	/* align-items: center; */
	color: #fff;
	padding: 0px 22px 0;
	transition: transform 0.3s ease, background-color 0.3s ease;
	/* Плавность изменений */
	background-color: transparent;
	/* Изначально прозрачный фон */
	z-index: 10;
}

.header_sec1 {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 20px 50px 0 50px;
}

.head-logo {
	font-weight: 300;
	font-size: 28px;
}

header hr {
	width: 100%;
	height: .5px;
	background-color: #ffffff;
	margin-top: 21px;
	;
}

.menu-toggle {
	font-size: 1.5rem;
	background: none;
	border: none;
	color: white;
	cursor: pointer;
}

.pupap-consultation {
	font-family: 'Open Sans', sans-serif;
	text-transform: uppercase;
	font-size: 15px;
	border: 1px solid white;
	padding: 7px 20px;
	border-radius: 5px;
	background-color: rgba(0, 0, 0, 0.1);
	transition: background-color 0.3s;
	color: white;
	cursor: pointer;
}

.header_pupup_left {
	margin-left: 12px;
}

.header_tel {
	margin-right: 12px;
}

.pupap-consultation:hover {
	background-color: rgb(0, 0, 0, 0.5);
}

.pupup-closed {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	color: white;
	border: none;
	font-size: 18px;
	cursor: pointer;
}

.pupup-closed i {
	font-size: 26px;
	color: white;
}

.sidebar {
	display: block;
	position: fixed;
	top: 0;
	left: -250px;
	/* Скрываем за пределами экрана */
	width: 250px;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	/* Полупрозрачный фон */
	color: white;
	padding: 2rem 1rem;
	box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
	transition: left 0.3s ease;
	z-index: 9;
	/* Убедимся, что она ниже header */
}

.sidebar.fixed {}


.sidebar .pupap-consultation {
	margin-bottom: 23px;
}

.nav_item {
	margin-bottom: 23px;
}

.sidebar ul {
	list-style: none;
	padding: 0;
}

.sidebar li {
	margin: 1.2rem 0;
	font-size: 18px;
}

.sidebar a {
	color: white;
	text-decoration: none;
}

.sidebar .btn {
	text-transform: uppercase;
	display: inline-block;
	padding: 11px 20px;
	font-size: 15px;
	font-weight: 400;
	color: #fff;
	text-decoration: none;
	border: 1px solid white;
	border-radius: 5px;
	margin-bottom: 25px;

}

.sidebar.active {
	left: 0;
	/* Показываем панель */
}

header h2 h3 {
	/* font-family: 'Quicksand', sans-serif; */
	font-family: 'Open Sans', sans-serif;

}



header nav {
	display: flex;
}

header nav li {
	margin: 0 15px;
}

header nav li:first-child {
	margin-left: 0;
}

header nav li:last-child {
	margin-right: 0;
}



@media (max-width: 1000px) {
	header {
		padding: 20px 50px;
	}
}

@media (max-width: 900px) {

	.header_tel,
	.header_pupup_left {
		display: none;
	}

	header {
		padding: 0px 22px 0;
	}
}


@media (max-width: 700px) {
	/* header {
		flex-direction: column;
	} */

	.header_sec1 {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		padding: 9px 12px 0 13px;
		flex-direction: row-reverse;
		align-items: center;
	}

	header h2 {
		margin-bottom: 4px;
	}

	.header_tel,
	.header_pupup_left {
		display: none;
	}

	header {
		padding: 0px 10px 0;
	}

	.header_item .pupap-consultation {
		display: none;
	}

	header hr {

		margin-top: 7px;
	}

}



/*----------------
 	Hero Section
----------------*/

/* .hero {
	position: relative;
	justify-content: center;
	min-height: 100vh;
	color: #fff;
	text-align: center;
} */
.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	/* Расположить элементы вертикально */
	justify-content: flex-start;
	/* Смещает контент вниз */
	align-items: flex-start;
	/* Центрирует элементы по горизонтали */
	min-height: 100vh;
	/* Высота блока на весь экран */
	color: #fff;
	text-align: center;
	/* padding-bottom: 50px; */
	/* Отступ от кнопки до нижнего края */

}

.hero_text {
	width: 50%;
	text-align: start;
	margin-top: 25px;
	margin-bottom: 27px;
}

.hero_text p {
	padding: 0;
	text-align: start;
}


.hero .btn {
	padding: 11px 30px;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	/* background-color: #94c5ed; */
	color: black;
	text-decoration: none;
	border: 1px solid white;
	border-radius: 8px;
	transition: background-color 0.3s;
	background-color: yellow;

}

.hero .btn:hover {
	/* background-color: #1768aa02; */
	background-color: rgb(0, 0, 0, 0.5);
	color: white;
	font-weight: 400;
}



.hero .background-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-color: #2196F3;
	z-index: -1;
}

.hero .background-image:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* background-color: #414a4f; */
	background-color: rgb(0, 0, 0, 0.7);
	opacity: 0.6;
}

.hero h1 {
	font: bold 60px 'Open Sans', sans-serif;
	margin-bottom: 15px;
}

.hero h3 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 35px;
	margin-bottom: 5px;
}

.hero_bottom_text {
	position: absolute;
	bottom: 0;
	width: 82%;
	display: flex;
	justify-content: space-between;
	margin-bottom: 27px;
}



/* .hero a.btn {
	padding: 20px 46px;
} */

@media (max-width: 800px) {

	.hero {
		min-height: 600px;
		position: relative;
		display: flex;
		flex-direction: column;
		/* Расположить элементы вертикально */
		justify-content: flex-end;
		/* Смещает контент вниз */
		align-items: center;

	}

	.hero_text {
		position: absolute;
		top: 65px;
		width: inherit;
		align-items: start;
		display: flex;
		flex-direction: column;
		padding: 14px;

	}

	.hero a.btn {
		padding: 5px 21px;
		font-size: 15px;
		background-color: yellow;
	}




	.hero h1 {
		font-size: 48px;
	}

	.hero h3 {
		font-size: 24px;
		font-weight: 600;
	}

	/* .hero a.btn {
		padding: 15px 40px;
	} */


}

@media(max-width:700px) {
	.hero_text {
		top: 33px;
	}

	.hero_bottom_text {
		flex-direction: column-reverse;
	}

	.hero .hero_btn {
		margin-top: 12px;
	}

	.responsive-text {
		text-align: start;
	}
}





/*--------------------
 	Our Work Section
---------------------*/

.оur-work {
	background-color: #fff;
}

/* .our-work .grid li {
	padding: 14px;
	height: 350px;
	border-radius: 5px;

	background-clip: content-box;
	background-size: cover;
	background-position: center;
	background-color: #333;
}

.our-work .grid li.small {
	flex-basis: 40%;
}

.title {
	flex-basis: 40%;
}

.descr {
	flex-basis: 40%;
	display: flex;
}

.our-work .grid li.large {
	flex-basis: 60%;
} */

.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	/* Три колонки */
	grid-gap: 20px;
	/* Отступы между элементами */
	width: 100%;
	/* Полная ширина контейнера */
	box-sizing: border-box;
	/* Включение padding и border в расчет ширины */
	grid-auto-rows: auto;
	/* Базовая высота строки для плотной кладки */
	grid-auto-flow: dense;
	/* Полигамное заполнение пустых ячеек */
}

.large {
	width: 100%;
	background-size: cover;
	background-position: center;
	border-radius: 10px;
	object-fit: cover;
	/* Изображение будет заполнять контейнер */
	grid-row: span 30;
	/* Пример растяжения блока на 30 строк */
}

.descr {
	background-color: #f9f9f9;
	border-radius: 10px;
	padding: 15px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	grid-row: span auto;
	/* Автоматическое растяжение по содержимому */
}

/* Установим примерные пропорции для изображений */
.large:nth-child(2n) {
	grid-row: span 10;
	/* Каждый второй элемент растягивается на 20 строк */
}

.large:nth-child(3n) {
	grid-row: span 10;
	/* Каждый третий элемент растягивается на 40 строк */
}

.title {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 10px;
}

.descr p {
	margin-bottom: 10px;
	font-size: 16px;
	color: #333;
}

/* Мобильные стили */
@media (max-width: 1200px) {
	.grid {
		grid-template-columns: repeat(2, 1fr);
		/* Для средних экранов две колонки */
	}
}

@media (max-width: 768px) {
	.grid {
		grid-template-columns: 1fr;
		grid-gap: 5px;
	}

	.large {
		grid-row: span 50;
		/* Увеличиваем высоту картинки */
		aspect-ratio: unset;
		/* Убираем фиксированные пропорции */
		height: 300px;
		/* Устанавливаем конкретную высоту */
	}
}




/* @media (max-width: 1000px) {

	.our-work .grid li.small,
	.our-work .grid li.large {
		flex-basis: 100%;
	}

	.title {
		flex-basis: 100%;
	}

	.descr {
		flex-basis: 100%;
		display: flex;
		flex-direction: column;
	}
} */

/* @media(max-width:700px) {
	.title {
		flex-basis: 100%;
	}

	.descr {
		flex-basis: 100%;
	}
} */

/* ----------------аккордион--------------------- */
/* Общий стиль аккордеона */
.accordion {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.accordion-item {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	overflow: hidden;
}

/* Заголовок секции */
.accordion-header {
	padding: 26px;
	font-size: 23px;
	font-weight: 400;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.accordion-header:hover .icon {
	background-color: #ddd;
}

/* Иконка +/× */
.icon {
	font-size: 48px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
}

/* Скрытое содержимое */
.accordion-content {
	max-height: 0;
	/* Изначально скрыто */
	overflow: hidden;
	/* Скрываем содержимое */
	transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
	/* Плавное раскрытие */
	padding: 0 10px;
	/* Изначально убираем паддинг */
}

/* Раскрытие */
.accordion-item.active .accordion-content {
	max-height: 500px;
	/* Подбирайте значение, чтобы хватило для самого большого контента */
	padding: 10px 10px 20px 10px;
	/* Добавляем паддинг при раскрытии */
}

.accordion-item.active .icon {
	transform: rotate(45deg);
	/* Превращение + в × */
}

.accord_content {
	font-size: 16px;
	line-height: 1.55;
	letter-spacing: -0.5px;
}

.accordion hr {
	text-align: center;
}


/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
	.accordion {
		grid-template-columns: 1fr;
		/* Одна колонка */
	}
}



/*----------------------
 	Features Section
----------------------*/

.features {
	/* background-color: #f7f7f7; */
}

.features_about {
	margin-top: 75px;
}

.features .grid li {
	padding: 0 30px;
	flex-basis: 33%;
	text-align: center;
}

.features .grid li i {
	font-size: 50px;
	color: #2196F3;
	margin-bottom: 25px;
}

.features .grid li h4 {
	color: #555;
	font-size: 20px;
	margin-bottom: 25px;
}

.features .grid li p {
	margin: 0;
}

@media (max-width: 1000px) {

	.features .grid li {
		flex-basis: 70%;
		margin-bottom: 65px;
	}

	.features .grid li:last-child {
		margin-bottom: 0;
	}

}


@media (max-width: 600px) {

	.features .grid li {
		flex-basis: 100%;
	}

}

/* -----------------------payment-------------------------- */
.sec_payment {
	padding: 20px;
	margin-top: 50px;
}

.sec_payment h3.title {
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 57px;
	font: bold 30px 'Open Sans', sans-serif;
}

.payment {
	display: flex;
	flex-wrap: wrap;
	/* Позволяет элементам переноситься */
	gap: 20px;
	/* Отступы между колонками */
	align-items: center;
	/* Выравнивание по верхнему краю */
	margin-bottom: 66px;
}

.left_payment {
	flex: 1 1 50%;
	/* Занимает 60% ширины, если позволяет место */
	display: flex;
	flex-direction: column;
	/* Блоки идут один за другим */
	gap: 20px;
	/* Отступы между блоками */
}

.left_payment_block {
	background: #f9f9f9;
	/* Фон для каждого блока */
	padding: 7px;
	/* Внутренние отступы */
	border: 1px solid #ddd;
	/* Легкая рамка */
	border-radius: 8px;
	/* Скругленные углы */
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	/* Легкая тень */
	text-align: center;

}

.left_payment_block h4 {
	margin-left: 33px;
}

.payment_left_text {
	display: flex;
	align-items: center;
	justify-content: space-around;
	flex-wrap: wrap;
	flex-direction: column;
	padding: 11px;
}

/* .payment_left_text h4 {
	margin-bottom: 10px;
	font-size: 18px;
} */

.payment_left_text p {
	margin-bottom: 15px;
	font-size: 15.5px;
	color: #555;
}

.payment .pupap-consultation {
	/* background-color: #007bff; */
	background-color: rgb(81, 106, 135);

	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.pupap-consultation:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

.right_payment {
	flex: 1 1 35%;
	/* Занимает 40% ширины, если позволяет место */
	display: flex;
	justify-content: center;
	/* Центровка картинки */
	align-items: center;
}

.img_payment {
	max-width: 100%;
	/* Картинка адаптивная */
	height: auto;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	/* Легкая тень */
}

/* Адаптивный дизайн */
@media (max-width: 800px) {
	.payment {
		flex-direction: column;
		/* Переносим блоки друг под другом */
	}

	.right_payment {
		width: 100%;
		order: 2;
		/* Перемещаем картинку вниз */
	}

	.left_payment {
		order: 1;
		width: 100%;
		/* Блоки остаются сверху */
	}
}


/*--------------------
 	Reviews Section
--------------------*/

.reviews {
	background-color: #fff;
}

.reviews .quote {
	text-align: center;
	width: 80%;
	font-size: 22px;
	font-weight: 300;
	line-height: 1.5;
	margin-bottom: 20px;
	padding: 0;
}

.reviews .author {
	font-size: 18px;
	margin-bottom: 50px;
}

.reviews .author:last-child {
	margin-bottom: 0;
}

@media (max-width: 1000px) {

	.reviews .quote {
		font-size: 20px;
	}

	.reviews .author {
		font-size: 16px;
	}

}



/*---------------------
 	Contact Section
---------------------*/

.contact {
	background-color: #f7f7f7;
}

.contact form {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;

	max-width: 800px;
	width: 80%;
}

.contact form input {
	padding: 15px;
	flex: 1;
	margin-right: 30px;
	font-size: 18px;
	color: #555;
}

.contact form .btn {
	padding: 18px 42px;
}


@media (max-width: 800px) {

	.contact form input {
		flex-basis: 100%;
		margin: 0 0 20px 0;
	}

}

/* ----------------info----------------------- */
.info .pupap-consultation {

	background-color: rgb(81, 106, 135);
	margin-top: 44px;
}

.info .pupap-consultation:hover {
	background-color: rgba(0, 0, 0, 0.8);
}




/*-------------
 	Footer
-------------*/

footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #fff;
	background-color: #414a4f;
	padding: 60px 0;
}

footer ul {
	display: flex;
	margin-bottom: 25px;
	font-size: 32px;
}

footer ul li {
	margin: 0 8px;
}

footer ul li:first-child {
	margin-left: 0;
}

footer ul li:last-child {
	margin-right: 0;
}

footer p {
	text-transform: uppercase;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 10px;
}

footer p a {
	color: #fff;
}

@media (max-width: 700px) {

	footer {
		padding: 80px 15px;
	}

}

/* --------------Кнопка прокрутки вверх--------------------- */
.scroll-to-top {
	position: fixed;
	bottom: 63px;
	left: 33px;
	width: 50px;
	height: 50px;
	background-color: #007bff;
	/* Синий цвет */
	color: #fff;
	border: none;
	border-radius: 50%;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	font-size: 24px;
	display: none;
	/* Изначально скрыто */
	justify-content: center;
	align-items: center;
	transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 1000;
}

.scroll-to-top.visible {
	display: flex;
	/* Показываем кнопку */
	opacity: 1;
	transform: scale(1);
}

.scroll-to-top.hidden {
	opacity: 0;
	transform: scale(0.9);
}



/* -- Demo ads -- */

@media (max-width: 1200px) {
	#bsaHolder {
		display: none;
	}
}

/* --------------анімація----------------------- */
/* Скрываем секции по умолчанию */
.section {
	opacity: 0;
	transform: translateY(200px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Когда секция видна */
.section.visible {
	opacity: 1;
	transform: translateY(0);
}

.responsive-text {
	opacity: 0;
	transform: translateY(200px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.responsive-text.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ---------------------модалка--------------------- */

.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
	/* Эффект размытия */
}

/* Содержимое модального окна */
.modal-content {
	background-color: #fff;
	margin: 5% auto;
	padding: 20px;
	border-radius: 12px;
	width: 90%;
	max-width: 500px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
	animation: fadeIn 0.3s ease-in-out;
}

/* Анимация появления */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: scale(0.9);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* Кнопка закрытия */
.close {
	color: #555;
	float: right;
	font-size: 24px;
	font-weight: bold;
	cursor: pointer;
	transition: color 0.3s ease;
}

.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
}

/* Заголовок и текст */
.modal-content h2 {
	font-size: 1.8rem;
	color: #333;
	margin-bottom: 10px;
	text-align: center;
}

.modal-content p {
	font-size: 1rem;
	color: #666;
	margin-bottom: 20px;
	text-align: center;
	line-height: 1.5;
}

/* Форма и элементы формы */
form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

input.phone {
	padding: 12px;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 8px;
	width: 100%;
	transition: border-color 0.3s ease;
}

input.phone:focus {
	border-color: #007bff;
	outline: none;
	box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

button.send-form {
	padding: 12px;
	font-size: 1rem;
	color: #fff;
	background-color: #007bff;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

button.send-form:hover {
	background-color: #0056b3;
}

/* Для состояния статуса */
.status {
	font-size: 0.9rem;
	color: #28a745;
	text-align: center;
	margin-top: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
	.modal-content {
		padding: 15px;
	}

	.modal-content h2 {
		font-size: 1.5rem;
		padding: 0 27px
	}

	.modal-content p {
		font-size: 0.9rem;
	}

	input.phone {
		font-size: 0.9rem;
	}

	button.send-form {
		font-size: 0.9rem;
	}
}

/* ----------------видео------------------------ */
.video-button {
	position: relative;
	margin-top: 27px;
	width: 100%;
	color: white;
	background: linear-gradient(135deg, #00aaff, #005b99);
	border: 1px solid #ffffff;
	border-radius: 8px;
	/* padding: 15px 25px; */
	/* padding: 75px; */
	text-decoration: none;
	cursor: pointer;
	font-size: 18px;
	font-weight: bold;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	/* Чтобы блик не выходил за пределы кнопки */
	transition: all 0.3s ease;
	text-align: center;
}

.video-button::before {
	content: '';
	position: absolute;
	top: -100%;
	left: -100%;
	width: 200%;
	height: 200%;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
	animation: blinkEffect 1.5s forwards;
	pointer-events: none;
	/* Чтобы не мешал взаимодействовать с кнопкой */
}

@keyframes blinkEffect {
	0% {
		top: -100%;
		left: -100%;
	}

	50% {
		top: 0%;
		left: 0%;
	}

	100% {
		top: 100%;
		left: 100%;
	}
}

/* Кнопка становится видимой при скролле */
.video-button.visible {
	opacity: 1;
}

/* Эффект при наведении */
.video-button:hover {
	background: linear-gradient(135deg, #0077cc, #00aaff);
	/* Градиент при наведении */
	border-color: #005b99;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
	transform: translateY(-4px);
}

/* Контейнер для модального окна */
.video-modal {
	display: none;
	/* Скрываем модальное окно по умолчанию */
	position: fixed;
	/* Фиксируем окно относительно окна браузера */
	top: 0;
	left: 0;
	width: 100%;
	/* Модальное окно занимает всю ширину экрана */
	height: 100%;
	/* Модальное окно занимает всю высоту экрана */
	background-color: rgba(0, 0, 0, 0.8);
	/* Темный фон */
	z-index: 2000;
	/* Убедитесь, что окно отображается поверх всех остальных */
	/* display: flex; */
	justify-content: center;
	/* Центрируем содержимое по горизонтали */
	align-items: center;
	/* Центрируем содержимое по вертикали */
	cursor: pointer;
	/* Указатель для клика по фону */
}


/* Контейнер для видео */
.video-container {
	position: relative;
	width: 50%;
	/* Видео будет растягиваться на всю ширину */
	height: 90%;
	/* Видео будет растягиваться на всю высоту */
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 10px;
	/* Добавляем округление углов */
}

/* Видео внутри контейнера */
.video-container video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Заполняет контейнер, сохраняя пропорции */
}

/* Кнопка закрытия модального окна */
.close-button {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #ff4d4d;
	color: white;
	border: none;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

.close-button:hover {
	background: #ff1a1a;
}

/* Адаптивность */
@media (max-width: 768px) {

	/* Модальное окно на мобильных устройствах */
	.video-container {
		width: 90%;
		/* Видео по ширине экрана */
		height: 90%;
		/* Видео по высоте экрана */
	}

	.close-button {
		width: 25px;
		height: 25px;
		font-size: 14px;
	}
}