/* GLOBAL STYLES */
:root {
	--bg-dark: #0d1b2a;
	--text-light: #e0e1dd;
	--accent-blue: #415a77;
	--accent-teal: #00a896;
	--font-primary: 'Roboto', sans-serif;
	--font-secondary: 'Exo 2', sans-serif;
	--header-height: 85px;
}

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

html {
	scroll-behavior: smooth;
}

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

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

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

ul {
	list-style: none;
}

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

h1,
h2,
h3,
h4 {
	font-family: var(--font-secondary);
	font-weight: 700;
	color: var(--text-light);
}

.button {
	display: inline-block;
	background-color: var(--accent-teal);
	color: var(--bg-dark);
	padding: 12px 30px;
	border-radius: 5px;
	font-weight: 700;
	font-family: var(--font-secondary);
	text-align: center;
	border: 2px solid var(--accent-teal);
	transition: background-color 0.3s ease, color 0.3s ease;
}

.button:hover {
	background-color: transparent;
	color: var(--accent-teal);
}

/* LOGO */
.logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-secondary);
	font-weight: 700;
	font-size: 24px;
	color: var(--text-light);
	transition: opacity 0.3s ease;
}

.logo:hover {
	opacity: 0.8;
}

/* HEADER */
.header {
	padding: 20px 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	background-color: rgba(13, 27, 42, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--accent-blue);
	height: var(--header-height);
}

/* ... (остальные стили хедера без изменений) ... */
.header__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

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

.header__nav-link {
	font-size: 16px;
	font-weight: 500;
	position: relative;
	transition: color 0.3s ease;
}

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

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

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

.header__nav-link--button {
	background-color: var(--accent-teal);
	color: var(--bg-dark);
	padding: 8px 20px;
	border-radius: 5px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

/* HERO SECTION */
.hero {
	min-height: 100vh;
	padding-top: var(--header-height);
	display: flex;
	align-items: center;
}

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

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

.hero__text {
	font-size: 18px;
	color: var(--text-light);
	margin-bottom: 40px;
	max-width: 500px;
}

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

.hero__image {
	max-width: 100%;
	border-radius: 10px;
}

/* BURGER MENU */
/* ... (стили бургера без изменений) ... */
.burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	width: 25px;
	height: 20px;
	background: transparent;
	border: none;
	cursor: pointer;
	z-index: 110;
}

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

.burger.burger--active .burger__line:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.burger.burger--active .burger__line:nth-child(2) {
	opacity: 0;
}
.burger.burger--active .burger__line:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* FOOTER */
/* ... (стили футера без изменений) ... */
.footer {
	padding: 60px 0;
	background-color: #08111a;
	border-top: 1px solid var(--accent-blue);
}

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

.footer__column:first-child {
	grid-column: span 1;
}

.footer__copy {
	margin-top: 20px;
	font-size: 14px;
	color: var(--accent-blue);
}

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

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

.footer__link {
	color: var(--accent-blue);
	transition: color 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

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

.footer__icon {
	width: 18px;
	height: 18px;
}

/* ADAPTIVE STYLES */
@media (max-width: 992px) {
	.hero__title {
		font-size: 36px;
	}
	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.hero {
		text-align: center;
		padding-bottom: 60px;
	}
	.hero__container {
		grid-template-columns: 1fr;
	}
	.hero__content {
		order: 2;
	}
	.hero__image-wrapper {
		order: 1;
		margin-bottom: 40px;
	}
	.hero__text {
		margin-left: auto;
		margin-right: auto;
	}

	.burger {
		display: flex;
	}

	.header__nav {
		padding-top: 81px;
		position: fixed;
		top: 0;
		right: -100%;
		width: 70%;
		height: 100vh;
		background-color: var(--bg-dark);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		transition: right 0.4s ease-in-out;
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
	}

	.header__nav--active {
		right: 0;
	}

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

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

	.header__nav-link--button {
		padding: 12px 24px;
	}
}

@media (max-width: 576px) {
	.footer__container {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer__column {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.logo {
		justify-content: center;
	}
}

/* ... (предыдущие стили без изменений) ... */

h1,
h2,
h3,
h4 {
	font-family: var(--font-secondary);
	font-weight: 700;
	color: var(--text-light);
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
}

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

.section-header__subtitle {
	font-size: 18px;
	color: var(--accent-blue);
	max-width: 600px;
	margin: 0 auto;
}

.button {
	/* ... (стили кнопки без изменений) ... */
}

/* ... (стили лого и хедера без изменений) ... */

/* HERO SECTION */
.hero {
	min-height: 100vh;
	padding-top: var(--header-height);
	display: flex;
	align-items: center;
}

/* ... (остальные стили hero без изменений) ... */

/* COURSES SECTION */
.courses {
	padding: 100px 0;
	background-color: #08111a;
}

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

.courses__card {
	background-color: var(--bg-dark);
	padding: 40px 30px;
	border-radius: 10px;
	border: 1px solid var(--accent-blue);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.courses__card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(0, 168, 150, 0.1);
}

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

.courses__card-icon i {
	color: var(--accent-teal);
	width: 32px;
	height: 32px;
}

.courses__card-title {
	font-size: 22px;
	margin-bottom: 15px;
}

.courses__card-text {
	font-size: 16px;
	color: var(--accent-blue);
	line-height: 1.7;
}

/* BURGER MENU */
/* ... (стили бургера без изменений) ... */

/* FOOTER */
/* ... (стили футера без изменений) ... */

/* ADAPTIVE STYLES */
@media (max-width: 992px) {
	.courses__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.section-header__title {
		font-size: 32px;
	}

	.courses {
		padding: 80px 0;
	}
}

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

/* ... (предыдущие стили без изменений) ... */

/* COURSES SECTION */
.courses {
	padding: 100px 0;
	background-color: #08111a;
}

/* ... (остальные стили courses без изменений) ... */

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

.process__timeline {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.process__timeline::before {
	content: '';
	position: absolute;
	top: 25px;
	bottom: 25px;
	left: 50%;
	width: 2px;
	background-color: var(--accent-blue);
	transform: translateX(-50%);
}

.process__item {
	position: relative;
	width: 50%;
	padding: 10px 40px;
	display: flex;
	align-items: center;
	gap: 30px;
}

.process__item:nth-child(odd) {
	align-self: flex-start;
	padding-right: 80px;
	justify-content: flex-end;
}

.process__item:nth-child(even) {
	align-self: flex-end;
	padding-left: 80px;
}

.process__item-number {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	font-family: var(--font-secondary);
	font-size: 20px;
	font-weight: 700;
	color: var(--accent-teal);
	background-color: var(--bg-dark);
	border: 2px solid var(--accent-blue);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	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-content {
	background-color: #08111a;
	padding: 20px;
	border-radius: 8px;
	width: 100%;
}

.process__item-title {
	font-size: 20px;
	margin-bottom: 10px;
}

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

/* BURGER MENU */
/* ... (стили бургера без изменений) ... */

/* FOOTER */
/* ... (стили футера без изменений) ... */

/* ADAPTIVE STYLES */

@media (max-width: 768px) {
	.process__timeline::before {
		left: 25px;
	}

	.process__item {
		width: 100%;
		padding-left: 70px;
		padding-right: 0;
	}

	.process__item:nth-child(odd),
	.process__item:nth-child(even) {
		align-self: flex-start;
		padding-left: 80px;
		padding-right: 0;
		justify-content: flex-start;
	}

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

/* ... (остальные адаптивные стили) ... */

/* ... (предыдущие стили без изменений) ... */

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

/* ... (остальные стили process без изменений) ... */

/* FORMATS SECTION */
.formats {
	padding: 100px 0;
	background-color: #08111a;
}

.formats__wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	max-width: 900px;
	margin: 0 auto;
}

.formats__card {
	background-color: var(--bg-dark);
	padding: 40px;
	border-radius: 10px;
	border: 1px solid var(--accent-blue);
	display: flex;
	flex-direction: column;
}

.formats__card--featured {
	border-color: var(--accent-teal);
}

.formats__card-icon {
	width: 50px;
	height: 50px;
	margin-bottom: 20px;
}

.formats__card-icon i {
	width: 100%;
	height: 100%;
	color: var(--accent-blue);
}

.formats__card--featured .formats__card-icon i {
	color: var(--accent-teal);
}

.formats__card-title {
	font-size: 24px;
	margin-bottom: 15px;
}

.formats__card-text {
	color: var(--accent-blue);
	margin-bottom: 30px;
	flex-grow: 1; /* Pushes features list to the bottom */
}

.formats__card-features {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.formats__card-feature-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

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

/* BURGER MENU */
/* ... (стили бургера без изменений) ... */

/* FOOTER */
/* ... (стили футера без изменений) ... */

/* ADAPTIVE STYLES */

@media (max-width: 768px) {
	.formats {
		padding: 80px 0;
	}

	.formats__wrapper {
		grid-template-columns: 1fr;
	}
}

/* ... (остальные адаптивные стили) ... */

/* ... (предыдущие стили без изменений) ... */

/* FORMATS SECTION */
.formats {
	padding: 100px 0;
	background-color: #08111a;
}
/* ... (остальные стили formats без изменений) ... */

/* FAQ SECTION */
.faq {
	padding: 100px 0;
}

.faq__accordion {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.faq__item {
	background-color: #08111a;
	border: 1px solid var(--accent-blue);
	border-radius: 8px;
	overflow: hidden;
}

.faq__item-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	cursor: pointer;
}

.faq__item-question {
	font-size: 18px;
	font-weight: 500;
	font-family: var(--font-primary);
}

.faq__item-icon {
	transition: transform 0.4s ease;
	color: var(--accent-teal);
	flex-shrink: 0; /* Prevents icon from shrinking */
}

.faq__item-answer-wrapper {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
}

.faq__item-answer {
	padding: 0 20px 20px;
	color: var(--accent-blue);
	line-height: 1.7;
}

.faq__item--active .faq__item-icon {
	transform: rotate(180deg);
}

/* BURGER MENU */
/* ... (стили бургера без изменений) ... */

/* ... (предыдущие стили без изменений) ... */

/* FAQ SECTION */
.faq {
	padding: 100px 0;
}
/* ... (остальные стили faq без изменений) ... */

/* CONTACT SECTION */
.contact {
	padding: 100px 0;
	background-color: #08111a;
}

.contact__wrapper {
	max-width: 600px;
	margin: 0 auto;
}

.contact__form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form__group {
	display: flex;
	flex-direction: column;
}

.form__label {
	margin-bottom: 8px;
	font-size: 14px;
	color: var(--accent-blue);
}

.form__input {
	width: 100%;
	padding: 12px 15px;
	background-color: var(--bg-dark);
	border: 1px solid var(--accent-blue);
	border-radius: 5px;
	color: var(--text-light);
	font-size: 16px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form__input:focus {
	outline: none;
	border-color: var(--accent-teal);
	box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.2);
}

.form__group--checkbox {
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
}

.form__checkbox {
	margin-top: 4px;
	flex-shrink: 0;
}

.form__checkbox-label {
	font-size: 14px;
	color: var(--accent-blue);
}

.form__checkbox-label a {
	color: var(--text-light);
	text-decoration: underline;
	transition: color 0.3s ease;
}

.form__checkbox-label a:hover {
	color: var(--accent-teal);
}

.form__button {
	width: 100%;
	margin-top: 10px;
}

/* SUCCESS MESSAGE */
.success-message {
	display: none; /* Hidden by default */
	text-align: center;
	padding: 40px;
	border: 1px solid var(--accent-teal);
	border-radius: 8px;
}

.success-message--visible {
	display: block; /* Shown with JS */
}

.success-message__icon {
	margin: 0 auto 20px;
	width: 60px;
	height: 60px;
}

.success-message__icon i {
	width: 100%;
	height: 100%;
	color: var(--accent-teal);
}

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

.success-message__text {
	color: var(--accent-blue);
}

/* SUCCESS MESSAGE */
.success-message {
}

/* COOKIE POP-UP */
.cookie-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #08111a;
	padding: 20px 0;
	border-top: 1px solid var(--accent-blue);
	z-index: 200;
	transform: translateY(0);
	transition: transform 0.5s ease-in-out;
}

.cookie-popup--hidden {
	transform: translateY(100%);
}

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

.cookie-popup__text {
	color: var(--accent-blue);
}

.cookie-popup__link {
	color: var(--text-light);
	text-decoration: underline;
}

.cookie-popup__button {
	padding: 8px 25px;
	flex-shrink: 0;
}

/* STYLES FOR LEGAL PAGES */
.pages {
	padding: calc(var(--header-height) + 60px) 0 60px;
}

.pages h1 {
	font-size: 1.5rem;
	margin-bottom: 30px;
}

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

.pages p {
	color: var(--accent-blue);
	line-height: 1.8;
	margin-bottom: 20px;
}

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

.pages li {
	color: var(--accent-blue);
	margin-bottom: 10px;
}

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

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

/* ADAPTIVE STYLES */

@media (max-width: 768px) {
	/* ... */
	.cookie-popup__container {
		flex-direction: column;
		text-align: center;
	}
}
/* ... */
