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

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Roboto', sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #f9f9f9;
}

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

/* Header */
header {
	background-color: #fff;
	padding: 1rem 0;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

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

.logo {
	height: 40px;
	width: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 1.2rem;
	font-weight: 700;
	color: #3498db;
}

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

nav ul {
	list-style: none;
	display: flex;
}

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

nav ul li a {
	text-decoration: none;
	color: #555;
	font-weight: 500;
	transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
	color: #3498db;
}

.menu-toggle {
	display: none; /* Hidden by default, shown on mobile */
	background: none;
	border: none;
	cursor: pointer;
	flex-direction: column;
	justify-content: space-around;
	width: 30px;
	height: 25px;
	padding: 0;
}

.menu-toggle span {
	display: block;
	width: 100%;
	height: 3px;
	background-color: #333;
	border-radius: 3px;
	transition: all 0.3s ease-in-out;
}

/* Sections */
section {
	padding: 60px 0;
	overflow-x: hidden; /* For animations */
}

section:nth-child(even) {
	background-color: #fff;
}

section h1,
section h2 {
	text-align: center;
	margin-bottom: 20px;
	color: #2c3e50;
}

section h1 {
	font-size: 2.8rem;
}
section h2 {
	font-size: 2.2rem;
	margin-bottom: 40px;
}
section p {
	font-size: 1.1rem;
	color: #555;
	margin-bottom: 20px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/* Hero Section */
#hero {
	background-color: #eaf5ff; /* Light blue background */
	text-align: left;
}
#hero .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}
#hero .hero-content {
	flex: 1;
}
#hero .hero-content h1 {
	text-align: left;
	font-size: 3rem;
	color: #2c3e50;
	margin-bottom: 20px;
}
#hero .hero-content p {
	text-align: left;
	font-size: 1.2rem;
	margin-bottom: 30px;
}
#hero .hero-image {
	flex: 1;
	max-width: 500px;
}
#hero .hero-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

/* Action Buttons Group (for Hero, Why Us) */
.action-buttons-group {
	margin-top: 20px; /* Space above the button group */
}

.action-buttons-group .btn {
	margin-right: 10px; /* Space between buttons */
	margin-bottom: 10px; /* Space below buttons, for wrapping */
}

.action-buttons-group .btn:last-child {
	margin-right: 0; /* No right margin for the last button in a row */
}

/* Section Action Button (for Courses, FAQ standalone buttons) */
.section-action-button {
	text-align: center;
	margin-top: 30px; /* Space above the button */
	margin-bottom: 20px; /* Space below the button before next content element like cards-container or end of section */
}

.btn {
	display: inline-block;
	background-color: #3498db;
	color: #fff;
	padding: 12px 25px;
	text-decoration: none;
	border-radius: 5px;
	font-weight: 500;
	transition: background-color 0.3s ease;
}

.btn:hover {
	background-color: #2980b9;
}

/* Courses Section (Cards) */
#courses .cards-container {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	gap: 20px;
}

.card {
	background-color: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 25px;
	width: calc(33.333% - 20px);
	min-width: 280px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-align: center;
}

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

.card img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	margin-bottom: 15px;
}

.card h3 {
	margin-bottom: 10px;
	color: #3498db;
	font-size: 1.5rem;
}
.card p {
	font-size: 1rem;
	line-height: 1.5;
}

/* Why Us Section */
#why-us .container {
	display: flex;
	align-items: center;
	gap: 40px;
}
#why-us .why-us-image {
	flex: 1;
	max-width: 500px;
}
#why-us .why-us-image img {
	width: 100%;
	border-radius: 8px;
}
#why-us .why-us-content {
	flex: 1;
	text-align: left;
}
#why-us .why-us-content h2 {
	text-align: left;
}
#why-us .why-us-content p {
	text-align: left;
	margin-left: 0;
}
#why-us .why-us-content ul {
	list-style: disc;
	padding-left: 20px;
	margin-bottom: 20px;
}
#why-us .why-us-content ul li {
	margin-bottom: 10px;
	font-size: 1.1rem;
	color: #555;
}

/* FAQ Section */
#faq {
	background-color: #f0f4f8;
}
#faq .faq-item {
	background-color: #fff;
	padding: 20px;
	margin-bottom: 15px;
	border-radius: 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
#faq .faq-item h3 {
	color: #3498db;
	font-size: 1.3rem;
	margin-bottom: 10px;
}
#faq .faq-item p {
	text-align: left;
	margin-left: 0;
}

/* Mission Section (Learn Page) */
#mission .container {
	display: flex;
	align-items: center;
	gap: 40px;
}
#mission .mission-content {
	flex: 1.2;
	text-align: left;
}
#mission .mission-content h1 {
	text-align: left;
}
#mission .mission-content p {
	text-align: left;
	margin-left: 0;
}
#mission .mission-image {
	flex: 0.8;
	max-width: 400px;
}
#mission .mission-image img {
	width: 100%;
	border-radius: 8px;
}

/* How It Works Section (Learn Page) */
#how-it-works .container {
	display: flex;
	align-items: center;
	gap: 40px;
}
#how-it-works .how-it-works-image {
	flex: 0.8;
	max-width: 450px;
}
#how-it-works .how-it-works-image img {
	width: 100%;
	border-radius: 8px;
}
#how-it-works .how-it-works-content {
	flex: 1.2;
	text-align: left;
}
#how-it-works .how-it-works-content h2 {
	text-align: left;
}
#how-it-works .how-it-works-content p {
	text-align: left;
	margin-left: 0;
}
#how-it-works .how-it-works-content ol {
	list-style-position: inside;
	padding-left: 0; /* Reset default padding if any */
	margin-left: 0;
}
#how-it-works .how-it-works-content ol li {
	font-size: 1.1rem;
	color: #555;
	margin-bottom: 15px;
	text-align: left;
}
#how-it-works .how-it-works-content ol li strong {
	color: #2c3e50;
}

/* Future Tech Section (Learn Page) */
#future-tech .container {
	display: flex;
	align-items: center;
	gap: 40px;
}
#future-tech .future-tech-content {
	flex: 1.2;
	text-align: left;
}
#future-tech .future-tech-content h2 {
	text-align: left;
}
#future-tech .future-tech-content p {
	text-align: left;
	margin-left: 0;
}
#future-tech .future-tech-image {
	flex: 0.8;
	max-width: 400px;
}
#future-tech .future-tech-image img {
	width: 100%;
	border-radius: 8px;
}

/* Contact Section (Learn Page) */
#contact {
	background-color: #eaf5ff;
}
#contactForm {
	max-width: 700px;
	margin: 20px auto;
	padding: 30px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.form-group {
	margin-bottom: 20px;
}
.form-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
	color: #444;
}
.form-group input,
.form-group textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1rem;
}
.form-group textarea {
	resize: vertical;
}
#contactForm .btn {
	width: 100%;
	padding: 12px;
	font-size: 1.1rem;
}
#formStatus {
	margin-top: 15px;
	text-align: center;
	font-weight: 500;
}

/* Styles for the consent checkbox */
.form-group-checkbox {
	display: flex;
	align-items: center; /* Vertically align checkbox and label */
	margin-bottom: 20px;
}

.form-group-checkbox input[type='checkbox'] {
	width: auto; /* Override default full width for inputs */
	margin-right: 10px; /* Space between checkbox and label */
	appearance: checkbox; /* Ensure it looks like a checkbox */
	-webkit-appearance: checkbox; /* For Safari */
	-moz-appearance: checkbox; /* For Firefox */
}

.form-group-checkbox .checkbox-label {
	display: inline; /* Allow label to sit next to checkbox */
	font-weight: normal; /* Regular font weight for consent text */
	color: #555;
	font-size: 0.9rem; /* Slightly smaller text for the consent */
	margin-bottom: 0; /* Remove default label margin-bottom */
}

/* Footer */
footer {
	background-color: #2c3e50;
	color: #ecf0f1;
	padding: 40px 0 20px;
	text-align: center;
}
.footer-content {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	gap: 30px;
	margin-bottom: 30px;
	text-align: left;
}
.footer-contact,
.footer-links,
.footer-main-nav {
	flex: 1;
	min-width: 250px;
}
.footer-contact h4,
.footer-links h4,
.footer-main-nav h4 {
	font-size: 1.4rem;
	margin-bottom: 15px;
	color: #fff;
}
.footer-contact p,
.footer-links ul,
.footer-main-nav ul {
	font-size: 0.95rem;
	line-height: 1.8;
}
.footer-links ul,
.footer-main-nav ul {
	list-style: none;
	padding-left: 0;
}
.footer-links ul li a,
.footer-main-nav ul li a {
	color: #bdc3c7;
	text-decoration: none;
	transition: color 0.3s ease;
}
.footer-links ul li a:hover,
.footer-main-nav ul li a:hover {
	color: #3498db;
}
.footer-contact a {
	color: #bdc3c7;
	text-decoration: none;
}
.footer-contact a:hover {
	color: #3498db;
}
.copyright {
	font-size: 0.9rem;
	color: #bdc3c7;
	border-top: 1px solid #34495e;
	padding-top: 20px;
	margin-top: 20px;
}

/* Cookie Consent Modal */
.cookie-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.85);
	color: #fff;
	padding: 20px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
	z-index: 2000;
	display: none; /* Hidden by default */
	align-items: center;
	justify-content: center;
	text-align: center;
}
.cookie-modal-content {
	max-width: 800px;
}
.cookie-modal p {
	margin: 0 0 15px 0;
	font-size: 1rem;
	color: #f1f1f1;
}
.cookie-modal p a {
	color: #3498db;
	text-decoration: underline;
}
.cookie-modal-buttons button {
	background-color: #3498db;
	color: #fff;
	border: none;
	padding: 10px 20px;
	margin: 0 10px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 0.9rem;
	transition: background-color 0.3s ease;
}
.cookie-modal-buttons button:hover {
	background-color: #2980b9;
}
.cookie-modal-buttons button#rejectCookies {
	background-color: #7f8c8d;
}
.cookie-modal-buttons button#rejectCookies:hover {
	background-color: #6c7a7d;
}

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

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

/* Legal Pages Basic Styling */
.legal-page-container {
	padding: 40px 0;
}
.legal-page-container .container {
	background-color: #fff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.legal-page-container h1 {
	font-size: 1.5rem;
	color: #2c3e50;
	margin-bottom: 20px;
	text-align: center;
}
.legal-page-container h2 {
	font-size: 1.5rem;
	color: #34495e;
	margin-top: 30px;
	margin-bottom: 10px;
}
.legal-page-container p,
.legal-page-container ul li {
	font-size: 1rem;
	line-height: 1.7;
	color: #555;
	margin-bottom: 15px;
	text-align: left;
}
.legal-page-container ul {
	list-style: disc;
	padding-left: 25px;
}
.legal-page-container strong {
	color: #333;
}

/* Responsive Design */
@media (max-width: 992px) {
	#hero .container,
	#why-us .container,
	#mission .container,
	#how-it-works .container,
	#future-tech .container {
		flex-direction: column;
		text-align: center;
	}
	#hero .hero-content,
	#why-us .why-us-content,
	#mission .mission-content,
	#how-it-works .how-it-works-content,
	#future-tech .future-tech-content {
		order: 2;
	}
	#hero .hero-image,
	#why-us .why-us-image,
	#mission .mission-image,
	#how-it-works .how-it-works-image,
	#future-tech .future-tech-image {
		order: 1;
		margin-bottom: 30px;
		max-width: 80%; /* Adjust image size on smaller screens */
	}

	#hero .hero-content h1,
	#hero .hero-content p,
	#why-us .why-us-content h2,
	#why-us .why-us-content p,
	#mission .mission-content h1,
	#mission .mission-content p,
	#how-it-works .how-it-works-content h2,
	#how-it-works .how-it-works-content p,
	#future-tech .future-tech-content h2,
	#future-tech .future-tech-content p {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}
	#why-us .why-us-content ul {
		padding-left: 0; /* Center list items */
		list-style-position: inside; /* Bullets inside */
		text-align: center; /* Ensure li text itself is centered if needed */
	}
	#why-us .why-us-content ul li {
		text-align: left; /* Keep li text left aligned in centered block */
		display: inline-block; /* Or adjust width */
		max-width: 400px; /* Example, adjust as needed */
		margin: 5px auto;
	}

	.card {
		width: calc(50% - 20px); /* Two cards per row */
	}
	.action-buttons-group {
		text-align: center;
	}
}

@media (max-width: 768px) {
	nav ul {
		display: none;
		flex-direction: column;
		width: 100%;
		position: absolute;
		top: 60px; /* Adjust based on header height */
		left: 0;
		background-color: #fff;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	}

	nav ul.active {
		display: flex;
	}

	nav ul li {
		margin: 0;
		text-align: center;
		border-bottom: 1px solid #f0f0f0;
	}
	nav ul li:last-child {
		border-bottom: none;
	}

	nav ul li a {
		display: block;
		padding: 15px;
	}

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

	section h1 {
		font-size: 2.2rem;
	}
	section h2 {
		font-size: 1.8rem;
	}
	#hero .hero-content h1 {
		font-size: 2.5rem;
	}

	.card {
		width: 100%; /* One card per row */
		margin-bottom: 20px;
	}
	.card:last-child {
		margin-bottom: 0;
	}

	.footer-content {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.footer-contact,
	.footer-links,
	.footer-main-nav {
		text-align: center;
		margin-bottom: 20px;
	}
	.footer-contact p,
	.footer-links ul,
	.footer-main-nav ul {
		text-align: center;
	}
	.footer-links ul,
	.footer-main-nav ul {
		padding-left: 0;
	}
	.cookie-modal-content {
		flex-direction: column;
	}
	.cookie-modal-buttons {
		margin-top: 10px;
	}
	.cookie-modal-buttons button {
		display: block;
		width: 100%;
		margin: 5px 0;
	}
}
