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

/* CSS VARIABLES */
:root {
	--bg-color: #0d1b2a;
	--bg-light-color: #1b263b;
	--primary-color: #415a77;
	--accent-color: #36e2c6;
	--text-color: #e0e1dd;
	--heading-color: #ffffff;

	--font-heading: 'Poppins', sans-serif;
	--font-body: 'Manrope', sans-serif;

	--header-height: 80px;
}

/* BASE & RESET */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	color: var(--heading-color);
	font-weight: 600;
}

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

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

ul {
	list-style: none;
}

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

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

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: 700;
	color: var(--heading-color);
}
.logo:hover {
	color: var(--heading-color);
}
.logo svg {
	transition: transform 0.3s ease;
}
.logo:hover svg {
	transform: rotate(15deg);
}

/* HEADER */
.header {
	background-color: rgba(13, 27, 42, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--primary-color);
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-height);
}

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

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

.header__nav-link {
	font-weight: 600;
	padding: 5px 0;
	position: relative;
}

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

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

.header__nav-link--cta {
	background-color: var(--accent-color);
	color: var(--bg-color);
	padding: 8px 20px;
	border-radius: 50px;
	font-weight: 700;
	transition: background-color 0.3s, color 0.3s;
}

.header__nav-link--cta:hover {
	background-color: var(--heading-color);
	color: var(--bg-color);
}
.header__nav-link--cta::after {
	display: none;
}

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

/* FOOTER */
.footer {
	background-color: var(--bg-light-color);
	padding: 60px 0 0;
	border-top: 1px solid var(--primary-color);
}

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

.footer__column--about {
	padding-right: 20px;
}

.footer__description {
	margin-top: 20px;
	color: var(--primary-color);
}

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

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

.footer__link {
	color: var(--primary-color);
}

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

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

.footer__list--contact li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--primary-color);
}

.footer__text {
	line-height: 1.4;
}

.footer__bottom {
	border-top: 1px solid var(--primary-color);
	padding: 20px 0;
	text-align: center;
	color: var(--primary-color);
	font-size: 14px;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
	.header__nav {
		position: fixed;
		top: var(--header-height);
		left: -100%;
		width: 100%;
		height: calc(100vh - var(--header-height));
		background-color: var(--bg-color);
		transition: left 0.3s ease-in-out;
	}

	.header__nav.is-active {
		left: 0;
	}

	.header__nav-list {
		flex-direction: column;
		padding-top: 50px;
		gap: 40px;
		align-items: center;
	}

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

	.header__burger {
		display: block;
		z-index: 101; /* To be above the nav */
	}
}

/* REUSABLE COMPONENTS (Add button style) */
.button {
	display: inline-block;
	padding: 12px 30px;
	border-radius: 50px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 16px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

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

.button--primary:hover {
	background-color: transparent;
	border-color: var(--accent-color);
	color: var(--accent-color);
	transform: translateY(-3px);
}

/* HERO SECTION */
.hero {
	position: relative;
	height: 100vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	text-align: center;
}

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

#hero-canvas {
	display: block;
	width: 100%;
	height: 100%;
}

.hero__container {
	position: relative;
	z-index: 2;
}

.hero__content {
	max-width: 800px;
	margin: 0 auto;
}

.hero__title {
	font-size: 4.5rem;
	line-height: 1.1;
	margin-bottom: 20px;
	font-weight: 700;
	text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
	font-size: 1.25rem;
	max-width: 650px;
	margin: 0 auto 40px;
	color: var(--primary-color);
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* RESPONSIVENESS FOR HERO */
@media (max-width: 992px) {
	.hero__title {
		font-size: 3.5rem;
	}
}

@media (max-width: 768px) {
	.hero__title {
		font-size: 2.8rem;
	}
	.hero__subtitle {
		font-size: 1.1rem;
	}
}

/* REUSABLE COMPONENTS (Add section styles) */
.section {
	padding: 100px 0;
}

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

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

.section-header__subtitle {
	font-size: 1.1rem;
	color: var(--primary-color);
}

/* COURSES SECTION */
.courses {
	background-color: var(--bg-light-color);
}

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

.courses__card {
	background-color: var(--bg-color);
	padding: 40px 30px;
	border-radius: 12px;
	border: 1px solid var(--primary-color);
	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, 0, 0, 0.2);
	border-color: var(--accent-color);
}

.courses__card-icon {
	margin-bottom: 20px;
}

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

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

.courses__card-description {
	font-size: 1rem;
	color: var(--primary-color);
}

/* ABOUT US SECTION */
.about {
	background-color: var(--bg-color); /* Or var(--bg-light-color) for contrast */
}

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

.about__image-container {
	width: 100%;
	height: 100%;
	min-height: 400px;
	border-radius: 12px;
	overflow: hidden;
}

.about__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.about__text {
	margin-bottom: 30px;
	color: var(--primary-color);
}

.about__features {
	list-style: none;
	padding: 0;
	margin-bottom: 40px;
}

.about__feature-item {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 20px;
	font-size: 1.05rem;
}

.about__feature-item i {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: var(--accent-color);
	margin-top: 3px;
}

/* RESPONSIVENESS FOR ABOUT SECTION */
@media (max-width: 992px) {
	.about__grid {
		grid-template-columns: 1fr;
	}
}

/* MENTORS SECTION */
.mentors {
	background-color: var(--bg-light-color);
}

.mentors__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 30px;
}

.mentors__card {
	background-color: var(--bg-color);
	border-radius: 12px;
	overflow: hidden;
	text-align: center;
	border: 1px solid var(--primary-color);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mentors__card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	border-color: var(--accent-color);
}

.mentors__card-image-container {
	width: 100%;
	aspect-ratio: 2 / 1; /* Makes the container a perfect square */
}

.mentors__card-image-container img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.mentors__card-content {
	padding: 25px;
}

.mentors__card-name {
	font-size: 1.4rem;
	margin-bottom: 5px;
	color: var(--heading-color);
}

.mentors__card-specialty {
	color: var(--accent-color);
	font-weight: bold;
	margin-bottom: 20px;
}

.mentors__card-socials {
	display: flex;
	justify-content: center;
	gap: 20px;
}

.mentors__card-socials a {
	color: var(--primary-color);
}

.mentors__card-socials a:hover {
	color: var(--accent-color);
	transform: scale(1.2);
}

/* REVIEWS SECTION */
.reviews {
	background-color: var(--bg-color);
}

.reviews__slider {
	padding-bottom: 50px; /* Space for pagination */
}

.reviews__card {
	background-color: var(--bg-light-color);
	padding: 40px;
	border-radius: 12px;
	border: 1px solid var(--primary-color);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	height: 100%;
}

.reviews__card-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 20px;
	border: 3px solid var(--accent-color);
}

.reviews__card-text {
	font-size: 1.1rem;
	font-style: italic;
	margin-bottom: 25px;
	flex-grow: 1; /* Pushes author and rating to the bottom */
}

.reviews__card-author {
	margin-bottom: 15px;
}

.reviews__card-name {
	font-size: 1.2rem;
	color: var(--heading-color);
}

.reviews__card-role {
	color: var(--primary-color);
	font-size: 0.9rem;
}

.reviews__card-rating {
	display: flex;
	gap: 5px;
	color: #ffd700; /* Gold color for stars */
}

.reviews__card-rating i {
	fill: #ffd700;
}

/* Swiper Pagination Styles */
.swiper-pagination-bullet {
	background-color: var(--primary-color);
	opacity: 0.7;
}

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

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

.contact__container {
	max-width: 700px;
	margin: 0 auto;
	background-color: var(--bg-color);
	padding: 40px;
	border-radius: 12px;
	border: 1px solid var(--primary-color);
}

.contact__form-group {
	position: relative;
	margin-bottom: 30px;
}

.contact__form-group input[type='text'],
.contact__form-group input[type='email'],
.contact__form-group input[type='tel'] {
	width: 100%;
	padding: 15px;
	background-color: transparent;
	border: 1px solid var(--primary-color);
	border-radius: 8px;
	color: var(--text-color);
	font-size: 1rem;
	transition: border-color 0.3s;
}

.contact__form-group input[type='text']:focus,
.contact__form-group input[type='email']:focus,
.contact__form-group input[type='tel']:focus {
	outline: none;
	border-color: var(--accent-color);
}

/* Floating Label */
.contact__form-label {
	position: absolute;
	top: 15px;
	left: 15px;
	color: var(--primary-color);
	pointer-events: none;
	transition: all 0.3s ease;
}

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

/* Checkbox */
.contact__form-group--checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 30px;
}

.contact__form-group--checkbox input[type='checkbox'] {
	margin-top: 5px;
	accent-color: var(--accent-color);
}

.contact__form-group--checkbox label {
	font-size: 0.9rem;
	color: var(--primary-color);
}

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

.contact__form-button {
	width: 100%;
	font-size: 1.2rem;
	padding: 15px;
}

/* Success Message */
.success-message {
	text-align: center;
	padding: 40px;
}

.success-message__icon {
	color: var(--accent-color);
	margin-bottom: 20px;
}

.success-message__icon i {
	width: 60px;
	height: 60px;
}

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

.success-message__text {
	font-size: 1.1rem;
	color: var(--primary-color);
}

/* COOKIE POP-UP */
.cookie-popup {
	position: fixed;
	bottom: -100%; /* Initially hidden */
	left: 0;
	width: 100%;
	background-color: var(--bg-light-color);
	padding: 20px;
	border-top: 1px solid var(--primary-color);
	z-index: 200;
	transition: bottom 0.5s ease-in-out;
}

.cookie-popup.is-visible {
	bottom: 0;
}

.cookie-popup__content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	gap: 20px;
}

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

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

.cookie-popup__button {
	padding: 8px 25px;
	flex-shrink: 0; /* Prevents the button from shrinking */
}

/* RESPONSIVENESS FOR COOKIE POP-UP */
@media (max-width: 768px) {
	.cookie-popup__content {
		flex-direction: column;
		text-align: center;
	}
}

/* LEGAL & TEXT PAGES (privacy.html, terms.html, etc.) */
.pages {
	padding: 80px 0;
	background-color: var(--bg-light-color);
}

.pages .container {
	max-width: 800px; /* Narrower container for better readability */
}

.pages h1 {
	font-size: 1.5rem;
	margin-bottom: 30px;
	border-bottom: 2px solid var(--accent-color);
	padding-bottom: 15px;
}

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

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

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

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

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

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

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