/* G L O B A L S */
:root {
	--primary-color: #4a90e2;
	--secondary-color: #f5a623;
	--dark-bg: #121224;
	--light-bg: #1a1a3a;
	--text-light: #eaeaea;
	--text-medium: #a9a9a9;
	--font-family-headings: 'Poppins', sans-serif;
	--font-family-body: 'Inter', sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

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

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

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

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

ul {
	list-style: none;
}

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

/* H E A D E R */
.header {
	background-color: rgba(18, 18, 36, 0.8);
	padding: 20px 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text-light);
	font-family: var(--font-family-headings);
	font-weight: 700;
	font-size: 1.5rem;
}

.logo__icon {
	transition: transform 0.3s ease;
}

.logo:hover .logo__icon {
	transform: rotate(360deg);
}

.header__nav {
	display: flex;
}

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

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

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

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

.header__nav-link--cta {
	background-color: var(--primary-color);
	color: white;
	padding: 8px 20px;
	border-radius: 20px;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.header__nav-link--cta:hover {
	background-color: var(--secondary-color);
	color: var(--dark-bg);
	transform: translateY(-2px);
}

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

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

/* F O O T E R */
.footer {
	background-color: var(--light-bg);
	padding: 60px 0 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer__tagline {
	color: var(--text-medium);
	margin-top: 15px;
	font-size: 0.9rem;
}

.footer__title {
	font-family: var(--font-family-headings);
	color: var(--text-light);
	font-size: 1.1rem;
	margin-bottom: 20px;
}

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

.footer__link,
.footer__address {
	color: var(--text-medium);
	font-size: 0.9rem;
}

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

.footer__bottom {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--text-medium);
	font-size: 0.8rem;
}

/* M O B I L E */
@media (max-width: 768px) {
	.header__nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: var(--light-bg);
		padding: 20px;
	}

	.header__nav.is-active {
		display: block;
	}

	.header__nav-list {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.header__nav-link--cta {
		width: 100%;
		text-align: center;
	}

	.header__burger-button {
		display: block;
	}

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

	.footer__column--brand,
	.footer__column--contact {
		grid-column: 1 / -1;
	}
}

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

/* P A G E S (for privacy.html, etc.) */
.pages {
	padding: 120px 0 60px;
}

.pages h1,
.pages h2 {
	font-family: var(--font-family-headings);
	margin-bottom: 20px;
	color: var(--primary-color);
}

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

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

.pages p {
	margin-bottom: 20px;
	color: var(--text-medium);
}

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

.pages ul li {
	margin-bottom: 10px;
	color: var(--text-medium);
}

.pages a {
	text-decoration: underline;
}

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

/* B U T T O N */
.button {
	display: inline-block;
	padding: 12px 30px;
	font-family: var(--font-family-headings);
	font-weight: 600;
	font-size: 1rem;
	color: #fff;
	background: linear-gradient(
		45deg,
		var(--primary-color),
		var(--secondary-color)
	);
	border: none;
	border-radius: 50px;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-align: center;
}

.button:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	color: #fff;
}

/* H E R O */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100vh;
	padding-top: 100px; /* Header height */
	overflow: hidden;
}

.hero__canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero__container {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	gap: 40px;
}

.hero__content {
	text-align: center;
}

.hero__title {
	font-family: var(--font-family-headings);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 20px;
	background: linear-gradient(45deg, var(--text-light), var(--text-medium));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero__subtitle {
	font-size: 1.1rem;
	color: var(--text-medium);
	max-width: 600px;
	margin: 0 auto 30px;
}

.hero__visual {
	display: none; /* Hidden on mobile by default */
}

.hero__image {
	max-width: 500px;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
	.hero__container {
		grid-template-columns: 1fr 1fr;
		gap: 60px;
	}

	.hero__content {
		text-align: left;
	}

	.hero__title {
		font-size: 2.5rem;
	}

	.hero__subtitle {
		margin: 0 0 30px;
	}

	.hero__visual {
		display: block;
	}
}

/* A B O U T */
.about {
	padding: 80px 0;
	background-color: var(--dark-bg);
}

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

.about__tagline {
	display: inline-block;
	font-family: var(--font-family-headings);
	font-weight: 600;
	color: var(--secondary-color);
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.about__title {
	font-family: var(--font-family-headings);
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 20px;
	color: var(--text-light);
}

.about__description {
	color: var(--text-medium);
	margin-bottom: 30px;
	max-width: 500px;
}

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

.feature-card {
	background-color: var(--light-bg);
	padding: 30px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-5px);
	border-color: var(--primary-color);
}

.feature-card__icon {
	color: var(--primary-color);
	margin-bottom: 15px;
}

.feature-card__icon i {
	width: 32px;
	height: 32px;
}

.feature-card__title {
	font-family: var(--font-family-headings);
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 10px;
	color: var(--text-light);
}

.feature-card__text {
	font-size: 0.95rem;
	color: var(--text-medium);
	line-height: 1.6;
}

@media (min-width: 768px) {
	.about__features {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 992px) {
	.about {
		padding: 120px 0;
	}

	.about__container {
		grid-template-columns: 1fr 1fr;
		gap: 80px;
	}

	.about__title {
		font-size: 3rem;
	}

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

/* H O W   I T   W O R K S */
.how-it-works {
	padding: 80px 0;
	background-color: var(
		--light-bg
	); /* Use the lighter dark shade for contrast */
}

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

.how-it-works__tagline {
	display: inline-block;
	font-family: var(--font-family-headings);
	font-weight: 600;
	color: var(--secondary-color);
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.how-it-works__title {
	font-family: var(--font-family-headings);
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 20px;
	color: var(--text-light);
}

.how-it-works__subtitle {
	color: var(--text-medium);
	font-size: 1.1rem;
}

.how-it-works__steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	position: relative;
}

.step-card {
	background-color: var(--dark-bg);
	border-radius: 12px;
	padding: 30px;
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-card__number {
	position: absolute;
	top: 0;
	right: 20px;
	font-size: 4rem;
	font-weight: 700;
	font-family: var(--font-family-headings);
	color: rgba(255, 255, 255, 0.05);
	line-height: 1;
}

.step-card__content {
	position: relative;
	z-index: 2;
}

.step-card__icon {
	color: var(--primary-color);
	margin-bottom: 20px;
	display: block;
}

.step-card__icon i {
	width: 40px;
	height: 40px;
}

.step-card__title {
	font-family: var(--font-family-headings);
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: var(--text-light);
}

.step-card__text {
	color: var(--text-medium);
	line-height: 1.7;
}

@media (min-width: 768px) {
	.how-it-works {
		padding: 120px 0;
	}

	.how-it-works__title {
		font-size: 3rem;
	}

	.how-it-works__steps {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* F E A T U R E S */
.features {
	padding: 80px 0;
	background-color: var(--dark-bg);
}

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

.features__tagline {
	display: inline-block;
	font-family: var(--font-family-headings);
	font-weight: 600;
	color: var(--secondary-color);
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.features__title {
	font-family: var(--font-family-headings);
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 20px;
	color: var(--text-light);
}

.features__description {
	color: var(--text-medium);
	margin-bottom: 40px;
	max-width: 500px;
}

.features__list {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.features__list-item {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	color: var(--text-medium);
}

.features__list-icon {
	flex-shrink: 0;
	color: var(--primary-color);
	margin-top: 3px;
}

.features__list-item strong {
	color: var(--text-light);
	font-weight: 600;
}

.features__visual {
	position: relative;
}

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

@media (min-width: 992px) {
	.features {
		padding: 120px 0;
	}

	.features__container {
		grid-template-columns: 1fr 1fr;
		gap: 80px;
	}

	.features__title {
		font-size: 3rem;
	}
}

/* C O U R S E S */
.courses {
	padding: 80px 0;
	background-color: var(--light-bg);
}

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

.courses__tagline {
	display: inline-block;
	font-family: var(--font-family-headings);
	font-weight: 600;
	color: var(--secondary-color);
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.courses__title {
	font-family: var(--font-family-headings);
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 20px;
	color: var(--text-light);
}

.courses__subtitle {
	color: var(--text-medium);
	font-size: 1.1rem;
}

.courses__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

.course-card {
	background-color: var(--dark-bg);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.course-card__image-wrapper {
	height: 200px;
}

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

.course-card__content {
	padding: 25px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.course-card__tag {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--secondary-color);
	margin-bottom: 10px;
}

.course-card__title {
	font-family: var(--font-family-headings);
	font-size: 1.3rem;
	color: var(--text-light);
	margin-bottom: 15px;
}

.course-card__description {
	color: var(--text-medium);
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 20px;
	flex-grow: 1;
}

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

.course-card__cta:hover {
	color: var(--secondary-color);
}

.course-card__cta i {
	width: 18px;
	height: 18px;
	transition: transform 0.3s ease;
}

.course-card__cta:hover i {
	transform: translateX(5px);
}

@media (min-width: 768px) {
	.courses {
		padding: 120px 0;
	}

	.courses__title {
		font-size: 3rem;
	}

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

@media (min-width: 992px) {
	.courses__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* C O N T A C T */
.contact {
	padding: 80px 0;
	background-color: var(--dark-bg);
}

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

.contact__tagline {
	display: inline-block;
	font-family: var(--font-family-headings);
	font-weight: 600;
	color: var(--secondary-color);
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.contact__title {
	font-family: var(--font-family-headings);
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 20px;
	color: var(--text-light);
}

.contact__description {
	color: var(--text-medium);
	max-width: 500px;
}

.contact__form-wrapper {
	position: relative;
	background-color: var(--light-bg);
	padding: 40px;
	border-radius: 12px;
}

.form-group {
	position: relative;
	margin-bottom: 25px;
}

.form-input {
	width: 100%;
	padding: 12px 15px;
	background-color: var(--dark-bg);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	color: var(--text-light);
	font-size: 1rem;
	transition: border-color 0.3s ease;
}

.form-input:focus {
	outline: none;
	border-color: var(--primary-color);
}

.form-label {
	position: absolute;
	top: 14px;
	left: 15px;
	color: var(--text-medium);
	pointer-events: none;
	transition: all 0.3s ease;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
	top: -10px;
	left: 10px;
	font-size: 0.8rem;
	color: var(--primary-color);
	background-color: var(--light-bg);
	padding: 0 5px;
}

.form-group--checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 30px;
}

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

.form-checkbox-label {
	font-size: 0.9rem;
	color: var(--text-medium);
}

.form-checkbox-label a {
	text-decoration: underline;
}

.button--full {
	width: 100%;
}

.success-message {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--light-bg);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease, visibility 0.5s ease;
	border-radius: 12px;
}

.success-message.is-shown {
	opacity: 1;
	visibility: visible;
}

.success-message i {
	width: 50px;
	height: 50px;
	color: var(--secondary-color);
	margin-bottom: 20px;
}

@media (min-width: 992px) {
	.contact {
		padding: 120px 0;
	}

	.contact__container {
		grid-template-columns: 1fr 1fr;
		gap: 80px;
	}

	.contact__title {
		font-size: 3rem;
	}
}

/* C O O K I E   P O P - U P */
.cookie-popup {
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	max-width: 500px;
	background-color: var(--light-bg);
	padding: 20px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	z-index: 2000;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
	transform: translateY(200%);
	transition: transform 0.5s ease-in-out;
}

.cookie-popup.is-shown {
	transform: translateY(0);
}

.cookie-popup__text {
	color: var(--text-medium);
	font-size: 0.9rem;
	line-height: 1.5;
}

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

.cookie-popup__button {
	background-color: var(--primary-color);
	color: white;
	border: none;
	padding: 8px 20px;
	border-radius: 20px;
	cursor: pointer;
	font-size: 0.9rem;
	transition: background-color 0.3s ease;
}

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

@media (min-width: 480px) {
	.cookie-popup {
		flex-direction: row;
		align-items: center;
	}
}
