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

/*=============== CSS VARIABLES ===============*/
:root {
	/* Colors */
	--primary-color: #4f46e5;
	--primary-color-hover: #4338ca;
	--dark-color: #111827;
	--text-color: #374151;
	--text-color-light: #6b7280;
	--body-bg-color: #f9fafb;
	--container-bg-color: #ffffff;
	--border-color: #e5e7eb;

	/* Typography */
	--body-font: 'Inter', sans-serif;
	--h1-font-size: 2.5rem;
	--h2-font-size: 2rem;
	--h3-font-size: 1.5rem;
	--normal-font-size: 1rem;
	--small-font-size: 0.875rem;

	/* z-index */
	--z-header: 100;
	--z-mobile-menu: 110;
}

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

html {
	scroll-behavior: smooth;
}

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

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

ul {
	list-style: none;
}

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

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 1.5rem;
}

/*=============== HEADER ===============*/
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	z-index: var(--z-header);
	border-bottom: 1px solid var(--border-color);
	transition: box-shadow 0.3s ease;
}

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

.header__logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	font-size: 1.25rem;
	color: var(--dark-color);
}

.header__logo-img {
	width: 32px;
	height: 32px;
}

.header__nav-list {
	display: flex;
	align-items: center;
	gap: 2.5rem;
}

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

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

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

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

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

/*=============== MOBILE MENU ===============*/
.mobile-menu {
	position: fixed;
	top: 0;
	right: -100%;
	width: 80%;
	max-width: 320px;
	height: 100%;
	background-color: var(--container-bg-color);
	z-index: var(--z-mobile-menu);
	box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
	transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	padding: 4rem 2rem;
}

.mobile-menu.is-active {
	right: 0;
}

.mobile-menu__close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--dark-color);
}

.mobile-menu__list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.mobile-menu__link {
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--dark-color);
	transition: color 0.3s ease;
}

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

/*=============== FOOTER ===============*/
.footer {
	background-color: var(--container-bg-color);
	padding-top: 5rem;
	border-top: 1px solid var(--border-color);
}

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

.footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	font-size: 1.25rem;
	color: var(--dark-color);
	margin-bottom: 1rem;
}

.footer__logo-img {
	width: 32px;
	height: 32px;
}

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

.footer__title {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--dark-color);
	margin-bottom: 1.25rem;
}

.footer__list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer__link {
	color: var(--text-color);
	font-size: var(--small-font-size);
	transition: color 0.3s ease, padding-left 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

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

.footer__contact-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.footer__list--contacts .footer__link {
	align-items: flex-start;
}

.footer__bottom {
	padding: 1.5rem 0;
	border-top: 1px solid var(--border-color);
}

.footer__copyright {
	text-align: center;
	font-size: var(--small-font-size);
	color: var(--text-color-light);
}

/*=============== RESPONSIVE TYPOGRAPHY ===============*/
@media screen and (max-width: 992px) {
	:root {
		--h1-font-size: 2.25rem;
		--h2-font-size: 1.75rem;
		--h3-font-size: 1.25rem;
	}
}

/*=============== BREAKPOINTS ===============*/
@media screen and (max-width: 768px) {
	.header__nav {
		display: none;
	}
	.header__burger {
		display: block;
	}

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

@media screen and (max-width: 576px) {
	.container {
		padding: 0 1rem;
	}
	.footer__container {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.footer__logo,
	.footer__list {
		justify-content: center;
	}
	.footer__list--contacts .footer__link {
		justify-content: flex-start;
		text-align: left;
	}
}

/*=============== BUTTONS ===============*/
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 2rem;
	border-radius: 6px;
	font-weight: 500;
	font-size: var(--normal-font-size);
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.3s ease;
}

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

.button--primary:hover {
	background-color: var(--primary-color-hover);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
}

.button__icon {
	width: 20px;
	height: 20px;
}

/*=============== HERO SECTION ===============*/
.main {
	padding-top: 5rem; /* Offset for fixed header */
}

.hero {
	padding: 6rem 0;
	overflow: hidden;
}

.hero__container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 4rem;
}

@keyframes fadeIn-up {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero__title {
	font-size: var(--h1-font-size);
	font-weight: 700;
	color: var(--dark-color);
	line-height: 1.2;
	margin-bottom: 1.5rem;
	animation: fadeIn-up 0.6s ease forwards;
	opacity: 0;
}

.hero__description {
	font-size: 1.125rem;
	color: var(--text-color-light);
	margin-bottom: 2.5rem;
	max-width: 500px;
	animation: fadeIn-up 0.6s 0.2s ease forwards;
	opacity: 0;
}

.hero__content .button {
	animation: fadeIn-up 0.6s 0.4s ease forwards;
	opacity: 0;
}

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

.hero__canvas {
	width: 100%;
	height: 100%;
	max-width: 500px;
	aspect-ratio: 1 / 1;
	border-radius: 1.5rem;
	animation: fadeIn-up 0.6s 0.6s ease forwards;
	opacity: 0;
}

/*=============== BREAKPOINTS (Hero adaptations) ===============*/
@media screen and (max-width: 992px) {
	.hero {
		padding: 4rem 0;
	}
	.hero__container {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 3rem;
	}
	.hero__description {
		margin-left: auto;
		margin-right: auto;
	}
}

@media screen and (max-width: 576px) {
	.hero__title {
		font-size: 2rem;
	}
	.hero__description {
		font-size: 1rem;
	}
}

/*=============== REUSABLE SECTION STYLES ===============*/
.section {
	padding: 6rem 0;
}

.section__header {
	text-align: center;
	margin-bottom: 4rem;
}

.section__title {
	font-size: var(--h2-font-size);
	font-weight: 700;
	color: var(--dark-color);
	margin-bottom: 1rem;
}

.section__subtitle {
	font-size: 1.125rem;
	color: var(--text-color-light);
	max-width: 600px;
	margin: 0 auto;
}

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

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

.courses__grid > .animate-on-scroll:nth-child(2) {
	transition-delay: 0.2s;
}
.courses__grid > .animate-on-scroll:nth-child(3) {
	transition-delay: 0.4s;
}

/*=============== COURSES SECTION ===============*/
.courses__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.course-card {
	background-color: var(--container-bg-color);
	border-radius: 12px;
	border: 1px solid var(--border-color);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.course-card__image-container {
	position: relative;
	aspect-ratio: 16 / 9;
}

.course-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.course-card__tag {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background-color: rgba(255, 255, 255, 0.9);
	color: var(--primary-color);
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	font-size: var(--small-font-size);
	font-weight: 500;
}

.course-card__content {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.course-card__title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--dark-color);
	margin-bottom: 0.5rem;
}

.course-card__description {
	font-size: var(--normal-font-size);
	color: var(--text-color-light);
	margin-bottom: 1.5rem;
	flex-grow: 1;
}

.course-card__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid var(--border-color);
	padding-top: 1rem;
}

.course-card__duration {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--small-font-size);
	color: var(--text-color);
}

.course-card__icon {
	width: 16px;
	height: 16px;
	color: var(--text-color-light);
}

.course-card__link {
	font-weight: 500;
	color: var(--primary-color);
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.course-card__icon--arrow {
	width: 16px;
	height: 16px;
	transition: transform 0.3s ease;
}

.course-card__link:hover .course-card__icon--arrow {
	transform: translateX(4px);
}

/*=============== BREAKPOINTS (Courses adaptations) ===============*/
@media screen and (max-width: 992px) {
	.courses__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 768px) {
	.section {
		padding: 4rem 0;
	}
}

@media screen and (max-width: 576px) {
	.courses__grid {
		grid-template-columns: 1fr;
	}
}

/*=============== REUSABLE SECTION STYLES (Modifier) ===============*/
.section--gray {
	background-color: var(--container-bg-color);
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
}

/*=============== PROCESS SECTION ===============*/
.process__timeline {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
}

/* The vertical line */
.process__timeline::after {
	content: '';
	position: absolute;
	width: 3px;
	background-color: var(--border-color);
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -1.5px;
}

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

/* The circle on the timeline */
.process__icon-wrapper {
	position: absolute;
	width: 50px;
	height: 50px;
	right: -25px;
	background-color: var(--container-bg-color);
	border: 3px solid var(--primary-color);
	top: 15px;
	border-radius: 50%;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

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

/* Positioning the items */
.process__item:nth-child(odd) {
	left: 0;
	padding-right: 70px;
	text-align: right;
}

.process__item:nth-child(even) {
	left: 50%;
	padding-left: 70px;
	text-align: left;
}

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

.process__content {
	padding: 20px 30px;
	background-color: var(--container-bg-color);
	position: relative;
	border-radius: 8px;
	border: 1px solid var(--border-color);
}

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

.process__title {
	font-size: 1.25rem;
	color: var(--dark-color);
	margin-bottom: 0.5rem;
}

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

/* Staggered animation for process items */
.process__timeline > .animate-on-scroll:nth-child(2) {
	transition-delay: 0.2s;
}
.process__timeline > .animate-on-scroll:nth-child(3) {
	transition-delay: 0.4s;
}
.process__timeline > .animate-on-scroll:nth-child(4) {
	transition-delay: 0.6s;
}

/*=============== BREAKPOINTS (Process adaptations) ===============*/
@media screen and (max-width: 992px) {
	.process__timeline::after {
		left: 25px;
	}

	.process__item {
		width: 100%;
		padding-left: 70px;
		padding-right: 25px;
		text-align: left;
	}

	.process__item:nth-child(odd) {
		left: 0;
		padding-right: 25px; /* Reset padding */
		text-align: left; /* Reset text-align */
	}

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

	.process__icon-wrapper {
		left: 0;
	}
}

/*=============== MENTORS SECTION ===============*/
.mentors__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.mentor-card {
	background-color: var(--container-bg-color);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mentor-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.07),
		0 4px 6px -4px rgb(0 0 0 / 0.07);
}

.mentor-card__image-wrapper {
	width: 120px;
	height: 120px;
	margin: 0 auto 1.5rem auto;
	border-radius: 50%;
	overflow: hidden;
	border: 4px solid var(--container-bg-color);
	box-shadow: 0 0 0 1px var(--border-color);
}

.mentor-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mentor-card__name {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--dark-color);
	margin-bottom: 0.25rem;
}

.mentor-card__title {
	font-size: var(--normal-font-size);
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.mentor-card__bio {
	font-size: var(--small-font-size);
	color: var(--text-color-light);
	margin-bottom: 1.5rem;
}

.mentor-card__socials {
	display: flex;
	justify-content: center;
	gap: 1rem;
}

.mentor-card__social-link {
	color: var(--text-color-light);
	transition: color 0.3s ease;
}

.mentor-card__social-link:hover {
	color: var(--primary-color);
}

/* Staggered animation for mentor cards */
.mentors__grid > .animate-on-scroll:nth-child(2) {
	transition-delay: 0.2s;
}
.mentors__grid > .animate-on-scroll:nth-child(3) {
	transition-delay: 0.4s;
}

/*=============== BREAKPOINTS (Mentors adaptations) ===============*/
@media screen and (max-width: 992px) {
	.mentors__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 576px) {
	.mentors__grid {
		grid-template-columns: 1fr;
	}
}

/*=============== REVIEWS SECTION ===============*/
.reviews__swiper {
	padding: 1rem 0 4rem 0 !important; /* !important to override swiper styles */
	margin: 0 -1rem; /* Negative margin for better spacing */
	padding: 0 1rem 4rem 1rem;
}

.review-card {
	background-color: var(--container-bg-color);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 2rem;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.review-card__icon {
	color: var(--primary-color);
	width: 32px;
	height: 32px;
	margin-bottom: 1rem;
}

.review-card__text {
	color: var(--text-color);
	font-size: var(--normal-font-size);
	line-height: 1.7;
	flex-grow: 1;
	margin-bottom: 1.5rem;
}

.review-card__author {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.review-card__author-img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
}

.review-card__author-name {
	font-weight: 600;
	color: var(--dark-color);
	margin: 0;
}

.review-card__author-course {
	font-size: var(--small-font-size);
	color: var(--text-color-light);
}

/* Swiper custom styles */
.swiper-pagination-bullet {
	background-color: var(--text-color-light);
}

.swiper-pagination-bullet-active {
	background-color: var(--primary-color);
}

.swiper-button-next,
.swiper-button-prev {
	color: var(--primary-color);
	background-color: rgba(255, 255, 255, 0.9);
	width: 44px !important;
	height: 44px !important;
	border-radius: 50%;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
	color: var(--primary-color-hover);
}

.swiper-button-next::after,
.swiper-button-prev::after {
	font-size: 1.25rem !important;
	font-weight: 700;
}

/*=============== CONTACT SECTION ===============*/
.contact__container {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 4rem;
	align-items: center;
}

.contact__info .section__subtitle {
	text-align: left;
	margin: 1rem 0 2.5rem 0;
	max-width: none;
}

.contact__details {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.contact__detail-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.contact__detail-item a {
	transition: color 0.3s;
}

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

.contact__detail-icon {
	width: 24px;
	height: 24px;
	color: var(--primary-color);
	flex-shrink: 0;
	margin-top: 2px;
}

.contact__form-wrapper {
	background-color: var(--container-bg-color);
	padding: 3rem;
	border-radius: 12px;
	border: 1px solid var(--border-color);
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05),
		0 4px 6px -4px rgb(0 0 0 / 0.05);
}

.form__group {
	margin-bottom: 1.5rem;
}

.form__label {
	display: block;
	font-weight: 500;
	margin-bottom: 0.5rem;
	color: var(--dark-color);
	font-size: var(--small-font-size);
}

.form__input {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	font-size: var(--normal-font-size);
	font-family: var(--body-font);
	transition: border-color 0.3s, box-shadow 0.3s;
}

.form__input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form__group--checkbox {
	display: flex;
	align-items: flex-start;
}

.form__checkbox-input {
	display: none;
}

.form__checkbox-label {
	/* display: flex; */
	align-items: flex-start;
	gap: 0.75rem;
	cursor: pointer;
	font-size: var(--small-font-size);
	color: var(--text-color-light);
}
.form__checkbox-label a {
	color: var(--primary-color);
	text-decoration: underline;
}

.form__checkbox-box {
	display: block;
	width: 18px;
	height: 18px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	background-color: #fff;
	flex-shrink: 0;
	margin-top: 2px;
	transition: background-color 0.3s, border-color 0.3s;
	position: relative;
}

.form__checkbox-input:checked + .form__checkbox-label .form__checkbox-box {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.form__checkbox-box::after {
	content: '✔';
	color: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	font-size: 12px;
	transition: transform 0.2s ease;
}

.form__checkbox-input:checked
	+ .form__checkbox-label
	.form__checkbox-box::after {
	transform: translate(-50%, -50%) scale(1);
}

.form__button {
	width: 100%;
}

.form__error-message {
	color: #ef4444;
	font-size: var(--small-font-size);
	margin-top: 1rem;
	text-align: center;
	display: none; /* Hidden by default */
}

.contact__success-message {
	display: none; /* IMPORTANT: Hidden by default */
	text-align: center;
	padding: 2rem;
}

.contact__success-icon {
	width: 60px;
	height: 60px;
	color: #22c55e;
	margin-bottom: 1rem;
}
.contact__success-title {
	font-size: var(--h3-font-size);
	color: var(--dark-color);
}
.contact__success-text {
	color: var(--text-color-light);
}

/* Staggered animation */
.contact__info.animate-on-scroll {
	transition-delay: 0.2s;
}
.contact__form-wrapper.animate-on-scroll {
	transition-delay: 0.4s;
}

/*=============== BREAKPOINTS (Contact adaptations) ===============*/
@media screen and (max-width: 992px) {
	.contact__container {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
	.contact__info {
		text-align: center;
	}
	.contact__info .section__subtitle {
		margin-left: auto;
		margin-right: auto;
	}
	.contact__details {
		align-items: center;
	}
}

/*=============== BUTTONS (Modifier) ===============*/
.button--small {
	padding: 0.6rem 1.2rem;
	font-size: var(--small-font-size);
}

/*=============== COOKIE POPUP ===============*/
.cookie-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: var(--container-bg-color);
	border-top: 1px solid var(--border-color);
	padding: 1.5rem 0;
	z-index: 200;
	transform: translateY(100%);
	opacity: 0;
	transition: transform 0.5s ease-out, opacity 0.5s ease-out;
	box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
}

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

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

.cookie-popup__text {
	color: var(--text-color);
	font-size: var(--small-font-size);
}

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

/*=============== BREAKPOINTS (Cookie adaptations) ===============*/
@media screen and (max-width: 768px) {
	.cookie-popup__container {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}
}

/*=============== STATIC PAGES STYLES ===============*/
.pages {
	padding: 6rem 0;
}

.pages .container {
	max-width: 800px; /* Ограничиваем ширину для читабельности */
}

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

.pages h1 {
	font-size: 1.5rem;
	margin-top: 1rem;
}

.pages h2 {
	font-size: 1.5rem;
	margin-top: 3rem;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 0.5rem;
}

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

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

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

.pages a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 500;
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s;
}

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

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