/* General Styles */
body {
	font-family: 'Arial', sans-serif;
	margin: 0;
	background-color: #121212; /* Dark background */
	color: #e0e0e0; /* Light text */
	line-height: 1.6;
	overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
	color: #ffffff;
	margin-bottom: 0.8em;
}

h1 {
	font-size: 2.8em;
}
h2 {
	font-size: 2.2em;
}
h3 {
	font-size: 1.6em;
}

p {
	margin-bottom: 1em;
	color: #cccccc;
}

a {
	color: #4caf50; /* Accent color - Green */
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

ul {
	list-style: none;
	padding-left: 0;
}

/* Header & Navigation */
header {
	background-color: #1f1f1f; /* Slightly lighter dark */
	padding: 1em 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

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

header .logo {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 1.2em;
	font-weight: bold;
	color: #ffffff;
	z-index: 10; /* Ensure logo is above mobile menu background if overlapping */
}

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

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

header nav .nav-links {
	display: flex;
	gap: 20px;
	margin: 0; /* Reset default ul margin */
	padding: 0; /* Reset default ul padding */
}

header nav .nav-links li a {
	color: #e0e0e0;
	font-size: 1.1em;
	padding: 0.5em 0;
}
header nav .nav-links li a:hover {
	color: #4caf50;
	text-decoration: none;
}

/* Burger Menu */
.burger-menu {
	display: none; /* Hidden by default, shown on mobile */
	flex-direction: column;
	justify-content: space-around; /* Distributes space between spans */
	width: 2rem;
	height: 2rem;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 1010; /* Above nav-links background, below potential modal */
	position: relative; /* For z-index and potential absolute children if needed */
}

.burger-menu span {
	width: 2rem;
	height: 0.25rem; /* Thickness of lines */
	background-color: #e0e0e0;
	border-radius: 10px;
	transition: all 0.3s ease-in-out;
	position: relative;
	transform-origin: center; /* Changed from 1px for more standard behavior */
}

/* Burger to X animation */
.burger-menu.open span:nth-child(1) {
	transform: translateY(calc(0.25rem + 0.25rem * 1.5)) rotate(45deg); /* Adjust based on span height and desired gap */
}
.burger-menu.open span:nth-child(2) {
	opacity: 0;
	transform: translateX(-20px); /* Optional: slide out */
}
.burger-menu.open span:nth-child(3) {
	transform: translateY(calc(-0.25rem - 0.25rem * 1.5)) rotate(-45deg); /* Adjust based on span height and desired gap */
}

/* Sections */
section {
	padding: 60px 0;
	opacity: 0;
	transform: scale(0.95) translateY(20px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

section:nth-child(even) {
	background-color: #1a1a1a; /* Slightly different dark for alternate sections */
}

.section-content {
	display: flex;
	gap: 40px;
	align-items: center;
}
.section-content > div {
	flex: 1;
}
.section-image img {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section Specifics */
.hero-content {
	display: flex;
	align-items: center;
	gap: 40px;
}
.hero-text {
	flex: 1.2;
}
.hero-image {
	flex: 0.8;
	text-align: center;
}
.hero-image img {
	max-width: 450px;
}

/* Text Only Section */
.text-only-section p {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	text-align: justify;
}
.text-only-section h2 {
	text-align: center;
	margin-bottom: 1.5em;
}

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

.btn:hover {
	background-color: #45a049;
	transform: translateY(-2px);
	text-decoration: none;
	color: #ffffff;
}

.btn-secondary {
	background-color: #555;
}
.btn-secondary:hover {
	background-color: #666;
}

/* Course Cards */
.course-cards-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 2em;
}
.course-card {
	background-color: #1f1f1f;
	padding: 25px;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
}
.course-card img {
	width: 100%; /* Adjust as needed for icon-like images */
	height: auto;
	margin-bottom: 15px;
	object-fit: contain; /* If images are more iconic */
	align-self: flex-start; /* Or center: align-self: center; */
}
.course-card h3 {
	color: #4caf50;
	margin-top: 0;
}
.course-card p {
	flex-grow: 1;
	color: #bbbbbb;
}
.course-card .btn {
	margin-top: auto;
	align-self: flex-start;
}
.section-intro {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 2em auto;
}

/* FAQ Section */
.faq-section .section-image {
	text-align: center; /* Center the FAQ image if it's smaller */
}
.faq-section .section-image img {
	max-width: 300px; /* Adjust size */
}
.faq-item {
	margin-bottom: 15px;
	background-color: #1f1f1f;
	border-radius: 5px;
}
.faq-question {
	width: 100%;
	background-color: transparent;
	border: none;
	padding: 15px 20px;
	text-align: left;
	color: #e0e0e0;
	font-size: 1.1em;
	cursor: pointer;
	position: relative;
}
.faq-question::after {
	content: '+';
	position: absolute;
	right: 20px;
	font-size: 1.5em;
	transition: transform 0.3s ease;
}
.faq-question.active::after {
	transform: rotate(45deg);
}
.faq-answer {
	padding: 0 20px 15px 20px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq-answer p {
	margin-bottom: 0;
	color: #bbbbbb;
}
.faq-item.active .faq-answer {
	max-height: 300px; /* Adjust as needed */
	padding-top: 10px;
	padding-bottom: 15px;
}

/* Contact Form */
.contact-section .section-image img {
	object-fit: cover;
	height: 100%;
	max-height: 450px;
}
#contactForm {
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.form-group {
	display: flex;
	flex-direction: column;
}
.form-group label {
	margin-bottom: 5px;
	font-weight: bold;
	color: #cccccc;
}
.form-group input,
.form-group textarea {
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #444;
	background-color: #2a2a2a;
	color: #e0e0e0;
	font-size: 1em;
}
.form-group-checkbox {
	flex-direction: row;
	align-items: center;
	gap: 10px;
}
.form-group-checkbox input[type='checkbox'] {
	width: auto; /* Override default width for inputs */
	margin: 0;
	accent-color: #4caf50; /* Style checkbox color */
}
.form-group-checkbox label {
	margin-bottom: 0; /* Remove default margin */
	font-weight: normal; /* Make it less bold than other labels if desired */
}
.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #4caf50;
	box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}
.form-status {
	margin-top: 10px;
	font-weight: bold;
}
.contact-details-standalone {
	margin-top: 40px;
	padding: 20px;
	background-color: #1f1f1f;
	border-radius: 8px;
}
.contact-details-standalone h3 {
	margin-top: 0;
}

/* Footer */
footer {
	background-color: #1f1f1f;
	color: #aaaaaa;
	padding: 40px 0 20px 0;
	margin-top: auto; /* Pushes footer to bottom if content is short */
}
.footer-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	margin-bottom: 30px;
}
.footer-column h4 {
	color: #ffffff;
	margin-bottom: 15px;
}
.footer-column ul li {
	margin-bottom: 8px;
}
.footer-column ul li a {
	color: #aaaaaa;
}
.footer-column ul li a:hover {
	color: #4caf50;
}
.copyright {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid #333;
	font-size: 0.9em;
}

/* Cookie Consent Modal */
.modal {
	display: none; /* Hidden by default */
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.85);
	padding: 20px 0;
	z-index: 2000;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}
.modal-content {
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
	color: #e0e0e0;
}
.modal-content p {
	margin-bottom: 15px;
}
.modal-buttons {
	display: flex;
	justify-content: center;
	gap: 15px;
}

/* Legal Pages Simple Styles */
.legal-page-container {
	padding: 40px 0;
	min-height: calc(100vh - 200px); /* Adjust based on header/footer height */
}
.legal-page-container h1 {
	font-size: 1.5rem;
	margin-bottom: 1.5em;
	text-align: center;
}
.legal-page-container h2 {
	font-size: 1.5rem;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}
.legal-page-container p,
.legal-page-container li {
	color: #cccccc;
}
.legal-page-container ul {
	list-style: disc;
	padding-left: 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
	h1 {
		font-size: 2.4em;
	}
	h2 {
		font-size: 2em;
	}
	.section-content,
	.hero-content {
		flex-direction: column;
		text-align: center;
	}
	.section-content > div {
		width: 100%;
	}
	.section-image {
		margin-bottom: 20px;
	}
	.hero-text {
		order: 2;
	}
	.hero-image {
		order: 1;
		margin-bottom: 30px;
	}
	.hero-image img {
		max-width: 350px;
	}

	.contact-section .section-image {
		order: 1;
		margin-bottom: 30px;
	}
	.contact-section .section-text {
		order: 2;
	}
}

@media (max-width: 768px) {
	h1 {
		font-size: 2em;
	}
	h2 {
		font-size: 1.8em;
	}

	header nav {
		flex-direction: row; /* Ensure logo and burger stay on the same line */
	}

	.burger-menu {
		display: flex; /* Show burger on mobile */
	}

	header nav .nav-links {
		display: none; /* Hide by default */
		flex-direction: column;
		position: absolute;
		top: 100%; /* Position below the header */
		left: 0;
		width: 100%;
		background-color: #1f1f1f; /* Match header background */
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
		padding: 1em 0;
		align-items: center;
		gap: 15px; /* Spacing for items in dropdown */
		z-index: 1005; /* Below burger, above content */
	}

	header nav .nav-links.nav-active {
		display: flex; /* Show when active */
	}

	header nav .nav-links li {
		width: 100%;
	}

	header nav .nav-links li a {
		padding: 0.8em 1em; /* Adjust padding for better touch targets */
		display: block; /* Make link take full width of li */
		text-align: center;
	}

	.course-cards-container {
		grid-template-columns: 1fr; /* Stack cards on smaller screens */
	}
	.footer-columns {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}
}

@media (max-width: 480px) {
	body {
		font-size: 15px;
	}
	h1 {
		font-size: 1.8em;
	}
	h2 {
		font-size: 1.6em;
	}
	.btn {
		padding: 10px 20px;
		font-size: 0.9em;
	}
	.modal-content {
		padding: 0 10px;
	}
	.modal-buttons {
		flex-direction: column;
		gap: 10px;
	}
}
