:root {
	--primary-color: #007bff; /* A vibrant blue for accents */
	--primary-hover-color: #0056b3;
	--secondary-color: #6c757d; /* A muted gray for secondary buttons/text */
	--background-color: #121212; /* Very dark gray, almost black */
	--surface-color: #1e1e1e; /* Slightly lighter for cards, sections */
	--text-color: #e0e0e0; /* Light gray for general text */
	--text-color-darker: #b0b0b0; /* For less prominent text */
	--heading-color: #ffffff; /* White for headings */
	--border-color: #333333;
	--font-family: 'Arial', sans-serif; /* Simple, widely available font */
	--header-height: 70px; /* Approximate height of the header */
}

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

html {
	scroll-behavior: smooth;
}

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

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

/* Header */
.site-header {
	background-color: var(--surface-color);
	padding: 1rem 0;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.site-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	height: 40px;
	font-size: 1.8rem;
	font-weight: bold;
	color: var(--primary-color);
	display: flex;
	align-items: center;
}

.logo img {
	height: 40px;
	width: auto;
}

.main-nav {
	/* Styles for desktop navigation will be adjusted */
}

.main-nav ul {
	list-style: none;
	display: flex;
	margin: 0; /* Reset margin */
	padding: 0; /* Reset padding */
}

.main-nav ul li {
	margin-left: 20px;
}

.main-nav ul li a {
	text-decoration: none;
	color: var(--text-color);
	font-weight: 500;
	transition: color 0.3s ease;
	padding: 5px 0; /* Add some padding for better click area */
}

.main-nav ul li a:hover {
	color: var(--primary-color);
}

/* Burger Menu */
.burger-menu {
	display: none; /* Hidden by default, shown on mobile */
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
	z-index: 1010; /* Above nav */
}

.burger-menu span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: var(--heading-color);
	margin: 5px 0;
	transition: all 0.3s ease-in-out;
}

/* Burger Menu Active State (X icon) */
.burger-menu.active span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}
.burger-menu.active span:nth-child(2) {
	opacity: 0;
}
.burger-menu.active span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Main sections */
.main-section {
	padding: 60px 0; /* Reduced top padding a bit */
}
.main-section:first-of-type {
	padding-top: calc(
		var(--header-height) + 40px
	); /* Ensure first section below fixed header */
}

.main-section:nth-child(odd) {
	background-color: var(--surface-color);
	text-align: center;
}
.section-intro {
	text-align: center;
	margin-bottom: 40px;
	font-size: 1.1rem;
	color: var(--text-color-darker);
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* Hero Section */
.hero-section {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative; /* For overlay if needed */
	background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
		url('../img/hero_background.png');
}
.full-screen-section {
	min-height: 100vh;
	padding-top: var(--header-height); /* Adjust for fixed header height */
}

.hero-content {
	padding: 0 20px;
	max-width: 800px;
	z-index: 1; /* Above potential overlay */
}

.hero-content h1 {
	font-size: 3.5rem;
	margin-bottom: 20px;
	color: var(--heading-color);
}

.hero-content p {
	font-size: 1.2rem;
	margin-bottom: 30px;
	color: var(--text-color);
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 12px 25px;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: background-color 0.3s ease, transform 0.2s ease;
	cursor: pointer;
	border: none;
}

.btn-primary {
	background-color: var(--primary-color);
	color: #fff;
}

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

.btn-secondary {
	background-color: var(--secondary-color);
	color: #fff;
}

.btn-secondary:hover {
	background-color: #5a6268;
	transform: translateY(-2px);
}

/* About Section */
.about-mission {
	margin-bottom: 60px;
	padding: 30px;
	background-color: var(
		--background-color
	); /* Slightly different from section for emphasis */
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.about-mission h2 {
	text-align: left;
	margin-bottom: 20px;
}
.about-mission p {
	margin-bottom: 15px;
	font-size: 1.05rem;
}

.why-choose-us h2 {
	text-align: left;
	margin-bottom: 20px;
}
.why-choose-us-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 30px;
	align-items: center;
}
.why-choose-us-text ul {
	list-style: none;
	padding-left: 0;
}
.why-choose-us-text ul li {
	margin-bottom: 15px;
	padding-left: 25px;
	position: relative;
	font-size: 1.05rem;
}
.why-choose-us-text ul li::before {
	content: '✔';
	color: var(--primary-color);
	position: absolute;
	left: 0;
	font-weight: bold;
}
.why-choose-us-image img {
	width: 100%;
	max-width: 300px;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	display: block;
	margin: 0 auto;
}

/* Courses Section */
.courses-section {
	background-color: var(--background-color); /* Different BG for variety */
}
.course-cards-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.course-card {
	background-color: var(--surface-color);
	border-radius: 8px;
	padding: 25px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.course-card img {
	width: 100%;
	height: 200px; /* Fixed height for consistency */
	object-fit: cover;
	border-radius: 6px 6px 0 0;
	margin-bottom: 15px;
}

.course-card h3 {
	font-size: 1.5rem;
	color: var(--heading-color);
	margin-bottom: 10px;
}

.course-card p {
	font-size: 0.95rem;
	margin-bottom: 20px;
	flex-grow: 1; /* Pushes button to bottom */
	color: var(--text-color-darker);
}

/* Student Experience Section */
.learning-journey {
	margin-bottom: 60px;
}
.learning-journey h2 {
	text-align: left;
}
.learning-journey-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}
.learning-journey-text ol {
	list-style: none;
	padding-left: 0;
	counter-reset: journey-step;
}
.learning-journey-text ol li {
	margin-bottom: 15px;
	padding-left: 45px;
	position: relative;
	font-size: 1.1rem;
}
.learning-journey-text ol li::before {
	counter-increment: journey-step;
	content: counter(journey-step);
	position: absolute;
	left: 0;
	top: 0;
	background-color: var(--primary-color);
	color: white;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
}
.learning-journey-image img {
	width: 100%;
	max-width: 450px;
	height: auto;
	border-radius: 8px;
	display: block;
	margin: 0 auto;
}

.testimonials {
	padding: 10px;
	background-color: var(--surface-color);
	border-radius: 8px;
}
.testimonials h2 {
	text-align: center;
	margin-bottom: 30px;
}
.testimonials-content {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 30px;
	align-items: center;
}
.testimonial-image img {
	width: 100%;
	max-width: 350px;
	height: auto;
	border-radius: 8px;
	object-fit: cover;
	display: block;
	margin: 0 auto;
}
.testimonial-quotes blockquote {
	margin-bottom: 25px;
	padding: 20px;
	background-color: var(--background-color);
	border-left: 4px solid var(--primary-color);
	border-radius: 0 4px 4px 0;
}
.testimonial-quotes blockquote p {
	font-style: italic;
	margin-bottom: 10px;
	color: var(--text-color);
}
.testimonial-quotes blockquote footer {
	font-style: normal;
	font-weight: bold;
	color: var(--primary-color);
	text-align: right;
}

/* Support Section (FAQ & Contact) */
.faq-section {
	margin-bottom: 60px;
}
.faq-item {
	margin-bottom: 15px;
	border: 1px solid var(--border-color);
	border-radius: 5px;
	background-color: var(--surface-color);
}
.faq-question {
	background-color: transparent;
	color: var(--heading-color);
	border: none;
	width: 100%;
	padding: 15px 20px;
	text-align: left;
	font-size: 1.1rem;
	font-weight: bold;
	cursor: pointer;
	position: relative;
}
.faq-question::after {
	content: '+';
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	transition: transform 0.3s ease;
}
.faq-question.active::after {
	transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
	padding: 0 20px 15px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out, padding 0.3s ease-out;
	color: var(--text-color-darker);
	border-top: 1px solid var(--border-color); /* Separator when open */
}
.faq-answer p {
	margin: 0;
	padding-top: 10px; /* Spacing from top border */
}

.contact-section h2 {
	margin-bottom: 40px;
}
.contact-content-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 40px;
}
.contact-form-container {
	padding: 30px;
	background-color: var(--surface-color);
	border-radius: 8px;
}
.form-group {
	margin-bottom: 20px;
}
.form-group label {
	display: block;
	margin-bottom: 5px;
	color: var(--text-color);
	font-weight: bold;
}
.form-group input[type='text'],
.form-group input[type='email'],
.form-group textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid var(--border-color);
	border-radius: 5px;
	background-color: var(--background-color);
	color: var(--text-color);
	font-size: 1rem;
}
.form-group textarea {
	resize: vertical;
}
.form-group-checkbox {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}
.form-group-checkbox input[type='checkbox'] {
	width: auto; /* Override default width for inputs */
	margin-right: 10px;
	accent-color: var(--primary-color); /* Style the checkbox tick color */
}
.form-group-checkbox .checkbox-label {
	font-weight: normal; /* Override bold label if needed */
	color: var(--text-color-darker);
	font-size: 0.9rem;
	margin-bottom: 0; /* Remove default label margin */
}

.form-status-message {
	margin-top: 15px;
	font-weight: bold;
}
.contact-details-container {
	padding: 20px;
	text-align: center;
}
.contact-details-container .contact-image {
	width: 100%;
	max-width: 200px;
	height: auto;
	margin-bottom: 20px;
	border-radius: 8px;
}
.contact-details-container h3 {
	color: var(--primary-color);
	margin-top: 20px;
	margin-bottom: 5px;
}
.contact-details-container p {
	color: var(--text-color-darker);
	margin-bottom: 10px;
}

/* Footer */
.site-footer-bottom {
	background-color: var(--surface-color);
	color: var(--text-color-darker);
	padding: 30px 0;
	text-align: center;
	border-top: 1px solid var(--border-color);
}
.site-footer-bottom p {
	margin-bottom: 10px;
}
.footer-links {
	list-style: none;
	padding: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.footer-links li {
	margin: 5px 10px;
}
.footer-links li a {
	color: var(--text-color-darker);
	text-decoration: none;
}
.footer-links li a:hover {
	color: var(--primary-color);
	text-decoration: underline;
}
.footer-contact-info {
	margin-top: 20px;
	font-size: 0.9rem;
}
.footer-contact-info p {
	margin-bottom: 5px;
}
.footer-contact-info a {
	color: var(--text-color-darker);
	text-decoration: none;
}
.footer-contact-info a:hover {
	color: var(--primary-color);
	text-decoration: underline;
}

/* Cookie Modal */
.cookie-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	color: var(--text-color);
	padding: 20px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
	z-index: 2000;
	display: none; /* Initially hidden */
	align-items: center;
	justify-content: center;
}
.cookie-modal.show {
	display: flex; /* Show using flex for alignment */
}

.cookie-modal-content {
	max-width: 800px;
	text-align: center;
}

.cookie-modal-content p {
	margin-bottom: 15px;
}
.cookie-modal-content p a {
	color: var(--primary-color);
	text-decoration: underline;
}

.cookie-modal-buttons button {
	margin: 0 10px;
}

.cookie-modal-buttons button {
	margin: 5px 0; /* Adjust margin for stacked buttons */
	width: 100%;
}

/* Form Submission Modal */
.form-process-modal {
	display: none; /* Hidden by default */
	position: fixed;
	z-index: 2001; /* Higher than cookie modal */
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.7);
	justify-content: center;
	align-items: center;
}

.form-process-modal-content {
	background-color: var(--surface-color);
	padding: 40px;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
	color: var(--text-color);
	min-width: 300px;
}

#formModalMessage {
	font-size: 1.2rem;
	margin-top: 20px; /* Space below spinner */
	color: var(--heading-color);
}

.form-spinner {
	border: 5px solid var(--border-color);
	border-top: 5px solid var(--primary-color);
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
	margin: 0 auto;
}

/* Legal Pages Specific Styles */
.legal-page-container {
	padding-top: calc(
		var(--header-height) + 40px
	); /* Ensure content starts below fixed header */
	padding-bottom: 60px;
	background-color: var(
		--background-color
	); /* Consistent with main site background */
}

.legal-page-container .container {
	background-color: var(
		--surface-color
	); /* Use surface color for the content box */
	padding: 30px 20px; /* Add more padding inside the content box */
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.legal-page-container h1 {
	color: var(--heading-color);
	font-size: 1.5rem;
	margin-bottom: 10px;
	text-align: left; /* Override centered h2 from main-section */
}

.legal-page-container p em {
	/* Style for "Last updated" line */
	display: block;
	color: var(--text-color-darker);
	margin-bottom: 30px;
	font-size: 0.9rem;
}

.legal-page-container h2 {
	color: var(--primary-color);
	font-size: 1.5rem;
	margin-top: 30px;
	margin-bottom: 15px;
	text-align: left; /* Override centered h2 from main-section */
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 8px;
}

.legal-page-container p {
	margin-bottom: 15px;
	line-height: 1.7;
	color: var(--text-color);
	text-align: left; /* Ensure text is left-aligned */
}

.legal-page-container ul,
.legal-page-container ol {
	margin-bottom: 20px;
	padding-left: 20px; /* Standard list indentation */
	text-align: left;
}

.legal-page-container li {
	margin-bottom: 10px;
	color: var(--text-color);
}

.legal-page-container a {
	color: var(--primary-color);
	text-decoration: underline;
}

.legal-page-container a:hover {
	color: var(--primary-hover-color);
}

.legal-page-container strong {
	color: var(--heading-color);
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Animations */
.animated-section {
	opacity: 0;
	transform: scale(0.95) translateY(30px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animated-section.visible {
	opacity: 1;
	transform: scale(1) translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
	/* .site-header .container {
        flex-direction: column;
    } */ /* Keep header items in a row for burger */
	/* .site-header nav {
        margin-top: 10px;
    } */

	.burger-menu {
		display: block; /* Show burger menu */
	}

	.main-nav {
		display: none; /* Hide standard nav */
		position: absolute;
		top: var(--header-height); /* Position below header */
		left: 0;
		width: 100%;
		background-color: var(--surface-color);
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
		flex-direction: column;
		align-items: center;
		padding: 20px 0;
	}
	.main-nav.active {
		display: flex; /* Show when active */
	}

	.main-nav ul {
		flex-direction: column;
		width: 100%;
		text-align: center;
	}

	.main-nav ul li {
		margin: 10px 0;
		width: 100%;
	}
	.main-nav ul li a {
		display: block;
		padding: 10px 0;
		width: 100%;
	}
	.main-nav ul li a:hover {
		background-color: var(--primary-color);
		color: var(--heading-color);
	}

	.hero-content h1 {
		font-size: 2.8rem;
	}
	.hero-content p {
		font-size: 1.1rem;
	}
	.why-choose-us-grid {
		grid-template-columns: 1fr;
	}
	.why-choose-us-image img {
		margin-top: 20px;
	}
	.learning-journey-content {
		grid-template-columns: 1fr;
	}
	.learning-journey-image img {
		margin-top: 30px;
	}
	.testimonials-content {
		grid-template-columns: 1fr;
	}
	.testimonial-image img {
		margin-bottom: 20px;
	}
	.contact-content-grid {
		grid-template-columns: 1fr;
	}
	.contact-details-container {
		margin-top: 30px;
	}
}

@media (max-width: 768px) {
	body {
		font-size: 15px;
	}
	:root {
		--header-height: 60px; /* Slightly smaller header on mobile */
	}
	section h2 {
		font-size: 2rem;
	}
	.hero-content h1 {
		font-size: 2.2rem;
	}
	.full-screen-section {
		min-height: 80vh; /* Reduce height on smaller screens */
	}
	.course-cards-container {
		grid-template-columns: 1fr; /* Stack cards */
	}
}

@media (max-width: 576px) {
	.btn {
		padding: 10px 20px;
		font-size: 0.9rem;
	}
	.hero-content h1 {
		font-size: 1.8rem;
	}
	.hero-content p {
		font-size: 1rem;
	}
	.cookie-modal-content {
		flex-direction: column;
		align-items: center;
	}
	.cookie-modal-buttons {
		margin-top: 10px;
		display: flex;
		flex-direction: column; /* Stack buttons on very small screens */
	}
	.cookie-modal-buttons button {
		margin: 5px 0; /* Adjust margin for stacked buttons */
		width: 100%;
	}
}
