/* General Styles */

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background-color: #121212;
	color: #e0e0e0;
	margin: 0;
	padding: 0;
	line-height: 1.7;
	font-size: 16px;
}

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

a {
	color: #00aaff; /* Bright blue accent for dark theme */
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #0077cc; /* Darker blue on hover */
	text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #ffffff;
	margin-top: 0;
}

h2 {
	font-size: 2.8em;
	margin-bottom: 40px;
	text-align: center;
	font-weight: 600;
}

h3 {
	font-size: 1.8em;
	margin-bottom: 15px;
	font-weight: 500;
}

p {
	margin-bottom: 20px;
	font-size: 1.1em;
	max-width: 800px; /* For readability in text-heavy sections */
	margin-left: auto;
	margin-right: auto;
}

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

/* Header */
header {
	background-color: #1e1e1e;
	padding: 1rem 0;
	border-bottom: 1px solid #333;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

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

header .logo a {
	font-size: 2em;
	font-weight: bold;
	color: #00aaff;
	text-decoration: none;
}

header nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
}

header nav ul li {
	margin-left: 25px;
}

header nav ul li a {
	color: #e0e0e0;
	font-weight: 500;
	font-size: 1.1em;
}

header nav ul li a:hover {
	color: #00aaff;
	text-decoration: none;
}

/* Sections */
section {
	padding: 80px 0; /* Increased padding */
	text-align: left; /* Default to left, center h2 if needed */
}

section:nth-child(odd) {
	/* background-color: #181818; Slightly different shade for variation */
}

section h2 {
	text-align: center;
}

/* Hero Section */
.hero-section .container {
	display: flex;
	align-items: center;
	gap: 40px;
	text-align: left;
}
.hero-content {
	flex: 1;
}
.hero-content h2 {
	font-size: 3em;
	color: #00aaff;
	margin-bottom: 20px;
	text-align: left;
}
.hero-content p {
	font-size: 1.2em;
	margin-bottom: 30px;
	max-width: none; /* Override default max-width for hero */
}
.hero-image {
	flex: 1;
	text-align: center;
}
.hero-image img {
	width: 100%;
	max-width: 500px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button {
	margin-bottom: 10px;
	display: inline-block;
	background-color: #00aaff;
	color: #fff;
	padding: 15px 30px;
	font-size: 1.1em;
	font-weight: bold;
	border-radius: 5px;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.cta-button:hover {
	background-color: #0077cc;
	color: #fff;
	text-decoration: none;
}

/* Why Us Section - Features Grid */
#why-us h2 {
	color: #00aaff;
}
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 40px;
	text-align: left;
}
.feature-item {
	background-color: #1e1e1e;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	border-left: 4px solid #00aaff;
}
.feature-item h3 {
	color: #00aaff;
	margin-bottom: 10px;
}
.feature-item p {
	font-size: 1em;
	max-width: none;
}

/* Programs Section - Cards */
.cards-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	margin-top: 40px;
}

.card {
	background-color: #1e1e1e;
	border: 1px solid #333;
	border-radius: 8px;
	padding: 25px;
	width: 320px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.card img {
	width: 100%;
	height: 180px; /* Fixed height for consistency */
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 20px;
}

.card h3 {
	margin-top: 0;
	color: #00aaff;
	font-size: 1.5em;
}
.card p {
	font-size: 1em;
	flex-grow: 1;
	max-width: none;
}
.learn-more-button {
	display: inline-block;
	margin-top: 15px;
	padding: 10px 20px;
	background-color: transparent;
	color: #00aaff;
	border: 1px solid #00aaff;
	border-radius: 5px;
	text-align: center;
	font-weight: bold;
	transition: background-color 0.3s ease, color 0.3s ease;
}
.learn-more-button:hover {
	background-color: #00aaff;
	color: #fff;
	text-decoration: none;
}

/* Course Detail Section (Courses Page) */
.course-detail-section .container {
	display: flex;
	align-items: center;
	gap: 40px;
	text-align: left;
}
.course-detail-section.alt-bg .container {
	/* For alternating layout */
	flex-direction: row-reverse;
}
.course-content {
	flex: 1.5; /* More space for text */
}
.course-content h2 {
	text-align: left;
	color: #00aaff;
}
.course-content p {
	max-width: none;
}
.course-image {
	flex: 1;
	text-align: center;
}
.course-image img {
	max-width: 450px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.alt-bg {
	background-color: #181818;
}

/* FAQ Section */
.faq-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 25px;
	margin-top: 30px;
	text-align: left;
}
.faq-item {
	background-color: #1e1e1e;
	padding: 25px;
	border-radius: 8px;
}
.faq-item h3 {
	color: #00aaff;
	font-size: 1.3em;
}
.faq-item p {
	font-size: 1em;
	max-width: none;
}

/* Footer */
footer {
	background-color: #1e1e1e;
	color: #aaa;
	padding: 50px 0 30px;
	text-align: left;
	border-top: 1px solid #333;
}
.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}
.footer-column h3 {
	color: #fff;
	font-size: 1.3em;
	margin-bottom: 20px;
}
.footer-column p,
.footer-column ul {
	margin-bottom: 10px;
	font-size: 0.95em;
}
.footer-column ul {
	list-style: none;
	padding: 0;
}
.footer-column ul li a {
	color: #aaa;
	transition: color 0.3s ease;
}
.footer-column ul li a:hover {
	color: #00aaff;
}

#contact-form input,
#contact-form textarea {
	width: 100%; /* Full width within parent */
	box-sizing: border-box; /* Include padding and border in element's total width and height */
	padding: 12px;
	margin-bottom: 12px;
	border: 1px solid #333;
	background-color: #2a2a2a;
	color: #e0e0e0;
	border-radius: 4px;
	font-size: 1em;
}
#contact-form input::placeholder,
#contact-form textarea::placeholder {
	color: #888;
}
#contact-form button {
	background-color: #00aaff;
	color: white;
	padding: 12px 25px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1em;
	font-weight: bold;
	transition: background-color 0.3s ease;
}
#contact-form button:hover {
	background-color: #0077cc;
}
#form-message {
	margin-top: 10px;
	font-size: 0.9em;
}

/* New Contact Us Section Styles */
#contact-us {
	background-color: #181818; /* Optional: alternate background */
}
#contact-us .container {
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}
#contact-us h2 {
	color: #00aaff; /* Accent color for heading */
	margin-bottom: 20px;
}
#contact-us p {
	margin-bottom: 30px;
	font-size: 1.1em; /* Slightly larger paragraph text */
}
#contact-us #contact-form {
	background-color: #1e1e1e; /* Form background */
	padding: 35px; /* More padding around form elements */
	border-radius: 8px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
	text-align: left;
}
#contact-us #contact-form input,
#contact-us #contact-form textarea {
	margin-bottom: 18px; /* Increased spacing */
}
#contact-us #contact-form textarea {
	min-height: 120px;
	resize: vertical;
}

#contact-us .form-checkbox-group {
	display: flex;
	align-items: center;
	margin-bottom: 20px; /* Spacing below checkbox group */
	text-align: left; /* Align checkbox and label to the left */
}

#contact-us .form-checkbox-group input[type='checkbox'] {
	width: auto; /* Override full-width for inputs */
	margin-right: 10px;
	accent-color: #00aaff; /* Modern way to color checkbox */
	/* For older browser compatibility or more control, you might need custom checkbox styling */
	transform: scale(1.2); /* Slightly larger checkbox */
}

#contact-us .form-checkbox-group label {
	font-size: 0.95em;
	color: #ccc; /* Lighter text for label */
	cursor: pointer;
}

#contact-us #contact-form button {
	display: block;
	width: 100%;
	padding: 15px 25px; /* Larger button padding */
	font-size: 1.1em; /* Larger button font */
}
#contact-us #form-message {
	margin-top: 20px; /* More space above message */
	font-size: 1em;
	text-align: center;
}

.copyright {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid #333;
	font-size: 0.9em;
	color: #888;
}

/* Cookie Consent Modal */
.cookie-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #1e1e1e;
	padding: 20px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
	z-index: 2000;
	display: none; /* Hidden by default */
	border-top: 1px solid #00aaff;
}
.cookie-modal-content {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}
.cookie-modal p {
	margin: 0;
	font-size: 0.95em;
	color: #ccc;
	flex-grow: 1;
}
.cookie-modal p a {
	color: #00aaff;
	font-weight: bold;
}
.cookie-modal-buttons button {
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
	margin-left: 10px;
	transition: background-color 0.3s ease;
}
#cookie-accept-btn {
	margin-bottom: 5px;
	background-color: #00aaff;
	color: #fff;
}
#cookie-accept-btn:hover {
	background-color: #0077cc;
}
#cookie-decline-btn {
	background-color: #444;
	color: #fff;
}
#cookie-decline-btn:hover {
	background-color: #666;
}

/* Animation Styles */
.animated-section {
	opacity: 0;
	transform: scale(0.95) translateY(20px);
	transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.animated-section.in-view {
	opacity: 1;
	transform: scale(1) translateY(0);
}

/* Legal Pages Simple Layout */
.legal-page-container {
	padding: 40px 0;
}
.legal-page-container h1 {
	text-align: center;
	font-size: 1.5em;
	color: #00aaff;
	margin-bottom: 30px;
	text-align: center;
}
.legal-page-container h2 {
	text-align: center;
	font-size: 1.5em;
	color: #e0e0e0;
	margin-top: 30px;
	margin-bottom: 15px;
	text-align: center;
	border-bottom: 1px solid #333;
	padding-bottom: 5px;
}
.legal-page-container p {
	font-size: 1.05em;
	text-align: left;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}
.legal-page-container ul {
	font-size: 1.05em;
	text-align: center;
	max-width: 900px;
	list-style-position: inside;
	padding-left: 0;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
}
.legal-page-container li {
	margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
	.hero-section .container,
	.course-detail-section .container,
	.course-detail-section.alt-bg .container {
		flex-direction: column;
		text-align: center;
	}
	.hero-content h2,
	.course-content h2 {
		text-align: center;
	}
	.hero-content p,
	.course-content p {
		margin-left: auto;
		margin-right: auto;
	}
	.hero-image,
	.course-image {
		margin-top: 30px;
	}
	.course-detail-section.alt-bg .container {
		/* Keep image order consistent on mobile */
		flex-direction: column;
	}
	.course-detail-section.alt-bg .course-image {
		order: -1; /* Image first for alt layout on mobile */
	}
}

@media (max-width: 768px) {
	h2 {
		font-size: 2.2em;
	}
	h3 {
		font-size: 1.6em;
	}
	p {
		font-size: 1em;
	}

	header .container {
		flex-direction: column;
		gap: 10px;
	}
	header nav ul {
		justify-content: center;
		flex-wrap: wrap;
	}
	header nav ul li {
		margin: 5px 10px;
	}

	.footer-content {
		grid-template-columns: 1fr; /* Stack columns */
		text-align: center;
	}
	.footer-column {
		margin-bottom: 20px;
	}
	.footer-column ul {
		padding-left: 0;
	}
	.cookie-modal-content {
		flex-direction: column;
		text-align: center;
	}
	.cookie-modal p {
		margin-bottom: 15px;
	}
	.cookie-modal-buttons button {
		margin: 5px;
	}
}

@media (max-width: 480px) {
	.container {
		width: 95%;
	}
	h2 {
		font-size: 1.8em;
	}
	h3 {
		font-size: 1.4em;
	}
	.card {
		width: 100%;
	}
	.cta-button,
	#contact-form button,
	.learn-more-button {
		padding: 12px 20px;
		font-size: 1em;
	}
	.hero-content h2 {
		font-size: 2.2em;
	}
}
