/* Main styles for the accounting website */
:root {
	/* Color palette */
	--gradient-start: #FFD6E0;
	--gradient-end: #8EC5FC;
	--accent-yellow: #FDCB6E;
	--accent-green: #00B894;
	--bg-light: #F8F8F8;
	--bg-dark: #2D3436;
	--shadow-color: rgba(0, 0, 0, 0.1);
}

/* Base styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 40px;
	font-size: 16px;
}

body {
	font-family: 'Open Sans', sans-serif;
	line-height: 1.6;
	color: var(--bg-dark);
	background-color: var(--bg-light);
}

section[id] {
	scroll-margin-top: 40px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Poppins', sans-serif;
	margin-bottom: 1rem;
}

img {
	max-width: 100%;
	height: auto;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

a {
	color: var(--accent-green);
}

.btn {
	display: inline-block;
	padding: 0.8rem 1.5rem;
	background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
	color: var(--bg-dark);
	text-decoration: none;
	border-radius: 0.5rem;
	font-weight: 600;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	font-family: 'Poppins', sans-serif;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px var(--shadow-color);
}

/* Header styles */
header {
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 2px 10px var(--shadow-color);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
}

.logo {
	font-size: 1.5rem;
	font-weight: 700;
	font-family: 'Poppins', sans-serif;
	background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Navigation */
.nav-menu {
	display: flex;
	list-style: none;
}

.nav-menu li {
	margin-left: 1.5rem;
}

.nav-menu a {
	text-decoration: none;
	color: var(--bg-dark);
	font-weight: 500;
	transition: color 0.3s ease;
}

.nav-menu a:hover {
	color: var(--accent-green);
}

.burger-menu {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 20px;
	cursor: pointer;
}

.burger-menu span {
	display: block;
	height: 3px;
	width: 100%;
	background-color: var(--bg-dark);
	border-radius: 3px;
}

#nav-toggle {
	display: none;
}

/* Hero section */
.hero {
	position: relative;
	height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./img/hY4Sw.jpg');
	background-size: cover;
	background-position: center;
	z-index: -1;
}

.hero-content {
	max-width: 800px;
	padding: 0 1rem;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 1.5rem;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

/* Sections common */
.section {
	padding: 5rem 0;
}

.section-title {
	text-align: center;
	margin-bottom: 3rem;
	position: relative;
}

.section-title::after {
	content: "";
	display: block;
	width: 80px;
	height: 4px;
	background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
	margin: 1rem auto 0;
	border-radius: 2px;
}

/* About us */
.about-us {
	background-color: white;
}

.about-content {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: center;
}

.about-text {
	flex: 1 1 500px;
}

.about-image {
	flex: 1 1 400px;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 15px 30px var(--shadow-color);
}

/* Services */
.services {
	background-color: var(--bg-light);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.service-card {
	background-color: white;
	border-radius: 1rem;
	box-shadow: 0 10px 20px var(--shadow-color);
	transition: transform 0.3s ease;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.service-card:hover {
	transform: translateY(-10px);
}

.service-card h3 {
	color: var(--accent-green);
}

.service-card-img {
	height: 180px;
	width: 100%;
	object-fit: cover;
}

.service-card-content {
	padding: 2rem;
}

/* Benefits */
.benefits {
	background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
	color: var(--bg-dark);
}

.benefits-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.benefit-item {
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 1rem;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
	text-align: center;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.benefit-item-img {
	height: 180px;
	width: 100%;
	object-fit: cover;
}

.benefit-item-content {
	padding: 2rem;
}

/* Testimonials */
.testimonials {
	background-color: white;
}

.testimonial-container {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
}

.testimonial-card {
	flex: 1 1 300px;
	max-width: 400px;
	background-color: var(--bg-light);
	border-radius: 1rem;
	box-shadow: 0 10px 20px var(--shadow-color);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.testimonial-card-img {
	height: 180px;
	width: 100%;
	object-fit: cover;
}

.testimonial-card-content {
	padding: 2rem;
	position: relative;
}

.testimonial-card-content::before {
	content: " ";
	position: absolute;
	top: 10px;
	left: 20px;
	font-size: 4rem;
	color: var(--accent-yellow);
	opacity: 0.2;
	font-family: Georgia, serif;
}

.client-info {
	display: flex;
	align-items: center;
	margin-top: 1.5rem;
}

.client-name {
	font-weight: 600;
}

/* Work process */
.process {
	background-color: var(--bg-light);
}

.process-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
}

.process-step {
	flex: 1 1 200px;
	max-width: 300px;
	text-align: center;
	position: relative;
}

.step-number {
	width: 60px;
	height: 60px;
	background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 auto 1.5rem;
}

.process-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 30px;
	right: -1rem;
	width: 2rem;
	height: 2px;
	background: var(--accent-yellow);
	display: none;
}

/* FAQ */
.faq {
	background-color: white;
}

.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 1rem;
	border-radius: 0.5rem;
	overflow: hidden;
}

.faq-question {
	background-color: var(--bg-light);
	padding: 1.5rem;
	font-weight: 600;
	display: block;
	width: 100%;
	text-align: left;
	position: relative;
	cursor: pointer;
	border: none;
	font-family: 'Poppins', sans-serif;
}

.faq-question::after {
	content: "+";
	position: absolute;
	right: 1.5rem;
	font-size: 1.5rem;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	background-color: white;
	padding: 0 1.5rem;
}

.faq-toggle {
	position: absolute;
	opacity: 0;
	z-index: -1;
}

.faq-toggle:checked+.faq-question::after {
	content: "-";
}

.faq-toggle:checked+.faq-question+.faq-answer {
	max-height: 500px;
	padding: 1.5rem;
}

/* Contact Form */
.contact {
	background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
	padding: 5rem 0;
}

.contact-container {
	max-width: 800px;
	margin: 0 auto;
	background-color: white;
	padding: 3rem;
	border-radius: 1rem;
	box-shadow: 0 15px 30px var(--shadow-color);
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.form-control {
	width: 100%;
	padding: 0.8rem;
	border: 1px solid #ddd;
	border-radius: 0.5rem;
	font-family: 'Open Sans', sans-serif;
}

.form-select {
	width: 100%;
	padding: 0.8rem;
	border: 1px solid #ddd;
	border-radius: 0.5rem;
	background-color: white;
	font-family: 'Open Sans', sans-serif;
}

.form-check {
	margin-top: 1rem;
	display: flex;
	align-items: flex-start;
}

.form-check input {
	margin-right: 0.5rem;
	margin-top: 0.2rem;
}

/* Footer */
footer {
	background-color: var(--bg-dark);
	color: white;
	padding: 3rem 0 2rem;
}

.footer-container {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: space-between;
}

.footer-column {
	flex: 1 1 250px;
}

.footer-column h3 {
	color: var(--accent-yellow);
	margin-bottom: 1.5rem;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 0.8rem;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: var(--accent-yellow);
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	margin-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie popup */
.cookie-popup {
	position: fixed;
	bottom: -100%;
	left: 0;
	width: 100%;
	padding: 1.5rem;
	background-color: var(--bg-dark);
	color: white;
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	transition: bottom 0.5s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.cookie-popup.show {
	bottom: 0;
}

.cookie-popup p {
	margin-right: 1rem;
}

.cookie-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 999;
	display: none;
}

.cookie-overlay.show {
	display: block;
}

/* Policy pages */
.policy-container {
	max-width: 900px;
	margin: 5rem auto;
	background-color: white;
	padding: 3rem;
	border-radius: 1rem;
	box-shadow: 0 15px 30px var(--shadow-color);
}

.policy-container h1 {
	margin-bottom: 2rem;
}

.policy-container h2 {
	margin-top: 2rem;
	margin-bottom: 1rem;
	color: var(--accent-green);
}

.policy-container p,
.policy-container ul {
	margin-bottom: 1rem;
}

.policy-container ul {
	padding-left: 1.5rem;
}

/* Thank you page */
.thank-you-container {
	max-width: 600px;
	margin: 5rem auto;
	text-align: center;
	background-color: white;
	padding: 3rem;
	border-radius: 1rem;
	box-shadow: 0 15px 30px var(--shadow-color);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.thank-you-container h1 {
	color: var(--accent-green);
}

/* Media queries for responsive design */
@media (max-width: 991px) {
	.hero h1 {
		font-size: 2.5rem;
	}

	.process-step:not(:last-child)::after {
		display: none;
	}

	.about-content {
		flex-direction: column-reverse;
	}
}

@media (max-width: 768px) {
	.burger-menu {
		display: flex;
	}

	.about-image {
		flex: none;
	}

	.nav-menu {
		position: fixed;
		flex-direction: column;
		top: 70px;
		left: -100%;
		width: 80%;
		max-width: 300px;
		height: calc(100vh - 70px);
		background-color: white;
		box-shadow: 2px 0 10px var(--shadow-color);
		transition: left 0.3s ease;
		z-index: 900;
		padding: 2rem;
	}

	.nav-menu li {
		margin: 1.5rem 0;
	}

	#nav-toggle:checked~.nav-menu {
		left: 0;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.footer-container {
		flex-direction: column;
	}

	.section {
		padding: 3rem 0;
	}
}

@media (max-width: 576px) {
	html {
		font-size: 14px;
	}

	.hero {
		height: 70vh;
	}

	.contact-container,
	.policy-container {
		padding: 1.5rem;
	}
}