/* ======== 0. ГЛОБАЛЬНІ НАЛАШТУВАННЯ ======== */

/* --- Змінні --- */
:root {
	--primary-color: #004aad; /* Професійний синій */
	--accent-color: #00bfa6; /* Енергійний зелений/бірюзовий */
	--bg-color: #ffffff;
	--bg-light: #f8f9fa;
	--text-color: #333333;
	--text-light: #666666;
	--border-color: #e0e0e0;

	--font-heading: 'Poppins', sans-serif;
	--font-body: 'Inter', sans-serif;

	--header-height: 70px;
	--border-radius: 8px;
	--shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* --- Скидання стилів --- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	color: var(--primary-color);
	line-height: 1.3;
}

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

a:hover {
	color: var(--accent-color);
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
}

/* --- Допоміжні класи --- */
.container {
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

/* ======== 1. ХЕДЕР ======== */

.header {
	width: 100%;
	height: var(--header-height);
	background-color: var(--bg-color);
	border-bottom: 1px solid var(--border-color);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 24px;
	color: var(--text-color);
}
.logo:hover {
	color: var(--text-color); /* Лого не повинно змінювати колір */
}

.logo__icon {
	width: 28px;
	height: 28px;
}

/* --- Навігація --- */
.nav__list {
	display: flex;
	align-items: center;
	gap: 30px;
}

.nav__link {
	font-size: 16px;
	font-weight: 500;
	color: var(--text-light);
	position: relative;
	padding: 5px 0;
}

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

.nav__link:hover::after,
.nav__link.active::after {
	width: 100%;
}

.nav__link:hover {
	color: var(--text-color);
}

.nav__link--button {
	background-color: var(--primary-color);
	color: var(--bg-color);
	padding: 10px 20px;
	border-radius: var(--border-radius);
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav__link--button:hover {
	background-color: var(--accent-color);
	color: var(--bg-color);
	transform: translateY(-2px);
}
.nav__link--button::after {
	display: none; /* No underline for button */
}

/* --- Бургер (мобільне меню) --- */
.burger {
	display: none; /* Приховано на десктопі */
	flex-direction: column;
	gap: 5px;
	width: 24px;
	height: 24px;
	z-index: 110;
}

.burger__line {
	width: 100%;
	height: 2px;
	background-color: var(--text-color);
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- Адаптивність хедера (Mobile-first) --- */
@media (max-width: 768px) {
	.nav {
		position: fixed;
		top: 0;
		left: -100%; /* Сховано за замовчуванням */
		width: 80%;
		max-width: 300px;
		height: 100vh;
		background-color: var(--bg-color);
		box-shadow: 10px 0 20px rgba(0, 0, 0, 0.1);
		padding: 100px 30px 30px;
		transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1);
		z-index: 105;
	}

	.nav.is-active {
		left: 0;
	}

	.nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 25px;
	}

	.nav__link {
		font-size: 20px;
	}

	.burger {
		display: flex;
	}

	/* Анімація бургера в "хрестик" */
	.burger.is-active .burger__line:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}
	.burger.is-active .burger__line:nth-child(2) {
		opacity: 0;
	}
	.burger.is-active .burger__line:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}
}

/* ======== 2. ФУТЕР ======== */

.footer {
	background-color: var(--bg-light);
	border-top: 1px solid var(--border-color);
	padding: 60px 0 0;
	color: var(--text-light);
}

.footer__container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.footer__column--logo {
	grid-column: span 1;
}

.footer__description {
	font-size: 14px;
	margin-top: 15px;
	max-width: 250px;
}

.footer__title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 20px;
	color: var(--text-color);
}

.footer__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer__link {
	font-size: 15px;
	color: var(--text-light);
}
.footer__link:hover {
	color: var(--accent-color);
	text-decoration: underline;
}

/* Колонка контактів */
.footer__list--contact {
	gap: 15px;
}

.footer__item--contact {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.footer__icon {
	width: 18px;
	height: 18px;
	color: var(--primary-color);
	flex-shrink: 0;
	margin-top: 3px;
}

.footer__bottom {
	text-align: center;
	padding: 30px 15px;
	margin-top: 40px;
	border-top: 1px solid var(--border-color);
	font-size: 14px;
}

/* --- Адаптивність футера --- */
@media (max-width: 992px) {
	.footer__container {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px;
	}
	.footer__column--logo {
		grid-column: span 2; /* Лого на всю ширину */
	}
}

@media (max-width: 576px) {
	.footer__container {
		grid-template-columns: 1fr; /* Одна колонка */
		gap: 30px;
	}
	.footer__column--logo {
		grid-column: span 1;
	}
}

/* ======== 3. ГЛОБАЛЬНІ КНОПКИ (BTN) ======== */
.btn {
	display: inline-block;
	padding: 12px 28px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 16px;
	border-radius: var(--border-radius);
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	line-height: 1.4;
}

.btn--primary {
	background-color: var(--primary-color);
	color: var(--bg-color);
}

.btn--primary:hover {
	background-color: var(--accent-color);
	color: var(--bg-color);
	transform: translateY(-3px);
	box-shadow: 0 4px 10px rgba(0, 191, 166, 0.3);
}

.btn--secondary {
	background-color: transparent;
	color: var(--primary-color);
	border: 2px solid var(--border-color);
}

.btn--secondary:hover {
	background-color: var(--bg-light);
	border-color: var(--primary-color);
	transform: translateY(-3px);
}

/* ======== 4. HERO СЕКЦІЯ ======== */
.hero {
	background-color: var(--bg-light);
	padding: 80px 0;
	min-height: calc(100vh - var(--header-height));
	display: flex;
	align-items: center;
	overflow: hidden; /* Для коректної роботи AOS */
}

.hero__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.hero__content {
	flex: 1;
	max-width: 550px;
}

.hero__tagline {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: var(--accent-color);
	margin-bottom: 15px;
}

.hero__title {
	font-size: 2.5rem; /* Великий, помітний заголовок */
	font-weight: 700;
	margin-bottom: 20px;
}

.hero__description {
	font-size: 18px;
	color: var(--text-light);
	margin-bottom: 30px;
}

.hero__actions {
	display: flex;
	gap: 15px;
}

.hero__image-wrapper {
	flex: 1;
	max-width: 500px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero__image {
	width: 100%;
	border-radius: var(--border-radius);
	box-shadow: 0 10px 30px rgba(0, 74, 173, 0.15);
}

/* --- Адаптивність Hero --- */
@media (max-width: 992px) {
	.hero {
		padding: 60px 0;
		text-align: center;
	}

	.hero__container {
		flex-direction: column-reverse; /* Зображення зверху на моб. */
		gap: 40px;
	}

	.hero__content {
		max-width: 100%;
	}

	.hero__title {
		font-size: 36px;
	}

	.hero__description {
		font-size: 16px;
	}

	.hero__actions {
		justify-content: center;
	}

	.hero__image-wrapper {
		max-width: 450px;
	}
}

@media (max-width: 576px) {
	.hero__title {
		font-size: 1.5rem;
	}

	.hero__actions {
		flex-direction: column;
		gap: 10px;
	}
}

.section {
	padding: 80px 0;
	overflow: hidden; /* Для AOS */
}

/* Фон для кожної другої секції */
.section:nth-of-type(odd) {
	background-color: var(--bg-light);
}

.section-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 50px;
}

.section-tagline {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: var(--accent-color);
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.section-title {
	font-size: 36px;
	margin-bottom: 15px;
}

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

/* Адаптивність заголовків секцій */
@media (max-width: 768px) {
	.section {
		padding: 60px 0;
	}
	.section-title {
		font-size: 30px;
	}
	.section-description {
		font-size: 16px;
	}
}

/* ======== 6. СЕКЦІЯ "КАРЬЕРНЫЕ СТРАТЕГИИ" ======== */

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

.strategy-card {
	background-color: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	padding: 30px;
	box-shadow: var(--shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strategy-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 20px rgba(0, 74, 173, 0.1);
}

.strategy-card__icon-wrapper {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--primary-color);
	margin-bottom: 20px;
}

.strategy-card__icon {
	width: 28px;
	height: 28px;
	color: var(--bg-color);
}

/* Змінюємо колір іконки для другої картки для акценту */
.strategies__grid .strategy-card:nth-child(2) .strategy-card__icon-wrapper {
	background-color: var(--accent-color);
}

.strategy-card__title {
	font-size: 22px;
	margin-bottom: 15px;
}

.strategy-card__text {
	font-size: 15px;
	color: var(--text-light);
	margin-bottom: 20px;
	min-height: 80px; /* Для однакової висоти */
}

.strategy-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--primary-color);
}

.strategy-card__link-icon {
	width: 18px;
	height: 18px;
	transition: transform 0.3s ease;
}

.strategy-card__link:hover .strategy-card__link-icon {
	transform: translateX(4px);
}

/* --- Адаптивність "Strategies" --- */
@media (max-width: 992px) {
	.strategies__grid {
		grid-template-columns: 1fr; /* Одна колонка на планшетах */
		gap: 20px;
	}
	.strategy-card__text {
		min-height: auto; /* Вимикаємо фіксовану висоту */
	}
}

.resume-section__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 50px;
}

.resume-section__image-wrapper {
	display: flex;
	justify-content: center;
}

.resume-section__image {
	width: 100%;
	max-width: 450px;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
}

.resume-section__content .section-title,
.resume-section__content .section-tagline,
.resume-section__content .section-description {
	text-align: left;
	margin-left: 0;
	margin-right: 0;
}

.resume-section__content .section-description {
	margin-bottom: 30px;
}

.resume-section__list {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 30px;
}

.resume-section__list-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	color: var(--text-light);
}

.resume-section__icon {
	width: 20px;
	height: 20px;
	color: var(--accent-color);
	flex-shrink: 0;
}

/* --- Адаптивність "Resume" --- */
@media (max-width: 992px) {
	.resume-section__grid {
		grid-template-columns: 1fr; /* Одна колонка */
		gap: 40px;
	}

	.resume-section__image-wrapper {
		order: -1; /* Зображення зверху на мобільних */
	}

	.resume-section__content .section-title,
	.resume-section__content .section-tagline,
	.resume-section__content .section-description {
		text-align: center; /* Повертаємо центрування на моб. */
	}

	.resume-section__list {
		align-items: flex-start; /* Вирівнювання списку */
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
	}

	.resume-section__content .btn {
		display: block;
		max-width: 300px;
		margin: 0 auto;
	}
}

.interview__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 50px;
	margin-top: 50px;
}

.accordion {
	max-width: 600px;
}

.accordion__item {
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	margin-bottom: 15px;
	background-color: var(--bg-color);
	overflow: hidden; /* Для анімації max-height */
}

.accordion__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 20px 25px;
	font-size: 18px;
	font-weight: 600;
	font-family: var(--font-heading);
	color: var(--primary-color);
	text-align: left;
	transition: background-color 0.3s ease;
}

.accordion__header:hover {
	background-color: var(--bg-light);
}

.accordion__icon {
	width: 20px;
	height: 20px;
	color: var(--primary-color);
	transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	flex-shrink: 0; /* Щоб іконка не стискалась */
	margin-left: 15px;
}

/* Стилі для активного стану */
.accordion__header.is-active .accordion__icon {
	transform: rotate(180deg);
}
.accordion__header.is-active {
	background-color: var(--bg-light);
}

.accordion__content {
	max-height: 0; /* Приховано за замовчуванням */
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1), padding 0.4s ease;
}

.accordion__content p {
	padding: 0 25px 25px;
	font-size: 15px;
	color: var(--text-light);
	line-height: 1.7;
}

.interview__image-wrapper {
	display: flex;
	justify-content: center;
}

.interview__image {
	width: 100%;
	max-width: 450px;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
}

/* --- Адаптивність "Interview" --- */
@media (max-width: 992px) {
	.interview__layout {
		grid-template-columns: 1fr; /* Одна колонка */
	}

	.interview__image-wrapper {
		order: -1; /* Зображення зверху */
		margin-bottom: 40px;
		max-width: 500px;
		margin-left: auto;
		margin-right: auto;
	}

	.accordion {
		max-width: 100%;
	}
}

/* Новий модифікатор для кнопки */
.btn--light-outline {
	background-color: transparent;
	border: 2px solid var(--bg-color);
	color: var(--bg-color);
}

.btn--light-outline:hover {
	background-color: var(--bg-color);
	color: var(--primary-color);
	transform: translateY(-3px);
	box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

/* Модифікатори для світлого тексту на темному фоні */
.section-tagline--light {
	color: var(--bg-color);
	opacity: 0.9;
}
.section-title--light {
	color: var(--bg-color);
}
.section-description--light {
	color: var(--bg-color);
	opacity: 0.9;
}

/* Стилі секції */
.cta-brand {
	background-image: url('../img/image3.webp');
	background-size: cover;
	background-position: center center;
	background-attachment: fixed; /* Ефект паралаксу */
	position: relative;
	padding: 100px 0;
}

/* Темне накладання для читабельності */
.cta-brand::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--primary-color); /* Використовуємо основний синій */
	opacity: 0.8;
	z-index: 1;
}

.cta-brand__container {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
}

.cta-brand__content {
	max-width: 800px;
	text-align: center;
}

/* --- Адаптивність "Brand" (CTA) --- */
@media (max-width: 992px) {
	.cta-brand {
		padding: 80px 0;
	}
}

@media (max-width: 768px) {
	/* Вимикаємо 'fixed' на мобільних, оскільки це погано працює */
	.cta-brand {
		background-attachment: scroll;
		padding: 60px 0;
	}
}

.contact-wrapper {
	max-width: 700px;
	margin: 40px auto 0;
	background-color: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	padding: 40px;
	box-shadow: var(--shadow);
}

.contact-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.form-group {
	display: flex;
	flex-direction: column;
}

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

.form-input {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	font-size: 16px;
	font-family: var(--font-body);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

.form-input::placeholder {
	color: #aaaaaa;
}

/* Стилі чекбоксу */
.form-group--checkbox {
	flex-direction: row;
	align-items: center;
	gap: 12px;
	margin-top: 5px;
}

.form-checkbox {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	/* Сховаємо стандартний чекбокс, але залишимо доступним */
	opacity: 0;
	position: absolute;
}

.form-checkbox-label {
	font-size: 14px;
	color: var(--text-light);
	position: relative;
	padding-left: 30px; /* Місце для кастомного чекбоксу */
	cursor: pointer;
}

.form-checkbox-label a {
	color: var(--primary-color);
	text-decoration: underline;
}
.form-checkbox-label a:hover {
	color: var(--accent-color);
}

/* Кастомний чекбокс */
.form-checkbox-label::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	border: 2px solid var(--border-color);
	border-radius: 4px;
	background-color: var(--bg-color);
	transition: all 0.2s ease;
}

/* "Пташка" (галочка) */
.form-checkbox-label::after {
	content: '\2713'; /* Символ галочки */
	position: absolute;
	left: 3px;
	top: 50%;
	transform: translateY(-50%) scale(0); /* Сховано */
	font-size: 16px;
	font-weight: 900;
	color: var(--bg-color);
	transition: transform 0.2s ease;
}

.form-checkbox:checked + .form-checkbox-label::before {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.form-checkbox:checked + .form-checkbox-label::after {
	transform: translateY(-50%) scale(1); /* Показано */
}

.form-checkbox:focus + .form-checkbox-label::before {
	box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

.form-submit-btn {
	width: 100%;
	margin-top: 10px;
	font-size: 18px;
	padding: 16px 28px;
}

/* Повідомлення про успіх */
.form-success-message {
	text-align: center;
	padding: 20px;
}

.form-success-icon {
	width: 60px;
	height: 60px;
	color: var(--accent-color);
	margin-bottom: 20px;
}

.form-success-title {
	font-size: 24px;
	margin-bottom: 10px;
}

.form-success-message p {
	font-size: 16px;
	color: var(--text-light);
}

/* Адаптивність форми */
@media (max-width: 576px) {
	.contact-wrapper {
		padding: 25px;
	}
}

.cookie-popup {
	position: fixed;
	bottom: -100%; /* Початково сховано */
	left: 0;
	width: 100%;
	background-color: var(--bg-light);
	padding: 20px;
	box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
	border-top: 1px solid var(--border-color);
	z-index: 200;
	transition: bottom 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Стан "показано" */
.cookie-popup.is-visible {
	bottom: 0;
}

.cookie-popup__container {
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

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

.cookie-popup__link {
	color: var(--primary-color);
	font-weight: 500;
	text-decoration: underline;
}
.cookie-popup__link:hover {
	color: var(--accent-color);
}

.cookie-popup__btn {
	padding: 10px 25px;
	background-color: var(--primary-color);
	color: var(--bg-color);
	border-radius: var(--border-radius);
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap; /* Щоб текст не переносився */
	transition: background-color 0.3s ease;
}

.cookie-popup__btn:hover {
	background-color: var(--accent-color);
}

/* Адаптивність Cookie Pop-up */
@media (max-width: 768px) {
	.cookie-popup__container {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}

	.cookie-popup__btn {
		width: 100%;
	}
}

.pages {
	padding: 60px 0;
	background-color: var(--bg-color);
	min-height: 50vh; /* Щоб футер не прилипав */
}

.pages .container {
	max-width: 800px; /* Вужчий контейнер для кращої читабельності */
}

.pages h1 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 30px;
	border-bottom: 2px solid var(--border-color);
	padding-bottom: 15px;
}

.pages h2 {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--primary-color);
	margin-top: 40px;
	margin-bottom: 20px;
}

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

.pages ul {
	list-style: disc; /* Повертаємо стандартні маркери */
	padding-left: 25px; /* Відступ для маркерів */
	margin-bottom: 20px;
}

.pages li {
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-light);
	margin-bottom: 10px;
}

.pages strong {
	font-weight: 700;
	color: var(--text-color);
}

.pages a {
	color: var(--primary-color);
	font-weight: 500;
	text-decoration: underline;
}

.pages a:hover {
	color: var(--accent-color);
	text-decoration: none;
}
