/* --- General Setup --- */
:root {
	--bg-color: #121212;
	--surface-color: #1e1e1e;
	--primary-color: #007bff;
	--primary-hover-color: #0056b3;
	--secondary-color: #333;
	--text-color: #e0e0e0;
	--text-muted-color: #a0a0a0;
	--border-color: #2c2c2c;
	--font-family: 'Helvetica Neue', Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--bg-color);
	color: var(--text-color);
	font-family: var(--font-family);
	line-height: 1.6;
}

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

h1,
h2,
h3 {
	line-height: 1.2;
	margin-bottom: 1rem;
	color: #ffffff;
}

h1 {
	font-size: 3rem;
}
h2 {
	font-size: 2.5rem;
}
h3 {
	font-size: 1.5rem;
}

p {
	margin-bottom: 1rem;
	color: var(--text-muted-color);
}

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

a:hover {
	color: var(--primary-hover-color);
}

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

ul {
	list-style: none;
}

section {
	padding: 6rem 0;
}

.section-intro {
	text-align: center;
	max-width: 600px;
	margin: 0 auto 3rem auto;
}

/* --- Buttons --- */
.btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	border-radius: 5px;
	border: none;
	cursor: pointer;
	font-weight: bold;
	text-align: center;
	transition: all 0.3s ease;
}

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

.btn-primary:hover {
	background-color: var(--primary-hover-color);
	color: #fff;
	transform: translateY(-2px);
}

.btn-secondary {
	background-color: var(--secondary-color);
	color: #fff;
}

.btn-secondary:hover {
	background-color: #444;
	color: #fff;
	transform: translateY(-2px);
}

/* --- Header --- */
.main-header {
	background-color: rgba(18, 18, 18, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border-color);
	padding: 1rem 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

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

.logo-link {
	display: flex;
	align-items: center;
	font-size: 1.2rem;
	font-weight: bold;
	color: #fff;
}
.logo-link:hover {
	color: #fff;
}

.logo-img {
	width: auto;
	height: 40px;
	margin-right: 0.5rem;
}

.nav-links {
	display: flex;
	gap: 2rem;
}

.nav-links a {
	color: var(--text-muted-color);
	font-weight: bold;
	padding-bottom: 5px;
	border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
	color: #fff;
	border-bottom-color: var(--primary-color);
}

.mobile-nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 1001;
}

.mobile-nav-toggle span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: #fff;
	margin: 5px 0;
	transition: all 0.3s ease;
}

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

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

/* --- Hero Section --- */
.hero-section {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-image: linear-gradient(
			103deg,
			rgba(18, 18, 17, 0.78) 2.03%,
			rgba(18, 18, 17, 0.6) 58.46%,
			rgba(18, 18, 17, 0) 90.36%
		),
		url('../img/h1.webp');
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	position: relative;
}

.hero-section::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
}

.hero-section .container {
	position: relative;
	z-index: 2;
}

.hero-section h1 {
	font-size: 4rem;
}

.hero-section .subtitle {
	font-size: 1.25rem;
	max-width: 600px;
	margin: 1rem auto 2rem;
	color: var(--text-color);
}

/* --- Courses Section --- */
.courses-section {
	background-color: var(--bg-color);
}

.courses-section h2 {
	text-align: center;
}

.courses-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.course-card {
	background-color: var(--surface-color);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 2rem;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 20px rgba(0, 123, 255, 0.1);
}

.course-card img {
	width: 100%;
	height: auto;
	margin: 0 auto 1.5rem auto;
}

/* --- Why Us Section --- */
.why-us-section .container {
	display: flex;
	align-items: center;
	gap: 4rem;
}

.why-us-content {
	flex: 1;
}

.why-us-image {
	flex: 1;
}
.why-us-image img {
	border-radius: 8px;
}

.why-us-content ul li {
	margin-bottom: 1rem;
	font-size: 1.1rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.why-us-content .emoji {
	font-size: 1.5rem;
	margin-right: 1rem;
}

/* --- Mission Section (About Page) --- */
.mission-section {
	padding-top: 100px;
	text-align: center;
	background-image: linear-gradient(
			103deg,
			rgba(18, 18, 17, 0.78) 2.03%,
			rgba(18, 18, 17, 0.6) 58.46%,
			rgba(18, 18, 17, 0) 90.36%
		),
		url('../img/h6.webp');
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	/* background-blend-mode: overlay; */
	position: relative;
}

.mission-section::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(18, 18, 18, 0.9);
}

.mission-section .container {
	position: relative;
	z-index: 2;
	max-width: 800px;
}
.mission-section h2 {
	font-size: 2.8rem;
}
.mission-section p {
	font-size: 1.1rem;
	color: var(--text-color);
}

/* --- FAQ Section --- */
.faq-section {
	background-color: var(--bg-color);
}
.faq-section h2 {
	text-align: center;
	margin-bottom: 3rem;
}
.faq-accordion {
	max-width: 700px;
	margin: 0 auto;
}
.faq-item {
	border-bottom: 1px solid var(--border-color);
}
.faq-question {
	background: none;
	border: none;
	width: 100%;
	text-align: left;
	padding: 1.5rem 1rem;
	font-size: 1.2rem;
	font-weight: bold;
	color: #fff;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.faq-icon {
	font-size: 1.5rem;
	font-weight: 300;
	transition: transform 0.3s ease;
}
.faq-question.active .faq-icon {
	transform: rotate(45deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
}
.faq-answer p {
	padding: 0 1rem 1.5rem 1rem;
	color: var(--text-muted-color);
}

/* --- Contact Section --- */
.contact-section {
	background: var(--surface-color);
}
.contact-section .container {
	max-width: 600px;
	text-align: center;
}

#contact-form {
	margin-top: 2rem;
	text-align: left;
}
.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,
.form-group textarea {
	width: 100%;
	padding: 0.75rem;
	background-color: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 5px;
	color: var(--text-color);
	font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.form-group-checkbox {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.form-group-checkbox input[type='checkbox'] {
	width: auto;
	accent-color: var(--primary-color);
}

.form-group-checkbox label {
	margin-bottom: 0;
	font-weight: normal;
	color: var(--text-muted-color);
	font-size: 0.9rem;
}

#form-status {
	margin-top: 1rem;
	font-weight: bold;
}

/* --- Legal Page --- */
.legal-page {
	padding-top: 8rem;
	padding-bottom: 4rem;
}

.legal-page .container {
	max-width: 800px;
}

.legal-page h1 {
	font-size: 1.5rem;
	margin-bottom: 2rem;
}

.legal-page h2 {
	font-size: 1.5rem;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 0.5rem;
}

.legal-page p,
.legal-page li {
	color: var(--text-muted-color);
	margin-bottom: 1rem;
}
.legal-page ul {
	list-style: disc;
	padding-left: 2rem;
}

/* --- Footer --- */
.main-footer {
	background-color: var(--surface-color);
	color: var(--text-muted-color);
	padding: 4rem 0 2rem 0;
	border-top: 1px solid var(--border-color);
}
.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}
.footer-about h4,
.footer-contact h4,
.footer-links h4 {
	color: #fff;
	font-size: 1.2rem;
	margin-bottom: 1rem;
}
.footer-links ul li {
	margin-bottom: 0.5rem;
}
.footer-links a {
	color: var(--text-muted-color);
}
.footer-links a:hover {
	color: var(--primary-color);
}
.footer-bottom {
	text-align: center;
	border-top: 1px solid var(--border-color);
	padding-top: 2rem;
}

/* --- Cookie Consent Modal --- */
.cookie-consent-modal {
	position: fixed;
	bottom: -100%;
	left: 0;
	width: 100%;
	background-color: var(--surface-color);
	border-top: 1px solid var(--border-color);
	padding: 1.5rem 0;
	z-index: 2000;
	transition: bottom 0.5s ease-in-out;
	box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}
.cookie-consent-modal.show {
	bottom: 0;
}
.cookie-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1100px;
	margin: 0 auto;
	width: 90%;
}
.cookie-content p {
	margin: 0;
	padding-right: 2rem;
}
.cookie-buttons {
	display: flex;
	gap: 1rem;
	flex-shrink: 0;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
	h1 {
		font-size: 2.5rem;
	}
	.hero-section h1 {
		font-size: 3rem;
	}
	h2 {
		font-size: 2rem;
	}

	.nav-links {
		position: fixed;
		top: 0;
		right: -100%;
		width: 70%;
		height: 100vh;
		background-color: var(--surface-color);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 3rem;
		transition: right 0.5s ease-in-out;
	}

	.nav-links.active {
		right: 0;
	}

	.mobile-nav-toggle {
		display: block;
	}

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

	.why-us-section .container {
		flex-direction: column;
		text-align: center;
	}
	.why-us-image {
		margin-top: 2rem;
		order: -1;
	}

	.cookie-content {
		flex-direction: column;
		text-align: center;
		gap: 1rem;
	}
	.cookie-content p {
		padding: 0;
	}
}

@media (max-width: 480px) {
	section {
		padding: 4rem 0;
	}
	.hero-section h1 {
		font-size: 2.5rem;
	}
	.hero-section .subtitle {
		font-size: 1rem;
	}
}
