/* Goggle Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Space+Grotesk:wght@500;700&display=swap');

/* CSS Variables */
:root {
	--font-primary: 'Inter', sans-serif;
	--font-secondary: 'Space Grotesk', sans-serif;

	--color-bg: #111827;
	--color-text: #f9fafb;
	--color-accent: #4ade80;
	--color-gray: #374151;
	--color-white: #ffffff;

	--header-height: 80px;
}

/* Global Styles & Reset */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

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

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

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

ul {
	list-style: none;
}

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

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
	color: inherit;
}

/* Utility Classes */
.container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

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

.logo svg {
	transition: transform 0.3s ease;
}

.logo:hover svg {
	transform: rotate(180deg);
}

/* Header */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height);
	background-color: rgba(17, 24, 39, 0.8);
	backdrop-filter: blur(10px);
	z-index: 100;
	border-bottom: 1px solid var(--color-gray);
}

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

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

.header__nav-link {
	font-size: 16px;
	font-weight: 500;
	position: relative;
	padding: 8px 0;
}

.header__nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: var(--color-accent);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s ease-in-out;
}

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

.header__nav-link:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.header__nav-link--cta {
	background-color: var(--color-accent);
	color: var(--color-bg);
	padding: 10px 20px;
	border-radius: 6px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

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

.header__burger {
	display: none;
	z-index: 101;
}

/* Footer */
.footer {
	padding: 80px 0;
	background-color: #0c121f; /* Slightly darker than main bg */
	border-top: 1px solid var(--color-gray);
}

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

.footer__column--about {
	grid-column: 1 / 2;
}

.footer__copyright {
	margin-top: 20px;
	font-size: 14px;
	color: #9ca3af; /* Lighter gray */
}

.footer__title {
	font-size: 18px;
	margin-bottom: 20px;
	font-weight: 500;
}

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

.footer__link {
	font-size: 15px;
	color: #d1d5db; /* Lighter gray */
	position: relative;
	display: inline-block;
}

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

.footer__address {
	font-size: 15px;
	color: #d1d5db;
	font-style: normal;
	line-height: 1.5;
}

/* Mobile Styles (Mobile First) */
@media (max-width: 992px) {
	.header__nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 70%;
		max-width: 320px;
		height: 100vh;
		background-color: var(--color-bg);
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
		transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
		padding-top: 100px;
	}

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

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

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

	.header__burger {
		display: block;
		color: var(--color-white);
	}

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

	.footer__column--about {
		grid-column: 1 / -1; /* Span full width */
		margin-bottom: 20px;
	}
}

@media (max-width: 576px) {
	body {
		font-size: 15px;
	}
	.footer__container {
		grid-template-columns: 1fr;
	}
}

/* Appended to assets/css/style.css */

/* General Button Style */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	font-family: var(--font-secondary);
	font-size: 16px;
	font-weight: 500;
	border-radius: 8px;
	cursor: pointer;
	text-align: center;
	transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
	background-color: var(--color-accent);
	color: var(--color-bg);
}

.btn:hover {
	transform: translateY(-3px);
	background-color: var(--color-white);
}

.btn i {
	width: 20px;
	height: 20px;
	transition: transform 0.3s ease;
}

.btn:hover i {
	transform: translateX(4px);
}

/* Hero Section */
.hero {
	min-height: 100vh;
	padding-top: var(--header-height);
	display: flex;
	align-items: center;
	overflow: hidden; /* To hide visual elements overflowing during animation */
}

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

.hero__title {
	font-size: 52px;
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--color-white);
}

.hero__subtitle {
	font-size: 18px;
	color: #d1d5db;
	max-width: 500px;
	margin-bottom: 40px;
}

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

.hero__image-wrapper {
	width: 100%;
	max-width: 450px;
	aspect-ratio: 1 / 1;
	border-radius: 20px;
	background-color: var(--color-gray);
	padding: 20px;
	border: 1px solid #4b5563;
}

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

/* Responsive adjustments for Hero Section */
@media (max-width: 992px) {
	.hero {
		padding-top: 120px;
		padding-bottom: 60px;
		min-height: auto;
		text-align: center;
	}

	.hero__container {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.hero__content {
		order: 2; /* Text goes below the image on mobile */
	}

	.hero__visual {
		order: 1;
	}

	.hero__title {
		font-size: 40px;
	}

	.hero__subtitle {
		margin-left: auto;
		margin-right: auto;
	}

	.hero__image-wrapper {
		margin-left: auto;
		margin-right: auto;
		max-width: 350px;
	}
}

@media (max-width: 576px) {
	.hero__title {
		font-size: 32px;
	}
	.hero__subtitle {
		font-size: 16px;
	}
}

/* Appended to assets/css/style.css */

/* Section Header */
.section-header {
	text-align: center;
	margin-bottom: 50px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

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

.section-header__subtitle {
	font-size: 18px;
	color: #d1d5db;
}

/* Courses Section */
.courses {
	padding: 100px 0;
}

/* Tabs */
.courses__tabs {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-bottom: 50px;
}

.courses__tab-btn {
	padding: 12px 25px;
	font-size: 16px;
	font-weight: 500;
	border-radius: 8px;
	background-color: var(--color-gray);
	color: var(--color-text);
	transition: background-color 0.3s ease, color 0.3s ease;
	border: 1px solid transparent;
}

.courses__tab-btn:hover {
	background-color: #4b5563; /* Darker gray */
}

.courses__tab-btn.is-active {
	background-color: var(--color-accent);
	color: var(--color-bg);
	border-color: var(--color-accent);
}

/* Tab Content */
.courses__panel {
	display: none;
	animation: fadeIn 0.5s ease-in-out;
}

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

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

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

/* Course Card */
.course-card {
	background-color: var(--color-gray);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #4b5563;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.course-card__body {
	padding: 25px;
}

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

.course-card__description {
	font-size: 15px;
	color: #d1d5db;
	margin-bottom: 20px;
	min-height: 70px; /* Reserve space for description */
}

.course-card__meta {
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 14px;
	color: #9ca3af;
	border-top: 1px solid #4b5563;
	padding-top: 15px;
}

.course-card__meta span {
	display: flex;
	align-items: center;
	gap: 8px;
}

.course-card__meta i {
	width: 16px;
	height: 16px;
	color: var(--color-accent);
}

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

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

@media (max-width: 576px) {
	.courses__tabs {
		flex-wrap: wrap; /* Allow tabs to wrap on small screens */
	}
	.courses__grid {
		grid-template-columns: 1fr;
	}
	.course-card__description {
		min-height: auto; /* Remove fixed height on mobile */
	}
}

/* Appended to assets/css/style.css */

/* Process Section */
.process {
	padding: 100px 0;
	background-color: #0c121f; /* Slightly darker than main bg to separate sections */
}

.process__timeline {
	position: relative;
	max-width: 800px;
	margin: 50px auto 0;
	padding: 0 20px;
}

/* The vertical line */
.process__timeline::before {
	content: '';
	position: absolute;
	top: 0;
	left: 40px;
	width: 2px;
	height: 100%;
	background-color: var(--color-gray);
	transform: translateX(-50%);
}

.process__item {
	position: relative;
	padding-left: 100px; /* Space for icon and line */
	padding-bottom: 50px;
}

.process__item:last-child {
	padding-bottom: 0;
}

.process__step {
	position: absolute;
	top: -5px;
	left: 100px;
	font-family: var(--font-secondary);
	font-size: 64px;
	font-weight: 700;
	color: rgba(55, 65, 81, 0.5); /* --color-gray with opacity */
	z-index: 1;
}

.process__icon {
	position: absolute;
	top: 0;
	left: 20px;
	transform: translateX(-50%);
	width: 50px;
	height: 50px;
	background-color: var(--color-bg);
	border: 2px solid var(--color-accent);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

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

.process__content {
	position: relative;
	z-index: 3;
	padding-top: 5px;
}

.process__title {
	font-size: 24px;
	margin-bottom: 10px;
	font-weight: 500;
}

.process__description {
	color: #d1d5db;
	font-size: 16px;
}

/* Responsive for Process Section */
@media (max-width: 576px) {
	.process__timeline {
		padding: 0;
	}

	.process__timeline::before {
		left: 25px;
	}

	.process__item {
		padding-left: 65px;
	}

	.process__icon {
		left: 25px;
		width: 40px;
		height: 40px;
	}

	.process__icon i {
		width: 20px;
		height: 20px;
	}

	.process__step {
		font-size: 50px;
		left: 65px;
	}

	.process__title {
		font-size: 20px;
	}
}

/* Appended to assets/css/style.css */

/* Mentors Section */
.mentors {
	padding: 100px 0;
}

.mentors__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-top: 50px;
}

/* Mentor Card */
.mentor-card {
	background-color: var(--color-gray);
	border-radius: 12px;
	text-align: center;
	padding: 30px;
	border: 1px solid #4b5563;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mentor-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.mentor-card__image-wrapper {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	margin: 0 auto 25px;
	overflow: hidden;
	border: 4px solid var(--color-accent);
}

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

.mentor-card__name {
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 5px;
}

.mentor-card__role {
	color: var(--color-accent);
	font-size: 15px;
	font-weight: 500;
	margin-bottom: 15px;
}

.mentor-card__bio {
	font-size: 15px;
	color: #d1d5db;
	line-height: 1.5;
}

/* Responsive for Mentors Section */
@media (max-width: 992px) {
	.mentors__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

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

	.mentor-card {
		padding: 25px;
	}
}

/* Appended to assets/css/style.css */

/* FAQ Section */
.faq {
	padding: 100px 0;
	background-color: #0c121f;
}

.faq__accordion {
	max-width: 800px;
	margin: 50px auto 0;
	border-top: 1px solid var(--color-gray);
}

.faq__item {
	border-bottom: 1px solid var(--color-gray);
}

.faq__question {
	width: 100%;
	padding: 25px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: left;
	font-size: 20px;
	font-weight: 500;
	font-family: var(--font-secondary);
}

.faq__icon {
	flex-shrink: 0;
	margin-left: 20px;
	transition: transform 0.3s ease;
}

.faq__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-in-out, padding 0.4s ease;
}

.faq__answer p {
	color: #d1d5db;
	padding-bottom: 25px;
	line-height: 1.7;
}

/* Active state for accordion */
.faq__item.is-active .faq__question {
	color: var(--color-accent);
}

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

/* Appended to assets/css/style.css */

/* Contact Section */
.contact {
	padding: 100px 0;
}

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

.contact__title {
	font-size: 38px;
	margin-bottom: 20px;
}

.contact__description {
	font-size: 18px;
	color: #d1d5db;
	margin-bottom: 30px;
}

.contact__detail-item {
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 18px;
	margin-bottom: 15px;
	color: var(--color-text);
}

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

.contact__detail-item i {
	color: var(--color-accent);
	width: 24px;
	height: 24px;
}

.contact__form-container {
	background-color: var(--color-gray);
	padding: 40px;
	border-radius: 12px;
	border: 1px solid #4b5563;
}

/* Form Group */
.form-group {
	margin-bottom: 20px;
}

.form-group__label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 500;
	color: #9ca3af;
}

.form-group__input {
	width: 100%;
	padding: 12px 15px;
	background-color: var(--color-bg);
	border: 1px solid #4b5563;
	border-radius: 8px;
	color: var(--color-text);
	font-size: 16px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group__input:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
}

/* Checkbox Styles */
.form-group--checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.form-group__checkbox {
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	flex-shrink: 0;
	background-color: var(--color-bg);
	border: 1px solid #4b5563;
	border-radius: 4px;
	cursor: pointer;
	position: relative;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.form-group__checkbox:checked {
	background-color: var(--color-accent);
	border-color: var(--color-accent);
}

.form-group__checkbox:checked::after {
	content: '✔';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: var(--color-bg);
	font-size: 14px;
}

.form-group__checkbox-label {
	font-size: 14px;
	color: #d1d5db;
	cursor: pointer;
}

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

.contact__submit-btn {
	width: 100%;
}

/* Form Success Message */
.form-success-message {
	display: none; /* Hidden by default */
	text-align: center;
	padding: 30px;
}
.form-success-message.is-visible {
	display: block;
	animation: fadeIn 0.5s ease;
}

.form-success-message__icon {
	color: var(--color-accent);
	margin-bottom: 20px;
}
.form-success-message__icon i {
	width: 60px;
	height: 60px;
}

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

.form-success-message__text {
	color: #d1d5db;
}

/* Responsive for Contact Section */
@media (max-width: 992px) {
	.contact__wrapper {
		grid-template-columns: 1fr;
	}
}

/* Appended to assets/css/style.css */

/* Cookie Pop-up */
.cookie-popup {
	position: fixed;
	bottom: -100%; /* Initially hidden */
	left: 0;
	width: 100%;
	background-color: var(--color-gray);
	border-top: 1px solid #4b5563;
	padding: 20px;
	z-index: 200;
	transition: bottom 0.5s ease-in-out;
}

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

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

.cookie-popup__text {
	color: #d1d5db;
}

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

.cookie-popup__btn {
	background-color: var(--color-accent);
	color: var(--color-bg);
	padding: 10px 25px;
	border-radius: 6px;
	font-weight: 500;
	flex-shrink: 0;
}

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

/* Styles for Policy Pages (privacy.html, terms.html, etc.) */
.pages {
	padding: 120px 0 80px;
}

.pages h1 {
	font-size: 1.5rem;
	margin-bottom: 30px;
	color: var(--color-white);
}

.pages h2 {
	font-size: 1.5rem;
	margin-top: 40px;
	margin-bottom: 20px;
	color: var(--color-white);
}

.pages p {
	font-size: 17px;
	line-height: 1.8;
	color: #d1d5db;
	margin-bottom: 20px;
}

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

.pages a:hover {
	text-decoration: none;
}

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

.pages li {
	margin-bottom: 12px;
	font-size: 17px;
	line-height: 1.8;
}

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