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

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Roboto', sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #f9f9f9;
}

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

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

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

.logo {
	height: 40px;
}

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

.nav-links {
	list-style: none;
	display: flex;
}

.nav-links li {
	margin-left: 2rem;
}

.nav-links a {
	text-decoration: none;
	color: #34495e;
	font-weight: 500;
	transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
	color: #3498db;
}

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

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

/* Hero Section */
#hero {
	background: url('../img/hero-bg.png') no-repeat center center/cover;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative; /* For overlay if needed */
}

#hero::before {
	/* Optional overlay for better text readability */
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.full-height-section {
	min-height: 100vh; /* Fallback for older browsers */
	min-height: calc(
		100vh - 70px
	); /* Adjust 70px based on actual header height */
	padding-top: 70px; /* To offset sticky header */
}

.hero-content {
	max-width: 800px;
	z-index: 2; /* Above overlay */
}

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

.hero-content p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	font-weight: 300;
	color: #fff;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 0.8rem 1.8rem;
	text-decoration: none;
	border-radius: 5px;
	font-weight: 500;
	transition: background-color 0.3s ease, transform 0.2s ease,
		border-color 0.3s ease;
	border: 1px solid transparent; /* Base border for consistent sizing */
	cursor: pointer;
	text-align: center;
}

.btn-primary {
	background-color: #3498db;
	color: #fff;
	border-color: #3498db;
}

.btn-primary:hover {
	background-color: #2980b9;
	border-color: #2980b9;
	transform: translateY(-2px);
}

.btn-secondary {
	background-color: #f0f4f8;
	color: #34495e;
	border: 1px solid #bdc3c7;
}

.btn-secondary:hover {
	background-color: #e1e8ed;
	border-color: #abb0b4;
	transform: translateY(-2px);
}

.btn + .btn {
	/* For adjacent buttons */
	margin-left: 1rem;
}

/* General Section Styling */
.content-section {
	padding: 4rem 2rem;
	background-color: #fff;
	margin-bottom: 20px; /* Space between sections */
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.content-section:nth-child(odd) {
	/* Alternate background slightly for visual separation if desired */
	/* background-color: #fdfdfd; */
}

section h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 2.5rem;
	color: #2c3e50;
	font-weight: 700;
}

section p,
section ul {
	margin-bottom: 1rem;
	color: #555;
}

section ul {
	list-style-position: inside;
	padding-left: 10px;
}
section ul li {
	margin-bottom: 0.5rem;
}

/* Grid Container for two columns */
.grid-container {
	display: grid;
	grid-template-columns: 1fr; /* Default to 1 column */
	gap: 2rem;
	align-items: center;
}

.grid-container.two-cols {
	grid-template-columns: repeat(
		auto-fit,
		minmax(300px, 1fr)
	); /* Responsive columns */
}

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

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

.card {
	background-color: #fff;
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card img {
	width: 80px;
	height: 80px;
	margin-bottom: 1rem;
	object-fit: contain;
}

.card h3 {
	font-size: 1.5rem;
	margin-bottom: 0.8rem;
	color: #34495e;
}

/* Contact Form Section */
#contact-us .grid-container {
	align-items: flex-start;
}
.contact-section-image {
	margin-top: 1rem;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: #34495e;
}

.form-group input[type='text'],
.form-group input[type='email'],
.form-group textarea {
	width: 100%;
	padding: 0.8rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1rem;
}

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

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

.form-group-checkbox input[type='checkbox'] {
	width: auto; /* Override full width for checkbox */
	margin-right: 0.5rem;
}

.form-group-checkbox label {
	margin-bottom: 0; /* Adjust label margin for checkbox layout */
	font-weight: normal; /* Lighter font for consent text if desired */
	font-size: 0.9rem;
}

#formSubmissionMessage {
	margin-top: 1rem;
	font-weight: 500;
}
.contact-details {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #eee;
}
.contact-details h3 {
	margin-bottom: 0.5rem;
	color: #2c3e50;
}
.contact-details p {
	margin-bottom: 0.3rem;
}

/* Text-Only Section */
.text-only-section p,
.text-only-section ul {
	max-width: 800px; /* Improve readability */
	margin-left: auto;
	margin-right: auto;
}
.text-only-section h3 {
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
	font-size: 1.4rem;
	color: #34495e;
}

/* Testimonials Section */
.testimonial {
	background-color: #f0f4f8;
	padding: 1.5rem;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	border-left: 5px solid #3498db;
}
.testimonial p:last-child {
	margin-bottom: 0;
}
.testimonial strong {
	color: #2c3e50;
}

/* FAQ Section */
.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 1rem;
	border: 1px solid #e0e0e0;
	border-radius: 5px;
	overflow: hidden;
}

.faq-question {
	background-color: #f7f7f7;
	color: #333;
	cursor: pointer;
	padding: 1rem 1.5rem;
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	font-size: 1.1rem;
	font-weight: 500;
	transition: background-color 0.3s ease;
	position: relative; /* For an icon */
}
.faq-question::after {
	/* Basic arrow icon */
	content: '+';
	font-size: 1.5rem;
	position: absolute;
	right: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
	transition: transform 0.3s ease;
}
.faq-question.active::after {
	content: '-';
	transform: translateY(-50%) rotate(180deg); /* Not strictly needed for +/- but good for arrows */
}

.faq-question:hover {
	background-color: #e9e9e9;
}

.faq-answer {
	padding: 0 1.5rem;
	background-color: white;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq-answer.active {
	box-sizing: content-box;
	padding: 1.5rem;
}
.faq-answer p {
	margin-bottom: 0; /* Reset default p margin */
}

/* Footer */
footer {
	background-color: #2c3e50;
	color: #ecf0f1;
	padding: 3rem 0 1rem;
	text-align: center;
}
.footer-content {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	margin-bottom: 2rem;
	text-align: left;
}
.footer-contact,
.footer-links,
.footer-site-links {
	flex: 1;
	min-width: 200px;
	margin: 1rem;
}
.footer-contact p,
.footer-links ul li,
.footer-site-links ul li {
	margin-bottom: 0.5rem;
}
.footer-links ul,
.footer-site-links ul {
	list-style: none;
	padding-left: 0;
}
.footer-links a,
footer a {
	color: #bdc3c7;
	text-decoration: none;
}
.footer-links a:hover,
footer a:hover {
	color: #fff;
	text-decoration: underline;
}
.copyright {
	margin-top: 2rem;
	font-size: 0.9rem;
	color: #bdc3c7;
	border-top: 1px solid #34495e;
	padding-top: 1rem;
}

/* Cookie Consent Modal */
.cookie-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(44, 62, 80, 0.95); /* Darker, semi-transparent */
	color: #ecf0f1;
	padding: 1.5rem;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
	z-index: 2000;
	display: none; /* Hidden by default */
	align-items: center;
	justify-content: center;
	text-align: center;
}

.cookie-modal-content {
	max-width: 800px;
	margin: 0 auto;
}

.cookie-modal p {
	margin-bottom: 1rem;
	font-size: 0.95rem;
}
.cookie-modal a {
	color: #3498db;
	text-decoration: underline;
}
.cookie-modal-buttons button {
	margin: 0 0.5rem;
}
.cookie-modal-buttons .btn {
	padding: 0.6rem 1.2rem;
}

/* Scroll Animation */
.scroll-animated-section {
	opacity: 0;
	transform: scale(0.95) translateY(30px);
	transition: opacity 0.7s cubic-bezier(0.645, 0.045, 0.355, 1),
		transform 0.7s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.scroll-animated-section.is-visible {
	opacity: 1;
	transform: scale(1) translateY(0);
}

/* Legal Page Specific Styling */
.legal-page-container {
	padding: 80px 0 40px; /* Add top padding to account for fixed header */
}
.legal-page-container .container {
	background-color: #fff;
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.legal-page-container h1 {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	color: #2c3e50;
}
.legal-page-container h2 {
	font-size: 1.5rem;
	margin-top: 2rem;
	margin-bottom: 1rem;
	color: #34495e;
	text-align: left;
}
.legal-page-container p,
.legal-page-container ul {
	margin-bottom: 1rem;
	color: #555;
	line-height: 1.7;
}
.legal-page-container ul {
	list-style: disc;
	padding-left: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
	.hero-content h1 {
		font-size: 2.2rem;
	}
	.hero-content p {
		font-size: 1rem;
	}
	/* Make hero buttons stack on mobile */
	.hero-content .btn {
		display: block;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 1rem;
		width: auto; /* Adjust width as needed, e.g., max-content or specific max-width */
		max-width: 300px; /* Example max-width */
	}
	.hero-content .btn:last-child {
		margin-bottom: 0;
	}

	.btn + .btn {
		margin-left: 0;
	}

	/* Reset margin-left for stacked buttons if they were adjacent */
	.hero-content .btn + .btn {
		margin-left: auto;
	}

	section h2 {
		font-size: 1.5rem;
	}

	.nav-links {
		display: none;
		flex-direction: column;
		width: 100%;
		position: absolute;
		top: 65px; /* Adjust based on header height */
		left: 0;
		background-color: #fff;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
		padding-bottom: 1rem;
	}
	.nav-links.active {
		display: flex;
	}
	.nav-links li {
		margin: 1rem 0;
		text-align: center;
	}
	.menu-toggle {
		display: block; /* Show hamburger */
	}
	.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);
	}

	.grid-container.two-cols {
		grid-template-columns: 1fr; /* Stack columns on smaller screens */
	}
	.image-content {
		order: -1; /* Move image above text in some two-column layouts if desired */
		margin-bottom: 1rem;
	}
	#contact-us .image-content {
		/* Keep contact image below form intro text */
		order: initial;
	}

	.footer-content {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.footer-contact,
	.footer-links {
		text-align: center;
		margin-bottom: 2rem;
	}
	.footer-links ul {
		padding-left: 0;
	}
	.cookie-modal-content {
		padding: 0 1rem; /* Add some horizontal padding on small screens */
	}
	.cookie-modal-buttons {
		display: flex;
		flex-direction: column;
	}
	.cookie-modal-buttons button {
		margin: 0.5rem 0;
		width: 100%;
	}
}
