:root {
	--primary-color: #007bff; /* A vibrant blue */
	--primary-hover-color: #0056b3;
	--secondary-color: #6c757d; /* A muted grey */
	--secondary-hover-color: #545b62;
	--background-color: #121212; /* Very dark grey, almost black */
	--surface-color: #1e1e1e; /* Slightly lighter for cards/elements */
	--text-color: #e0e0e0; /* Light grey for text */
	--text-muted-color: #9e9e9e; /* Muted grey for less important text */
	--border-color: #333333;
	--link-color: #4dabf7; /* Lighter blue for links */
	--success-color: #28a745;
	--error-color: #dc3545;
	--font-family: 'Arial', sans-serif; /* Placeholder, consider Google Fonts for better aesthetics */
}

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

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

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

/* Header & Navigation */
header {
	background-color: var(--surface-color);
	padding: 1rem 0;
	border-bottom: 1px solid var(--border-color);
	position: sticky;
	top: 0;
	z-index: 1000;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}

nav .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 img {
	height: 40px; /* Adjust logo height */
	width: auto;
}

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

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

nav .nav-links a {
	text-decoration: none;
	color: var(--text-color);
	font-weight: 500;
	transition: color 0.3s ease;
}

nav .nav-links a:hover,
nav .nav-links a.active {
	color: var(--primary-color);
}

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

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

/* Sections Common Styles */
main section {
	padding: 60px 0;
	border-bottom: 1px solid var(--border-color);
}

main section:last-child {
	border-bottom: none;
}

section h1,
section h2 {
	text-align: center;
	margin-bottom: 40px;
	color: var(--text-color);
	font-size: 2.5rem;
}
section h2 {
	font-size: 2.2rem;
}
section h3 {
	font-size: 1.5rem;
	margin-bottom: 10px;
	color: var(--primary-color);
}

.section-intro {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 40px auto;
	color: var(--text-muted-color);
	font-size: 1.1rem;
}

/* Hero Section */
#hero {
	background: url('../img/h1.webp') no-repeat center center/cover;
	color: #fff;
	text-align: center;
	padding: 100px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 70vh; /* Ensure it takes up significant viewport height */
}

#hero .container {
	background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
	padding: 40px;
	border-radius: 8px;
}

#hero h1 {
	font-size: 3rem;
	margin-bottom: 20px;
	color: #fff;
}

#hero p {
	font-size: 1.2rem;
	margin-bottom: 30px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.cta-buttons .btn {
	margin: 0 10px;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 12px 25px;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: background-color 0.3s ease, transform 0.2s ease;
	cursor: pointer;
	border: none;
	font-size: 1rem;
}

.btn-primary {
	background-color: var(--primary-color);
	color: #fff;
}

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

.btn-secondary {
	background-color: var(--secondary-color);
	color: #fff;
}

.btn-secondary:hover {
	background-color: var(--secondary-hover-color);
	transform: translateY(-2px);
}

/* Services Section (Cards) */
#services .cards-container {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	gap: 30px;
}

#services .card {
	background-color: var(--surface-color);
	padding: 30px;
	border-radius: 8px;
	width: calc(33.333% - 20px); /* Adjust for gap */
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

#services .card h3 {
	margin-bottom: 15px;
	color: var(--primary-color);
}

#services .card p {
	font-size: 0.95rem;
	color: var(--text-muted-color);
}

/* Why Us Section */
#why-us .why-us-content {
	display: flex;
	align-items: center;
	gap: 40px;
}

#why-us .why-us-text {
	flex: 1;
}
#why-us .why-us-text p {
	margin-bottom: 20px;
	font-size: 1.05rem;
}

#why-us .why-us-image {
	flex-basis: 40%;
	text-align: center;
}

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

/* Philosophy Section */
#philosophy.text-only-section h2 .emoji {
	font-size: 1.5em; /* Make emoji slightly larger */
	vertical-align: middle;
}
#philosophy .philosophy-content {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}
#philosophy .philosophy-image {
	flex-basis: 150px; /* Fixed size for icon */
	flex-shrink: 0;
	text-align: center;
}
#philosophy .philosophy-image img {
	max-width: 100px;
	height: auto;
	opacity: 0.7;
}
#philosophy .philosophy-text p {
	margin-bottom: 20px;
	font-size: 1.1rem;
	text-align: justify;
}
#philosophy .philosophy-text strong {
	color: var(--primary-color);
	font-weight: 600;
}

/* Client Success Section */
#client-success .success-story {
	display: flex;
	gap: 30px;
	align-items: center;
	background-color: var(--surface-color);
	padding: 30px;
	border-radius: 8px;
}
#client-success .story-image {
	flex-basis: 40%;
}
#client-success .story-image img {
	max-width: 100%;
	border-radius: 8px;
}
#client-success .story-text {
	flex: 1;
}
#client-success .story-text h3 {
	margin-bottom: 15px;
}
#client-success .story-text p {
	margin-bottom: 15px;
	color: var(--text-muted-color);
}
#client-success .story-text p:last-child {
	margin-bottom: 0;
}

/* FAQ Section */
#faq h2 .emoji {
	font-size: 1.5em;
	vertical-align: middle;
}
#faq .faq-image-container {
	text-align: center;
	margin-bottom: 30px;
}
#faq .faq-main-image {
	max-width: 300px;
	opacity: 0.5;
}
#faq .faq-list .faq-item {
	background-color: var(--surface-color);
	padding: 20px;
	margin-bottom: 15px;
	border-radius: 5px;
	border-left: 4px solid var(--primary-color);
}
#faq .faq-list .faq-item h3 {
	color: var(--text-color);
	font-size: 1.2rem;
}
#faq .faq-list .faq-item p {
	color: var(--text-muted-color);
	margin-top: 10px;
}

/* Contact Section (Standalone) */
#contact-section {
	background-color: var(
		--background-color
	); /* Or a slightly different shade if preferred */
}

.contact-form-standalone {
	max-width: 700px;
	margin: 0 auto;
	background-color: var(--surface-color);
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-form-standalone h2 {
	text-align: center;
	margin-bottom: 30px;
	color: var(--text-color); /* Match section titles */
	font-size: 2.2rem;
}

.contact-form-standalone label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: var(--text-color);
}

.contact-form-standalone input[type='text'],
.contact-form-standalone input[type='email'],
.contact-form-standalone textarea {
	width: 100%;
	padding: 12px;
	margin-bottom: 20px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	background-color: var(--background-color); /* Darker input background */
	color: var(--text-color);
	font-size: 1rem;
}
.contact-form-standalone textarea {
	resize: vertical;
	min-height: 120px;
}

.contact-form-standalone button[type='submit'] {
	display: block;
	width: 100%;
	padding: 15px; /* Larger button for a standalone form */
	font-size: 1.1rem;
}

/* Footer */
#site-footer {
	background-color: var(--surface-color);
	color: var(--text-muted-color);
	padding: 40px 0 20px;
	border-top: 1px solid var(--border-color);
}

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

#site-footer .footer-column {
	flex: 1;
	min-width: 220px;
}

#site-footer h3 {
	color: var(--text-color);
	margin-bottom: 20px;
	font-size: 1.2rem;
}

#site-footer p,
#site-footer a,
#site-footer .contact-info-block p,
#site-footer .contact-info-block a,
#site-footer .footer-links-list a {
	color: var(--text-muted-color);
	text-decoration: none;
	font-size: 0.95rem;
}
#site-footer a:hover,
#site-footer .contact-info-block a:hover,
#site-footer .footer-links-list a:hover {
	color: var(--primary-color);
}

#site-footer .contact-info-block p {
	margin-bottom: 8px;
}

#site-footer .footer-links-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

#site-footer .footer-links-list li {
	margin-bottom: 10px;
}

#site-footer .copyright {
	text-align: center;
	font-size: 0.9rem;
	padding-top: 20px;
	margin-top: 20px;
	border-top: 1px solid var(--border-color);
}

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

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

/* Cookie Consent Modal */
.cookie-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: var(--surface-color);
	padding: 20px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
	z-index: 2000;
	display: none;
	border-top: 1px solid var(--border-color);
}

.cookie-modal.show {
	display: block;
}

.cookie-modal-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	flex-wrap: wrap;
}

.cookie-modal-content p {
	flex-grow: 1;
	margin-right: 20px;
	margin-bottom: 10px;
	font-size: 0.9rem;
}

.cookie-modal-content p a {
	color: var(--link-color);
	text-decoration: underline;
}

.cookie-modal-buttons button {
	margin-left: 10px;
}

/* Legal Pages Specific Styles */
.legal-page-container {
	padding: 40px 0;
}
.legal-page-container .container {
	background-color: var(--surface-color);
	padding: 30px;
	border-radius: 8px;
}
.legal-page-container h1 {
	text-align: left;
	margin-bottom: 30px;
	font-size: 1.5rem;
}
.legal-page-container h2 {
	text-align: left;
	margin-top: 30px;
	margin-bottom: 15px;
	font-size: 1.5rem;
	color: var(--primary-color);
}
.legal-page-container p,
.legal-page-container ul {
	margin-bottom: 15px;
	color: var(--text-muted-color);
}
.legal-page-container ul {
	padding-left: 20px;
}
.legal-page-container li {
	margin-bottom: 8px;
}
.legal-page-container a {
	color: var(--link-color);
}
.legal-page-container a:hover {
	text-decoration: underline;
}

/* Contact Modal styles */
.custom-modal {
	display: none;
	position: fixed;
	z-index: 3000;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(14, 21, 34, 0.61);
	align-items: center;
	justify-content: center;
	animation: fadeInModal 0.25s;
}
.custom-modal.show {
	display: flex;
}
.custom-modal .modal-backdrop {
	position: absolute;
	width: 100vw;
	height: 100vh;
	left: 0;
	top: 0;
	background: transparent;
}
.custom-modal .modal-dialog {
	position: relative;
	background: var(--surface-color);
	border-radius: 10px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
	min-width: 320px;
	max-width: 95vw;
	margin: auto;
	padding: 36px 32px 32px 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 2;
	min-height: 110px;
}
.custom-modal .modal-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.custom-modal .modal-spinner {
	margin: 4px 0 12px 0;
	display: block;
	border: 5px solid var(--primary-color);
	border-top: 5px solid var(--background-color);
	border-radius: 50%;
	width: 44px;
	height: 44px;
	animation: spin 1s linear infinite;
}
.custom-modal .modal-message {
	font-size: 1.1rem;
	color: var(--text-color);
	margin: 4px 0 4px 0;
	text-align: center;
	display: none;
	max-width: 300px;
}
@keyframes spin {
	0% {
		transform: rotate(0);
	}
	100% {
		transform: rotate(360deg);
	}
}
@keyframes fadeInModal {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* Responsive Design */
@media (max-width: 992px) {
	#services .card {
		width: calc(50% - 15px);
	}
	#why-us .why-us-content {
		flex-direction: column;
	}
	#why-us .why-us-image {
		margin-top: 30px;
		flex-basis: auto;
		width: 80%;
	}
	#client-success .success-story,
	#philosophy .philosophy-content {
		flex-direction: column;
	}
	#client-success .story-image,
	#philosophy .philosophy-image {
		margin-bottom: 20px;
		flex-basis: auto;
		width: auto;
	}
	#philosophy .philosophy-image img {
		max-width: 80px;
	}
}

@media (max-width: 768px) {
	nav .nav-links {
		display: none;
		flex-direction: column;
		width: 100%;
		background-color: var(--surface-color);
		position: absolute;
		top: 70px;
		left: 0;
		padding: 1rem 0;
		border-top: 1px solid var(--border-color);
		z-index: 999;
	}
	nav .nav-links.active {
		display: flex;
	}
	nav .nav-links li {
		margin: 0;
		text-align: center;
	}
	nav .nav-links a {
		display: block;
		padding: 0.8rem 0;
	}
	.menu-toggle {
		display: block;
	}
	.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);
	}

	section h1 {
		font-size: 2.5rem;
	}
	section h2 {
		font-size: 1.8rem;
	}
	#hero h1 {
		font-size: 2.2rem;
	}
	#hero p {
		font-size: 1rem;
	}

	#services .card {
		width: 100%;
	}

	#site-footer .footer-column {
		text-align: center;
		min-width: 100%;
		margin-bottom: 20px;
	}
	#site-footer .footer-column:last-child {
		margin-bottom: 0;
	}
	#site-footer .footer-column h3 {
		margin-bottom: 15px;
	}

	.contact-form-standalone {
		padding: 25px;
	}
	.contact-form-standalone h2 {
		font-size: 1.8rem;
	}
	.cookie-modal-content {
		flex-direction: column;
		text-align: center;
	}
	.cookie-modal-content p {
		margin-right: 0;
		margin-bottom: 15px;
	}
	.cookie-modal-buttons button {
		margin: 5px;
	}
}

.form-status-message {
	margin-top: 15px;
	margin-bottom: 10px;
	padding: 10px;
	border-radius: 4px;
	display: none;
}
.form-status-message.success {
	background-color: var(--success-color);
	color: white;
}
