/* General Styles */
body {
	background-color: #121212;
	color: #e0e0e0;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	margin: 0;
	padding: 0;
	line-height: 1.7;
	font-size: 16px;
}

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

html {
	scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
	color: #ffffff;
	margin-top: 0;
}

h1 {
	font-size: 2.8rem;
	margin-bottom: 0.5em;
}

h2 {
	font-size: 2.2rem;
	margin-bottom: 0.75em;
	text-align: center;
	padding-bottom: 10px;
	border-bottom: 2px solid #007bff; /* Accent color */
	display: inline-block; /* To make border only as wide as text */
}

section h2 {
	/* Center section titles */
	display: block; /* Override inline-block for section titles */
	text-align: center;
	margin-bottom: 40px; /* More space below section titles */
}

h3 {
	font-size: 1.6rem;
	color: #00bfff; /* Brighter color for card titles */
}

p {
	margin-bottom: 1em;
	color: #c5c5c5; /* Slightly lighter than main text for readability */
}

a {
	color: #00aaff; /* A bright, accessible blue */
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #00e1ff;
	text-decoration: underline;
}

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

/* Header */
header {
	background-color: #1a1a1a;
	padding: 15px 0;
	border-bottom: 1px solid #333;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

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

.logo {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 1.2rem;
	font-weight: bold;
	color: #ffffff;
}
.logo:hover {
	color: #00bfff;
	text-decoration: none;
}

.logo img {
	height: 40px; /* Adjust logo height */
	width: auto; /* Maintain aspect ratio */
}

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

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

nav ul li a {
	color: #e0e0e0;
	font-weight: 500;
	font-size: 1rem;
}

nav ul li a:hover {
	color: #00bfff;
	text-decoration: none;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	color: #e0e0e0;
	font-size: 24px;
	cursor: pointer;
}

/* Hero Section */
.hero-section {
	background: linear-gradient(rgba(18, 18, 18, 0.85), rgba(18, 18, 18, 0.95));
	padding: 80px 0;
	text-align: left;
	min-height: 70vh;
	display: flex;
	align-items: center;
}

.hero-section .container {
	display: flex;
	align-items: center;
	gap: 40px;
}

.hero-content {
	flex: 1;
}

.hero-image-container {
	flex: 0 0 45%; /* Adjust as needed */
	max-width: 45%;
}

.hero-image-container img {
	width: 100%;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.hero-section h1 {
	font-size: 3.2rem; /* Larger for hero */
	color: #ffffff;
	line-height: 1.2;
}

.hero-section p {
	font-size: 1.2rem;
	margin-bottom: 30px;
	color: #d0d0d0;
}

.cta-button {
	background-color: #007bff;
	color: #ffffff;
	padding: 12px 25px;
	border-radius: 5px;
	font-size: 1rem;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
	background-color: #0056b3;
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-2px);
}

/* Text Only Section */
.text-only-section {
	padding: 60px 0;
	background-color: #181818; /* Slightly different from body */
}
.text-only-section p {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-size: 1.1rem;
}

/* Cards Section */
.cards-section {
	padding: 60px 0;
}
.cards-section > .container > p {
	/* Targeting the intro paragraph for cards section */
	text-align: center;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 40px;
	font-size: 1.1em;
}

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

.card {
	background-color: #1e1e1e;
	padding: 25px;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.card img {
	width: 100%;
	height: auto; /* Fixed height for card images */
	object-fit: cover;
	margin-bottom: 20px;
}

.card h3 {
	margin-bottom: 10px;
}

/* Page 2 Content Sections */
.content-section {
	padding: 60px 0;
	background-color: #151515; /* Alternate bg */
}
.content-section:nth-child(odd) {
	/* To vary background for sections if needed */
	background-color: #181818;
}

.content-section .container {
	display: flex;
	align-items: center;
	gap: 40px;
}

.content-section.reverse .container {
	flex-direction: row-reverse;
}

.content-text {
	flex: 1;
}
.content-text h2 {
	text-align: left;
	border-bottom: none; /* No border for these sub-section titles */
	display: block;
}

.content-image {
	flex: 0 0 40%;
	max-width: 40%;
}
.content-image img {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.faq-section {
	padding: 60px 0;
	background-color: #121212;
}

.faq-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 25px;
}

.faq-item {
	background-color: #1e1e1e;
	padding: 20px;
	border-radius: 6px;
	border-left: 4px solid #007bff;
}
.faq-item h3 {
	font-size: 1.3rem;
	margin-bottom: 0.5em;
	color: #00bfff;
}

/* Contact Section */
.contact-section {
	padding: 60px 0;
	background-color: #181818;
}
.contact-section > .container > p {
	/* Intro paragraph for contact section */
	text-align: center;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
}

.contact-form {
	max-width: 700px;
	margin: 0 auto;
	background-color: #1e1e1e;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.form-group label {
	display: block;
	margin-bottom: 8px;
	color: #b0b0b0;
	font-weight: 500;
}

.form-group input[type='text'],
.form-group input[type='email'],
.form-group textarea {
	width: 100%;
	padding: 12px;
	border-radius: 5px;
	border: 1px solid #444;
	background-color: #2a2a2a;
	color: #e0e0e0;
	font-size: 1rem;
	box-sizing: border-box; /* Ensures padding doesn't expand element */
}
.form-group input[type='text']:focus,
.form-group input[type='email']:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #007bff;
	box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

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

.form-group-checkbox input[type='checkbox'] {
	margin-right: 10px;
	width: auto; /* Override full width from other inputs */
	accent-color: #007bff; /* Style the checkmark color */
}

.form-group-checkbox .checkbox-label {
	margin-bottom: 0; /* Override default label margin */
	font-weight: normal; /* Override bold label if set elsewhere */
	font-size: 0.9rem;
	color: #b0b0b0;
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

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

/* Footer */
footer {
	background-color: #1a1a1a;
	color: #a0a0a0;
	padding: 40px 0 20px;
	border-top: 1px solid #333;
	font-size: 0.9rem;
}

.footer-content {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 30px;
}

.footer-contact,
.footer-links,
.footer-legal {
	flex: 1;
	min-width: 200px; /* Ensure they don't get too squished */
}

.footer-contact h4,
.footer-links h4,
.footer-legal h4 {
	color: #e0e0e0;
	font-size: 1.1rem;
	margin-bottom: 15px;
	border-bottom: 1px solid #444;
	padding-bottom: 8px;
}

.footer-contact p {
	margin-bottom: 8px;
	line-height: 1.5;
}

.footer-links ul,
.footer-legal ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li,
.footer-legal li {
	margin-bottom: 8px;
}

.footer-links a,
.footer-legal a,
.footer-contact a {
	color: #a0a0a0;
}

.footer-links a:hover,
.footer-legal a:hover,
.footer-contact a:hover {
	color: #00bfff;
	text-decoration: underline;
}

.copyright {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid #333;
	font-size: 0.85rem;
}

/* Cookie Modal */
.cookie-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(20, 20, 20, 0.95); /* Dark, slightly transparent */
	backdrop-filter: blur(5px);
	color: #e0e0e0;
	padding: 20px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
	z-index: 2000;
	display: none; /* Hidden by default */
	border-top: 1px solid #444;
}

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

.cookie-modal-content p {
	margin: 0;

	font-size: 0.9rem;
}
.cookie-modal-content p a {
	flex-shrink: 1;
	color: #00aaff;
	font-weight: bold;
}
.cookie-modal-content p a:hover {
	text-decoration: underline;
}

.cookie-modal-buttons {
	flex-shrink: 0;
	display: flex;
	gap: 10px;
}

.cookie-modal-buttons button {
	flex-shrink: 0;
	padding: 10px 18px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-weight: 500;
	transition: background-color 0.3s ease;
}

#accept-cookies {
	background-color: #007bff;
	color: white;
}
#accept-cookies:hover {
	background-color: #0056b3;
}

#reject-cookies {
	background-color: #444;
	color: #e0e0e0;
}
#reject-cookies:hover {
	background-color: #555;
}

/* Loading Modal */
.loading-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	display: none; /* Hidden by default */
	justify-content: center;
	align-items: center;
	z-index: 3000; /* Ensure it's on top */
}

.loading-modal-content {
	background-color: #1e1e1e;
	padding: 30px 40px;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

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

.loading-spinner {
	border: 6px solid #f3f3f3; /* Light grey */
	border-top: 6px solid #007bff; /* Blue */
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1.5s linear infinite;
	margin: 0 auto 20px;
}

.loading-modal-content p {
	color: #e0e0e0;
	font-size: 1.1rem;
	margin: 0;
}

/* Animation */
.animate-on-scroll {
	opacity: 0;
	transform: scale(0.95) translateY(20px);
	transition: opacity 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55),
		transform 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.animate-on-scroll.is-visible {
	opacity: 1;
	transform: scale(1) translateY(0);
}

/* Legal Pages Specific Styles */
.legal-page-main {
	padding: 40px 0;
}
.legal-page-main .container {
	background-color: #1a1a1a;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.legal-page-main h1 {
	font-size: 1.5rem;
	margin-bottom: 20px;
	border-bottom: 1px solid #333;
	padding-bottom: 10px;
}
.legal-page-main h2 {
	font-size: 1.4rem;
	margin-top: 30px;
	margin-bottom: 15px;
	color: #00bfff;
	text-align: left; /* Override general h2 styling */
	border-bottom: none;
}
.legal-page-main p,
.legal-page-main ul li {
	margin-bottom: 15px;
	line-height: 1.8;
	color: #c0c0c0;
}
.legal-page-main ul {
	padding-left: 20px;
}
.legal-page-main strong {
	color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
	.hero-section .container {
		flex-direction: column;
		text-align: center;
	}
	.hero-content {
		order: 2;
	}
	.hero-image-container {
		order: 1;
		max-width: 70%; /* Adjust for better look on tablets */
		margin-bottom: 30px;
	}
	.hero-section h1 {
		font-size: 2.5rem;
	}

	.content-section .container {
		flex-direction: column;
	}
	.content-section.reverse .container {
		flex-direction: column; /* Maintain column layout */
	}
	.content-image {
		max-width: 70%; /* Or 100% if full width desired */
		margin-bottom: 30px;
	}
	.content-text h2 {
		text-align: center;
	}
}

@media (max-width: 768px) {
	h1 {
		font-size: 2.2rem;
	}
	h2 {
		font-size: 1.8rem;
	}
	.hero-section h1 {
		font-size: 2.4rem;
	}
	.hero-section p {
		font-size: 1rem;
	}

	nav ul {
		display: none;
		flex-direction: column;
		width: 100%;
		background-color: #1e1e1e;
		position: absolute;
		top: 65px; /* Adjust based on header height */
		left: 0;
		padding: 10px 0;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	}
	nav ul.active {
		display: flex;
	}
	nav ul li {
		margin: 10px 20px;
		text-align: center;
	}
	.menu-toggle {
		display: block;
	}

	.cards-grid {
		grid-template-columns: 1fr; /* Stack cards on smaller screens */
	}

	.footer-content {
		flex-direction: column;
		text-align: center;
	}
	.footer-contact,
	.footer-links,
	.footer-legal {
		margin-bottom: 20px;
	}
	.footer-contact h4,
	.footer-links h4,
	.footer-legal h4 {
		border-bottom: none; /* remove border for stacked layout */
		padding-bottom: 0;
	}

	.cookie-modal-content {
		flex-direction: column;
		text-align: center;
	}
	.cookie-modal-buttons {
		margin-top: 15px;
	}
}

@media (max-width: 480px) {
	.container {
		width: 95%;
	}
	h1 {
		font-size: 2rem;
	}
	.hero-section h1 {
		font-size: 2.2rem;
	}
	.hero-image-container {
		max-width: 90%;
	}
	.content-image {
		max-width: 90%;
	}

	.contact-form {
		padding: 20px;
	}
	.form-group input[type='text'],
	.form-group input[type='email'],
	.form-group textarea,
	.cta-button {
		font-size: 0.95rem;
	}
	.cta-button {
		padding: 10px 20px;
	}
}
