/* Main styles for domain - Accounting Services Website */

/* Global Styles */
:root {
	--background: #E6FF57;
	--accent: #4A0072;
	--text: #1F1F1F;
	--button: #FF007F;
	--button-hover: #FF8C42;
	--link: #3C3D91;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 40px;
}

body {
	font-family: 'Arial', sans-serif;
	background-color: var(--background);
	color: var(--text);
	line-height: 1.6;
}

section[id] {
	scroll-margin-top: 40px;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--accent);
	margin-bottom: 1rem;
}

a {
	color: var(--link);
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover {
	color: var(--button-hover);
}

.btn {
	display: inline-block;
	background-color: var(--button);
	color: white;
	padding: 10px 25px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
	transition: all 0.3s ease;
}

.btn:hover {
	background-color: var(--button-hover);
}

section {
	padding: 4rem 0;
}

/* Header */
header {
	background-color: white;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
}

.logo {
	font-size: 2rem;
	font-weight: bold;
	color: var(--accent);
}

/* Navigation */
.nav-checkbox {
	display: none;
}

.nav-toggle {
	display: none;
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	margin-left: 25px;
}

nav ul li a {
	color: var(--accent);
	font-weight: 600;
}

/* Hero Section */
.hero {
	background-image: url('./img/5jrsS.jpg');
	background-size: cover;
	background-position: center;
	min-height: 80vh;
	display: flex;
	align-items: center;
	position: relative;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
	position: relative;
	color: white;
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
	padding: 2rem;
	background-color: rgba(74, 0, 114, 0.8);
	border-radius: 8px;
}

.hero-content h1 {
	font-size: 3rem;
	color: white;
	margin-bottom: 1.5rem;
}

.hero-content p {
	margin-bottom: 2rem;
	font-size: 1.2rem;
}

/* About Section */
.about {
	background-color: white;
}

.about-content {
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

/* Services Section */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 2rem;
}

.service-card {
	background-color: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.service-card:hover {
	transform: translateY(-10px);
}

.service-image {
	height: 180px;
	overflow: hidden;
}

.service-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-content {
	padding: 1.5rem;
}

/* Why Us Section */
.why-us {
	background-color: white;
}

.advantages-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-top: 2rem;
}

.advantage-item {
	background-color: var(--background);
	padding: 1.5rem;
	border-radius: 8px;
	text-align: center;
}

/* Testimonials Section */
.testimonials {
	background-color: var(--accent);
	color: white;
}

.testimonials h2 {
	color: white;
	text-align: center;
}

.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 2rem;
}

.testimonial-card {
	background-color: white;
	color: var(--text);
	padding: 1.5rem;
	border-radius: 8px;
}

/* FAQ Section */
.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 1rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
}

.faq-question {
	display: block;
	padding: 1rem;
	background-color: white;
	cursor: pointer;
	position: relative;
	font-weight: bold;
	color: var(--accent);
}

.faq-question::after {
	content: '+';
	position: absolute;
	right: 1rem;
	font-size: 1.5rem;
}

.faq-checkbox {
	display: none;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	background-color: #f9f9f9;
	transition: max-height 0.3s ease;
}

.faq-answer div {
	padding: 1rem;
}

.faq-checkbox:checked~.faq-answer {
	max-height: 500px;
}

.faq-checkbox:checked+.faq-question::after {
	content: '-';
}

/* Form Section */
.form-section {
	background-color: white;
}

.form-container {
	max-width: 600px;
	margin: 0 auto;
	padding: 2rem;
	background-color: var(--background);
	border-radius: 8px;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: bold;
}

.form-control {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

select.form-control option {
	background-color: white;
}

.checkbox-group {
	display: flex;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.checkbox-group input {
	margin-right: 10px;
	margin-top: 5px;
}

.form-submit {
	text-align: center;
}

/* CTA Section */
.cta {
	background-color: var(--accent);
	color: white;
	text-align: center;
}

.cta h2 {
	color: white;
}

/* Footer */
footer {
	background-color: #1F1F1F;
	color: white;
	padding: 3rem 0;
}

.footer-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
}

.footer-col h3 {
	color: white;
	margin-bottom: 1.5rem;
}

.footer-col ul {
	list-style: none;
}

.footer-col ul li {
	margin-bottom: 0.5rem;
}

.footer-col ul li a {
	color: #ddd;
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	margin-top: 2rem;
	border-top: 1px solid #333;
}

/* Cookie Popup */
.cookie-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: white;
	padding: 1rem;
	box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
	z-index: 9999;
	display: none;
}

.cookie-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}

.cookie-text {
	margin-right: 1rem;
}

/* Thank You Page */
.thank-you-container {
	max-width: 600px;
	margin: 8rem auto 5rem;
	padding: 3rem;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	text-align: center;
}

/* Policy Pages */
.policy-container {
	max-width: 800px;
	margin: 4rem auto;
	padding: 2rem;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-close {
	display: none
}

div {
	word-break: break-word;
	overflow-wrap: break-word;
}

/* Media Queries */
@media (max-width: 768px) {

	/* Mobile Navigation */
	.nav-toggle {
		order: 2;
		display: block;
		font-size: 1.5rem;
		cursor: pointer;
		color: var(--accent);
	}

	nav ul {
		position: fixed;
		top: 0;
		right: -100%;
		height: 100vh;
		width: 80%;
		max-width: 300px;
		background-color: white;
		flex-direction: column;
		padding: 2rem;
		transition: right 0.3s ease;
		z-index: 1001;
	}

	nav ul li {
		margin: 1rem 0;
	}

	.nav-checkbox:checked~nav ul {
		right: 0;
	}

	.nav-close {
		display: block;
		text-align: right;
		margin-bottom: 1rem;
		cursor: pointer;
	}

	/* Hero Section */
	.hero-content h1 {
		font-size: 2.3rem;
	}
}

@media (max-width: 576px) {

	/* Sections */
	section {
		padding: 3rem 0;
	}

	/* Hero Section */
	.hero-content h1 {
		font-size: 1.8rem;
	}

	/* Service Cards */
	.service-image {
		height: 150px;
	}
}