:root {
	--primary-color: #00c9a7; /* A vibrant teal/green for accents */
	--secondary-color: #4d5061; /* A muted dark blue/gray for secondary elements */
	--background-color: #1f2833; /* Dark primary background */
	--surface-color: #2c3e50; /* Slightly lighter for cards, modals */
	--text-color: #c5c6c7; /* Light gray for main text */
	--heading-color: #ffffff; /* White for headings */
	--light-gray: #99aab5; /* For less important text or borders */
	--font-primary: 'Poppins', sans-serif;
	--font-secondary: 'Roboto', sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-primary);
	color: var(--heading-color);
	margin-bottom: 0.8rem;
	line-height: 1.3;
}

h1 {
	font-size: 2.8rem;
}
h2 {
	font-size: 2.2rem;
	margin-bottom: 1.5rem;
	text-align: center;
}
h3 {
	font-size: 1.6rem;
	color: var(--primary-color);
}

p {
	margin-bottom: 1.2rem;
}

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

a:hover,
a:focus {
	color: lighten(var(--primary-color), 10%);
	text-decoration: underline;
}

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

ul {
	list-style: none;
}

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

/* Header & Navigation */
header {
	background-color: var(--surface-color);
	padding: 1rem 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5pxz;
	font-family: var(--font-primary);
	font-size: 1.2rem;
	font-weight: bold;
	color: var(--primary-color);
	text-decoration: none;
}

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

.logo:hover {
	text-decoration: none;
}

.nav-links {
	display: flex;
}

.nav-links li {
	margin-left: 2rem;
}

.nav-links a {
	font-family: var(--font-primary);
	color: var(--text-color);
	font-weight: 600;
	font-size: 1rem;
	padding: 0.5rem 0;
	position: relative;
}
.nav-links a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--primary-color);
	transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
	width: 100%;
}
.nav-links a:hover,
.nav-links a.active {
	color: var(--primary-color);
	text-decoration: none;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
}

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

/* Buttons */
.btn {
	display: inline-block;
	padding: 0.8rem 1.8rem;
	border-radius: 5px;
	font-family: var(--font-primary);
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	font-size: 1rem;
}

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

.btn-primary:hover {
	/* background-color: darken(var(--primary-color), 10%); */
	color: var(--background-color);
	transform: translateY(-2px);
	text-decoration: none;
}

.btn-secondary {
	background-color: var(--secondary-color);
	color: var(--text-color);
}
.btn-secondary:hover {
	/* background-color: lighten(var(--secondary-color), 10%); */
	/* color: var(--text-color); */
	transform: translateY(-2px);
	text-decoration: none;
}

/* Sections Common Styles */
section {
	padding: 4rem 0;
	overflow: hidden; /* For animations */
}

.section-subtitle {
	text-align: center;
	font-size: 1.1rem;
	color: var(--light-gray);
	max-width: 700px;
	margin: 0 auto 2.5rem auto;
}

/* Specific Section Styles */

/* Hero Section */
#hero {
	min-height: 70vh;
	display: flex;
	align-items: center;
	text-align: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}
#hero::before {
	/* Dark overlay for better text readability */
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 1;
}
#hero .content-overlay {
	/* Renamed from #hero .container for clarity */
	position: relative;
	z-index: 2;
}
#hero h1 {
	font-size: 3.5rem;
	color: var(--heading-color);
	margin-bottom: 1rem;
}
#hero p {
	font-size: 1.3rem;
	color: var(--text-color);
	margin-bottom: 2rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

/* Image Background Section (General for vision, courses-intro etc.) */
.image-bg-section {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	color: var(--heading-color); /* Default text color for these sections */
}
.image-bg-section::before {
	/* Dark overlay */
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(20, 20, 30, 0.75); /* Darker overlay */
	z-index: 1;
}
.image-bg-section .content-overlay {
	position: relative;
	z-index: 2;
	text-align: center;
}
.image-bg-section h2 {
	color: var(--heading-color);
}
.image-bg-section p {
	font-size: 1.1rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	color: var(--text-color); /* Text color on overlay */
}
.image-bg-section .btn {
	margin-top: 1rem;
}

/* Key Offerings (Cards) */
#key-offerings {
	background-color: var(--surface-color);
}
.cards-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}
.card {
	background-color: var(--background-color);
	padding: 2rem;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
	transform: translateY(-10px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.card img {
	/* For icons in cards */
	width: 100%;
	height: auto;
	margin: 0 auto 1rem auto;
}
.card h3 {
	margin-bottom: 0.5rem;
}

/* FAQ Section */
#faq {
	background-color: var(
		--background-color
	); /* Or keep it --surface-color for contrast */
}
.faq-item {
	background-color: var(--surface-color);
	padding: 1.5rem;
	margin-bottom: 1rem;
	border-radius: 5px;
	border-left: 4px solid var(--primary-color);
}
.faq-item h3 {
	font-size: 1.3rem;
	color: var(--heading-color);
}

/* Contact Form Section */
#contact-form {
	margin-top: 2rem;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}
.form-group {
	margin-bottom: 1.5rem;
}
.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: bold;
	color: var(--text-color);
}
.form-group input[type='text'],
.form-group input[type='email'],
.form-group textarea {
	width: 100%;
	padding: 0.8rem;
	border: 1px solid var(--secondary-color);
	border-radius: 5px;
	background-color: var(--surface-color);
	color: var(--text-color);
	font-family: var(--font-secondary);
	font-size: 1rem;
}
.form-group input[type='text']:focus,
.form-group input[type='email']:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 5px var(--primary-color);
}
.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.form-group-checkbox {
	display: flex;
	align-items: center;
	gap: 0.5rem; /* Spacing between checkbox and label */
	margin-bottom: 1.5rem;
}

.form-group-checkbox input[type='checkbox'] {
	width: auto; /* Override default full width for inputs */
	accent-color: var(--primary-color); /* Style the check mark color */
	height: 1.2em; /* Adjust size if needed */
	width: 1.2em; /* Adjust size if needed */
}

.form-group-checkbox .checkbox-label {
	margin-bottom: 0; /* Remove default label margin */
	font-weight: normal; /* Standard text weight for this label */
	color: var(--text-color);
	font-size: 0.9rem;
	cursor: pointer;
}

#contact-form button[type='submit'] {
	display: block;
	width: auto;
	margin: 0 auto;
}
#form-status {
	margin-top: 1rem;
	text-align: center;
	font-weight: bold;
}

/* Courses Page Specifics */
#learning-methodology .course-highlights {
	margin-top: 2rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
	text-align: left;
}
#learning-methodology .highlight-item {
	background-color: rgba(
		0,
		0,
		0,
		0.3
	); /* Semi-transparent background for items */
	padding: 1.5rem;
	border-radius: 5px;
}
#learning-methodology .highlight-item h3 {
	font-size: 1.4rem;
}
#learning-methodology .highlight-item p {
	font-size: 0.95rem;
	color: var(--light-gray);
}

/* Footer */
footer {
	background-color: var(--surface-color);
	padding: 3rem 0 1.5rem 0;
	color: var(--light-gray);
	margin-top: 2rem; /* Ensure space from last section */
}
.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}
.footer-column h3 {
	color: var(--heading-color);
	font-size: 1.3rem;
	margin-bottom: 1rem;
}
.footer-column p,
.footer-column li {
	margin-bottom: 0.5rem;
	font-size: 0.95rem;
}
.footer-column a {
	color: var(--light-gray);
}
.footer-column a:hover {
	color: var(--primary-color);
}
.copyright {
	text-align: center;
	padding-top: 1.5rem;
	border-top: 1px solid var(--secondary-color);
	font-size: 0.9rem;
}

/* Legal Pages Basic Styling */
.legal-page-content {
	padding: 3rem 0;
}
.legal-page-content .container {
	max-width: 900px;
	background-color: var(--surface-color);
	padding: 2rem;
	border-radius: 8px;
}
.legal-page-content h1 {
	font-size: 1.5rem;
	text-align: center;
	margin-bottom: 2rem;
	color: var(--primary-color);
}
.legal-page-content h2 {
	font-size: 1.5rem;
	margin-top: 1.5rem;
	margin-bottom: 0.8rem;
	color: var(--heading-color);
	text-align: left;
}
.legal-page-content p,
.legal-page-content li {
	margin-bottom: 1rem;
}
.legal-page-content ul {
	list-style: disc;
	padding-left: 20px;
}

/* Cookie Consent Modal */
.cookie-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: var(--surface-color);
	color: var(--text-color);
	padding: 1.5rem;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
	z-index: 2000;
	display: none; /* Hidden by default */
	align-items: center;
	justify-content: center;
	text-align: center;
}
.cookie-modal.show {
	display: block; /* Or flex/grid if inner content needs it */
}
.cookie-modal-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}
.cookie-modal-content p {
	margin-bottom: 0;
	max-width: 800px;
}
.cookie-modal-content a {
	color: var(--primary-color);
	font-weight: bold;
}
.cookie-modal-buttons {
	display: flex;
	gap: 1rem;
	margin-top: 0.5rem;
}

/* Form Submission Modal */
.form-submission-modal {
	display: none; /* Hidden by default */
	position: fixed;
	z-index: 2000; /* Ensure it's above cookie modal if both were somehow shown */
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.7); /* Darker overlay for better focus */
	align-items: center;
	justify-content: center;
}

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

#form-submission-modal-message {
	font-size: 1.2rem; /* Slightly larger for better readability */
	font-family: var(--font-primary);
	margin-top: 20px; /* Space from spinner */
	margin-bottom: 0;
	line-height: 1.5;
}

/* Simple Spinner CSS */
.spinner {
	border: 5px solid var(--light-gray); /* Slightly thicker border */
	border-top: 5px solid var(--primary-color);
	border-radius: 50%;
	width: 50px; /* Larger spinner */
	height: 50px;
	animation: spin 1s linear infinite;
	margin: 0 auto;
}

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

.cookie-modal-buttons .btn {
	width: 100%;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
	h1 {
		font-size: 2.4rem;
	}
	h2 {
		font-size: 1.9rem;
	}
	#hero h1 {
		font-size: 2.8rem;
	}
	#hero p {
		font-size: 1.1rem;
	}
}

@media (max-width: 768px) {
	.nav-links {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 65px; /* Adjust based on header height */
		left: 0;
		width: 100%;
		background-color: var(--surface-color);
		padding: 1rem 0;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	}
	.nav-links.active {
		display: flex;
	}
	.nav-links li {
		margin: 0;
		text-align: center;
	}
	.nav-links a {
		display: block;
		padding: 1rem;
	}
	.nav-links a::after {
		display: none; /* Remove underline animation for mobile menu */
	}

	.menu-toggle {
		display: block;
	}
	.menu-toggle.active span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}
	.menu-toggle.active span:nth-child(2) {
		opacity: 0;
	}
	.menu-toggle.active span:nth-child(3) {
		transform: rotate(-45deg) translate(5px, -5px);
	}

	section {
		padding: 3rem 0;
	}
	h1 {
		font-size: 2rem;
	}
	h2 {
		font-size: 1.7rem;
	}
	#hero {
		min-height: 60vh;
	}
	#hero h1 {
		font-size: 2.2rem;
	}
	#hero p {
		font-size: 1rem;
	}

	.cards-container {
		grid-template-columns: 1fr; /* Stack cards on smaller screens */
	}
	.footer-content {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.footer-column {
		margin-bottom: 1.5rem;
	}
	.cookie-modal-content {
		flex-direction: column;
		text-align: center;
	}
	.cookie-modal-buttons {
		flex-direction: column;
		width: 80%;
		max-width: 250px;
	}
	.cookie-modal-buttons .btn {
		width: 100%;
	}
}
