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

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

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

/* Header */
header {
	background-color: #fff;
	padding: 1rem 0;
	box-shadow: 0 2px 4px 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;
	display: flex;

	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 1.2rem;
	font-weight: bold;
	color: #2c3e50;
	text-decoration: none;
}

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

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

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

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

header nav ul li a:hover,
header nav ul li a.active {
	color: #3498db;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #333;
}

/* Sections Base */
main section {
	padding: 60px 0;
	text-align: center;
	overflow: hidden; /* Important for observing elements for animation */
}

main section:nth-child(even) {
	background-color: #fff;
}

main section h2 {
	font-size: 2.5rem;
	margin-bottom: 20px;
	color: #2c3e50;
}

main section p {
	font-size: 1.1rem;
	color: #555;
	max-width: 800px;
	margin: 0 auto 20px auto;
}

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

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

/* Hero Section */
.hero-section {
	background-size: cover;
	background-position: center;
	color: #fff;
	padding: 100px 0;
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-section .container {
	text-align: center;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 30px;
	border-radius: 8px;
}

.hero-section h1 {
	font-size: 3rem;
	margin-bottom: 20px;
	font-weight: 700;
}

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

/* Services Section */
.services-section {
	background-color: #f4f7f6;
}
.service-cards-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	gap: 20px;
	margin-top: 40px;
}

.service-card {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	padding: 25px;
	width: calc(33.333% - 20px);
	min-width: 280px; /* for smaller screens */
	text-align: left;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card img {
	width: 100%;
	max-height: 180px;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 15px;
}

.service-card h3 {
	font-size: 1.5rem;
	color: #3498db;
	margin-bottom: 10px;
}

/* Why Us Section */
.why-us-section .container {
	display: flex;
	align-items: center;
	gap: 40px;
	text-align: left;
}
.why-us-content {
	flex: 1;
}
.why-us-content ul {
	list-style: none;
	padding-left: 0;
}
.why-us-content ul li {
	margin-bottom: 10px;
	padding-left: 20px;
	position: relative;
}
.why-us-content ul li::before {
	content: '✔';
	color: #3498db;
	position: absolute;
	left: 0;
	font-weight: bold;
}
.why-us-image {
	flex: 1;
	max-width: 500px;
}
.why-us-image img {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Insights Section (Page 2) */
.insights-section .container {
	display: flex;
	align-items: flex-start; /* Align items to the top */
	gap: 40px;
	text-align: left;
}
.insights-image {
	flex: 0 0 40%; /* Image takes 40% width, doesn't grow or shrink */
	max-width: 450px;
}
.insights-image img {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.insights-content {
	flex: 1; /* Content takes remaining space */
}
.insights-content article {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}
.insights-content article:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
.insights-content article h4 {
	font-size: 1.4rem;
	color: #34495e;
	margin-bottom: 8px;
}
.read-more {
	color: #3498db;
	text-decoration: none;
	font-weight: bold;
}
.read-more:hover {
	text-decoration: underline;
}

/* Article Section (Page 2) */
.article-section {
	background-size: cover;
	background-position: center;
	background-attachment: fixed; /* Parallax effect */
	color: #fff; /* Default text color, adjust if bg is light */
	padding: 80px 0;
}
.article-section .container.text-heavy-content {
	background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
	padding: 40px;
	border-radius: 8px;
	text-align: left;
}
.article-section h2 {
	color: #fff; /* Ensure h2 is visible on dark overlay */
	text-align: center;
}
.article-section p {
	color: #f0f0f0; /* Lighter text for readability */
	margin-bottom: 15px;
	font-size: 1.05rem;
	line-height: 1.7;
}

/* FAQ & Contact Section (Page 2) */
.faq-contact-section {
	background-color: #eaf2f8; /* Light blue background */
	background-size: cover; /* If using an image */
	background-position: center; /* If using an image */
}
.faq-contact-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	text-align: left;
}
.faq-column,
.contact-column {
	flex: 1;
	min-width: 300px; /* Ensure columns don't get too narrow */
}
.faq-contact-section h2 {
	text-align: left; /* Align section titles left for columns */
	margin-bottom: 25px;
}
.faq-item {
	margin-bottom: 20px;
}
.faq-item h4 {
	font-size: 1.2rem;
	color: #34495e;
	margin-bottom: 5px;
}
.contact-column .form-group {
	margin-bottom: 15px;
}
.contact-column label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	color: #333;
}
.contact-column input[type='text'],
.contact-column input[type='email'],
.contact-column textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1rem;
}
.contact-column textarea {
	resize: vertical;
}
.contact-column input[type='email'],
.contact-column textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1rem;
}
.contact-column textarea {
	resize: vertical;
}

/* Styles for the new checkbox group */
.form-group-checkbox {
	display: flex;
	align-items: center; /* Vertically align checkbox and label */
	margin-bottom: 15px;
}

.form-group-checkbox input[type='checkbox'] {
	margin-right: 10px; /* Space between checkbox and label */
	width: auto; /* Override default full width for inputs */
	vertical-align: middle; /* Align checkbox with text */
}

.form-group-checkbox label {
	font-weight: normal; /* Regular font weight for checkbox label */
	margin-bottom: 0; /* Remove default label margin */
	color: #555;
	font-size: 0.9rem;
}

.contact-details {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #ddd;
}
.contact-details h3 {
	margin-bottom: 10px;
	color: #34495e;
}
.contact-details p {
	margin-bottom: 5px;
	color: #333;
}
.contact-details a {
	color: #3498db;
	text-decoration: none;
}
.contact-details a:hover {
	text-decoration: underline;
}

/* Footer */
footer {
	background-color: #2c3e50;
	color: #ecf0f1;
	padding: 40px 0 20px 0;
	text-align: center;
}
.footer-columns {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 30px;
	text-align: left;
}
.footer-column {
	flex: 1;
	min-width: 200px;
}
.footer-column h4 {
	font-size: 1.3rem;
	margin-bottom: 15px;
	color: #fff;
}
.footer-column p,
.footer-column ul li {
	margin-bottom: 8px;
	font-size: 0.95rem;
	color: #bdc3c7;
}
.footer-column ul {
	list-style: none;
}
.footer-column ul li a {
	color: #bdc3c7;
	text-decoration: none;
	transition: color 0.3s ease;
}
.footer-column ul li a:hover {
	color: #3498db;
}
.copyright p {
	font-size: 0.9rem;
	color: #bdc3c7;
	border-top: 1px solid #34495e;
	padding-top: 20px;
	margin-top: 20px;
}

/* Legal Pages Simple Layout */
.legal-page-container {
	width: 80%;
	max-width: 900px;
	margin: 40px auto;
	padding: 30px;
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
}
.legal-page-container h1 {
	font-size: 1.2rem;
	color: #2c3e50;
	margin-bottom: 20px;
	text-align: center;
}
.legal-page-container h2 {
	font-size: 1.3rem;
	color: #34495e;
	margin-top: 25px;
	margin-bottom: 10px;
}
.legal-page-container p,
.legal-page-container li {
	margin-bottom: 10px;
	line-height: 1.7;
	color: #333;
}
.legal-page-container ul {
	padding-left: 20px;
}
.legal-page-container a {
	color: #3498db;
}

/* Cookie Consent Modal */
.cookie-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.85);
	color: #fff;
	padding: 20px;
	text-align: center;
	z-index: 2000;
	display: none; /* Initially hidden */
}
.cookie-modal-content {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}
.cookie-modal p {
	margin: 0;
	font-size: 0.95rem;
}
.cookie-modal a {
	color: #3498db;
	text-decoration: underline;
}
.cookie-modal-buttons button {
	background-color: #3498db;
	color: #fff;
	border: none;
	padding: 10px 20px;
	margin: 0 10px;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}
.cookie-modal-buttons button:hover {
	background-color: #2980b9;
}
.cookie-modal-buttons button#declineCookies {
	background-color: #7f8c8d;
}
.cookie-modal-buttons button#declineCookies:hover {
	background-color: #606b6d;
}

/* Form Status Modal */
.form-status-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	display: none; /* Initially hidden */
	justify-content: center;
	align-items: center;
	z-index: 2001; /* Above cookie modal if they somehow overlap */
	text-align: center;
}

.form-status-modal-content {
	background-color: #fff;
	color: #333;
	padding: 30px 40px;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	min-width: 300px;
	max-width: 500px;
}

.form-status-modal-content p {
	margin: 0;
	font-size: 1.1rem;
}

.form-status-modal-loader {
	border: 4px solid #f3f3f3; /* Light grey */
	border-top: 4px solid #3498db; /* Blue */
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
	margin-bottom: 10px;
}

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

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

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

/* Responsive Design */
@media (max-width: 992px) {
	.why-us-section .container,
	.insights-section .container {
		flex-direction: column;
	}
	.why-us-image,
	.insights-image {
		max-width: 100%; /* Allow image to take full width in column layout */
		margin-bottom: 20px; /* Add space below image */
	}
	.service-card {
		width: calc(50% - 20px); /* Two cards per row */
	}
}

@media (max-width: 768px) {
	header nav {
		display: none; /* Hide nav by default */
		position: absolute;
		top: 100%; /* Position below header */
		left: 0;
		width: 100%;
		background-color: #fff;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	}
	header nav.active {
		display: block; /* Show nav when active */
	}
	header nav ul {
		flex-direction: column;
		align-items: center;
	}
	header nav ul li {
		margin: 10px 0;
	}
	.menu-toggle {
		display: block; /* Show hamburger menu */
	}
	main section h2 {
		font-size: 2rem;
	}
	.hero-section h1 {
		font-size: 2.5rem;
	}
	.service-card {
		width: 100%; /* One card per row */
	}
	.footer-columns {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.footer-column {
		margin-bottom: 20px;
	}
	.footer-column h4 {
		text-align: center;
	}
	.footer-column ul {
		padding-left: 0;
		text-align: center;
	}
	.faq-contact-grid {
		flex-direction: column;
	}
	.cookie-modal-content {
		flex-direction: column;
	}
	.cookie-modal-buttons {
		margin-top: 10px;
	}
	.why-us-section .container,
	.insights-section .container {
		text-align: center; /* Center text for smaller screens */
	}
	.why-us-section .container .why-us-content,
	.insights-section .container .insights-content,
	.faq-contact-section .container .faq-column,
	.faq-contact-section .container .contact-column {
		text-align: left; /* Keep inner content left-aligned */
	}
	.faq-contact-section h2 {
		text-align: center; /* Center section titles for mobile */
	}
}
