:root {
	--primary-color: #4a90e2;
	--secondary-color: #50e3c2;
	--background-color: #121212;
	--surface-color: #1e1e1e;
	--text-color: #eaeaea;
	--text-muted-color: #a0a0a0;
	--font-family: 'Roboto', sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

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

h1,
h2,
h3 {
	line-height: 1.2;
	margin-bottom: 1rem;
	font-weight: 700;
}

h1 {
	font-size: 3rem;
}

h2 {
	font-size: 2.2rem;
	color: var(--primary-color);
}

p {
	margin-bottom: 1rem;
}

a {
	color: var(--secondary-color);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

ul,
ol {
	padding-left: 20px;
}

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

.content-section,
.full-bleed-section {
	padding: 4rem 2rem;
	max-width: 1200px;
	margin: 0 auto;
	overflow: hidden; /* For animation */
}

.section-intro {
	max-width: 700px;
	margin: 0 auto 2rem auto;
	text-align: center;
	font-size: 1.1rem;
	color: var(--text-muted-color);
}

/* Header & Nav */
.main-header {
	background-color: rgba(30, 30, 30, 0.8);
	backdrop-filter: blur(10px);
	padding: 1rem;
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100%;
}

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

.nav-logo {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--text-color);
}
.nav-logo:hover {
	text-decoration: none;
}

.nav-logo img {
	height: 40px;
	width: 40px;
}

.nav-menu {
	display: flex;
	gap: 2rem;
	list-style: none;
}

.nav-link {
	color: var(--text-color);
	transition: color 0.3s;
}

.nav-link:hover {
	color: var(--primary-color);
	text-decoration: none;
}

.hamburger {
	display: none;
	cursor: pointer;
}

.bar {
	display: block;
	width: 25px;
	height: 3px;
	margin: 5px auto;
	transition: all 0.3s ease-in-out;
	background-color: var(--text-color);
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 0.8rem 1.5rem;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
	transform: translateY(-2px);
	text-decoration: none;
}

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

.btn-secondary {
	background-color: var(--secondary-color);
	color: var(--background-color);
}
.btn-secondary:hover {
	background-color: #3ccbaa;
}

.btn-tertiary {
	background-color: #444;
	color: var(--text-color);
}
.btn-tertiary:hover {
	background-color: #555;
}

/* Hero Section */
#hero {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 80vh;
	background-image: linear-gradient(
			rgba(18, 18, 18, 0.7),
			rgba(18, 18, 18, 0.7)
		),
		url(../img/hero-bg.png);
	background-size: cover;
	background-position: center;
}

.hero-content {
	max-width: 800px;
}

.hero-content h1 {
	font-size: 3.5rem;
	color: #fff;
}

.hero-content p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	color: var(--text-muted-color);
}

/* Cards Section */
.cards-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

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

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.card h3 {
	color: var(--secondary-color);
}

/* Split Layout */
.split-layout {
	display: flex;
	align-items: center;
	gap: 3rem;
}

.split-layout .split-content,
.split-layout .split-image {
	flex: 1;
}

.split-layout.reverse {
	flex-direction: row-reverse;
}

.steps {
	list-style: none;
	padding-left: 0;
	counter-reset: steps-counter;
}
.steps li {
	position: relative;
	padding-left: 40px;
	margin-bottom: 1.5rem;
}
.steps li::before {
	counter-increment: steps-counter;
	content: counter(steps-counter);
	position: absolute;
	left: 0;
	top: 0;
	width: 30px;
	height: 30px;
	background-color: var(--primary-color);
	border-radius: 50%;
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: bold;
}

/* FAQ Section */
.faq-container {
	max-width: 100%;
	margin-top: 2rem;
}

.faq-item {
	background-color: var(--surface-color);
	margin-bottom: 10px;
	border-radius: 5px;
}

.faq-question {
	width: 100%;
	background: none;
	border: none;
	padding: 1rem 1.5rem;
	font-size: 1.1rem;
	color: var(--text-color);
	text-align: left;
	cursor: pointer;
	position: relative;
	font-weight: 700;
}

.faq-question::after {
	content: '+';
	position: absolute;
	right: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	transition: transform 0.3s;
}

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

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
}

.faq-answer p {
	padding: 0 1.5rem 1rem 1.5rem;
	color: var(--text-muted-color);
	margin-bottom: 0;
}

/* Contact Form */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group label {
	margin-bottom: 0.5rem;
	font-weight: 700;
	color: var(--text-muted-color);
}

.form-group input,
.form-group textarea {
	background-color: #2a2a2a;
	border: 1px solid #444;
	border-radius: 5px;
	padding: 0.8rem;
	color: var(--text-color);
	font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary-color);
}

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

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

.form-group-checkbox input[type='checkbox'] {
	accent-color: var(--primary-color);
	width: 1.2em;
	height: 1.2em;
	margin: 0;
}

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

/* Modal for Form Submission */
.modal {
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.7);
	display: flex; /* This is toggled by JS, but flex is the intended display mode */
	justify-content: center;
	align-items: center;
	gap: 1.5rem;
	z-index: 1000;
	flex-wrap: wrap;
}

.modal-content {
	background-color: var(--surface-color);
	padding: 2.5rem;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	color: var(--text-color);
	min-width: 300px;
}

.loader {
	border: 5px solid #444;
	border-top: 5px solid var(--primary-color);
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1.2s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Footer */
.main-footer {
	background-color: var(--surface-color);
	padding: 3rem 2rem 1rem;
	margin-top: 3rem;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
	margin-bottom: 2rem;
}

.footer-col h3 {
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.footer-col p {
	color: var(--text-muted-color);
	margin-bottom: 0.5rem;
}

.footer-col ul {
	list-style: none;
	padding: 0;
}

.footer-col ul li {
	margin-bottom: 0.5rem;
}

.footer-col ul li a {
	color: var(--text-muted-color);
}
.footer-col ul li a:hover {
	color: var(--secondary-color);
}

.footer-bottom {
	text-align: center;
	padding-top: 1.5rem;
	border-top: 1px solid #333;
	max-width: 1200px;
	margin: 0 auto;
	color: var(--text-muted-color);
}

/* Cookie Consent Banner */
.cookie-consent-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: var(--surface-color);
	padding: 1rem;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.5rem;
	z-index: 200;
	flex-wrap: wrap;
}

.cookie-buttons {
	display: flex;
	gap: 1rem;
}

/* Legal Pages */
.legal-page {
	padding: 4rem 2rem;
	max-width: 900px;
	margin: 0 auto;
}

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

.legal-page h2 {
	font-size: 1.5rem;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.legal-page p,
.legal-page li {
	color: var(--text-muted-color);
}

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

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

/* Responsive */
@media (max-width: 768px) {
	h1 {
		font-size: 2.5rem;
	}
	.hero-content h1 {
		font-size: 2.8rem;
	}
	h2 {
		font-size: 1.8rem;
	}

	.nav-menu {
		position: fixed;
		left: -100%;
		top: 68px; /* Height of header */
		flex-direction: column;
		background-color: var(--surface-color);
		width: 100%;
		text-align: center;
		transition: 0.3s;
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
		gap: 0;
	}

	.nav-menu.active {
		left: 0;
	}

	.nav-item {
		padding: 1.5rem 0;
		border-bottom: 1px solid #333;
	}

	.hamburger {
		display: block;
	}

	.hamburger.active .bar:nth-child(2) {
		opacity: 0;
	}

	.hamburger.active .bar:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.hamburger.active .bar:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	.split-layout,
	.split-layout.reverse {
		flex-direction: column;
	}

	.split-image {
		margin-top: 2rem;
	}

	.split-layout.reverse .split-image {
		margin-top: 0;
		margin-bottom: 2rem;
	}
}

@media (max-width: 480px) {
	.content-section,
	.full-bleed-section {
		padding: 3rem 1rem;
	}

	.cookie-consent-banner {
		flex-direction: column;
		text-align: center;
	}
}
