:root {
	--primary-color: #007bff; /* Example: Professional Blue */
	--secondary-color: #0056b3;
	--accent-color: #ffc107; /* Example: Engaging Yellow/Gold */
	--text-color: #333;
	--light-text-color: #f8f9fa;
	--background-color: #ffffff;
	--light-gray: #f4f4f4;
	--medium-gray: #e9ecef;
	--dark-gray: #6c757d;
	--border-radius: 8px;
	--box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	--font-family: 'Arial', sans-serif; /* Simple, widely available font */
}

/* Global Resets and Base Styles */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	font-size: 16px; /* Base font size */
}

body {
	font-family: var(--font-family);
	color: var(--text-color);
	background-color: var(--background-color);
	line-height: 1.6;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

main {
	flex-grow: 1;
}

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

h1,
h2,
h3,
h4 {
	color: var(--primary-color);
	margin-bottom: 0.8em;
	line-height: 1.3;
}

h1 {
	font-size: 2.5rem;
} /* Responsive adjustments below */
h2 {
	font-size: 2rem;
}
h3 {
	font-size: 1.5rem;
}

p {
	margin-bottom: 1em;
}

a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover,
a:focus {
	color: var(--secondary-color);
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul {
	list-style: none;
}

/* Header & Navigation */
header {
	background-color: var(--background-color);
	padding: 1rem 0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	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: var(--primary-color);
	text-decoration: none;
}
.logo:hover {
	text-decoration: none;
}

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

nav ul {
	display: flex;
	align-items: center;
}

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

nav ul li a {
	color: var(--text-color);
	font-weight: 500;
	padding: 0.5rem 0.2rem;
	position: relative;
}
nav ul li a:not(.dropbtn)::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -2px;
	left: 0;
	background-color: var(--primary-color);
	transition: width 0.3s ease;
}
nav ul li a:hover::after,
nav ul li a.active::after {
	width: 100%;
}

/* Dropdown Menu */
.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: var(--background-color);
	min-width: 200px;
	box-shadow: var(--box-shadow);
	z-index: 1;
	border-radius: var(--border-radius);
	padding: 0.5rem 0;
}

.dropdown-content a {
	color: var(--text-color);
	padding: 10px 15px;
	text-decoration: none;
	display: block;
	font-weight: normal;
}
.dropdown-content a:hover {
	background-color: var(--light-gray);
	color: var(--primary-color);
}
.dropdown-content a::after {
	/* Remove underline effect for dropdown items */
	display: none;
}

.dropdown:hover .dropdown-content {
	display: block;
}

.dropbtn {
	cursor: default; /* Make it not look like a clickable link if href_disabled */
}
.dropbtn:hover {
	text-decoration: none; /* No underline for dropbtn */
}
.dropbtn::after {
	/* No underline effect for dropbtn */
	display: none !important;
}

.menu-toggle {
	display: none; /* Hidden on desktop */
	background: none;
	border: none;
	font-size: 1.8rem;
	color: var(--primary-color);
	cursor: pointer;
}

/* Sections General Styling */
section {
	padding: 60px 0;
	overflow: hidden; /* For animations */
}

section:nth-child(even) {
	background-color: var(--light-gray);
}

.animated-section {
	opacity: 0;
	transform: scale(0.95) translateY(30px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Hero Section */
#hero {
	background-color: var(--medium-gray); /* Light background for hero */
	padding: 80px 0;
}

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

#hero .hero-content {
	flex: 1;
}

#hero .hero-content h1 {
	font-size: 2.8rem; /* Larger for hero */
	margin-bottom: 0.5em;
}

#hero .hero-content p {
	font-size: 1.1rem;
	margin-bottom: 1.5em;
	color: var(--dark-gray);
}

.cta-button {
	display: inline-block;
	background-color: var(--primary-color);
	color: var(--light-text-color);
	padding: 12px 25px;
	border-radius: var(--border-radius);
	text-decoration: none;
	font-weight: bold;
	transition: background-color 0.3s ease, transform 0.2s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
	background-color: var(--secondary-color);
	color: var(--light-text-color);
	transform: translateY(-2px);
	text-decoration: none;
}

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

#hero .hero-image img {
	max-width: 100%;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
}

/* Services Showcase (Cards) Section */
#services-showcase h2 {
	text-align: center;
	margin-bottom: 40px;
}

.cards-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.card {
	background-color: var(--background-color);
	padding: 25px;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
	width: 100%;
	height: auto;
	margin: 0 auto 20px auto;
	object-fit: contain;
}

.card h3 {
	color: var(--secondary-color); /* Slightly different color for card titles */
	margin-bottom: 10px;
}

/* Text-Only Section */
.text-only-section .container {
	max-width: 800px; /* Narrower for readability */
}
.text-only-section h2 {
	text-align: center;
}

/* Services Overview Section */
#services-overview .container {
	display: flex;
	align-items: center;
	gap: 40px;
}

#services-overview .services-overview-content {
	flex: 1.2; /* More space for text */
}

#services-overview .services-overview-image {
	flex: 0.8;
	text-align: center;
}

#services-overview .services-overview-image img {
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
}

/* FAQ Section */
#faq h2 {
	text-align: center;
	margin-bottom: 40px;
}

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

.faq-item {
	margin-bottom: 15px;
	border: 1px solid var(--medium-gray);
	border-radius: var(--border-radius);
	overflow: hidden; /* Ensures border-radius applies to children */
}

.faq-question {
	background-color: var(--background-color);
	color: var(--primary-color);
	cursor: pointer;
	padding: 15px 20px;
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	font-size: 1.1rem;
	font-weight: 500;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background-color 0.3s ease;
}

.faq-question:hover {
	background-color: var(--light-gray);
}

.faq-icon {
	font-size: 1.5rem;
	font-weight: bold;
	transition: transform 0.3s ease;
}

.faq-question[aria-expanded='true'] .faq-icon {
	transform: rotate(45deg);
}

.faq-answer {
	padding: 0 20px; /* Initial padding for animation */
	background-color: var(--background-color);
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
.faq-answer p,
.faq-answer ol {
	margin-bottom: 1em;
	padding-top: 10px; /* Add padding when expanded */
}
.faq-answer ol {
	padding-left: 20px;
	list-style: decimal;
}
.faq-answer ol li {
	margin-bottom: 0.5em;
}

/* Contact Section */
.contact-section-bg {
	position: relative;
	color: var(--light-text-color); /* Text color for on top of image */
}
.contact-section-bg h2,
.contact-section-bg p {
	color: var(--light-text-color);
}

.contact-section-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 50, 100, 0.7); /* Dark blue overlay */
	z-index: 1;
}

.contact-container {
	position: relative;
	z-index: 2;
	max-width: 700px;
	text-align: center;
}
.contact-container h2 {
	margin-bottom: 20px;
}
.contact-container p {
	margin-bottom: 30px;
	font-size: 1.05rem;
}

#contactForm {
	background-color: rgba(
		255,
		255,
		255,
		0.9
	); /* Slightly transparent white form bg */
	padding: 30px;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	text-align: left;
}
#contactForm label {
	display: block;
	margin-bottom: 8px;
	font-weight: bold;
	color: var(--text-color); /* Labels back to dark text */
}

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

#contactForm input[type='text'],
#contactForm input[type='email'],
#contactForm textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--medium-gray);
	border-radius: var(--border-radius);
	font-size: 1rem;
	color: var(--text-color);
}
#contactForm input[type='text']:focus,
#contactForm input[type='email']:focus,
#contactForm textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

#contactForm textarea {
	resize: vertical;
	min-height: 120px;
}

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

#contactForm input[type='checkbox'] {
	margin-right: 10px;
	width: auto; /* Override general input width */
	accent-color: var(--primary-color); /* Color the checkbox itself */
}

#contactForm .checkbox-label {
	margin-bottom: 0; /* Override general label margin */
	font-weight: normal; /* Make it less bold than other labels */
	font-size: 0.9rem;
	color: var(--text-color);
	cursor: pointer;
}

#contactForm button[type='submit'] {
	width: 100%;
	padding: 12px;
	font-size: 1.1rem;
}

#formSuccessMessage {
	background-color: var(--primary-color);
	color: var(--light-text-color) !important;
	padding: 15px;
	border-radius: var(--border-radius);
	margin-top: 20px;
}

/* Loading Modal for Form Submission */
.loading-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	display: none; /* Hidden by default */
	justify-content: center;
	align-items: center;
	z-index: 3000; /* Above cookie modal */
}

.loading-modal.show {
	display: flex;
}

.loading-modal-content {
	background-color: var(--background-color);
	padding: 30px 40px;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

.loading-modal-content p {
	color: var(--text-color);
	font-size: 1.1rem;
	margin-bottom: 0;
}

.spinner {
	border: 6px solid var(--light-gray);
	border-top: 6px solid var(--primary-color);
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
}

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

/* Footer */
footer {
	background-color: var(--text-color);
	color: var(--light-gray);
	padding: 40px 0 20px;
	margin-top: auto; /* Pushes footer to bottom */
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 30px;
}

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

.footer-content p,
.footer-content ul li a {
	color: var(--medium-gray);
	font-size: 0.95rem;
}
.footer-content ul li {
	margin-bottom: 8px;
}

.footer-content a:hover {
	color: var(--background-color);
	text-decoration: underline;
}

.copyright {
	text-align: center;
	font-size: 0.9rem;
	color: var(--medium-gray);
	border-top: 1px solid var(--dark-gray);
	padding-top: 20px;
}

/* Cookie Consent Modal */
.cookie-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(30, 30, 30, 0.95);
	color: var(--light-text-color);
	padding: 20px;
	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.show {
	display: flex;
}

.cookie-modal-content {
	max-width: 800px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

.cookie-modal p {
	margin-bottom: 0;
	font-size: 0.95rem;
}

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

.cookie-buttons {
	display: flex;
	gap: 15px;
	margin-top: 10px;
}

.cookie-buttons button {
	padding: 10px 20px;
	border: none;
	border-radius: var(--border-radius);
	cursor: pointer;
	font-weight: bold;
	transition: background-color 0.3s ease, color 0.3s ease;
}

#acceptCookieConsent {
	background-color: var(--primary-color);
	color: var(--light-text-color);
}
#acceptCookieConsent:hover {
	background-color: var(--secondary-color);
}

#declineCookieConsent {
	background-color: var(--dark-gray);
	color: var(--light-text-color);
}
#declineCookieConsent:hover {
	background-color: #5a6268;
}

/* Legal Pages Specific Styles */
.legal-page-container {
	padding: 40px 0;
}
.legal-page-container .container {
	max-width: 900px; /* Good for readability of text-heavy pages */
}
.legal-page-container h1 {
	font-size: 1.5rem;
	margin-bottom: 1.5em;
	text-align: center;
}
.legal-page-container h2 {
	font-size: 1.5rem;
	margin-top: 2em;
	margin-bottom: 0.8em;
	border-bottom: 1px solid var(--medium-gray);
	padding-bottom: 0.3em;
}
.legal-page-container p,
.legal-page-container ul li {
	margin-bottom: 1em;
	line-height: 1.7;
}
.legal-page-container ul {
	list-style: disc;
	padding-left: 25px;
}
.legal-page-container strong {
	color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
	h1 {
		font-size: 2.2rem;
	}
	h2 {
		font-size: 1.8rem;
	}

	#hero .container,
	#services-overview .container {
		flex-direction: column;
		text-align: center;
	}
	#hero .hero-content,
	#services-overview .services-overview-content {
		margin-bottom: 30px;
	}
	#hero .hero-image img,
	#services-overview .services-overview-image img {
		margin: 0 auto; /* Center image when stacked */
	}
}

@media (max-width: 768px) {
	html {
		font-size: 15px;
	}
	h1 {
		font-size: 2rem;
	}
	h2 {
		font-size: 1.6rem;
	}

	nav ul {
		display: none; /* Hide nav links */
		flex-direction: column;
		position: absolute;
		top: 100%; /* Position below header */
		left: 0;
		width: 100%;
		background-color: var(--background-color);
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
		padding: 1rem 0;
	}
	nav ul.active {
		display: flex; /* Show when active */
	}
	nav ul li {
		margin-left: 0;
		width: 100%;
		text-align: center;
	}
	nav ul li a {
		padding: 1rem;
		display: block;
		width: 100%;
	}
	nav ul li a::after {
		/* Remove underline effect for mobile nav items */
		display: none;
	}
	.dropdown-content {
		/* Stack dropdown in mobile */
		position: static;
		box-shadow: none;
		border-top: 1px solid var(--light-gray);
		padding: 0;
	}
	.dropdown-content a {
		padding-left: 2rem; /* Indent dropdown items */
	}

	.menu-toggle {
		display: block; /* Show hamburger menu */
	}

	.footer-content {
		grid-template-columns: 1fr; /* Stack footer columns */
		text-align: center;
	}
	.footer-content > div {
		margin-bottom: 20px;
	}
	.footer-content ul {
		padding-left: 0;
	}

	.cookie-modal-content {
		flex-direction: column;
		text-align: center;
	}
	.cookie-buttons {
		flex-direction: column;
		width: 80%;
		max-width: 250px;
	}
	.cookie-buttons button {
		width: 100%;
	}
}

@media (max-width: 480px) {
	html {
		font-size: 14px;
	}
	.container {
		width: 95%;
	}
	h1 {
		font-size: 1.8rem;
	}
	h2 {
		font-size: 1.4rem;
	}
	.cta-button,
	#contactForm button[type='submit'] {
		padding: 10px 20px;
		font-size: 1rem;
	}
	.card {
		padding: 20px;
	}
}
