/* ===== GLOBAL STYLES ===== */
:root {
	--background-color: #111315;
	--secondary-color: #1e2022;
	--text-color: #d0d0d0;
	--text-color-dark: #888;
	--primary-color: #00f5a0;
	--primary-color-dark: #00d188;
	--header-height: 70px;
	--font-family-base: 'Inter', sans-serif;
	--font-family-heading: 'Poppins', sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--background-color);
	color: var(--text-color);
	font-family: var(--font-family-base);
	font-size: 16px;
	line-height: 1.6;
}

.container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

ul {
	list-style: none;
}

a {
	text-decoration: none;
	color: inherit;
}

h1,
h2,
h3 {
	font-family: var(--font-family-heading);
	font-weight: 600;
}

/* ===== HEADER ===== */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	background-color: rgba(17, 19, 21, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: var(--header-height);
}

.header__logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-family-heading);
	font-weight: 700;
	font-size: 24px;
	color: #fff;
}

.header__logo-icon {
	color: var(--primary-color);
}

.header__nav-list {
	display: flex;
	align-items: center;
	gap: 30px;
}

.header__nav-link {
	position: relative;
	font-size: 16px;
	color: var(--text-color);
	transition: color 0.3s ease;
}

.header__nav-link::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--primary-color);
	transition: width 0.3s ease;
}

.header__nav-link:hover {
	color: #fff;
}

.header__nav-link:hover::after {
	width: 100%;
}

.header__nav-link--button {
	background-color: var(--primary-color);
	color: var(--background-color);
	padding: 8px 20px;
	border-radius: 5px;
	font-weight: 500;
	transition: background-color 0.3s ease;
}

.header__nav-link--button::after {
	display: none;
}

.header__nav-link--button:hover {
	background-color: var(--primary-color-dark);
	color: var(--background-color);
}

.header__burger {
	display: none;
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
}

/* ===== FOOTER ===== */
.footer {
	padding-top: 60px;
	background-color: #0c0e10;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 40px;
	padding-bottom: 60px;
}

.footer__logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-family-heading);
	font-weight: 700;
	font-size: 24px;
	color: #fff;
	margin-bottom: 15px;
}

.footer__logo-icon {
	color: var(--primary-color);
}

.footer__tagline {
	font-size: 14px;
	color: var(--text-color-dark);
}

.footer__title {
	font-size: 18px;
	color: #fff;
	margin-bottom: 20px;
}

.footer__list li {
	margin-bottom: 10px;
}

.footer__link {
	color: var(--text-color-dark);
	transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer__link:hover {
	color: var(--primary-color);
	padding-left: 5px;
}

.footer__address {
	color: var(--text-color-dark);
	line-height: 1.7;
}

.footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 20px 0;
	text-align: center;
	font-size: 14px;
	color: var(--text-color-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
	.header__nav {
		position: fixed;
		top: 0;
		left: -100%;
		width: 100%;
		height: 100vh;
		background-color: var(--background-color);
		transition: left 0.4s ease;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.header__nav--open {
		left: 0;
	}

	.header__nav-list {
		flex-direction: column;
		gap: 40px;
	}

	.header__nav-link {
		font-size: 24px;
	}

	.header__burger {
		display: block;
		z-index: 101; /* Поверх меню */
	}
}

/* assets/css/style.css */

/* ===== BUTTON ===== */
.button {
	display: inline-block;
	background-color: var(--primary-color);
	color: var(--background-color);
	padding: 12px 28px;
	border-radius: 5px;
	font-weight: 500;
	font-family: var(--font-family-heading);
	transition: background-color 0.3s ease, transform 0.3s ease;
	border: 2px solid var(--primary-color);
}

.button:hover {
	background-color: var(--primary-color-dark);
	transform: translateY(-3px);
}

/* ===== HERO SECTION ===== */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	height: 100vh;
	min-height: 700px;
	padding-top: var(--header-height);
	overflow: hidden;
}

.hero__container {
	position: relative;
	z-index: 2;
}

.hero__content {
	max-width: 750px;
}

.hero__title {
	font-size: 56px;
	line-height: 1.2;
	font-weight: 700;
	color: #fff;
	margin-bottom: 20px;
}

/* Для анімації кожної літери */
.hero__title .letter {
	display: inline-block;
	opacity: 0; /* Початковий стан для анімації */
}

.hero__subtitle {
	font-size: 20px;
	line-height: 1.6;
	max-width: 600px;
	margin-bottom: 30px;
	opacity: 0; /* Початковий стан для анімації */
}

.hero__cta {
	opacity: 0; /* Початковий стан для анімації */
}

/* Декоративний елемент на фоні */
.hero__bg-shape {
	position: absolute;
	bottom: -150px;
	right: -150px;
	width: 400px;
	height: 400px;
	background: radial-gradient(
		circle,
		rgba(0, 245, 160, 0.1) 0%,
		rgba(0, 245, 160, 0) 70%
	);
	z-index: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
	.hero__title {
		font-size: 48px;
	}
	.hero__subtitle {
		font-size: 18px;
	}
}

@media (max-width: 768px) {
	.hero {
		text-align: center;
		min-height: 600px;
	}
	.hero__content {
		margin: 0 auto;
	}
	.hero__title {
		font-size: 36px;
	}
	.hero__subtitle {
		font-size: 16px;
	}
	.hero__bg-shape {
		width: 300px;
		height: 300px;
		bottom: -100px;
		right: -100px;
	}
}

/* assets/css/style.css */

/* ===== SECTION HEADER (Reusable) ===== */
.section-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 60px auto;
}

.section-header__title {
	font-size: 42px;
	margin-bottom: 15px;
	color: #fff;
}

.section-header__subtitle {
	font-size: 18px;
	color: var(--text-color-dark);
}

/* ===== STRATEGIES SECTION ===== */
.strategies {
	padding: 100px 0;
}

.strategies__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.strategies__card {
	background-color: var(--secondary-color);
	padding: 35px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.strategies__card:hover {
	transform: translateY(-5px);
	border-color: var(--primary-color);
}

.strategies__card-icon {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: rgba(0, 245, 160, 0.1);
	margin-bottom: 25px;
}

.strategies__card-icon i {
	width: 28px;
	height: 28px;
	color: var(--primary-color);
}

.strategies__card-title {
	font-size: 22px;
	color: #fff;
	margin-bottom: 10px;
}

.strategies__card-text {
	font-size: 16px;
	color: var(--text-color-dark);
}

/* ===== SCROLL ANIMATION ===== */
.reveal-on-scroll {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
	.section-header__title {
		font-size: 32px;
	}
	.section-header__subtitle {
		font-size: 16px;
	}
	.strategies {
		padding: 80px 0;
	}
}

/* assets/css/style.css */

/* ===== CASES SECTION ===== */
.cases {
	padding: 100px 0;
	background-color: var(--secondary-color);
}

.cases__item {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 60px;
}

.cases__item:not(:last-child) {
	margin-bottom: 80px;
}

.cases__item--reversed .cases__item-image {
	order: 2;
}

.cases__item-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	object-fit: cover;
}

.cases__item-title {
	font-size: 28px;
	margin-bottom: 15px;
	color: #fff;
}

.cases__item-transition {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
	font-weight: 500;
}

.cases__item-transition span {
	background-color: var(--background-color);
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 14px;
}

.cases__item-transition i {
	color: var(--primary-color);
}

.cases__item-description {
	margin-bottom: 25px;
	color: var(--text-color-dark);
}

.cases__item-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tag {
	background-color: rgba(0, 245, 160, 0.1);
	color: var(--primary-color);
	padding: 5px 12px;
	border-radius: 15px;
	font-size: 13px;
	font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
	.cases__item {
		gap: 30px;
	}
	.cases__item-title {
		font-size: 24px;
	}
}

@media (max-width: 768px) {
	.cases__item {
		grid-template-columns: 1fr;
	}
	.cases__item--reversed .cases__item-image {
		order: 0; /* Скидаємо порядок на мобільних */
	}
}

/* assets/css/style.css */

/* ===== PROCESS SECTION ===== */
.process {
	padding: 100px 0;
}

.process__timeline {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
}

/* Вертикальна лінія таймлайну */
.process__timeline::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 2px;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.1);
}

.process__item {
	position: relative;
	width: 50%;
	padding: 10px 40px;
	margin-bottom: 40px;
}

/* Елементи зліва */
.process__item:nth-child(odd) {
	left: 0;
	text-align: right;
}

/* Елементи справа */
.process__item:nth-child(even) {
	left: 50%;
}

.process__item-number {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: var(--secondary-color);
	border: 2px solid var(--primary-color);
	color: var(--primary-color);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
	font-family: var(--font-family-heading);
	z-index: 1;
}

.process__item:nth-child(odd) .process__item-number {
	right: -25px;
}

.process__item:nth-child(even) .process__item-number {
	left: -25px;
}

.process__item-title {
	font-size: 22px;
	color: #fff;
	margin-bottom: 10px;
}

.process__item-text {
	color: var(--text-color-dark);
}

/* ===== RESPONSIVE for PROCESS ===== */
@media (max-width: 768px) {
	/* Ховаємо центральну лінію */
	.process__timeline::before {
		display: none;
	}

	/* Робимо всі елементи на 100% ширини і вирівнюємо по лівому краю */
	.process__item {
		width: 100%;
		left: 0;
		padding-left: 70px;
		padding-right: 0;
		text-align: left;
	}

	.process__item:nth-child(even) {
		left: 0;
	}

	/* Розміщуємо кружечок з номером зліва */
	.process__item:nth-child(odd) .process__item-number,
	.process__item:nth-child(even) .process__item-number {
		left: 0;
		right: auto;
	}
}

/* assets/css/style.css */

/* ===== BLOG SECTION ===== */
.blog {
	padding: 100px 0;
	background-color: var(--secondary-color);
}

.blog__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.blog__card {
	display: block; /* Щоб тег <a> поводився як блок */
	background-color: var(--background-color);
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog__card:hover {
	transform: translateY(-5px);
	border-color: var(--primary-color);
}

.blog__card-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.blog__card:hover .blog__card-image img {
	transform: scale(1.05);
}

.blog__card-content {
	padding: 25px;
}

.blog__card-category {
	display: inline-block;
	color: var(--primary-color);
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 10px;
}

.blog__card-title {
	font-size: 20px;
	color: #fff;
	line-height: 1.4;
	margin-bottom: 20px;
	height: 84px; /* Для вирівнювання висоти (3 рядки тексту) */
	overflow: hidden;
	transition: color 0.3s ease;
}

.blog__card:hover .blog__card-title {
	color: var(--primary-color);
}

.blog__card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
}

.blog__card-date {
	color: var(--text-color-dark);
}

.blog__card-readmore {
	color: var(--text-color);
	display: flex;
	align-items: center;
	gap: 5px;
	transition: color 0.3s ease;
}

.blog__card-readmore i {
	width: 16px;
	height: 16px;
	transition: transform 0.3s ease;
}

.blog__card:hover .blog__card-readmore {
	color: #fff;
}

.blog__card:hover .blog__card-readmore i {
	transform: translateX(3px);
}

/* ===== RESPONSIVE for BLOG ===== */
@media (max-width: 768px) {
	.blog__card-title {
		height: auto; /* Забираємо фіксовану висоту на мобільних */
	}
}

/* assets/css/style.css */

/* ===== CONTACT SECTION ===== */
.contact {
	padding: 100px 0;
}

.contact__wrapper {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 60px;
	align-items: center;
}

.contact__info-title {
	font-size: 28px;
	color: #fff;
	margin-bottom: 15px;
}

.contact__info-text {
	color: var(--text-color-dark);
	margin-bottom: 30px;
}

.contact__info-list {
	list-style: none;
	padding: 0;
}

.contact__info-list li {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
	font-size: 18px;
}

.contact__info-list li i {
	color: var(--primary-color);
	width: 22px;
}

.contact__info-list a {
	transition: color 0.3s ease;
}

.contact__info-list a:hover {
	color: var(--primary-color);
}

/* Form Styles */
.contact__form-container {
	background-color: var(--secondary-color);
	padding: 40px;
	border-radius: 8px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: var(--text-color);
}

.form-group input[type='text'],
.form-group input[type='email'],
.form-group input[type='tel'] {
	width: 100%;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background-color: var(--background-color);
	border-radius: 5px;
	color: var(--text-color);
	font-family: var(--font-family-base);
	font-size: 16px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(0, 245, 160, 0.2);
}

.form-group--checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 10px;
}

.form-group--checkbox input[type='checkbox'] {
	margin-top: 5px;
	width: 16px;
	height: 16px;
	accent-color: var(--primary-color); /* Сучасний спосіб стилізації чекбоксу */
}

.form-group--checkbox label {
	font-size: 14px;
	color: var(--text-color-dark);
}

.form-group--checkbox a {
	color: var(--text-color);
	text-decoration: underline;
}

.form-group--checkbox a:hover {
	color: var(--primary-color);
}

.contact__form-button {
	width: 100%;
	margin-top: 10px;
	padding: 15px;
	font-size: 18px;
}

/* Success Message */
.form-success-message {
	text-align: center;
	padding: 40px;
}
.form-success-message i {
	color: var(--primary-color);
	width: 60px;
	height: 60px;
	margin-bottom: 20px;
}
.form-success-message h3 {
	font-size: 28px;
	color: #fff;
	margin-bottom: 10px;
}
.form-success-message p {
	color: var(--text-color);
}

/* ===== RESPONSIVE for CONTACT ===== */
@media (max-width: 992px) {
	.contact__wrapper {
		grid-template-columns: 1fr;
	}
}

/* assets/css/style.css */

/* ===== BUTTON MODIFIER ===== */
.button--small {
	padding: 8px 20px;
	font-size: 14px;
}

/* ===== COOKIE POP-UP ===== */
.cookie-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: var(--secondary-color);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 20px 0;
	z-index: 1000;

	/* Початковий стан - приховано */
	transform: translateY(100%);
	transition: transform 0.5s ease-in-out;
	visibility: hidden;
}

.cookie-popup.is-visible {
	transform: translateY(0);
	visibility: visible;
}

.cookie-popup__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.cookie-popup__text {
	color: var(--text-color-dark);
	font-size: 14px;
}

.cookie-popup__text a {
	color: var(--text-color);
	text-decoration: underline;
}

.cookie-popup__text a:hover {
	color: var(--primary-color);
}

/* ===== RESPONSIVE for COOKIE POP-UP ===== */
@media (max-width: 768px) {
	.cookie-popup__container {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
	.cookie-popup__button {
		width: 100%;
	}
}

/* assets/css/style.css */

/* ===== PAGES (Privacy, Terms, etc.) ===== */
.pages {
	padding-top: calc(
		var(--header-height) + 60px
	); /* Відступ від фіксованого хедера */
	padding-bottom: 100px;
	min-height: 100vh;
}

.pages h1 {
	font-size: 1.5rem;
	color: #fff;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pages h2 {
	font-size: 1.5rem;
	color: #fff;
	margin-top: 40px;
	margin-bottom: 20px;
}

.pages p,
.pages li {
	font-size: 18px;
	line-height: 1.7;
	color: var(--text-color);
	margin-bottom: 20px;
}

.pages ul,
.pages ol {
	padding-left: 25px;
	margin-bottom: 20px;
}

.pages li {
	margin-bottom: 10px;
}

.pages strong {
	color: #fff;
	font-weight: 600;
}

.pages a {
	color: var(--primary-color);
	text-decoration: underline;
	transition: color 0.3s ease;
}

.pages a:hover {
	color: var(--primary-color-dark);
}

/* ===== RESPONSIVE for PAGES ===== */
@media (max-width: 768px) {
	.pages h1 {
		font-size: 36px;
	}
	.pages h2 {
		font-size: 28px;
	}
	.pages p,
	.pages li {
		font-size: 16px;
	}
}
