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

html {
	scroll-behavior: smooth;
}

:root {
	--primary-color: #005f73;
	--secondary-color: #0a9396;
	--accent-color: #94d2bd;
	--light-accent-color: #e9d8a6;
	--text-color: #333;
	--light-text-color: #f8f9fa;
	--background-color: #ffffff;
	--footer-background: #212529;
	--card-background: #f8f9fa;
	--font-family: 'Arial', sans-serif;
}

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

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

/* Header & Navigation */
header {
	background-color: var(--primary-color);
	color: var(--light-text-color);
	padding: 1rem 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
	position: relative; /* For positioning the mobile menu */
}

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

.logo img {
	height: 30px; /* Adjust logo size */
	width: auto;
}

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

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

nav ul.nav-links li a {
	color: var(--light-text-color);
	text-decoration: none;
	font-size: 1rem;
	transition: color 0.3s ease;
}

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

.burger-menu {
	display: none; /* Hidden by default, shown on mobile */
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
	z-index: 1010;
}

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

.burger-menu.active span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}
.burger-menu.active span:nth-child(2) {
	opacity: 0;
}
.burger-menu.active span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
	background-size: cover;
	background-position: center;
	color: var(--light-text-color);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative; /* For pseudo-element overlay */
}

.hero-section::before {
	/* Dark overlay for better text readability */
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.full-screen {
	min-height: 100vh;
}

.hero-content {
	position: relative; /* To sit on top of the overlay */
	z-index: 2;
	max-width: 800px;
	padding: 20px;
}

.hero-content h1 {
	font-size: 3rem;
	margin-bottom: 1rem;
	font-weight: 700;
	line-height: 1.2;
}

.hero-content p {
	font-size: 1.25rem;
	margin-bottom: 2rem;
}

.hero-buttons {
	margin-top: 2rem; /* Ensure spacing from paragraph */
	display: flex;
	flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
	justify-content: center; /* Center buttons */
	gap: 15px; /* Space between buttons */
}

.cta-button {
	background-color: var(--secondary-color);
	color: var(--light-text-color);
	padding: 12px 25px;
	text-decoration: none;
	border-radius: 5px;
	font-size: 1.1rem;
	font-weight: bold;
	transition: background-color 0.3s ease, transform 0.2s ease;
	border: none;
	cursor: pointer;
}

.cta-button:hover {
	background-color: var(--accent-color);
	color: var(--primary-color);
	transform: translateY(-2px);
}

/* Content Sections */
.content-section {
	padding: 60px 0;
}
.content-section:nth-child(even) {
	background-color: #f9f9f9; /* Alternate background for sections */
}

.content-section h2 {
	font-size: 2.5rem;
	color: var(--primary-color);
	text-align: center;
	margin-bottom: 40px;
}
.content-section .section-intro {
	text-align: center;
	font-size: 1.1rem;
	color: #555;
	max-width: 700px;
	margin: 0 auto 40px auto;
}

.section-content {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	align-items: center;
}

.text-content,
.image-content {
	flex: 1;
	min-width: 300px; /* For responsiveness */
}

.text-content p {
	margin-bottom: 1rem;
	font-size: 1.05rem;
}

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

.reverse-layout .text-content {
	order: 2;
}
.reverse-layout .image-content {
	order: 1;
}

.section-cta-container {
	text-align: center;
	margin-top: 30px;
	padding-bottom: 10px;
}

/* Cards Container */
.cards-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}

.card {
	background-color: var(--card-background);
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 20px;
	width: calc(33.333% - 20px); /* Adjust for gap */
	min-width: 280px; /* For smaller screens */
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

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

.card img {
	max-width: 80px; /* Icon size */
	margin-bottom: 15px;
	align-self: center;
}

.card h3 {
	font-size: 1.5rem;
	color: var(--secondary-color);
	margin-bottom: 10px;
}

.card p {
	flex-grow: 1;
	font-size: 0.95rem;
	margin-bottom: 15px;
}

/* FAQ Section */
.faq-section {
	background-color: var(
		--background-color
	); /* Ensure it's distinct if P2S1 is light grey */
}
.faq-header-content {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px; /* Reduced from h2 default */
}
.faq-decorative-image {
	width: 40px; /* Adjust size as needed */
	height: 40px;
	margin-right: 15px;
}
.faq-section h2 {
	margin-bottom: 0; /* Remove bottom margin as it's handled by header */
}

.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 10px;
	border: 1px solid #eee;
	border-radius: 5px;
}

.faq-question {
	background-color: var(--card-background);
	color: var(--primary-color);
	cursor: pointer;
	padding: 15px 40px 15px 20px; /* Adjusted padding-right for arrow */
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	font-size: 1.1rem;
	font-weight: bold;
	transition: background-color 0.3s ease;
	border-radius: 5px 5px 0 0; /* if answer is directly below */
	position: relative; /* For positioning the arrow */
}

.faq-item.active .faq-question,
.faq-question:hover {
	background-color: var(--accent-color);
	color: var(--primary-color);
}

.faq-arrow {
	position: absolute;
	right: 18px; /* Distance from the right edge of the button */
	top: 50%; /* Vertically center */
	width: 8px; /* Size of the arrow */
	height: 8px;
	border-top: 2px solid var(--primary-color);
	border-right: 2px solid var(--primary-color);
	transform: translateY(-50%) rotate(135deg); /* Initial state: points down-right (visually "down") */
	transition: transform 0.3s ease-in-out;
}

.faq-item.active .faq-question .faq-arrow {
	transform: translateY(-50%) rotate(-45deg); /* Active state: points up-right (visually "up") */
}

.faq-answer {
	padding: 0 20px;
	background-color: white;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out, padding 0.3s ease-out;
	border-top: 1px solid #eee; /* Separator line */
}
.faq-answer p {
	margin: 15px 0;
}
.faq-item.active .faq-answer {
	padding: 15px 20px; /* Add padding back when open */
	/* max-height will be set by JS or a large enough value if using CSS only for simple toggle */
}

/* Contact Section */
.contact-details-inline {
	margin-top: 20px;
	padding: 15px;
	background-color: #f9f9f9;
	border-left: 4px solid var(--secondary-color);
}
.contact-details-inline h4 {
	margin-top: 0;
	color: var(--primary-color);
}
.contact-details-inline p {
	margin-bottom: 0.5rem;
}
.contact-details-inline a {
	color: var(--secondary-color);
	text-decoration: none;
}
.contact-details-inline a:hover {
	text-decoration: underline;
}

.form-and-image-container {
	flex: 1.2; /* Give a bit more space to form + image */
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contact-section-image {
	width: 100%;
	max-width: 400px; /* Control image size */
	height: auto;
	border-radius: 8px;
	object-fit: cover;
	align-self: center; /* Center image if container is wider */
}

#contact-form {
	background-color: var(--card-background);
	padding: 25px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#contact-form h3 {
	text-align: center;
	color: var(--primary-color);
	margin-bottom: 20px;
}

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

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

.form-group input,
.form-group textarea {
	width: calc(100% - 20px); /* Account for padding */
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1rem;
}
.form-group textarea {
	resize: vertical;
}

.form-group-checkbox {
	display: flex;
	align-items: center;
	gap: 10px; /* Spacing between checkbox and label */
}

.form-group-checkbox input[type='checkbox'] {
	width: auto; /* Override default full width for inputs */
	margin: 0; /* Remove default margins if any */
}

.form-group-checkbox .checkbox-label {
	font-weight: normal; /* Override bold label style if needed */
	margin-bottom: 0; /* Remove default margin-bottom for labels */
	font-size: 0.9rem; /* Adjust size as needed */
	color: var(--text-color);
}

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

/* Footer */
footer {
	background-color: var(--footer-background);
	color: var(--light-text-color);
	padding: 40px 0 20px 0;
	font-size: 0.9rem;
}

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

.footer-col {
	flex: 1;
	min-width: 200px; /* Ensure columns don't get too squeezed */
	margin-bottom: 20px;
}

.footer-col h4 {
	color: var(--accent-color);
	margin-bottom: 15px;
	font-size: 1.2rem;
}

.footer-col p,
.footer-col ul {
	margin-bottom: 10px;
}

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

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

.footer-col ul li a:hover {
	color: var(--accent-color);
	text-decoration: underline;
}

.copyright {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid #444;
}

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

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

/* Cookie Consent Banner */
.cookie-consent-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(33, 37, 41, 0.95); /* Dark, slightly transparent */
	color: var(--light-text-color);
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 2000;
	box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
	transform: translateY(100%); /* Initially hidden */
	transition: transform 0.5s ease-in-out;
}
.cookie-consent-banner.show {
	transform: translateY(0);
}

.cookie-consent-banner p {
	margin: 0;
	margin-right: 20px;
	font-size: 0.9rem;
}

.cookie-consent-banner a {
	color: var(--accent-color);
	text-decoration: underline;
}
.cookie-consent-banner a:hover {
	color: var(--light-accent-color);
}

.cookie-consent-banner div button {
	background-color: var(--secondary-color);
	color: var(--light-text-color);
	border: none;
	padding: 8px 15px;
	margin-left: 10px;
	margin-bottom: 10px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.9rem;
	transition: background-color 0.3s;
}

.cookie-consent-banner div button#reject-cookies {
	background-color: #6c757d; /* Grey for reject */
}

.cookie-consent-banner div button:hover {
	opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
	nav ul.nav-links {
		display: none; /* Hidden by default */
		flex-direction: column;
		position: absolute;
		top: 100%; /* Position below the header nav bar */
		left: 0;
		right: 0; /* Span full width */
		background-color: var(--primary-color);
		padding: 10px 0;
		box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
		z-index: 1005; /* Below burger icon but above page content */
	}

	nav ul.nav-links.active {
		display: flex; /* Show when active */
	}

	nav ul.nav-links li {
		margin-left: 0; /* Reset desktop margin */
		margin-bottom: 0;
		width: 100%;
		text-align: center;
	}

	nav ul.nav-links li a {
		display: block; /* Make links full width for better touch */
		padding: 12px 15px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Optional separator */
	}
	nav ul.nav-links li:last-child a {
		border-bottom: none;
	}

	.burger-menu {
		display: block; /* Show burger icon on mobile */
	}

	.hero-section {
		min-height: 70vh;
	}
	.hero-content h1 {
		font-size: 2rem;
	}
	.hero-content p {
		font-size: 1rem;
	}

	.section-content {
		flex-direction: column;
	}
	.reverse-layout .text-content,
	.reverse-layout .image-content {
		order: initial; /* Reset order for stacked layout */
	}
	.text-content,
	.image-content {
		margin-bottom: 20px; /* Add space between stacked items */
	}

	.card {
		width: 100%; /* One card per row */
	}

	.footer-content {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 0;
	}
	.footer-col {
		width: 100%;
		max-width: 300px;
	}
	.form-and-image-container {
		flex-direction: column-reverse; /* Form below image on mobile */
	}
	.cookie-consent-banner {
		flex-direction: column;
		text-align: center;
	}
	.cookie-consent-banner p {
		margin-bottom: 10px;
		margin-right: 0;
	}
	.cookie-consent-banner div {
		margin-top: 10px;
	}
}

@media (max-width: 480px) {
	.hero-content h1 {
		font-size: 1.8rem;
	}
	.hero-content p {
		font-size: 0.9rem;
	}
	.cta-button {
		padding: 10px 20px;
		font-size: 1rem;
	}
	.content-section h2 {
		font-size: 1.8rem;
	}
	.faq-question {
		font-size: 1rem;
	}
}
