/* General Styles */
body {
	margin: 0;
	font-family: Arial, sans-serif;
	background-color: #0f172a; /* Very Dark Blue */
	color: #e2e8f0; /* Light Slate */
	line-height: 1.6;
	font-size: 16px;
}

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

html {
	scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
	color: #f8fafc; /* Slate 50 - Brighter for headings */
	margin-top: 0;
}

h1 {
	font-size: 2.8em; /* 44.8px */
	margin-bottom: 0.5em;
}

h2 {
	font-size: 2.2em; /* 35.2px */
	margin-bottom: 0.8em;
	text-align: center;
	padding-top: 40px; /* Add padding to prevent overlap with sticky header if implemented */
}

h3 {
	font-size: 1.6em; /* 25.6px */
	margin-bottom: 0.5em;
}

p {
	margin-bottom: 1em;
}

a {
	color: #38bdf8; /* Bright Sky Blue */
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

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

ul {
	list-style: disc;
	padding-left: 20px;
}

/* Header & Navigation */
header {
	background-color: #1e293b; /* Dark Blue - Slate 800 */
	padding: 1em 0;
	border-bottom: 1px solid #334155; /* Slate 700 */
	position: sticky;
	top: 0;
	z-index: 1000;
}

header nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative; /* For positioning mobile menu */
}

header .logo {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 1.2em;
	font-weight: bold;
	color: #f8fafc; /* Slate 50 */
}

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

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

/* Burger Menu Button */
.burger-menu {
	display: none; /* Hidden by default, shown in media query */
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
	z-index: 1001; /* Above header's z-index if menu is part of header */
}

.burger-menu .burger-line {
	display: block;
	width: 25px;
	height: 3px;
	background-color: #e2e8f0; /* Light Slate */
	margin: 5px 0;
	transition: all 0.3s ease-in-out;
	border-radius: 2px;
}

/* Burger to X animation */
.burger-menu.active .burger-line:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
	opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

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

header ul li {
	margin-left: 20px;
}

header ul li a {
	color: #e2e8f0; /* Light Slate */
	font-weight: bold;
}

header ul li a:hover {
	color: #38bdf8; /* Bright Sky Blue */
	text-decoration: none;
}

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

.btn-primary {
	margin-bottom: 5px;
	background-color: #38bdf8; /* Bright Sky Blue */
	color: #0f172a; /* Very Dark Blue - for contrast */
}

.btn-primary:hover {
	background-color: #0ea5e9; /* Slightly Darker Sky Blue */
	transform: translateY(-2px);
	text-decoration: none;
}

.btn-secondary {
	background-color: #334155; /* Slate 700 */
	color: #e2e8f0; /* Light Slate */
}

.btn-secondary:hover {
	background-color: #475569; /* Slate 600 */
	transform: translateY(-2px);
	text-decoration: none;
}

/* Sections General Styling */
section {
	padding: 60px 0;
	border-bottom: 1px solid #1e293b; /* Dark Blue - Slate 800 */
}

section:last-of-type {
	border-bottom: none;
}

/* Hero Section */
.hero-section {
	background: url('../img/h1.webp') no-repeat center center/cover; /* Placeholder, will be replaced by generated image */
	color: #f8fafc; /* Slate 50 */
	text-align: center;
	padding: 100px 0;
	position: relative; /* For pseudo-element overlay */
}

.hero-section::before {
	/* Dark overlay for text readability */
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(15, 23, 42, 0.7); /* Overlay based on new bg #0F172A */
	z-index: 1;
}

.hero-content {
	position: relative; /* To be above the overlay */
	z-index: 2;
}

.hero-section h1 {
	font-size: 3.2em;
}

.hero-section p {
	font-size: 1.2em;
	margin-bottom: 1.5em;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* Why Us Section (Cards) */
.why-us-section .cards-container {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 30px;
}

.card {
	background-color: #1e293b; /* Dark Blue - Slate 800 */
	padding: 25px;
	border-radius: 8px;
	width: calc(33.333% - 20px); /* Adjust for gap */
	min-width: 280px; /* Ensure cards don't get too small */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.card img {
	width: 100%; /* Adjust as needed */
	height: auto; /* Adjust as needed */
	margin-bottom: 15px;
	object-fit: cover; /* if images have different aspect ratios */
}

.card h3 {
	font-size: 1.3em;
	margin-bottom: 10px;
	color: #38bdf8; /* Bright Sky Blue */
}

/* Mission Section */
.mission-section {
	background-color: #0b1223; /* Slightly darker variant of main bg, Slate 950 like */
}

.mission-section p {
	font-size: 1.1em;
	text-align: justify;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

/* Core Programs Section & Student Experience Section (Content Beside Image) */
.content-beside-image {
	display: flex;
	align-items: center;
	gap: 40px;
}

.content-beside-image .text-content {
	flex: 1;
}

.content-beside-image .image-content {
	flex: 1;
	max-width: 50%; /* Control image size */
}

.content-beside-image .image-content img {
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* For alternating layout */
.layout-swap .text-content {
	order: 2;
}

.layout-swap .image-content {
	order: 1;
}

.core-programs-section ul li,
.student-experience-section ul li {
	margin-bottom: 0.5em;
	font-size: 1.05em;
}

/* FAQ Section */
.faq-section {
	background-color: #0b1223; /* Slightly darker variant of main bg */
}

.faq-item {
	margin-bottom: 15px;
	border: 1px solid #334155; /* Slate 700 */
	border-radius: 5px;
	overflow: hidden; /* To contain answer background */
}

.faq-question {
	background-color: #334155; /* Slate 700 */
	color: #f8fafc; /* Slate 50 */
	padding: 15px 20px;
	width: 100%;
	text-align: left;
	border: none;
	cursor: pointer;
	font-size: 1.1em;
	font-weight: bold;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.faq-question::after {
	content: '+';
	font-size: 1.5em;
	transition: transform 0.3s ease;
}

.faq-question.active::after {
	transform: rotate(45deg);
}

.faq-answer {
	padding: 0 20px; /* Initially no padding */
	background-color: #1e293b; /* Dark Blue - Slate 800 */
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer p {
	margin: 0; /* Remove default p margins */
	padding: 15px 0; /* Add padding inside the p tag */
}

.faq-question.active + .faq-answer {
	/* padding: 15px 20px; /* Applied on transition */
	max-height: 300px; /* Adjust as needed for content */
}

/* Testimonials Section */
.testimonials-section .testimonial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 25px;
	margin-top: 30px;
}

.testimonial-item {
	background-color: #1e293b; /* Dark Blue - Slate 800 */
	padding: 25px;
	border-radius: 8px;
	border-left: 5px solid #38bdf8; /* Bright Sky Blue */
}

.testimonial-item p {
	font-style: italic;
	margin-bottom: 15px;
}

.testimonial-item h4 {
	color: #e2e8f0; /* Light Slate */
	font-size: 1em;
	text-align: right;
}

/* Contact Section */
.contact-layout {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.contact-info {
	flex: 1;
}

.contact-info-image {
	margin-top: 20px;
	border-radius: 8px;
	max-height: 250px; /* Or adjust as needed */
	width: 100%;
	object-fit: cover;
}

.contact-form-container {
	flex: 1.5; /* Make form container slightly larger */
	background-color: #1e293b; /* Dark Blue - Slate 800 */
	padding: 30px;
	border-radius: 8px;
}

.contact-form-container h3 {
	margin-top: 0;
	text-align: center;
	margin-bottom: 20px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	color: #e2e8f0; /* Light Slate */
}

.form-group input[type='text'],
.form-group input[type='email'],
.form-group textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #475569; /* Slate 600 */
	border-radius: 5px;
	background-color: #334155; /* Slate 700 */
	color: #e2e8f0; /* Light Slate */
	box-sizing: border-box; /* To include padding and border in width */
}

.form-group input[type='text']:focus,
.form-group input[type='email']:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #38bdf8; /* Bright Sky Blue */
	box-shadow: 0 0 5px rgba(56, 189, 248, 0.5); /* Sky 400 with 0.5 alpha */
}

.form-group-checkbox {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.form-group-checkbox input[type='checkbox'] {
	margin-right: 10px;
	width: auto; /* Override default full width for inputs */
	accent-color: #38bdf8; /* Sky 400 - for the checkmark color */
}

.form-group-checkbox label {
	margin-bottom: 0; /* Override default label margin */
	font-weight: normal; /* Override default bold for labels */
	font-size: 0.9em;
	color: #cbd5e1; /* Slate 300 */
}

.form-status-message {
	margin-top: 15px;
	text-align: center;
	font-weight: bold;
}

/* Footer */
footer {
	background-color: #1e293b; /* Dark Blue - Slate 800 */
	color: #94a3b8; /* Slate 400 */
	padding: 40px 0;
	text-align: center;
	border-top: 1px solid #334155; /* Slate 700 */
	font-size: 0.9em;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 20px;
}

.footer-left,
.footer-main-nav,
.footer-center,
.footer-right {
	flex: 1;
	min-width: 200px; /* Adjusted for potentially 4 columns */
}

.footer-left p,
.footer-center p {
	margin-bottom: 0.5em;
}

.footer-main-nav h4 {
	color: #e2e8f0; /* Light Slate */
	font-size: 1.1em;
	margin-bottom: 10px;
}

.footer-main-nav a {
	display: block;
	margin-bottom: 0.5em;
	color: #94a3b8; /* Slate 400 */
}

.footer-main-nav a:hover {
	color: #38bdf8; /* Bright Sky Blue */
	text-decoration: underline;
}

.footer-right a {
	display: block;
	margin-bottom: 0.5em;
	color: #94a3b8; /* Slate 400 */
}

.footer-right a:hover {
	color: #38bdf8; /* Bright Sky Blue */
}

/* Cookie Consent Modal */
.cookie-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #1e293b; /* Dark Blue - Slate 800 */
	color: #e2e8f0; /* Light Slate */
	padding: 20px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
	z-index: 2000;
	display: none; /* Hidden by default */
	border-top: 2px solid #38bdf8; /* Bright Sky Blue */
}

.cookie-modal-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1100px;
	margin: 0 auto;
}

.cookie-modal-content p {
	margin: 0;
	margin-right: 20px;
}

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

/* Animation for Sections */
.animated-section {
	opacity: 0;
	transform: scale(0.95) translateY(20px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Call to Action button styling within sections */
.section-cta {
	text-align: center;
	margin-top: 40px; /* Increased margin for better spacing */
}

/* Courses Page Specific Styles */
.course-catalog-section .section-intro,
.career-outcomes-section .section-intro {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 30px auto;
	font-size: 1.1em;
}

.course-category {
	background-color: #1e293b; /* Dark Blue - Slate 800 */
	padding: 25px;
	border-radius: 8px;
	margin-bottom: 30px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.course-category h3 {
	color: #38bdf8; /* Bright Sky Blue */
	border-bottom: 1px solid #334155; /* Slate 700 */
	padding-bottom: 10px;
	margin-bottom: 15px;
}

.course-list {
	list-style: none;
	padding-left: 0;
}

.course-list li {
	padding: 8px 0;
	border-bottom: 1px dashed #334155; /* Slate 700 */
}

.course-list li:last-child {
	border-bottom: none;
}

.section-header-image {
	margin-bottom: 30px;
	text-align: center;
}

.responsive-banner-image {
	max-height: 350px;
	width: auto; /* Maintain aspect ratio */
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	margin: 0 auto; /* Center if width is constrained by max-height */
}

.career-outcomes-section .career-services-highlights {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.service-item {
	background-color: #1e293b; /* Dark Blue - Slate 800 */
	padding: 20px;
	border-radius: 8px;
}

.service-item h4 {
	color: #38bdf8; /* Bright Sky Blue */
	margin-bottom: 10px;
}

.community-promise-section {
	background-color: #0b1223; /* Slightly darker variant of main bg */
}

.community-promise-section ul li {
	margin-bottom: 10px;
}

.community-promise-section ul {
	max-width: 800px;
	margin: 0 auto; /* Center the list if it's narrower */
}

/* Legal Pages Basic Styling */
.legal-page-container {
	padding: 40px 0;
}

.legal-page-container h1 {
	font-size: 1.5em;
	text-align: center;
	margin-bottom: 30px;
}

.legal-page-container h2 {
	text-align: left; /* Override default center for legal subheadings */
	font-size: 1.5em;
	margin-top: 30px;
	margin-bottom: 15px;
	border-bottom: 1px solid #334155; /* Slate 700 */
	padding-bottom: 5px;
}

.legal-page-container p,
.legal-page-container li {
	font-size: 1em;
	color: #cbd5e1; /* Slate 300 - Lighter for legal text */
}

.legal-page-container ul {
	margin-bottom: 1em;
}

/* Responsive Design */
@media (max-width: 992px) {
	.content-beside-image,
	.layout-swap {
		flex-direction: column;
	}

	.content-beside-image .text-content,
	.content-beside-image .image-content {
		max-width: 100%;
	}

	.layout-swap .text-content {
		order: 1;
	} /* Reset order for column layout */
	.layout-swap .image-content {
		order: 2;
	}

	.content-beside-image .image-content img {
		margin-bottom: 20px; /* Add space when stacked */
	}

	.contact-layout {
		flex-direction: column;
	}

	.contact-info-image {
		max-height: 200px;
	}
}

@media (max-width: 768px) {
	h1 {
		font-size: 2.2em;
	}
	h2 {
		font-size: 1.8em;
	}
	.hero-section h1 {
		font-size: 2.5em;
	}

	header nav {
		/* flex-direction: column; // Removed, burger handles this */
		align-items: center;
	}

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

	header ul#main-nav-links {
		/* margin-top: 10px; */ /* Removed, menu is now absolute */
		/* flex-wrap: wrap; */ /* Removed */
		/* justify-content: center; */ /* Removed */
		display: none; /* Hidden by default on mobile */
		flex-direction: column;
		position: absolute;
		top: 100%; /* Position below the header */
		left: 0;
		width: 100%;
		background-color: #1e293b; /* Dark Blue - Slate 800 */
		padding: 15px 0;
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
		z-index: 999; /* Below header, above content */
		border-top: 1px solid #334155; /* Slate 700 */
	}

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

	header ul#main-nav-links li {
		margin: 0; /* Reset margin for full width items */
		width: 100%;
		text-align: center;
	}

	header ul#main-nav-links li a {
		display: block;
		padding: 12px 20px;
		border-bottom: 1px solid #334155; /* Slate 700 separator for links */
	}

	header ul#main-nav-links li:last-child a {
		border-bottom: none;
	}

	header ul#main-nav-links li a:hover {
		background-color: #334155; /* Slate 700 */
		color: #38bdf8; /* Bright Sky Blue */
	}

	.why-us-section .cards-container {
		flex-direction: column;
		align-items: center;
	}

	.card {
		width: 90%;
		max-width: 400px; /* Limit card width on mobile */
		margin-bottom: 20px;
	}

	.card:last-child {
		margin-bottom: 0;
	}

	.footer-content {
		flex-direction: column;
		text-align: center;
	}

	.footer-left,
	.footer-center,
	.footer-main-nav,
	.footer-right {
		min-width: 100%;
		margin-bottom: 15px;
	}

	.footer-right a {
		margin-bottom: 8px;
	}

	.cookie-modal-content {
		flex-direction: column;
		text-align: center;
	}

	.cookie-modal-content p {
		margin-bottom: 15px;
		margin-right: 0;
	}

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

	.responsive-banner-image {
		max-height: 250px;
	}
}

@media (max-width: 480px) {
	body {
		font-size: 15px;
	}
	h1 {
		font-size: 2em;
	}
	.hero-section {
		padding: 60px 0;
	}
	.hero-section h1 {
		font-size: 2.2em;
	}
	.hero-section p {
		font-size: 1em;
	}
	.btn {
		padding: 10px 20px;
		font-size: 0.9em;
	}
	.contact-form-container {
		padding: 20px;
	}
}
