/* ==================== GOOGLE FONTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@600;700&family=Roboto:wght@400;500&display=swap');

/* ==================== CSS VARIABLES ==================== */
:root {
	/* Colors */
	--primary-color: #0d47a1;
	--secondary-color: #1976d2;
	--accent-color: #ffab00;
	--accent-color-dark: #ff8f00;
	--text-color: #263238;
	--text-color-light: #546e7a;
	--bg-color: #ffffff;
	--bg-light-gray: #f5f5f5;
	--white-color: #ffffff;
	--black-color: #000000;
	--border-color: #e0e0e0;

	/* Typography */
	--font-family-body: 'Roboto', sans-serif;
	--font-family-heading: 'Exo 2', sans-serif;

	--font-size-body: 1rem; /* 16px */
	--font-size-h1: 2.5rem;
	--font-size-h2: 2rem;
	--font-size-h3: 1.5rem;
	--font-size-small: 0.875rem;

	/* Other */
	--header-height: 4.5rem; /* 72px */
	--border-radius: 8px;
	--box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	--transition-main: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==================== BASE STYLES ==================== */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

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

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

ul {
	list-style: none;
}

a {
	text-decoration: none;
	color: var(--secondary-color);
	transition: var(--transition-main);
}

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

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

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

/* ==================== UTILITY & LAYOUT ==================== */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.section {
	padding: 5rem 0 2rem;
}

/* ==================== LOGO ==================== */
.logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-family-heading);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--primary-color);
}

.logo__svg {
	width: 32px;
	height: 32px;
	color: var(--secondary-color);
}

/* ==================== HEADER ==================== */
.header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	background-color: var(--bg-color);
	box-shadow: var(--box-shadow);
	transition: var(--transition-main);
}

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

.header__toggle,
.nav__close {
	font-size: 1.5rem;
	color: var(--primary-color);
	cursor: pointer;
}

/* Mobile Navigation */
@media screen and (max-width: 1023px) {
	.nav {
		position: fixed;
		top: 0;
		right: -100%; /* Start off-screen */
		width: 80%;
		height: 100vh;
		background-color: var(--primary-color);
		box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
		padding: 4rem 2rem 2rem;
		transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	}

	.nav__list {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2rem;
		padding-top: 2rem;
	}

	.nav__link {
		font-family: var(--font-family-heading);
		font-size: 1.5rem;
		color: var(--white-color);
		font-weight: 600;
	}

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

	.nav__link--button {
		background-color: var(--accent-color);
		color: var(--primary-color);
		padding: 0.75rem 1.5rem;
		border-radius: var(--border-radius);
	}
	.nav__link--button:hover {
		background-color: var(--accent-color-dark);
		color: var(--primary-color);
	}

	.nav__close {
		position: absolute;
		top: 1.25rem;
		right: 1.25rem;
		color: var(--white-color);
	}

	/* Show menu (JS-controlled) */
	.nav--open {
		right: 0;
	}
}

/* ==================== FOOTER ==================== */
.footer {
	background-color: var(--primary-color);
	color: var(--bg-light-gray);
	padding: 4rem 0 2rem;
}

.footer__container {
	display: grid;
	gap: 2.5rem;
}

.footer__logo {
	color: var(--white-color);
}

.footer__logo .logo__svg {
	color: var(--accent-color);
}

.footer__description {
	margin-top: 1rem;
	max-width: 300px;
	font-size: var(--font-size-small);
}

.footer__title {
	font-family: var(--font-family-heading);
	color: var(--white-color);
	font-size: 1.25rem;
	margin-bottom: 1.25rem;
}

.footer__list {
	display: grid;
	gap: 0.75rem;
}

.footer__link {
	color: var(--bg-light-gray);
	font-size: var(--font-size-small);
	transition: var(--transition-main);
}

.footer__link:hover {
	color: var(--accent-color);
	padding-left: 0.25rem;
}

.footer__list--contact {
	gap: 1rem;
}

.footer__contact-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: var(--font-size-small);
}

.footer__contact-item i {
	width: 20px;
	height: 20px;
	color: var(--accent-color);
}

.footer__bottom {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--secondary-color);
	text-align: center;
}

.footer__copyright {
	font-size: var(--font-size-small);
	color: var(--bg-light-gray);
}

/* ==================== MEDIA QUERIES (ADAPTIVE) ==================== */

/* For Tablet (768px) */
@media screen and (min-width: 768px) {
	.container {
		margin-left: auto;
		margin-right: auto;
	}

	.section {
		padding: 6rem 0 3rem;
	}

	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* For Desktop (1024px) */
@media screen and (min-width: 1024px) {
	/* Reset mobile menu styles */
	.header__toggle,
	.nav__close {
		display: none;
	}

	.nav {
		width: auto;
		height: auto;
	}

	.nav__list {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 2.5rem;
	}

	.nav__link {
		font-family: var(--font-family-body);
		font-size: var(--font-size-body);
		color: var(--text-color);
		font-weight: 500;
		position: relative;
	}

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

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

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

	.nav__link--button {
		background-color: var(--accent-color);
		color: var(--primary-color);
		padding: 0.75rem 1.5rem;
		border-radius: var(--border-radius);
	}
	.nav__link--button:hover {
		background-color: var(--accent-color-dark);
		color: var(--primary-color);
	}
	.nav__link--button::after {
		display: none; /* No underline for button */
	}

	/* Footer layout */
	.footer__container {
		grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
		gap: 2rem;
	}
}

/* For Large Desktops (1200px) */
@media screen and (min-width: 1200px) {
	.container {
		padding-left: 0;
		padding-right: 0;
	}
}

/* ==================== HERO SECTION ==================== */
.hero {
	padding-top: calc(
		var(--header-height) + 4rem
	); /* Відступ від фіксованого хедера */
	padding-bottom: 4rem;
	background-color: var(--bg-light-gray);
	overflow: hidden; /* Для анімації та blob */
}

.hero__container {
	display: grid;
	gap: 3rem;
	align-items: center;
}

.hero__subtitle {
	display: inline-block;
	font-size: var(--font-size-small);
	font-weight: 500;
	color: var(--secondary-color);
	background-color: rgba(25, 118, 210, 0.1);
	padding: 0.5rem 1rem;
	border-radius: var(--border-radius);
	margin-bottom: 1.5rem;
}

.hero__title {
	font-size: 2rem; /* Трохи більше за h1 */
	margin-bottom: 1.5rem;
}

.hero__description {
	font-size: 1.125rem;
	color: var(--text-color-light);
	margin-bottom: 2.5rem;
	max-width: 550px;
}

.hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.hero__button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-family-heading);
	font-weight: 600;
	padding: 1rem 2rem;
	border-radius: var(--border-radius);
	transition: var(--transition-main);
	border: 2px solid transparent;
}

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

.hero__button--primary:hover {
	background-color: var(--accent-color-dark);
	transform: translateY(-3px);
	box-shadow: 0 6px 15px rgba(255, 171, 0, 0.3);
}

.hero__button--secondary {
	background-color: transparent;
	color: var(--primary-color);
	border-color: var(--border-color);
}

.hero__button--secondary:hover {
	background-color: var(--white-color);
	border-color: var(--white-color);
	transform: translateY(-3px);
	box-shadow: var(--box-shadow);
}

.hero__button-icon {
	width: 20px;
	height: 20px;
	transition: transform 0.3s;
}

.hero__button--secondary:hover .hero__button-icon {
	transform: translateX(4px);
}

.hero__image-wrapper {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero__image {
	width: 300px;
	height: 300px;
	object-fit: cover;
	border-radius: 50%;
	border: 8px solid var(--white-color);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 2;
}

/* Декоративний 'blob' фон */
.hero__image-blob {
	position: absolute;
	width: 100%;
	height: 100%;
	max-width: 350px;
	max-height: 350px;
	background: linear-gradient(
		45deg,
		var(--primary-color),
		var(--secondary-color)
	);
	border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
	opacity: 0.15;
	animation: blobMorph 10s ease-in-out infinite;
	z-index: 1;
}

@keyframes blobMorph {
	0% {
		border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
	}
	50% {
		border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
	}
	100% {
		border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
	}
}

/* ==================== MEDIA QUERIES (ADAPTIVE HERO) ==================== */

/* For Tablet (768px) */
@media screen and (min-width: 768px) {
	.hero__title {
		font-size: 2.25rem;
	}

	.hero__image {
		width: 350px;
		height: 350px;
	}
}

/* For Desktop (1024px) */
@media screen and (min-width: 1024px) {
	.hero {
		padding-top: calc(var(--header-height) + 6rem);
		padding-bottom: 6rem;
	}

	.hero__container {
		grid-template-columns: 1.2fr 1fr; /* Більше місця для тексту */
		gap: 2rem;
	}

	.hero__title {
		font-size: 2.5rem;
	}

	.hero__image-wrapper {
		order: 2; /* Змінюємо порядок для desktop */
	}

	.hero__content {
		order: 1;
	}

	.hero__image {
		width: 400px;
		height: 400px;
	}

	.hero__image-blob {
		max-width: 450px;
		max-height: 450px;
	}
}

/* ==================== SHARED SECTION STYLES ==================== */
/* Ми будемо використовувати ці класи для всіх секцій */
.section {
	padding: 5rem 0 3rem;
}

.section__subtitle {
	display: block;
	font-size: var(--font-size-small);
	font-weight: 600;
	color: var(--secondary-color);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 0.75rem;
}

.section__title {
	font-size: var(--font-size-h2);
	margin-bottom: 2rem;
}

/* ==================== ABOUT SECTION ==================== */
.about {
	background-color: var(--bg-color);
}

.about__container {
	display: grid;
	gap: 3rem;
	align-items: center;
}

.about__description {
	margin-bottom: 1.5rem;
	color: var(--text-color-light);
}

.about__description strong {
	color: var(--primary-color);
	font-weight: 600;
}

.about__list {
	display: grid;
	gap: 1rem;
	margin-top: 2rem;
}

.about__list-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.about__list-icon {
	width: 20px;
	height: 20px;
	color: var(--accent-color);
}

.about__image-wrapper {
	position: relative;
	max-width: 400px;
	margin: 0 auto;
}

.about__image {
	width: 100%;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	z-index: 1;
	position: relative;
}

/* Декоративні елементи */
.about__image-decoration {
	position: absolute;
	background-color: var(--secondary-color);
	border-radius: var(--border-radius);
	opacity: 0.1;
	z-index: 0;
}

.about__image-decoration--1 {
	width: 100px;
	height: 100px;
	top: -25px;
	left: -25px;
	animation: pulse 2s infinite ease-in-out;
}

.about__image-decoration--2 {
	width: 100%;
	height: 100%;
	bottom: -25px;
	right: -25px;
	top: 25px;
	left: 25px;
	background-color: var(--bg-light-gray);
	z-index: -1;
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 0.1;
	}
	50% {
		transform: scale(1.1);
		opacity: 0.2;
	}
	100% {
		transform: scale(1);
		opacity: 0.1;
	}
}

/* ==================== MEDIA QUERIES (ADAPTIVE ABOUT) ==================== */

/* For Tablet (768px) */
@media screen and (min-width: 768px) {
	.section {
		padding: 6rem 0 4rem;
	}

	.section__title {
		font-size: 2.25rem;
		max-width: 500px;
	}
}

/* For Desktop (1024px) */
@media screen and (min-width: 1024px) {
	.about__container {
		grid-template-columns: 1fr 1fr;
		gap: 5rem;
	}

	.about__image-wrapper {
		max-width: none;
	}
}

/* ==================== FEATURES SECTION ==================== */
.features {
	background-color: var(--bg-light-gray);
}

.features__container .section__title {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-bottom: 3rem;
}

.features__container .section__subtitle {
	text-align: center;
}

.features__grid {
	display: grid;
	gap: 1.5rem;
}

.features__card {
	background-color: var(--white-color);
	padding: 2rem 1.5rem;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	border-bottom: 4px solid transparent;
	transition: var(--transition-main);
}

.features__card:hover {
	transform: translateY(-5px);
	border-bottom-color: var(--accent-color);
}

.features__card-icon {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--primary-color);
	border-radius: 50%;
	margin-bottom: 1.5rem;
}

.features__card-icon i {
	width: 32px;
	height: 32px;
	color: var(--white-color);
}

.features__card-title {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

.features__card-description {
	font-size: var(--font-size-small);
	color: var(--text-color-light);
}

/* ==================== MEDIA QUERIES (ADAPTIVE FEATURES) ==================== */

/* For Tablet (576px) - 2 columns */
@media screen and (min-width: 576px) {
	.features__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* For Desktop (1024px) - 4 columns */
@media screen and (min-width: 1024px) {
	.features__grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 2rem;
	}

	.features__card {
		padding: 2.5rem 2rem;
	}
}

/* ==================== PROGRAM (ACCORDION) ==================== */
.program {
	background-color: var(--bg-color);
}

.program__container {
	display: grid;
	gap: 3rem;
	align-items: center;
}

.program__description {
	color: var(--text-color-light);
	margin-bottom: 2.5rem;
}

/* Accordion Styles */
.program__accordion {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.program__accordion-item {
	background-color: var(--bg-light-gray);
	border-radius: var(--border-radius);
	border: 1px solid var(--border-color);
	transition: var(--transition-main);
}

.program__accordion-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.5rem;
	cursor: pointer;
}

.program__accordion-icon {
	width: 24px;
	height: 24px;
	color: var(--primary-color);
}

.program__accordion-title {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--text-color);
	margin: 0;
}

.program__accordion-arrow {
	margin-left: auto;
	width: 20px;
	height: 20px;
	color: var(--secondary-color);
	transition: transform 0.3s;
}

.program__accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.program__accordion-text {
	padding: 0 1.5rem 1.5rem 1.5rem;
	color: var(--text-color-light);
	font-size: var(--font-size-small);
	line-height: 1.7;
	border-top: 1px solid var(--border-color);
	padding-top: 1.5rem;
	margin-top: -1px; /* To make border seamless */
}

/* JS-controlled active state */
.program__accordion-item.accordion--open {
	background-color: var(--white-color);
	box-shadow: var(--box-shadow);
}

.program__accordion-item.accordion--open .program__accordion-header {
	border-bottom: none;
}

.program__accordion-item.accordion--open .program__accordion-arrow {
	transform: rotate(-180deg);
}

.program__accordion-item.accordion--open .program__accordion-content {
	max-height: 200px; /* Set to a reasonable max height */
}

/* Program Image */
.program__image-wrapper {
	display: none; /* Hide on mobile for clarity */
}

/* ==================== MEDIA QUERIES (ADAPTIVE PROGRAM) ==================== */

/* For Tablet (768px) */
@media screen and (min-width: 768px) {
	.program__image-wrapper {
		display: block;
		max-width: 400px;
		margin: 2rem auto 0;
	}

	.program__image {
		width: 100%;
		border-radius: var(--border-radius);
	}
}

/* For Desktop (1024px) */
@media screen and (min-width: 1024px) {
	.program__container {
		grid-template-columns: 1.2fr 1fr;
		gap: 5rem;
	}

	.program__image-wrapper {
		order: 2; /* Image on the right */
		margin: 0;
		max-width: none;
	}

	.program__content {
		order: 1;
	}
}


/* ==================== FAQ SECTION ==================== */
.faq {
    background-color: var(--bg-light-gray);
}

.faq__container .section__title,
.faq__container .section__subtitle {
    text-align: center;
}

.faq__container .section__title {
    margin-bottom: 3rem;
}

.faq__accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px; /* Обмежуємо ширину для читабельності */
    margin: 0 auto;
}

.faq__accordion-item {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition-main);
}

.faq__accordion-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
}

.faq__accordion-icon {
    width: 24px;
    height: 24px;
    color: var(--secondary-color);
}

.faq__accordion-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.faq__accordion-arrow {
    margin-left: auto;
    width: 20px;
    height: 20px;
    color: var(--secondary-color);
    transition: transform .3s;
}

.faq__accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-out, padding .3s ease-out;
}

.faq__accordion-text {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-color-light);
    font-size: var(--font-size-body);
    line-height: 1.7;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: -1px; /* To make border seamless */
}

/* JS-controlled active state */
.faq__accordion-item.accordion--open {
    border-color: var(--secondary-color);
}

.faq__accordion-item.accordion--open .faq__accordion-header {
    border-bottom: none;
}

.faq__accordion-item.accordion--open .faq__accordion-title {
    color: var(--primary-color);
}

.faq__accordion-item.accordion--open .faq__accordion-arrow {
    transform: rotate(-180deg);
}

/* We can reuse the same max-height as the program accordion */
.faq__accordion-item.accordion--open .faq__accordion-content {
    max-height: 200px;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    background-color: var(--bg-color);
}

.contact__container {
    display: grid;
    gap: 3rem;
}

.contact__description {
    color: var(--text-color-light);
    margin-bottom: 2.5rem;
}

.contact__info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact__info-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
    margin-top: 4px; /* Align with text */
}

.contact__info-title {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact__info-text {
    font-size: var(--font-size-small);
    color: var(--text-color-light);
}

/* Form Wrapper */
.contact__form-wrapper {
    background-color: var(--white-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact__form-title {
    font-size: var(--font-size-h3);
    text-align: center;
    margin-bottom: 2rem;
}

.contact__form {
    display: grid;
    gap: 1.5rem;
}

.contact__form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.contact__form-label {
    font-size: var(--font-size-small);
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact__form-input {
    width: 100%;
    height: 50px;
    padding: 0 1rem 0 3rem; /* Space for icon */
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-family-body);
    font-size: var(--font-size-body);
    transition: var(--transition-main);
}

.contact__form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.2);
}

.contact__form-input::placeholder {
    color: var(--text-color-light);
    opacity: 0.7;
}

.contact__form-icon {
    position: absolute;
    left: 1rem;
    bottom: 12px; /* (50px height - 24px icon) / 2 */
    width: 20px;
    height: 20px;
    color: var(--text-color-light);
    opacity: 0.6;
    transition: var(--transition-main);
}

.contact__form-input:focus ~ .contact__form-icon {
    color: var(--secondary-color);
    opacity: 1;
}

/* Checkbox */
.contact__form-group--checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact__form-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--primary-color);
}

.contact__form-checkbox-label {
    font-size: var(--font-size-small);
    color: var(--text-color-light);
    line-height: 1.5;
}

.contact__form-checkbox-label a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact__form-checkbox-label a:hover {
    color: var(--primary-color);
}

/* Button */
.contact__form-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 2rem;
    font-family: var(--font-family-heading);
    font-weight: 600;
    font-size: 1.125rem;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    transition: var(--transition-main);
}

.contact__form-button:hover {
    background-color: var(--accent-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 171, 0, 0.3);
}

.contact__form-button-icon {
    width: 20px;
    height: 20px;
}

/* Success Message */
.contact__success-message {
    display: none; /* Сховано за замовчуванням */
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    background-color: rgba(255, 171, 0, 0.05);
}

.contact__success-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact__success-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact__success-text {
    color: var(--text-color-light);
}

/* ==================== MEDIA QUERIES (ADAPTIVE CONTACT) ==================== */

/* For Desktop (1024px) */
@media screen and (min-width: 1024px) {
    .contact__container {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
        align-items: center;
    }
}

/* ==================== COOKIE POPUP ==================== */
.cookie-popup {
    position: fixed;
    bottom: -100%; /* Сховано за замовчуванням */
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 101; /* Вище за все, крім, можливо, мобільного меню */
    transition: bottom .5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Стан "Показано" (керується JS) */
.cookie-popup--show {
    bottom: 0;
}

.cookie-popup__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-popup__text {
    font-size: var(--font-size-small);
    text-align: center;
    line-height: 1.6;
}

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

.cookie-popup__link:hover {
    color: var(--accent-color-dark);
}

.cookie-popup__button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-family: var(--font-family-heading);
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition-main);
}

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

/* ==================== MEDIA QUERIES (ADAPTIVE COOKIE) ==================== */

/* For Tablet (768px) */
@media screen and (min-width: 768px) {
    .cookie-popup {
        padding: 1.5rem 2rem;
    }

    .cookie-popup__content {
        flex-direction: row;
        justify-content: space-between;
    }

    .cookie-popup__text {
        text-align: left;
    }
}

/* ==================== PAGES (PRIVACY, TERMS, ETC.) ==================== */
.pages {
    padding-top: calc(var(--header-height) + 3rem); /* Відступ від фіксованого хедера */
    padding-bottom: 5rem;
    background-color: var(--bg-color);
}

.pages .container {
    max-width: 800px; /* Обмежуємо ширину для кращої читабельності */
    margin-left: auto;
    margin-right: auto;
}

.pages h1,
.pages h2,
.pages h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

.pages h1 {
    font-size: var(--font-size-h2);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.pages h2 {
    font-size: var(--font-size-h2);
}

.pages h3 {
    font-size: var(--font-size-h3);
}

.pages p {
    font-size: var(--font-size-body);
    color: var(--text-color-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

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

.pages ul,
.pages ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.pages li {
    color: var(--text-color-light);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.pages li::marker {
    color: var(--primary-color);
    font-weight: 600;
}

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