.hero {
	height: 100vh;
	position: relative;
}

.hero .video__media {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% 0;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.header__shadow {
	position: absolute;
	top: 0;
	left: 0;
	height: 400px;
	width: 100%;
	background: linear-gradient(to top, rgba(255, 255, 255, 0), black);
	z-index: 2;
}

.hero__content {
	position: relative;
	z-index: 3;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 60px;
}

.hero__content h1 {
	font-size: 52px;
	color: white;
	mix-blend-mode: difference;
	text-shadow: rgb(0, 0, 0) 5px 5px 10px;
	transform: translateY(100px) scale(0.4);
	opacity: 0;
	animation: heroPreview 0.7s 3.2s linear forwards;
}

.hero .container {
	max-width: 1100px;
}

.hero__content #open-modal {
	position: relative;
	display: inline-block;
	color: #000;
	font-size: 20px;
	padding: 15px 25px;
	cursor: pointer;
	border: 4px solid rgb(219, 219, 219);
	border-radius: 4px;
	transform: translateY(100px) scale(0.4);
	opacity: 0;
	animation: heroPreview 0.7s 3.5s linear forwards;
}

@keyframes heroPreview {
	0% {
		transform: translateY(100px) scale(0.7);
		opacity: 0;
	}
	100% {
		transform: translateY(0) scale(1);
		opacity: 1;
	}
}

.hero__content #open-modal::before {
	content: "";
	position: absolute;
	width: 6px; /* Розмір світлодіода */
	height: 6px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8); /* Ефект світіння */
	animation: animate-led 2s linear infinite;
}

@keyframes animate-led {
	0% {
		top: -5px;
		left: -5px;
	}
	33% {
		top: -5px;
		left: 100%;
	}
	48% {
		top: 100%;
		left: 100%;
	}
	81% {
		top: 100%;
		left: -5px;
	}
	100% {
		top: -5px;
		left: -5px;
	}
}

@media all and (max-width: 768px) {
	.hero__content #open-modal.fixed {
		position: fixed;
		bottom: 10px;
	}

	.hero__content h1 {
		font-size: 36px;
	}

	.hero__sub-title {
		font-size: 18px;
	}
}

/* Owner */

.about__sub-title {
	margin: 0 auto;
	font-size: 24px;
	text-shadow: rgb(0, 0, 0) 2px 1px 2px;
	mix-blend-mode: difference;
	color: white;
	max-width: 790px;
	padding: 15px;
	border-radius: 15px;
	text-align: center;
	margin-top: 40px;
}

.owner:before {
	display: block;
	content: " ";
	margin-top: -75px;
	height: 75px;
	visibility: hidden;
}

.owner__top {
	justify-content: space-evenly;
	text-align: center;
	color: white;
	align-items: center;
	padding: 60px 0;
}

.owner__top-small {
	font-size: 18px;
	max-width: 240px;
}

.owner__top-big {
	font-size: 54px;
	background-image: linear-gradient(135deg, rgb(0, 202, 0), white);
	-webkit-text-fill-color: transparent;
	-webkit-background-clip: text;
}

.owner__top-big img {
	height: 82px;
	width: 82px;
}

.owner__top-big span {
	transition: transform 0.5s ease-in-out;
}

.owner__bottom {
	min-height: 675px;
	display: flex;
	justify-content: flex-start;
	background:
		linear-gradient(219deg, rgba(0, 0, 0, 0.38), rgba(255, 255, 255, 0) 58%),
		linear-gradient(155deg, #00552b, rgba(0, 94, 134, 0.31) 37%, rgba(0, 0, 0, 0) 68%),
		url("../img/picture/owner.png") 0 0 / cover no-repeat;
	border-radius: 25px;
	position: relative;
}

.owner__bottom-name {
	color: white;
	position: absolute;
	bottom: 25px;
	left: 25px;
	font-size: 24px;
	margin-left: 20px;
}

.owner__bottom-name span {
	font-size: 20px;
}

.owner__bottom-text {
	width: 40%;
	padding: 40px;
	font-size: 22px;
	color: white;
	font-style: italic;
	line-height: 1.8;
}

.owner__top-line {
	width: 1px;
	height: 120px;
	background-image: linear-gradient(to bottom, black, white, black);
}
.owner__partners {
	padding: 40px 0;
}

.owner__partners h2 {
	color: white;
	opacity: 0.5;
	text-align: center;
	font-size: 20px;
	font-weight: 500;
}

:root {
	--track-width: 100%;
}

.owner__partners-list {
	position: relative;
	overflow: hidden;
	padding: 40px 0;
}

.owner__partners-track {
	display: flex;
	align-items: center;
	animation: movePartnersLeft 25s linear infinite;
}

.owner__partners-track-inner {
	display: flex;
	gap: 60px;
	width: var(--track-width);
}

.owner__partners-track img {
	max-height: 2rem;
	margin: 0 15px;
}

.owner__partners-list .first-shadow,
.owner__partners-list .second-shadow {
	position: absolute;
	top: 0;
	height: 100%;
	width: 120px;
	z-index: 2;
}

.owner__partners-list .first-shadow {
	left: 0;
	background-image: linear-gradient(to right, black, rgba(0, 0, 0, 0));
}

.owner__partners-list .second-shadow {
	right: 0;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0), black);
}

@keyframes movePartnersLeft {
	0% {
		transform: translateX(10%);
	}
	100% {
		transform: translateX(calc(-1 * var(--track-width) + 90%));
	}
}

@media all and (max-width: 768px) {
	.owner__bottom {
		min-height: 675px;
		align-items: flex-end;
		background:
			linear-gradient(100deg, rgba(0, 0, 0, 0.38), rgba(255, 255, 255, 0) 58%),
			linear-gradient(180deg, #00552b, rgba(0, 94, 134, 0.15) 17%, rgba(0, 0, 0, 0) 68%),
			linear-gradient(20deg, #00552b, rgba(0, 94, 134, 0.35) 37%, rgba(0, 0, 0, 0) 68%),
			url("../img/picture/owner.jpg") 45% 0 / cover no-repeat;
		border-radius: 25px;
	}
	.owner__bottom-text {
		width: 100%;
		padding: 20px;
		font-size: 18px;
		line-height: 1.2;
		height: fit-content;
		text-align: left;
	}
	.owner__bottom-name {
		text-align: center;
		color: white;
		position: absolute;
		bottom: auto;
		right: 20px;
		top: 20px;
		font-size: 20px;
		margin-left: 0;
	}

	.owner__bottom-name span {
		font-size: 18px;
	}
	.owner__top {
		flex-direction: column;
		gap: 60px;
	}
	.owner__top-line {
		width: 240px;
		height: 1px;
		background-image: linear-gradient(to right, black, white, black);
	}
}

/* Map */

.map {
	padding: 70px 0;
}

.map h2 {
	font-size: 38px;
	color: white;
	max-width: 880px;
	margin: 0 auto;
}

.map h2 span {
	background-image: linear-gradient(135deg, rgb(0, 202, 0), white);
	-webkit-text-fill-color: transparent;
	-webkit-background-clip: text;
}

.map p {
	font-size: 18px;
	color: white;
	max-width: 880px;
	margin: 30px auto;
}

.map img {
	width: 100%;
	display: block;
	margin: 0 auto;
	max-width: 900px;
}

/* Devices */
.devices {
	padding-bottom: 70px;
}

.devices .row {
	gap: 40px;
}

.devices__list {
	flex-direction: column;
	gap: 20px;
}

.devices__card {
	height: 500px;
	border-radius: 25px;
	padding: 100px;
	background-image: linear-gradient(135deg, rgba(0, 202, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.devices__card-image {
	width: 50%;
	flex-shrink: 0;
}

.devices__card-info {
	color: white;
}

.devices__card-info h3 {
	font-size: 26px;
	margin-bottom: 15px;
}

.devices__card-info p {
	font-size: 18px;
}

.devices__card-image img {
	display: block;
	margin: 0 auto;
	width: auto;
	height: 100%;
	object-fit: cover;
}

@media all and (max-width: 1024px) {
	.devices__card {
		height: auto;
		border-radius: 25px;
		padding: 30px;
		flex-direction: column-reverse;
	}
	.devices__card-image {
		width: 100%;
	}
	.devices__card-image img {
		max-width: 320px;
		display: block;
		width: 100%;
		height: auto;
		margin: 0 auto;
	}
	.devices__card-wallbox {
		max-width: 200px !important;
	}
}

/* Gallery */

.gallery {
	padding-top: 80px;
}

.gallery a {
	color: white;
	font-size: 18px;
	display: block;
	margin-top: 30px;
	color: rgb(188, 188, 188);
	text-align: center;
}

.gallery h2 {
	font-size: 38px;
	color: white;
	max-width: 880px;
	margin: 0 auto;
	margin-bottom: 40px;
	text-align: center;
}

.gallery h2 span {
	background-image: linear-gradient(135deg, rgb(0, 202, 0), white);
	-webkit-text-fill-color: transparent;
	-webkit-background-clip: text;
}

/* .gallery__list {
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}

.gallery__list img {
	position: sticky;
	top: 100px;
	border-radius: 25px;
	box-shadow: 1px 1px 10px rgba(0, 202, 0, 0.177);
	height: 600px;
	max-width: 1000px;
	width: 100%;
	object-fit: cover;
} */

.gallery .container {
	max-width: 1000px;
}

.mySwiper2 img {
	width: 100%;
	height: 600px;
	object-fit: cover;
}

.mySwiper img {
	width: 100%;
	height: 120px;
	object-fit: cover;
}

/* @media all and (max-width: 768px) {
	.gallery__list img {
		height: 500px;
	}
} */

/* feedbacks */

.feedbacks:before {
	display: block;
	content: " ";
	margin-top: -75px;
	height: 75px;
	visibility: hidden;
}

.feedbacks__card {
	flex-shrink: 0;
	width: 320px;
	color: white;
	padding: 20px;
	border-radius: 25px;
	background-image: linear-gradient(135deg, rgba(0, 202, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.feedbacks__card h4 {
	font-size: 20px;
}

.feedbacks__card img {
	margin: 0;
}

.feedbacks__card p {
	font-size: 16px;
	margin-top: 5px;
}

:root {
	--feed-width: 100%;
}

.feedbacks__list {
	position: relative;
	overflow: hidden;
	padding: 20px 0;
}

.feedbacks__track {
	display: flex;
	align-items: center;
}

.feedbacks__track-first {
	animation: moveFeedbackLeft 65s linear infinite;
}

.feedbacks__track-second {
	animation: moveFeedbackRight 65s linear infinite;
}

.feedbacks__track-inner {
	display: flex;
	gap: 60px;
	width: var(--feed-width);
}

.feedbacks .first-shadow,
.feedbacks .second-shadow {
	position: absolute;
	top: 0;
	height: 100%;
	width: 120px;
	z-index: 2;
}

.feedbacks .first-shadow {
	left: 0;
	background-image: linear-gradient(to right, black, rgba(0, 0, 0, 0));
}

.feedbacks .second-shadow {
	right: 0;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0), black);
}

@keyframes moveFeedbackLeft {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(calc(-1 * var(--feed-width)));
	}
}

@keyframes moveFeedbackRight {
	0% {
		transform: translateX(calc(-1 * var(--feed-width) + 100%));
	}
	100% {
		transform: translateX(0);
	}
}

.feedbacks {
	padding: 90px 0;
}

.feedbacks__top {
	justify-content: space-between;
	margin-bottom: 60px;
	gap: 40px;
}

.feedbacks__left {
	color: white;
	flex-shrink: 0;
}

.feedbacks__left h2 {
	font-size: 36px;
	margin-bottom: 20px;
}

.feedbacks__left p {
	font-size: 22px;
}

.feedbacks__right {
	color: rgb(200, 200, 200);
	max-width: 600px;
	padding-top: 10px;
}

@media all and (max-width: 768px) {
	.feedbacks__top {
		flex-wrap: wrap;
	}
	.feedbacks__left {
		flex-shrink: 1;
	}
}

/* Benefits */

.benefits {
	padding: 90px 0 40px 0;
}

.benefits__list {
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.benefits__card {
	color: white;
	padding: 20px;
	max-width: 360px;
	width: 100%;
	border-radius: 20px;
	background-image: linear-gradient(135deg, rgba(0, 202, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.benefits__card h3 {
	text-align: center;
	margin-bottom: 15px;
}

.benefits h2 {
	font-size: 38px;
	color: white;
	max-width: 880px;
	margin: 0 auto;
	margin-bottom: 40px;
	text-align: center;
}

.benefits h2 span {
	background-image: linear-gradient(135deg, rgb(0, 202, 0), white);
	-webkit-text-fill-color: transparent;
	-webkit-background-clip: text;
}
