/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--color-primary-bg: #c8f4f9;
	--color-accent: #ff6a00;
	--color-accent-light: #ffaa33;
	--color-secondary-bg: #fdf3e7;
	--color-text: #00263a;
	--container-width: 1200px;
	--transition: all 0.3s ease;
}

body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	color: var(--color-text);
	line-height: 1.6;
	background-color: var(--color-primary-bg);
	overflow-x: hidden;
}

a {
	color: var(--color-accent);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--color-accent-light);
}

.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
}

.btn {
	display: inline-block;
	padding: 12px 24px;
	background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
	color: white;
	border: none;
	border-radius: 5px;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	text-transform: uppercase;
	font-size: 16px;
	letter-spacing: 0.5px;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(255, 106, 0, 0.3);
	color: white;
}

section {
	padding: 80px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 20px;
	font-weight: 700;
	line-height: 1.2;
}

h1 {
	font-size: 48px;
}

h2 {
	font-size: 36px;
	position: relative;
	padding-bottom: 15px;
}

h2:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 80px;
	height: 3px;
	background: var(--color-accent);
}

h3 {
	font-size: 24px;
}

p {
	margin-bottom: 20px;
}

/* Header Styles */
.header {
	background-color: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}

.logo a {
	display: flex;
	align-items: center;
	color: var(--color-text);
	font-weight: 700;
	font-size: 24px;
}

.logo svg {
	margin-right: 10px;
}

.main-nav ul {
	display: flex;
	list-style: none;
}

.main-nav li {
	margin-left: 25px;
}

.main-nav a {
	color: var(--color-text);
	font-weight: 500;
	position: relative;
}

.main-nav a:after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--color-accent);
	transition: var(--transition);
}

.main-nav a:hover:after {
	width: 100%;
}

.menu-toggle {
	display: none;
}

.burger-menu {
	display: none;
	flex-direction: column;
	cursor: pointer;
	width: 30px;
	height: 20px;
	position: relative;
}

.burger-menu span {
	display: block;
	height: 3px;
	width: 100%;
	background-color: var(--color-text);
	position: absolute;
	transition: var(--transition);
}

.burger-menu span:nth-child(1) {
	top: 0;
}

.burger-menu span:nth-child(2) {
	top: 50%;
	transform: translateY(-50%);
}

.burger-menu span:nth-child(3) {
	bottom: 0;
}

/* Hero Section */
.hero {
	background-color: var(--color-secondary-bg);
	background-image: url("../img/XaFlNJ.jpg");
	background-size: cover;
	background-position: center;
	position: relative;
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.hero:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgba(0, 38, 58, 0.7) 0%, rgba(0, 38, 58, 0.3) 100%);
}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 700px;
	color: white;
	padding: 40px;
	background-color: rgba(0, 38, 58, 0.7);
	border-radius: 10px;
	margin: 0 auto;
}

.hero h1 {
	margin-bottom: 20px;
}

.hero p {
	font-size: 18px;
	margin-bottom: 30px;
}

/* About Section */
.about {
	background-color: white;
}

.about-content {
	display: flex;
	align-items: center;
	gap: 50px;
}

.about-image {
	flex: 1;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.5s ease;
}

.about-image:hover img {
	transform: scale(1.05);
}

.about-text {
	flex: 1;
}

.about-text p {
	font-size: 16px;
	opacity: 0;
	transform: translateY(20px);
	transition:
		opacity 0.5s ease,
		transform 0.5s ease;
}

.about-text.visible p {
	opacity: 1;
	transform: translateY(0);
}

/* Features Section */
.features {
	background-color: var(--color-primary-bg);
}

.features-title {
	text-align: center;
	margin-bottom: 50px;
}

.features-title h2:after {
	left: 50%;
	transform: translateX(-50%);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.feature-item {
	background-color: white;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: var(--transition);
	text-align: center;
}

.feature-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	background-color: var(--color-primary-bg);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	color: var(--color-accent);
}

/* Courses Section */
.courses {
	background-color: var(--color-secondary-bg);
}

.courses-title {
	text-align: center;
	margin-bottom: 50px;
}

.courses-title h2:after {
	left: 50%;
	transform: translateX(-50%);
}

.courses-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.course-card {
	background-color: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: var(--transition);
}

.course-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.course-image {
	height: 200px;
	overflow: hidden;
}

.course-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
	transform: scale(1.1);
}

.course-content {
	padding: 25px;
}

.course-title {
	font-size: 22px;
	margin-bottom: 10px;
}

.course-price {
	font-size: 24px;
	font-weight: 700;
	color: var(--color-accent);
	margin: 15px 0;
}

.course-actions {
	margin-top: 20px;
	text-align: center;
}

/* Order Form Section */
.order {
	background-color: white;
}

.order-content {
	display: flex;
	align-items: center;
	gap: 50px;
}

.order-text {
	flex: 1;
}

.order-form {
	flex: 1;
	background-color: var(--color-primary-bg);
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}

.form-control {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 16px;
	transition: var(--transition);
}

.form-control:focus {
	border-color: var(--color-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.2);
}

.checkbox-group {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
}

.checkbox-group input {
	margin-top: 5px;
	margin-right: 10px;
}

.form-errors {
	color: #d9534f;
	margin-bottom: 20px;
	padding: 10px;
	background-color: rgba(217, 83, 79, 0.1);
	border-radius: 5px;
	list-style-position: inside;
}

/* Testimonials Section */
.testimonials {
	background-color: var(--color-primary-bg);
}

.testimonials-title {
	text-align: center;
	margin-bottom: 50px;
}

.testimonials-title h2:after {
	left: 50%;
	transform: translateX(-50%);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.testimonial-item {
	background-color: white;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	position: relative;
}

.testimonial-item:before {
	content: '"';
	position: absolute;
	top: 20px;
	left: 20px;
	font-size: 60px;
	color: var(--color-accent);
	opacity: 0.2;
	line-height: 1;
}

.testimonial-content {
	margin-bottom: 20px;
	font-style: italic;
}

.testimonial-author {
	display: flex;
	align-items: center;
}

.testimonial-name {
	font-weight: 600;
}

/* FAQ Section */
.faq {
	background-color: var(--color-secondary-bg);
}

.faq-title {
	text-align: center;
	margin-bottom: 50px;
}

.faq-title h2:after {
	left: 50%;
	transform: translateX(-50%);
}

.faq-list {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	background-color: white;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 15px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
	font-weight: 600;
	margin-bottom: 10px;
	position: relative;
	padding-right: 30px;
	color: var(--color-accent);
}

.faq-question:after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
	height: 6px;
	background-color: var(--color-accent);
	border-radius: 50%;
}

.faq-answer {
	padding-top: 10px;
	border-top: 1px solid #eee;
}

/* FAQ answers are now always visible - removed display:none and active class dependency */

/* Footer Styles */
.footer {
	background-color: var(--color-text);
	color: white;
	padding: 60px 0 30px;
}

.footer a {
	color: var(--color-accent-light);
}

.footer a:hover {
	text-decoration: underline;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 50px;
	margin-bottom: 40px;
}

.footer-column h3 {
	color: white;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 10px;
}

.footer-column h3:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 2px;
	background-color: var(--color-accent);
}

.contact-info,
.footer-links {
	list-style: none;
}

.contact-info li,
.footer-links li {
	margin-bottom: 15px;
}

.copyright {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
}

/* Cookie Popup */
.cookie-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(0, 38, 58, 0.95);
	color: white;
	z-index: 9999;
	padding: 20px;
}

.cookie-content {
	max-width: var(--container-width);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cookie-content p {
	margin: 0;
	padding-right: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
	h1 {
		font-size: 38px;
	}

	h2 {
		font-size: 30px;
	}

	section {
		padding: 60px 0;
	}

	.about-content,
	.order-content {
		flex-direction: column;
		gap: 30px;
	}

	.features-grid,
	.courses-grid,
	.testimonials-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-content {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	h1 {
		font-size: 32px;
	}

	h2 {
		font-size: 26px;
	}

	.menu-toggle {
		display: none;
	}

	.burger-menu {
		display: flex;
	}

	.main-nav {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: white;
		padding: 0;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.5s ease;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
	}

	.menu-toggle:checked ~ .main-nav {
		max-height: 500px;
	}

	.menu-toggle:checked ~ .burger-menu span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}

	.menu-toggle:checked ~ .burger-menu span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle:checked ~ .burger-menu span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -7px);
	}

	.main-nav ul {
		flex-direction: column;
		padding: 20px;
	}

	.main-nav li {
		margin: 0 0 15px 0;
	}

	.features-grid,
	.courses-grid,
	.testimonials-grid {
		grid-template-columns: 1fr;
	}

	.cookie-content {
		flex-direction: column;
		text-align: center;
	}

	.cookie-content p {
		margin-bottom: 15px;
		padding-right: 0;
	}
}

@media (max-width: 576px) {
	.footer-content {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.hero-content {
		padding: 30px 20px;
	}
}
