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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background-color: #121212;
	color: #e0e0e0;
	line-height: 1.6;
	overflow-x: hidden; /* Prevent horizontal scroll */
}

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

/* Header */
header {
	background-color: #1f1f1f;
	padding: 1rem 0;
	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: #00bcd4; /* Accent color */
	text-decoration: none;
}

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

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

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

nav ul li a {
	text-decoration: none;
	color: #e0e0e0;
	font-size: 1rem;
	transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
	color: #00bcd4;
}

.menu-toggle {
	display: none; /* Hidden by default, shown on mobile */
	background: none;
	border: none;
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: #e0e0e0;
	margin: 5px 0;
	transition: all 0.3s ease-in-out;
}

/* Hero Section */
#hero {
	background-color: #1a1a1a;
	padding: 80px 0;
	text-align: left;
}

#hero .container {
	display: flex;
	align-items: center;
	gap: 30px;
}

.hero-content {
	flex: 1;
}

.hero-content h1 {
	font-size: 3rem;
	color: #ffffff;
	margin-bottom: 20px;
	line-height: 1.2;
}

.hero-content p {
	font-size: 1.2rem;
	color: #cccccc;
	margin-bottom: 30px;
	max-width: 600px;
}

.hero-image {
	flex: 1;
	max-width: 500px;
}

.hero-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button {
	display: inline-block;
	background-color: #00bcd4;
	color: #121212;
	padding: 12px 25px;
	text-decoration: none;
	font-weight: bold;
	border-radius: 5px;
	transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
	background-color: #0097a7;
	transform: translateY(-2px);
}

/* Sections General Styling */
section {
	padding: 60px 0;
	border-bottom: 1px solid #2c2c2c;
}
section:last-of-type {
	border-bottom: none;
}

section h2 {
	font-size: 2.5rem;
	color: #ffffff;
	text-align: center;
	margin-bottom: 20px;
}
.section-intro {
	text-align: center;
	color: #cccccc;
	max-width: 700px;
	margin: 0 auto 40px auto;
	font-size: 1.1rem;
}

/* Cards Section (Services) */
#services {
	background-color: #161616;
}
.cards-container {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
}

.card {
	background-color: #1f1f1f;
	padding: 25px;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	flex-basis: calc(33.333% - 30px); /* Adjust for gap */
	min-width: 280px; /* Minimum width for smaller screens before wrapping */
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 188, 212, 0.2);
}

.card img {
	width: 100%; /* Adjust as needed */
	height: auto;
	margin-bottom: 15px;
	object-fit: contain;
}

.card h3 {
	font-size: 1.5rem;
	color: #00bcd4;
	margin-bottom: 10px;
}

.card p {
	font-size: 1rem;
	color: #b0b0b0;
}

/* Text Only Section */
.text-only-section {
	background-color: #121212;
}
.text-only-section .container {
	max-width: 1200px;
}
.text-only-section h2 {
	text-align: left;
	margin-bottom: 30px;
}
.text-only-section p {
	margin-bottom: 20px;
	font-size: 1.1rem;
	color: #cccccc;
}
.text-only-section p strong {
	color: #00bcd4;
}

/* Success Story Section */
#success-story {
	background-color: #1a1a1a;
}
#success-story .container {
	display: flex;
	align-items: center;
	gap: 40px;
}
.success-story-image {
	flex: 1;
	max-width: 450px;
}
.success-story-image img {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.success-story-content {
	flex: 1.5;
}
.success-story-content h2 {
	text-align: left;
	margin-bottom: 20px;
}
.success-story-content p {
	margin-bottom: 15px;
	font-size: 1.05rem;
	color: #cccccc;
}
.success-story-content strong {
	color: #00bcd4;
}

/* FAQ Section */
#faq {
	background-color: #161616;
}
.faq-container {
	max-width: 800px;
	margin: 0 auto;
}
.faq-item {
	background-color: #1f1f1f;
	margin-bottom: 10px;
	border-radius: 5px;
	border: 1px solid #2c2c2c;
}
.faq-item summary {
	padding: 15px 20px;
	font-size: 1.2rem;
	font-weight: bold;
	color: #e0e0e0;
	cursor: pointer;
	list-style: none; /* Remove default marker */
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative; /* For icon positioning */
}
.faq-item summary::-webkit-details-marker {
	display: none;
} /* Chrome/Safari */
.faq-item summary::marker {
	display: none;
} /* Firefox */

.faq-item summary .faq-icon {
	content: '+';
	font-size: 1.5rem;
	line-height: 1;
	transition: transform 0.3s ease;
	color: #00bcd4; /* Make icon more visible */
}
.faq-item[open] summary .faq-icon {
	transform: rotate(45deg);
}
.faq-item p {
	padding: 15px 20px 15px 20px;
	color: #b0b0b0;
	font-size: 1rem;
	border-top: 1px solid #2c2c2c;
	margin-top: 10px;
}

/* Contact Form Section */
#contact-form-section {
	background-color: #1a1a1a;
}
.contact-form-layout {
	display: flex;
	align-items: flex-start; /* Align items to the top */
	gap: 40px;
}
.contact-form-image {
	flex: 1;
	max-width: 400px; /* Adjust as needed */
}
.contact-form-image img {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.contact-form-content {
	flex: 1.5;
}
.contact-form-content h2 {
	text-align: left;
	margin-bottom: 15px;
}
.contact-form-content p {
	margin-bottom: 25px;
	font-size: 1.05rem;
	color: #cccccc;
}

#contactForm .form-group {
	margin-bottom: 20px;
}
#contactForm label {
	display: block;
	margin-bottom: 5px;
	color: #c0c0c0;
	font-weight: bold;
}
#contactForm input[type='text'],
#contactForm input[type='email'],
#contactForm textarea {
	width: 100%;
	padding: 12px;
	background-color: #2c2c2c;
	border: 1px solid #444;
	border-radius: 5px;
	color: #e0e0e0;
	font-size: 1rem;
}
#contactForm input[type='text']:focus,
#contactForm input[type='email']:focus,
#contactForm textarea:focus {
	outline: none;
	border-color: #00bcd4;
	box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.3);
}
#contactForm textarea {
	resize: vertical;
	min-height: 120px;
}

#contactForm button[type='submit'] {
	width: auto;
	padding: 12px 30px;
}

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

.form-group-checkbox input[type='checkbox'] {
	width: auto; /* Override default width */
	margin-right: 10px;
	accent-color: #00bcd4; /* Styles the checkmark color in modern browsers */
	height: 18px; /* Custom height */
	width: 18px; /* Custom width */
	cursor: pointer;
}

.form-group-checkbox .checkbox-label {
	font-weight: normal; /* Override bold label style if needed */
	color: #c0c0c0;
	font-size: 0.95rem;
	cursor: pointer;
	margin-bottom: 0; /* Remove default label margin */
}

.form-status-message {
	margin-top: 15px;
	font-size: 1rem;
	font-weight: bold;
}

/* Footer */
footer {
	background-color: #1f1f1f;
	color: #a0a0a0;
	padding: 50px 0 20px 0;
	text-align: center;
}
.footer-content {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 30px;
	text-align: left;
}
.footer-col {
	flex: 1;
	min-width: 200px; /* Ensure columns don't get too narrow */
}
.footer-col h4 {
	color: #00bcd4;
	font-size: 1.3rem;
	margin-bottom: 15px;
}
.footer-col p,
.footer-col ul li {
	margin-bottom: 10px;
	font-size: 0.95rem;
}
.footer-col ul {
	padding: 0;
	list-style: none;
}
.footer-col a {
	color: #a0a0a0;
	text-decoration: none;
	transition: color 0.3s ease;
}
.footer-col a:hover {
	color: #00bcd4;
}
.copyright p {
	font-size: 0.9rem;
	border-top: 1px solid #2c2c2c;
	padding-top: 20px;
}

/* Cookie Consent Modal */
.cookie-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #1f1f1f;
	color: #e0e0e0;
	padding: 20px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
	z-index: 2000;
	display: none; /* Hidden by default */
	animation: slideUp 0.5s ease-out;
}
@keyframes slideUp {
	from {
		transform: translateY(100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.cookie-modal-content {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}
.cookie-modal-content p {
	margin: 0;
	flex-grow: 1;
	font-size: 0.9rem;
}
.cookie-modal-content a {
	color: #00bcd4;
	text-decoration: underline;
}
.cookie-buttons button {
	padding: 8px 15px;
	margin-left: 10px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
}
#acceptCookies {
	margin-bottom: 5px;
	background-color: #00bcd4;
	color: #121212;
}
#declineCookies {
	background-color: #444;
	color: #e0e0e0;
}

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

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

/* Legal Pages Styling */
.legal-page main {
	padding: 40px 0;
}
.legal-page .container a {
	text-decoration: none;
}
.legal-page h1 {
	font-size: 1.5rem;
	color: #00bcd4;
	margin-bottom: 20px;
	border-bottom: 1px solid #2c2c2c;
	padding-bottom: 10px;
}
.legal-page h2 {
	font-size: 1.5rem;
	color: #e0e0e0;
	margin-top: 30px;
	margin-bottom: 10px;
	text-align: left;
}
.legal-page p,
.legal-page ul li {
	font-size: 1rem;
	color: #cccccc;
	line-height: 1.7;
}
.legal-page ul {
	list-style-position: inside;
	padding-left: 20px;
}
.legal-page a {
	color: #00bcd4;
	text-decoration: underline;
}
.legal-page strong {
	color: #e0e0e0;
}
.legal-page .last-updated {
	font-style: italic;
	color: #a0a0a0;
	margin-bottom: 25px;
	font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
	.hero-content h1 {
		font-size: 2.5rem;
	}
	#hero .container,
	#success-story .container,
	.contact-form-layout {
		flex-direction: column;
		text-align: center;
	}
	#hero .hero-image,
	#success-story .success-story-image,
	.contact-form-image {
		margin: 0 auto 30px auto; /* Center image and add bottom margin */
		max-width: 80%;
	}
	.hero-content,
	.success-story-content,
	.contact-form-content {
		max-width: 100%;
	}
	.success-story-content h2,
	.contact-form-content h2,
	.text-only-section h2 {
		text-align: center;
	}
	.card {
		flex-basis: calc(50% - 20px); /* 2 cards per row */
	}
}

@media (max-width: 768px) {
	nav ul {
		display: none;
		flex-direction: column;
		width: 100%;
		background-color: #1f1f1f;
		position: absolute;
		top: 60px; /* Adjust based on header height */
		left: 0;
		padding: 10px 0;
	}
	nav ul.active {
		display: flex;
	}
	nav ul li {
		margin: 10px 0;
		text-align: center;
	}
	.menu-toggle {
		display: block;
	}
	.menu-toggle.active span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}
	.menu-toggle.active span:nth-child(2) {
		opacity: 0;
	}
	.menu-toggle.active span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -6px);
	}

	.hero-content h1 {
		font-size: 2.2rem;
	}
	.hero-content p {
		font-size: 1rem;
	}
	section h2 {
		font-size: 2rem;
	}
	.card {
		flex-basis: 100%; /* 1 card per row */
	}
	.footer-content {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.footer-col {
		margin-bottom: 20px;
	}
	.footer-col h4 {
		margin-bottom: 10px;
	}
	.cookie-modal-content {
		flex-direction: column;
		text-align: center;
	}
	.cookie-buttons {
		margin-top: 15px;
	}
	.cookie-buttons button {
		margin: 0 5px;
	}
}

@media (max-width: 480px) {
	.hero-content h1 {
		font-size: 1.8rem;
	}
	section h2 {
		font-size: 1.8rem;
	}
	.cta-button,
	#contactForm button[type='submit'] {
		padding: 10px 20px;
		font-size: 0.9rem;
	}
	.logo {
		font-size: 1.5rem;
	}
}
