/* GLOBAL STYLES */
:root {
	--primary-color: #0a2540;
	--accent-color: #00d1c7;
	--bg-color: #f6f9fc;
	--text-color: #425466;
	--heading-color: #0a2540;
	--white-color: #ffffff;

	--font-primary: 'Inter', sans-serif;
	--font-secondary: 'Poppins', sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

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

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

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

a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s ease;
}

ul {
	list-style: none;
}

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

.btn {
	display: inline-block;
	padding: 12px 28px;
	font-family: var(--font-secondary);
	font-weight: 600;
	font-size: 16px;
	background-color: var(--accent-color);
	color: var(--primary-color);
	border-radius: 8px;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 15px rgba(0, 209, 199, 0.4);
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-secondary);
	font-size: 24px;
	font-weight: 700;
	color: var(--heading-color);
}

.logo img {
	width: 32px;
	height: 32px;
}

/* HEADER */
.header {
	background-color: var(--white-color);
	padding: 20px 0;
	border-bottom: 1px solid #e6e6e6;
	position: sticky;
	top: 0;
	z-index: 100;
}

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

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

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

.header__nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--accent-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;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--primary-color);
	font-size: 24px;
	padding: 8px;
}

/* MOBILE MENU */
.mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
	opacity: 1;
	visibility: visible;
}

.mobile-menu__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
}

.mobile-menu__content {
	position: absolute;
	top: 0;
	right: 0;
	width: 320px;
	height: 100%;
	background-color: var(--white-color);
	box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
	transform: translateX(100%);
	transition: transform 0.3s ease;
	display: flex;
	flex-direction: column;
}

.mobile-menu.active .mobile-menu__content {
	transform: translateX(0);
}

.mobile-menu__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid #e6e6e6;
}

.mobile-menu__logo {
	font-size: 20px;
}

.mobile-menu__close {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--primary-color);
	font-size: 24px;
	padding: 8px;
}

.mobile-menu__nav {
	flex: 1;
	padding: 20px 0;
}

.mobile-menu__nav-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.mobile-menu__nav-item {
	border-bottom: 1px solid #f0f0f0;
}

.mobile-menu__nav-link {
	display: block;
	padding: 16px 20px;
	font-size: 16px;
	font-weight: 500;
	color: var(--text-color);
	transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-menu__nav-link:hover {
	background-color: #f8f9fa;
	color: var(--primary-color);
}

.mobile-menu__contact-btn {
	margin: 20px;
	text-align: center;
	background-color: var(--accent-color);
	color: var(--primary-color);
	border-radius: 8px;
	font-weight: 600;
	padding: 14px 20px;
}

.mobile-menu__contact-btn:hover {
	background-color: #00b8b0;
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(0, 209, 199, 0.3);
}

/* FOOTER */
.footer {
	background-color: var(--primary-color);
	color: #aab7c4;
	padding-top: 60px;
}

.footer__container {
	display: grid;
	grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
	gap: 40px;
	padding-bottom: 60px;
}

.footer__column--brand .logo {
	color: var(--white-color);
	margin-bottom: 20px;
}

.footer__tagline {
	font-size: 14px;
	max-width: 280px;
}

.footer__title {
	font-size: 18px;
	color: var(--white-color);
	margin-bottom: 20px;
}

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

.footer__list--contact {
	gap: 16px;
}

.footer__list--contact li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.footer__list--contact .lucide {
	flex-shrink: 0;
	margin-top: 3px;
	color: var(--accent-color);
}

.footer__link {
	font-size: 14px;
}

.footer__link:hover {
	color: var(--white-color);
	text-decoration: underline;
}

.footer__bottom {
	background-color: #071e36;
	padding: 20px 0;
	text-align: center;
	font-size: 13px;
}

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

@media (max-width: 768px) {
	.header__nav {
		display: none; /* Will be handled by JS */
	}

	.header__burger {
		display: block;
	}

	.header__contact-btn {
		display: none; /* Hide contact button on mobile, it's in mobile menu */
	}

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

	.footer__column--brand,
	.footer__list--contact li {
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}

	.footer__tagline {
		margin: 0 auto;
	}

	.footer__list--contact li {
		flex-direction: row;
	}
}

@media (max-width: 480px) {
	.mobile-menu__content {
		width: 100%;
	}

	.container {
		padding: 0 10px;
	}
}

/* HERO SECTION */
.hero {
	padding: 80px 0;
	background-color: var(--white-color);
	overflow: hidden;
}

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

.hero__content {
	text-align: center;
}

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

.hero__title {
	font-size: 38px;
	margin-bottom: 24px;
	/* Styles for animation */
	opacity: 0;
	transform: translateY(20px);
}

.hero__description {
	font-size: 18px;
	max-width: 600px;
	margin: 0 auto 32px;
	color: var(--text-color);
	/* Styles for animation */
	opacity: 0;
	transform: translateY(20px);
}

.hero__actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	/* Styles for animation */
	opacity: 0;
	transform: translateY(20px);
}

.btn--secondary {
	background-color: #eaf0f6;
	color: var(--primary-color);
	box-shadow: none;
}

.btn--secondary:hover {
	background-color: #dde7f0;
	transform: translateY(-3px);
	box-shadow: 0 4px 15px rgba(10, 37, 64, 0.1);
}

.hero__image-wrapper {
	position: relative;
	max-width: 500px;
	margin: 0 auto;
}

.hero__image {
	width: 100%;
	border-radius: 16px;
	position: relative;
	z-index: 2;
}

.hero__bg-shapes {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.hero__shape {
	position: absolute;
	border-radius: 50%;
	background: linear-gradient(45deg, var(--accent-color), #80e8e2);
}

.hero__shape--1 {
	width: 150px;
	height: 150px;
	top: -50px;
	left: -50px;
	opacity: 0.2;
}

.hero__shape--2 {
	width: 80px;
	height: 80px;
	bottom: -20px;
	right: 20px;
	opacity: 0.3;
}

.hero__shape--3 {
	width: 50px;
	height: 50px;
	top: 40%;
	right: -25px;
	opacity: 0.2;
}

/* RESPONSIVE STYLES for HERO */
@media (min-width: 768px) {
	.hero__title {
		font-size: 48px;
	}
}

@media (min-width: 992px) {
	.hero {
		padding: 100px 0;
	}
	.hero__container {
		grid-template-columns: 1fr 1fr;
		gap: 60px;
	}
	.hero__content {
		text-align: left;
	}
	.hero__actions {
		justify-content: flex-start;
	}
	.hero__description {
		margin: 0 0 32px;
	}
}

/* SHARED SECTION HEADER */
.section-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 60px;
}

.section-header__eyebrow {
	display: inline-block;
	margin-bottom: 8px;
	font-family: var(--font-secondary);
	font-weight: 600;
	color: var(--accent-color);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 14px;
}

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

.section-header__description {
	font-size: 18px;
	color: var(--text-color);
}

/* COURSES SECTION */
.courses {
	padding: 80px 0;
	background-color: var(--bg-color);
}

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

.course-card {
	background-color: var(--white-color);
	border-radius: 12px;
	padding: 40px;
	border: 1px solid #eaf0f6;
	box-shadow: 0 4px 12px rgba(10, 37, 64, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.course-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 20px rgba(10, 37, 64, 0.1);
}

.course-card__icon {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #eaf0f6;
	border-radius: 50%;
	margin-bottom: 24px;
}

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

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

.course-card__description {
	margin-bottom: 24px;
	flex-grow: 1; /* Pushes the link to the bottom */
}

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

.course-card__link .lucide {
	width: 20px;
	height: 20px;
	transition: transform 0.3s ease;
}

.course-card:hover .course-card__link .lucide {
	transform: translateX(5px);
}

.courses__cta {
	text-align: center;
	margin-top: 60px;
}

.courses__cta p {
	font-size: 18px;
	margin-bottom: 16px;
	font-weight: 500;
	color: var(--heading-color);
}

/* RESPONSIVE STYLES for COURSES */
@media (min-width: 768px) {
	.courses__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

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

/* PROCESS SECTION */
.process {
	padding: 80px 0;
	background-color: var(--white-color);
}

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

.process-step {
	background-color: var(--white-color);
	border: 1px solid #eaf0f6;
	border-radius: 12px;
	padding: 30px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.process-step__number {
	position: absolute;
	top: 0;
	right: 20px;
	font-size: 80px;
	font-weight: 700;
	font-family: var(--font-secondary);
	color: var(--bg-color);
	z-index: 1;
	line-height: 1;
}

.process-step__icon,
.process-step__title,
.process-step__description {
	position: relative;
	z-index: 2;
}

.process-step__icon {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #eaf0f6;
	border-radius: 50%;
	margin: 0 auto 20px;
}

.process-step__icon .lucide {
	width: 32px;
	height: 32px;
	color: var(--accent-color);
}

.process-step__title {
	font-size: 20px;
	margin-bottom: 12px;
}

/* RESPONSIVE STYLES for PROCESS */
@media (min-width: 768px) {
	.process__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

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

	/* Decorative line connecting steps */
	.process-step:not(:last-child)::after {
		content: '';
		position: absolute;
		top: 60px; /* Aligns with the middle of the icon */
		right: -15px; /* Half of the gap */
		transform: translateY(-50%);
		width: 30px;
		border-top: 2px dashed #dde7f0;
		z-index: 0;
	}
}

/* BENEFITS SECTION */
.benefits {
	padding: 80px 0;
	background-color: var(--bg-color);
}

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

.benefits__image-wrapper {
	max-width: 500px;
	margin: 0 auto;
}

.benefits__image {
	width: 100%;
	border-radius: 12px;
}

.benefits__content .section-header {
	max-width: none; /* Override centered max-width */
}

.benefits__list {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.benefits-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.benefits-item__icon {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--white-color);
	border-radius: 50%;
	border: 1px solid #eaf0f6;
}

.benefits-item__icon .lucide {
	width: 24px;
	height: 24px;
	color: var(--accent-color);
}

.benefits-item__title {
	font-size: 18px;
	margin-bottom: 4px;
}

/* RESPONSIVE STYLES for BENEFITS */
@media (min-width: 992px) {
	.benefits__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 60px;
	}
}

/* REVIEWS SECTION */
.reviews {
	padding: 80px 0;
	background-color: var(--white-color);
}

.reviews__slider {
	padding-bottom: 60px; /* Space for pagination */
	margin-bottom: 40px;
}

.review-card {
	background: var(--bg-color);
	border-radius: 12px;
	padding: 30px;
	height: 100%; /* Important for swiper */
	display: flex;
	flex-direction: column;
}

.review-card__text {
	font-size: 16px;
	font-style: italic;
	flex-grow: 1;
	margin-bottom: 24px;
	color: var(--text-color);
}

.review-card__author {
	display: flex;
	align-items: center;
	gap: 16px;
}

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

.review-card__name {
	font-size: 16px;
	margin: 0;
}

.review-card__course {
	font-size: 14px;
	color: var(--text-color);
}

.reviews__cta {
	text-align: center;
}

/* Swiper custom styles */
.swiper-pagination-bullet {
	background: #dde7f0;
	opacity: 1;
}

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

/* CONTACT SECTION */
.contact {
	padding: 80px 0;
	background-color: var(--bg-color);
}

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

.contact__info .section-header__description {
	max-width: 450px;
}

/* FORM STYLES */
.contact-form {
	background: var(--white-color);
	padding: 40px;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(10, 37, 64, 0.05);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-label {
	font-weight: 500;
	margin-bottom: 8px;
	color: var(--heading-color);
}

.form-input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #dde7f0;
	border-radius: 8px;
	font-size: 16px;
	font-family: var(--font-primary);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 3px rgba(0, 209, 199, 0.2);
}

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

.form-checkbox {
	margin-top: 5px;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}

.form-checkbox-label {
	font-size: 14px;
	line-height: 1.5;
}

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

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

.form-success {
	display: none; /* Initially hidden */
	text-align: center;
	background: var(--white-color);
	padding: 40px;
	border-radius: 12px;
}

.form-success__icon {
	color: var(--accent-color);
	margin-bottom: 16px;
}

.form-success__icon .lucide {
	width: 60px;
	height: 60px;
}

.form-success__title {
	font-size: 24px;
	margin-bottom: 8px;
}

/* RESPONSIVE STYLES for CONTACT */
@media (min-width: 992px) {
	.contact__grid {
		grid-template-columns: 1fr 1fr;
		gap: 60px;
	}
}

/* COOKIE POP-UP */
.cookie-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: var(--primary-color);
	color: var(--white-color);
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	z-index: 200;
	transform: translateY(100%);
	transition: transform 0.5s ease-in-out;
}

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

.cookie-popup__text {
	font-size: 14px;
	text-align: center;
}

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

.cookie-popup__btn {
	background-color: var(--accent-color);
	color: var(--primary-color);
	border: none;
	padding: 8px 20px;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
	font-family: var(--font-secondary);
}

@media (min-width: 768px) {
	.cookie-popup {
		flex-direction: row;
		padding: 20px 40px;
	}
	.cookie-popup__text {
		text-align: left;
	}
}

/* POLICY PAGES STYLES */
.pages {
    padding: 60px 0;
}

.pages .container {
    max-width: 800px;
}

.pages h1 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #EAF0F6;
    padding-bottom: 20px;
}

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

.pages p, .pages ul {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
}

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

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

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

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