:root {
	--primary-color: #0d1b2a; /* Dark Blue */
	--secondary-color: #1b263b; /* Slightly Lighter Dark Blue */
	--accent-color: #e07a5f; /* Coral Accent */
	--text-color: #f0f3f5; /* Light Gray/Off-white */
	--text-muted-color: #bcccdc; /* Muted light gray */
	--card-bg-color: #2a3b4d;
	--font-family: 'Roboto', sans-serif;
	--container-width: 1140px;
	--header-height: 70px;
}

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

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

html {
	scroll-behavior: smooth;
}

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

/* Header */
header {
	background-color: var(--secondary-color);
	padding: 10px 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	height: var(--header-height);
	display: flex;
	align-items: center;
}

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

.logo-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--text-color);
}

.logo-img {
	height: 40px;
	margin-right: 10px;
}
.footer-logo-img {
	height: 50px;
	margin-top: 10px;
	opacity: 0.8;
}

.logo-text {
	font-size: 1.2em;
	font-weight: 700;
}

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

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

nav ul li a {
	text-decoration: none;
	color: var(--text-color);
	font-weight: 400;
	font-size: 1.1em;
	transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
	color: var(--accent-color);
}

.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--text-color);
	font-size: 2em;
	cursor: pointer;
}

/* Sections */
main section {
	padding: 80px 0;
	opacity: 0;
	transform: scale(0.98) translateY(30px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

main section:nth-child(even) {
	background-color: var(--secondary-color);
}

section h1,
section h2 {
	text-align: center;
	margin-bottom: 40px;
	font-size: 2.8em;
	font-weight: 700;
	color: var(--text-color);
}
section h2 {
	font-size: 2.4em;
}
section p {
	margin-bottom: 20px;
	color: var(--text-muted-color);
	font-size: 1.1em;
}
section strong {
	color: var(--accent-color);
}

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

.text-content {
	flex: 1;
}

.image-content {
	flex: 1;
	text-align: center;
}

.section-image {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.section-cta-button {
	display: inline-block;
	margin-top: 20px; /* Add some space above the button */
}

.section-cta-container {
	text-align: center;
	margin-top: 40px; /* Space above the button container in services section */
}

/* Hero Section */
.hero-section {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-image: linear-gradient(
			rgba(13, 27, 42, 0.8),
			rgba(13, 27, 42, 0.9)
		),
		url('../img/h1.webp');
	background-size: cover;
	background-position: center;
	background-attachment: fixed; /* Parallax-like effect */
}

.hero-section h1 {
	font-size: 3.5em;
	margin-bottom: 20px;
	color: #fff; /* Brighter for hero */
}

.hero-section p {
	font-size: 1.4em;
	margin-bottom: 30px;
	color: var(--text-muted-color);
}

.cta-button {
	display: inline-block;
	background-color: var(--accent-color);
	color: #fff;
	padding: 15px 30px;
	text-decoration: none;
	border-radius: 5px;
	font-weight: 700;
	font-size: 1.1em;
	transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
	background-color: #d16a4f; /* Darker accent */
	transform: translateY(-2px);
}

/* About Section specific styling for image placement */
#about .content-wrapper {
	flex-direction: row-reverse; /* Image on the right */
}

/* Services Cards Section */
.services-cards-section {
	/* Optional: background image for the entire section */
	/* background-image: linear-gradient(rgba(27, 38, 59, 0.9), rgba(27, 38, 59, 0.95)), url('assets/img/cards-bg-image.png'); */
	/* background-size: cover; */
	/* background-position: center; */
}
.services-cards-section > .container > p {
	text-align: center;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 50px;
}
.cards-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.card {
	background-color: var(--card-bg-color);
	padding: 30px;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card img {
	width: 100%; /* Adjust size as needed */
	height: auto;
	margin-bottom: 20px;
}

.card h3 {
	color: var(--text-color);
	font-size: 1.5em;
	margin-bottom: 15px;
}

.card p {
	font-size: 1em;
	color: var(--text-muted-color);
}

/* Insights Section (Page 2) */
#insights .content-wrapper {
	align-items: flex-start; /* Align items to the top */
}
#insights .image-content {
	flex-basis: 40%; /* Adjust as needed */
}
#insights .text-content {
	flex-basis: 55%; /* Adjust as needed */
}

/* FAQ Section */
.faq-section {
	/* Optional: background image for the FAQ section */
	/* background-image: linear-gradient(rgba(27, 38, 59, 0.9), rgba(27, 38, 59, 0.95)), url('assets/img/faq-image.png'); */
	/* background-size: cover; */
	/* background-position: center; */
}
.faq-section > .container > p {
	text-align: center;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 50px;
}

.faq-item {
	background-color: var(--card-bg-color);
	margin-bottom: 15px;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-question {
	background: none;
	border: none;
	width: 100%;
	text-align: left;
	padding: 20px;
	font-size: 1.2em;
	color: var(--text-color);
	cursor: pointer;
	position: relative;
	font-weight: 700;
}

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

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

.faq-answer {
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease, padding 0.5s ease;
}
.faq-answer.active {
	padding: 0px 20px 20px 20px; /* Add padding back when active */
}

.faq-answer p {
	margin: 0;
	padding-bottom: 10px; /* Spacing for content inside answer */
	color: var(--text-muted-color);
}

/* Contact Section */
.contact-content-wrapper {
	display: flex;
	gap: 40px;
	margin-top: 30px;
}

.contact-form-container {
	flex: 2;
	background-color: var(--card-bg-color);
	padding: 30px;
	border-radius: 8px;
}
.contact-form-container h3 {
	margin-top: 0;
	margin-bottom: 20px;
	color: var(--text-color);
}

.contact-details-container {
	flex: 1;
	padding-left: 20px; /* Optional padding */
}
.contact-details-container img.section-image {
	margin-bottom: 20px;
}

.contact-details-container h3 {
	color: var(--accent-color);
	margin-top: 20px;
	margin-bottom: 10px;
}
.contact-details-container p {
	margin-bottom: 15px;
	font-size: 1.1em;
}
.contact-details-container p a {
	color: var(--text-muted-color);
	text-decoration: none;
}
.contact-details-container p a:hover {
	color: var(--accent-color);
}

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

.form-group label {
	display: block;
	margin-bottom: 8px;
	color: var(--text-muted-color);
	font-weight: 700;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #4a5b6d; /* Darker border */
	border-radius: 4px;
	background-color: var(--primary-color); /* Input background */
	color: var(--text-color);
	box-sizing: border-box;
	font-size: 1em;
}
.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 2px rgba(224, 122, 95, 0.3);
}

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

.form-group-checkbox input[type='checkbox'] {
	width: auto; /* Override default full width for inputs */
	margin-right: 10px;
	accent-color: var(--accent-color); /* Style the checkbox color */
	transform: scale(1.2); /* Slightly larger checkbox */
}

.form-group-checkbox label {
	margin-bottom: 0; /* Remove default label margin */
	font-weight: normal; /* Normal weight for checkbox label */
	font-size: 0.95em;
	color: var(--text-muted-color);
}

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

/* Footer */
footer {
	background-color: var(--secondary-color);
	color: var(--text-muted-color);
	padding: 60px 0 20px;
	border-top: 3px solid var(--accent-color);
}

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

.footer-column {
	flex-basis: calc(33.333% - 20px); /* Adjust for gap */
	min-width: 250px;
}

.footer-column h4 {
	color: var(--text-color);
	font-size: 1.3em;
	margin-bottom: 20px;
}

.footer-column p,
.footer-column ul li {
	margin-bottom: 10px;
	font-size: 0.95em;
}

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

.footer-column ul li a {
	color: var(--text-muted-color);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-column ul li a:hover {
	color: var(--accent-color);
}

.copyright {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid var(--primary-color); /* Subtle separator */
	font-size: 0.9em;
}

/* Cookie Consent Modal */
.cookie-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(13, 27, 42, 0.95); /* Dark, slightly transparent */
	color: var(--text-color);
	padding: 20px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
	z-index: 2000;
	display: none; /* Hidden by default */
	border-top: 2px solid var(--accent-color);
}

.cookie-modal .modal-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: var(--container-width);
	margin: 0 auto;
}

.cookie-modal p {
	margin: 0;
	margin-right: 20px;
	font-size: 0.95em;
}
.cookie-modal p a {
	color: var(--accent-color);
	text-decoration: underline;
}

.cookie-modal .modal-buttons button {
	padding: 10px 20px;
	margin-left: 10px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-weight: 700;
}

#acceptCookies {
	margin-bottom: 5px;
	background-color: var(--accent-color);
	color: #fff;
}
#acceptCookies:hover {
	background-color: #d16a4f;
}

#declineCookies {
	background-color: var(--card-bg-color);
	color: var(--text-color);
}
#declineCookies:hover {
	background-color: #3a4b5d;
}

/* Legal Page Styling */
.legal-page-container {
	padding: 40px 0;
	min-height: calc(
		100vh - var(--header-height) - 200px
	); /* Adjust footer height approx */
}
.legal-page-container h1 {
	font-size: 1.5em;
	margin-bottom: 30px;
	color: var(--text-color);
	text-align: left;
}
.legal-page-container h2 {
	font-size: 1.5em;
	margin-top: 30px;
	margin-bottom: 15px;
	color: var(--accent-color);
	text-align: left;
}
.legal-page-container p,
.legal-page-container li {
	margin-bottom: 15px;
	color: var(--text-muted-color);
	line-height: 1.7;
}
.legal-page-container ul {
	padding-left: 20px;
}
.legal-page-container a {
	color: var(--accent-color);
	text-decoration: none;
}
.legal-page-container a:hover {
	text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
	.content-wrapper,
	#about .content-wrapper {
		flex-direction: column;
	}
	#about .content-wrapper {
		/* Ensure consistent order for smaller screens */
		flex-direction: column-reverse;
	}
	.text-content,
	.image-content {
		flex: none;
		width: 100%;
	}
	.image-content {
		margin-top: 30px;
	}
	#insights .image-content,
	#insights .text-content {
		flex-basis: auto;
	}
	.contact-content-wrapper {
		flex-direction: column;
	}
	.contact-details-container {
		padding-left: 0;
		margin-top: 30px;
		text-align: center; /* Center details if form is above */
	}
	.contact-details-container img.section-image {
		max-width: 70%; /* Adjust image size */
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 768px) {
	nav ul {
		display: none; /* Hide desktop nav */
		flex-direction: column;
		position: absolute;
		top: var(--header-height);
		left: 0;
		width: 100%;
		background-color: var(--secondary-color);
		padding: 10px 0;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	}
	nav ul.active {
		display: flex; /* Show mobile nav when active */
	}
	nav ul li {
		margin: 10px 20px;
		text-align: center;
	}
	.mobile-menu-toggle {
		display: block; /* Show hamburger */
	}

	section h1,
	.hero-section h1 {
		font-size: 2.5em;
	}
	section h2 {
		font-size: 2em;
	}
	.hero-section p {
		font-size: 1.2em;
	}

	.footer-columns {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.footer-column {
		flex-basis: 100%;
		margin-bottom: 20px;
	}
	.footer-column ul {
		padding-left: 0;
	}

	.cookie-modal .modal-content {
		flex-direction: column;
		text-align: center;
	}
	.cookie-modal p {
		margin-bottom: 15px;
		margin-right: 0;
	}
	.cookie-modal .modal-buttons {
		width: 100%;
		display: flex;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	section h1,
	.hero-section h1 {
		font-size: 2em;
	}
	section h2 {
		font-size: 1.8em;
	}
	.hero-section p {
		font-size: 1em;
	}
	.cta-button {
		padding: 12px 25px;
		font-size: 1em;
	}
	.card {
		padding: 20px;
	}
	.faq-question {
		font-size: 1.1em;
		padding: 15px;
	}
	.form-group input,
	.form-group textarea {
		padding: 10px;
	}
}
