/* ====================
   GLOBAL STYLES & VARIABLES
   ==================== */
:root {
	--color-background: #ffffff;
	--color-text: #1a1a1a;
	--color-primary: #4a90e2;
	--color-secondary: #f5a623;
	--color-footer-bg: #1a1a1a;
	--color-footer-text: #eaeaea;

	--font-primary: 'Montserrat', sans-serif;
	--font-secondary: 'Open Sans', sans-serif;

	--container-width: 1140px;
	--header-height: 80px;
}

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

html {
	scroll-behavior: smooth;
}

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

.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 15px;
}

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

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

ul {
	list-style: none;
}

h1,
h2,
h3 {
	font-family: var(--font-primary);
	font-weight: 700;
}

.logo {
	display: block;
	font-family: var(--font-primary);
	font-weight: 700;
	font-size: 24px;
	color: var(--color-secondary);
	text-decoration: none;
}

/* ====================
   HEADER
   ==================== */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height);
	background-color: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid #eaeaea;
	z-index: 100;
	display: flex;
	align-items: center;
}

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

.nav__list {
	display: flex;
	align-items: center;
	gap: 32px;
}

.nav__link {
	font-family: var(--font-primary);
	font-weight: 600;
	font-size: 15px;
	color: var(--color-text);
	padding: 8px 0;
	position: relative;
}

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

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

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

.nav__link--button:hover {
	background-color: var(--color-secondary);
	color: var(--color-background);
	transform: translateY(-2px);
}

.nav__link--button::after {
	display: none;
}

.header__toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--color-text);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
	.nav {
		position: fixed;
		top: var(--header-height);
		right: -100%;
		width: 80%;
		max-width: 300px;
		height: calc(100vh - var(--header-height));
		background-color: var(--color-background);
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
		transition: right 0.4s ease-in-out;
	}

	.nav.nav--mobile-active {
		right: 0;
	}

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

	.nav__link {
		font-size: 18px;
	}

	.nav__link--button {
		width: 100%;
		text-align: center;
	}

	.header__toggle {
		display: block;
		z-index: 101;
	}
}

/* ====================
   FOOTER
   ==================== */
.footer {
	background-color: var(--color-footer-bg);
	color: var(--color-footer-text);
	padding: 60px 0 0;
}

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

.footer__column--about {
	flex-basis: 30%;
}

.footer__tagline {
	margin-top: 16px;
	font-size: 14px;
	line-height: 1.5;
	color: #a0a0a0;
}

.footer__heading {
	font-family: var(--font-primary);
	font-size: 18px;
	margin-bottom: 20px;
	color: var(--color-background);
}

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

.footer__link {
	color: var(--color-footer-text);
	font-size: 15px;
	transition: color 0.3s ease, padding-left 0.3s ease;
}

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

.footer__list--contact li {
	display: flex;
	align-items: center;
	gap: 10px;
}
.footer__list--contact .lucide {
	flex-shrink: 0;
	color: var(--color-primary);
}

.footer__bottom {
	border-top: 1px solid #333;
	padding: 20px 0;
	text-align: center;
	font-size: 13px;
	color: #a0a0a0;
}

/* ====================
   SHARED COMPONENTS: BUTTON
   ==================== */
.button {
	display: inline-block;
	font-family: var(--font-primary);
	font-weight: 600;
	font-size: 16px;
	padding: 14px 32px;
	border-radius: 6px;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.2s ease;
	border: none;
}

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

.button--primary:hover {
	background-color: var(--color-secondary);
	color: var(--color-background);
	transform: translateY(-3px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ====================
   HERO SECTION
   ==================== */
.hero {
	padding-top: calc(var(--header-height) + 60px);
	padding-bottom: 80px;
	background-color: var(--color-background);
	overflow-x: hidden; /* Щоб анімація не створювала горизонтальний скрол */
}

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

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

.hero__title {
	font-size: 48px;
	line-height: 1.2;
	margin-bottom: 24px;
	font-weight: 700;
}

.hero__description {
	font-size: 18px;
	line-height: 1.7;
	margin-bottom: 32px;
	color: #555;
	max-width: 500px;
}

.hero__image-wrapper {
	flex: 1;
	max-width: 500px;
}

.hero__image {
	width: 100%;
	height: auto;
	border-radius: 12px;
	object-fit: cover;
}

/* Адаптивність для Hero секції */
@media (max-width: 992px) {
	.hero__title {
		font-size: 40px;
	}
}

@media (max-width: 768px) {
	.hero {
		padding-top: calc(var(--header-height) + 40px);
		padding-bottom: 60px;
		text-align: center;
	}

	.hero__container {
		flex-direction: column;
	}

	.hero__content {
		order: 2; /* Текст буде під картинкою */
		max-width: 100%;
	}

	.hero__image-wrapper {
		order: 1;
		margin-bottom: 30px;
	}

	.hero__title {
		font-size: 36px;
	}
}

/* ====================
   SHARED COMPONENTS: SECTION
   ==================== */
.section {
	padding-top: 80px;
	padding-bottom: 80px;
}

.section__header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 60px;
}

.section__title {
	font-size: 36px;
	margin-bottom: 16px;
}

.section__subtitle {
	font-size: 18px;
	color: #555;
	line-height: 1.7;
}

/* ====================
   STRATEGY SECTION
   ==================== */
.strategy {
	background-color: #f8f9fa; /* Світло-сірий фон для візуального відділення */
}

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

.strategy-card {
	background-color: var(--color-background);
	padding: 32px;
	border-radius: 12px;
	border: 1px solid #e9ecef;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strategy-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

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

.strategy-card__icon .lucide {
	width: 32px;
	height: 32px;
	color: var(--color-background);
}

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

.strategy-card__description {
	font-size: 15px;
	line-height: 1.6;
	color: #555;
}

/* Адаптивність */
@media (max-width: 768px) {
	.section {
		padding-top: 60px;
		padding-bottom: 60px;
	}
	.section__header {
		margin-bottom: 40px;
	}
	.section__title {
		font-size: 32px;
	}
}

/* ====================
   RESUME SECTION
   ==================== */
.resume {
	background-color: var(--color-background);
}

.resume__comparison {
	display: flex;
	justify-content: center;
	gap: 40px;
	align-items: stretch; /* Вирівнюємо картки по висоті */
}

.resume-card {
	flex: 1;
	max-width: 450px;
	padding: 32px;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	border: 1px solid #e9ecef;
}

.resume-card__title {
	font-size: 24px;
	margin-bottom: 24px;
	text-align: center;
}

.resume-card__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.resume-card__list li {
	display: flex;
	align-items: center;
	font-size: 16px;
	margin-bottom: 16px;
}

.resume-card__list .lucide {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-right: 12px;
}

/* Specific styles for "Before" card */
.resume-card--before {
	background-color: #fdfdfe;
}
.resume-card--before .resume-card__title {
	color: #6c757d;
}
.resume-card--before .lucide {
	color: #dc3545; /* Red color for 'x' icon */
}

/* Specific styles for "After" card */
.resume-card--after {
	background-color: var(--color-background);
	border: 2px solid var(--color-primary);
}
.resume-card--after .resume-card__title {
	color: var(--color-primary);
}
.resume-card--after .lucide {
	color: #28a745; /* Green color for 'check' icon */
}

/* Адаптивність */
@media (max-width: 768px) {
	.resume__comparison {
		flex-direction: column;
		align-items: center;
		gap: 30px;
	}
}

/* ====================
   INTERVIEW SECTION (ACCORDION)
   ==================== */
.interview {
	background-color: #f8f9fa; /* Світло-сірий фон */
}

.interview__accordion {
	max-width: 800px;
	margin: 0 auto;
}

.accordion__item {
	background-color: var(--color-background);
	border: 1px solid #e9ecef;
	border-radius: 8px;
	margin-bottom: 12px;
	overflow: hidden; /* Важливо для роботи анімації max-height */
}

.accordion__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 20px 24px;
	background-color: transparent;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: var(--font-primary);
	font-size: 18px;
	font-weight: 600;
	color: var(--color-text);
}

.accordion__header span {
	flex: 1;
}

.accordion__icon {
	transition: transform 0.3s ease-in-out;
}

.accordion__content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.accordion__content p {
	padding: 0 24px 20px;
	font-size: 16px;
	line-height: 1.7;
	color: #555;
}

/* Active state for accordion item */
.accordion__item--active .accordion__header {
	color: var(--color-primary);
}

.accordion__item--active .accordion__icon {
	transform: rotate(180deg);
}

.accordion__item--active .accordion__content {
	/* Max-height має бути достатньо великим, щоб вмістити контент */
	max-height: 300px;
	transition: max-height 0.5s ease-in;
}

/* ====================
   NETWORKING SECTION
   ==================== */
.networking {
	background-color: var(--color-background);
}

.networking__container {
	display: flex;
	align-items: center;
	gap: 60px;
}

.networking__content {
	flex: 1;
	max-width: 500px;
}

.networking__content-title {
	font-size: 28px;
	margin-bottom: 20px;
	line-height: 1.3;
}

.networking__content p {
	font-size: 16px;
	color: #555;
	line-height: 1.7;
	margin-bottom: 16px;
}

.networking__platforms {
	flex: 1;
	max-width: 500px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.platform-card {
	display: flex;
	align-items: center;
	gap: 24px;
	background-color: #f8f9fa;
	padding: 24px;
	border-radius: 12px;
	border: 1px solid #e9ecef;
}

.platform-card__icon {
	flex-shrink: 0;
}
.platform-card__icon .lucide {
	width: 40px;
	height: 40px;
	color: var(--color-primary);
}

.platform-card__name {
	font-size: 20px;
	margin-bottom: 8px;
}

.platform-card__description {
	font-size: 15px;
	color: #555;
	line-height: 1.6;
}

/* Адаптивність */
@media (max-width: 992px) {
	.networking__container {
		gap: 40px;
	}
}

@media (max-width: 768px) {
	.networking__container {
		flex-direction: column;
		text-align: center;
	}
	.platform-card {
		flex-direction: column;
		text-align: center;
		gap: 16px;
	}
}

/* ====================
   CONTACT SECTION
   ==================== */
.contact {
	background-color: #f8f9fa; /* Світло-сірий фон */
}

.contact__wrapper {
	max-width: 600px;
	margin: 0 auto;
	background-color: var(--color-background);
	padding: 40px;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	position: relative;
	overflow: hidden;
}

.form__group {
	margin-bottom: 24px;
}

.form__label {
	display: block;
	font-family: var(--font-primary);
	font-weight: 600;
	margin-bottom: 8px;
	font-size: 15px;
}

.form__input {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #ced4da;
	border-radius: 6px;
	font-size: 16px;
	font-family: var(--font-secondary);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form__input:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.form__group--checkbox {
	display: flex;
	align-items: flex-start;
	margin-top: 16px;
}

.form__checkbox {
	margin-top: 5px;
	margin-right: 12px;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.form__checkbox-label {
	font-size: 14px;
	color: #555;
	line-height: 1.5;
}
.form__checkbox-label a {
	text-decoration: underline;
}

.contact__button {
	width: 100%;
	padding: 16px;
	font-size: 18px;
}

.success-message {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(5px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}
.success-message.is-visible {
	opacity: 1;
	visibility: visible;
}

.success-message .lucide {
	width: 48px;
	height: 48px;
	color: #28a745;
	margin-bottom: 16px;
}
.success-message span {
	font-size: 18px;
	font-weight: 600;
	color: var(--color-text);
}

/* ====================
   SHARED COMPONENTS: BUTTON (Additions)
   ==================== */
.button--small {
	padding: 8px 20px;
	font-size: 14px;
}

/* ====================
   COOKIE POP-UP
   ==================== */
.cookie-popup {
	position: fixed;
	bottom: -100%; /* Початково сховано за межами екрану */
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 40px);
	max-width: 800px;
	background-color: var(--color-background);
	padding: 20px 24px;
	border-radius: 12px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	z-index: 200;
	transition: bottom 0.5s ease-in-out;
}

.cookie-popup.is-visible {
	bottom: 20px; /* Плавна поява знизу */
}

.cookie-popup__text {
	font-size: 15px;
	color: #555;
	line-height: 1.5;
}

.cookie-popup__text a {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.cookie-popup {
		flex-direction: column;
		text-align: center;
		gap: 16px;
	}
}

/* ====================
   STYLES FOR POLICY PAGES (privacy.html, etc.)
   ==================== */
.pages {
	padding-top: calc(var(--header-height) + 60px);
	padding-bottom: 80px;
}

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

.pages h1,
.pages h2 {
	color: var(--color-text);
	margin-bottom: 1em;
}

.pages h1 {
	font-size: 1.5rem;
	line-height: 1.2;
	margin-bottom: 24px;
	border-bottom: 1px solid #e9ecef;
	padding-bottom: 16px;
}

.pages h2 {
	font-size: 1.5rem;
	line-height: 1.3;
	margin-top: 40px;
}

.pages p {
	font-size: 16px;
	line-height: 1.8;
	color: #333;
	margin-bottom: 1.5em;
}

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

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

.pages ul {
	list-style: disc;
	padding-left: 20px;
	margin-bottom: 1.5em;
}

.pages li {
	margin-bottom: 0.8em;
	line-height: 1.8;
	color: #333;
}

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