/* General Styles */
body {
	font-family: 'Arial', sans-serif;
	margin: 0;
	padding: 0;
	background-color: #1a1a1a; /* Dark background */
	color: #f0f0f0; /* Light text */
	line-height: 1.6;
	overflow-x: hidden; /* Prevent horizontal scroll on animations */
}

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

html {
	scroll-behavior: smooth;
}

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

h1,
h2,
h3 {
	color: #ffffff;
	margin-bottom: 0.8em;
}

h1 {
	font-size: 2.8em; /* Responsive font size in media queries */
}

h2 {
	font-size: 2.2em;
	text-align: center;
	margin-bottom: 1em;
	padding-top: 20px; /* Space for section titles */
}

p {
	margin-bottom: 1em;
	font-size: 1.05em;
	color: #cccccc;
}

a {
	color: #4da6ff; /* Accent color */
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

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

/* Header & Navigation */
header {
	background-color: #222222;
	padding: 1em 0;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	position: relative; /* For z-index context of menu button */
}

nav .logo {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 1.2em;
	font-weight: bold;
	color: #ffffff;
	z-index: 1011; /* Ensure logo is above menu overlay if not hidden */
}

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

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

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

nav ul li a {
	color: #f0f0f0;
	font-size: 1.1em;
	transition: color 0.3s ease;
}

nav ul li a:hover {
	color: #4da6ff;
	text-decoration: none;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
	display: none; /* Hidden by default, shown in media query */
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
	z-index: 1011; /* Above mobile menu overlay */
}

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

/* Main Content & Sections */
main {
	padding-top: 80px; /* Adjust based on header height */
}

section {
	padding: 60px 0;
	border-bottom: 1px solid #333333;
	opacity: 0;
	transform: scale(0.95) translateY(20px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

.section-subtitle {
	text-align: center;
	font-size: 1.2em;
	color: #bbbbbb;
	margin-bottom: 2.5em;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* Hero Section */
#hero {
	background: url('../img/h1.webp') no-repeat center center/cover;
	color: #ffffff;
	text-align: center;
	padding: 120px 0; /* Increased padding */
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative; /* For pseudo-element overlay */
}

#hero::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.6);
	z-index: 1;
}

#hero .hero-content {
	margin: 0 auto;
	position: relative;
	z-index: 2;
	max-width: 800px;
}

#hero h1 {
	font-size: 3.5em;
	margin-bottom: 0.5em;
}

#hero p {
	font-size: 1.3em;
	margin-bottom: 1.5em;
	color: #e0e0e0;
}

.cta-button {
	display: inline-block;
	background-color: #4da6ff;
	color: #ffffff;
	padding: 12px 25px;
	font-size: 1.1em;
	border-radius: 5px;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.2s ease;
	border: none;
	cursor: pointer;
}

.cta-button:hover {
	background-color: #3b95e6;
	transform: translateY(-2px);
	text-decoration: none;
}

.cta-button.secondary {
	background-color: #555;
}
.cta-button.secondary:hover {
	background-color: #444;
}

.cta-button-outline {
	display: inline-block;
	border: 2px solid #4da6ff;
	color: #4da6ff;
	padding: 10px 20px;
	font-size: 1em;
	border-radius: 5px;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button-outline:hover {
	background-color: #4da6ff;
	color: #ffffff;
	text-decoration: none;
}

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

.card {
	background-color: #2a2a2a;
	padding: 25px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card img {
	width: 100%;
	height: 180px; /* Fixed height for card images */
	object-fit: cover;
	border-radius: 5px;
	margin-bottom: 15px;
}

.card h3 {
	font-size: 1.5em;
	margin-bottom: 0.5em;
	color: #4da6ff;
}

/* Values Section */
#values .values-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	text-align: left;
}

#values .values-grid div {
	background-color: #252525;
	padding: 20px;
	border-radius: 5px;
}

#values h3 {
	color: #5bc0de; /* Different accent for variety */
	font-size: 1.4em;
}

/* Testimonials Section */
#testimonials .testimonial-item {
	background-color: #2a2a2a;
	padding: 30px;
	border-radius: 8px;
	margin-bottom: 25px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
#testimonials .testimonial-item:last-child {
	margin-bottom: 0;
}

.testimonial-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	float: left;
	margin-right: 20px;
	margin-bottom: 10px;
	object-fit: cover;
}

#testimonials blockquote {
	font-style: italic;
	font-size: 1.15em;
	color: #e0e0e0;
	margin: 0 0 1em 0;
	padding-left: 20px;
	border-left: 3px solid #4da6ff;
}

#testimonials .testimonial-author {
	font-weight: bold;
	text-align: right;
	color: #cccccc;
	font-size: 1em;
}

/* FAQ Section */
.faq-item {
	background-color: #2a2a2a;
	margin-bottom: 10px;
	border-radius: 5px;
}

.faq-question {
	background: none;
	border: none;
	color: #f0f0f0;
	padding: 15px 20px;
	width: 100%;
	text-align: left;
	font-size: 1.2em;
	cursor: pointer;
	border-radius: 5px;
	transition: background-color 0.2s ease;
	position: relative; /* For a_rrow */
}
.faq-question:hover {
	background-color: #333333;
}

.faq-question::after {
	/* Basic arrow */
	content: '+';
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.4em;
	transition: transform 0.3s ease;
}

.faq-question.active::after {
	content: '-'; /* Or use transform: rotate(45deg); for '+' */
}

.faq-answer {
	box-sizing: content-box;
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer.active {
	padding: 15px 20px;
	max-height: 300px; /* Adjust as needed */
}
.faq-answer p {
	margin: 0;
	color: #bbbbbb;
}

/* Contact Form Section */
#contact {
	background-color: #252525; /* Slightly different background for contrast */
}

#contact .contact-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}

#contact .contact-form-container {
	flex: 2;
	min-width: 300px;
}

#contact .contact-details-container {
	flex: 1;
	min-width: 250px;
	background-color: #2a2a2a;
	padding: 25px;
	border-radius: 8px;
}

#contact .contact-details-container h3 {
	color: #4da6ff;
	margin-top: 0;
	margin-bottom: 0.5em;
}
#contact .contact-details-container p {
	margin-bottom: 1em;
	color: #cccccc;
}

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

.form-group label {
	display: block;
	margin-bottom: 5px;
	color: #f0f0f0;
}

.form-group input[type='text'],
.form-group input[type='email'],
.form-group textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #444444;
	border-radius: 5px;
	background-color: #333333;
	color: #f0f0f0;
	font-size: 1em;
	box-sizing: border-box; /* Ensures padding doesn't add to width */
}
.form-group input[type='text']:focus,
.form-group input[type='email']:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #4da6ff;
	box-shadow: 0 0 5px rgba(77, 166, 255, 0.5);
}

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

.form-group-checkbox {
	display: flex;
	align-items: flex-start; /* Align items to the top for long labels */
	gap: 10px; /* Space between checkbox and label */
}

.form-group-checkbox input[type='checkbox'] {
	margin-top: 5px; /* Align checkbox with the first line of text */
	width: auto; /* Override default full width for inputs */
	accent-color: #4da6ff; /* Style the checkbox color */
}

.form-group-checkbox .checkbox-label {
	font-size: 0.9em;
	color: #cccccc;
	margin-bottom: 0; /* Remove default label margin */
	line-height: 1.4;
}
.form-group-checkbox .checkbox-label a {
	color: #6cbaff;
	text-decoration: underline;
}

/* Page 2 Specific Styles */
/* Success Stories */
#success-stories .success-story-item {
	background-color: #2a2a2a;
	padding: 25px;
	border-radius: 8px;
	margin-bottom: 30px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#success-stories .success-story-item img {
	border-radius: 5px;
	margin-bottom: 15px;
	max-height: 300px;
	width: 100%;
	object-fit: cover;
}
#success-stories .success-story-item h3 {
	color: #4da6ff;
	font-size: 1.6em;
}

/* Our Process */
#our-process .process-steps {
	list-style: none;
	padding-left: 0;
}
#our-process .process-steps li {
	background-color: #2a2a2a;
	padding: 20px;
	margin-bottom: 15px;
	border-radius: 5px;
	border-left: 4px solid #4da6ff;
}
#our-process .process-steps li strong {
	color: #5bc0de;
	display: block;
	margin-bottom: 0.5em;
	font-size: 1.2em;
}

/* Deep Dive Article */
#deep-dive .article-preview {
	background-color: #2a2a2a;
	padding: 25px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#deep-dive .article-preview img {
	border-radius: 5px;
	margin-bottom: 15px;
	max-height: 350px;
	width: 100%;
	object-fit: cover;
}
#deep-dive .article-preview h3 {
	color: #4da6ff;
	font-size: 1.6em;
}

/* Why Us Section */
#why-us .text-content-columns {
	column-count: 2;
	column-gap: 40px;
}
#why-us .text-content-columns p {
	margin-bottom: 1.5em; /* Add space between paragraphs in columns */
	break-inside: avoid-column; /* Prevent paragraphs from breaking across columns */
}
#why-us .text-content-columns p strong {
	color: #e0e0e0;
}

/* Meet the Team */
#meet-the-team .team-showcase {
	text-align: center;
}
#meet-the-team .team-showcase img {
	border-radius: 8px;
	margin: 0 auto 20px auto;
	max-width: 70%;
	max-height: 400px;
	object-fit: cover;
}

/* Footer */
footer {
	background-color: #222222;
	color: #bbbbbb;
	padding: 40px 0 20px;
	text-align: center;
	border-top: 1px solid #333333;
}

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

.footer-logo {
	font-size: 1.5em;
	font-weight: bold;
	color: #ffffff;
	flex-basis: 100%; /* Full width on small screens */
	text-align: center;
}

.footer-contact {
	flex-basis: 100%; /* Full width on small screens */
	text-align: center;
}
.footer-contact p {
	margin: 5px 0;
	font-size: 0.9em;
}

.footer-links {
	flex-basis: 100%; /* Full width on small screens */
	text-align: center;
	margin-top: 10px;
}

.footer-links a {
	color: #bbbbbb;
	margin: 0 10px;
	font-size: 0.9em;
	display: inline-block; /* For better spacing */
	padding: 5px 0;
}

.footer-links a:hover {
	color: #4da6ff;
}

.copyright {
	font-size: 0.9em;
	margin-top: 20px;
}

/* Cookie Consent Modal */
.cookie-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(15, 15, 15, 0.95); /* Darker, slightly transparent */
	color: #f0f0f0;
	padding: 20px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
	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;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cookie-modal p {
	margin: 0 0 15px 0;
	font-size: 0.95em;
}
.cookie-modal a {
	color: #6cbaff;
	text-decoration: underline;
}
.cookie-modal-buttons {
	display: flex;
	gap: 15px;
}

/* Form Status Modal */
.status-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent overlay */
	display: none; /* Hidden by default */
	align-items: center;
	justify-content: center;
	z-index: 3000; /* Higher than cookie modal */
	text-align: center;
}

.status-modal-content {
	background-color: #2a2a2a;
	padding: 30px 40px;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	color: #f0f0f0;
	min-width: 250px;
	max-width: 400px;
}

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

/* Legal Pages Basic Styling */
.legal-page-container {
	padding: 100px 0 60px; /* Adjust top padding to account for fixed header */
}
.legal-page-container .container {
	background-color: #252525;
	padding: 30px 40px;
	border-radius: 8px;
}
.legal-page-container h1 {
	font-size: 1.5em;
	margin-bottom: 1em;
	color: #4da6ff;
	text-align: left;
}
.legal-page-container h2 {
	font-size: 1.5em;
	margin-top: 1.5em;
	margin-bottom: 0.7em;
	color: #ffffff;
	text-align: left;
	padding-top: 0;
}
.legal-page-container p,
.legal-page-container li {
	font-size: 1em;
	color: #cccccc;
	line-height: 1.7;
	margin-bottom: 1em;
}
.legal-page-container ul {
	padding-left: 20px;
	margin-bottom: 1em;
}
.legal-page-container strong {
	color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
	#why-us .text-content-columns {
		column-count: 1;
	}
}

@media (max-width: 768px) {
	h1 {
		font-size: 2.2em;
	}
	#hero h1 {
		font-size: 2.8em;
	}
	h2 {
		font-size: 1.8em;
	}

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

	/* Hamburger to X animation */
	nav.mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}
	nav.mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
		opacity: 0;
	}
	nav.mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	nav ul#main-navigation {
		display: none; /* Hide normal desktop nav */
		flex-direction: column;
		align-items: center;
		justify-content: center;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh; /* Full viewport height */
		background-color: #222222; /* Same as header or slightly darker */
		z-index: 1010; /* Below toggle button, above other content */
		padding: 0;
		margin: 0; /* Override existing margins */
	}

	nav.mobile-menu-open ul#main-navigation {
		display: flex; /* Show mobile menu when nav has .mobile-menu-open */
	}

	nav ul#main-navigation li {
		margin: 20px 0; /* Vertical spacing for mobile links */
	}

	nav ul#main-navigation li a {
		font-size: 1.5em; /* Larger text for mobile menu */
		color: #f0f0f0;
	}
	nav ul#main-navigation li a:hover {
		color: #4da6ff;
	}

	.footer-content {
		flex-direction: column;
		text-align: center;
	}
	.footer-logo,
	.footer-contact,
	.footer-links {
		flex-basis: auto; /* Reset flex basis */
		width: 100%;
		margin-bottom: 15px;
	}
	.footer-links a {
		margin: 5px 8px;
	}

	#contact .contact-wrapper {
		flex-direction: column;
	}

	.cookie-modal-content {
		flex-direction: column;
		text-align: center;
	}
	.cookie-modal p {
		margin-bottom: 15px;
	}
	.cookie-modal-buttons {
		width: 100%;
		justify-content: center;
	}
	.cookie-modal-buttons button {
		width: auto;
		padding: 10px 15px;
		font-size: 0.9em;
	}
}

@media (max-width: 480px) {
	body {
		font-size: 15px; /* Adjust base font size for smaller screens */
	}
	h1 {
		font-size: 2em;
	}
	#hero h1 {
		font-size: 2.3em;
	}
	#hero p {
		font-size: 1.1em;
	}
	h2 {
		font-size: 1.6em;
	}
	.cards-container {
		grid-template-columns: 1fr; /* Single column for cards */
	}
	nav ul li a {
		font-size: 1em;
	}
	.cta-button {
		padding: 10px 20px;
		font-size: 1em;
	}
	.status-modal-content {
		padding: 20px;
		min-width: 200px;
	}
}
