/* Main styles for domain.com accounting services website */

/* Global Styles */
:root {
	--color-primary: #FF6F00;
	/* Main orange color */
	--color-accent: #7C4DFF;
	/* Purple accent */
	--color-bg: #ECEFF1;
	/* Background gray-blue */
	--color-text: #263238;
	/* Text dark gray */
	--font-main: 'Montserrat', sans-serif;
	--font-secondary: 'Roboto', sans-serif;
	--transition: all 0.3s ease;
	--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	--border-radius: 8px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 40px;
	font-size: 16px;
}

body {
	font-family: var(--font-main);
	color: var(--color-text);
	background-color: var(--color-bg);
	line-height: 1.6;
	overflow-x: hidden;
}

section[id] {
	scroll-margin-top: 40px;
}

.container {
	width: 100%;
	max-width: 1200px;
	padding: 0 20px;
	margin: 0 auto;
}

h1,
h2,
h3,
h4 {
	margin-bottom: 1rem;
	line-height: 1.2;
	font-weight: 700;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
	position: relative;
	margin-bottom: 2rem;
}

h2:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 60px;
	height: 4px;
	background: var(--color-primary);
}

h3 {
	font-size: 1.5rem;
}

p {
	margin-bottom: 1rem;
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--color-accent);
}

img {
	max-width: 100%;
	height: auto;
}

.btn {
	display: inline-block;
	padding: 12px 30px;
	background: linear-gradient(45deg, var(--color-primary), var(--color-accent));
	color: white;
	border: none;
	border-radius: var(--border-radius);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.9rem;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: var(--transition);
	text-align: center;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	color: white;
}

.section-padding {
	padding: 80px 0;
}

.text-center {
	text-align: center;
}

/* Header Styles */
header {
	background-color: white;
	box-shadow: var(--shadow);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}

.logo {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--color-primary);
	text-transform: lowercase;
	letter-spacing: -1px;
}

.logo span {
	color: var(--color-accent);
}

/* Navigation */
.menu-toggle {
	display: none;
}

.menu-btn {
	display: none;
	cursor: pointer;
	width: 30px;
	height: 20px;
	position: relative;
}

.nav ul {
	display: flex;
	list-style: none;
}

.nav ul li {
	margin-left: 30px;
}

.nav ul li a {
	color: var(--color-text);
	font-weight: 500;
	position: relative;
}

.nav ul li a:hover {
	color: var(--color-primary);
}

.nav ul li a:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -5px;
	width: 0;
	height: 2px;
	background-color: var(--color-primary);
	transition: var(--transition);
}

.nav ul li a:hover:after {
	width: 100%;
}

/* Hero Section */
.hero {
	height: 80vh;
	min-height: 500px;
	background-image: url('./img/IfG9m.jpg');
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
	position: relative;
	display: flex;
	align-items: center;
	text-align: center;
	color: white;
}

.hero:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.5);
}

.hero-content {
	position: relative;
	z-index: 10;
	max-width: 800px;
	margin: 0 auto;
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features {
	background-color: white;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.feature-item {
	text-align: center;
	padding: 30px 20px;
	background-color: white;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	transition: var(--transition);
}

.feature-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
	width: 70px;
	height: 70px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(45deg, var(--color-primary), var(--color-accent));
	border-radius: 50%;
	color: white;
	font-size: 2rem;
}

/* Services Section */
.services {
	background-color: var(--color-bg);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.service-card {
	background-color: white;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: var(--transition);
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-img {
	width: 100%;
	height: 200px;
	overflow: hidden;
}

.service-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.service-card:hover .service-img img {
	transform: scale(1.05);
}

.service-content {
	padding: 20px;
}

/* About Section */
.about {
	background-color: white;
}

.about-content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
}

.about-text {
	flex: 1;
	min-width: 300px;
}

.about-image {
	flex: 1;
	min-width: 300px;
}

.about-image img {
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
}

/* Testimonials Section */
.testimonials {
	background-color: var(--color-bg);
}

.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.testimonial-card {
	background-color: white;
	padding: 30px;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	position: relative;
}

.testimonial-card:before {
	content: '"';
	font-size: 4rem;
	color: var(--color-primary);
	opacity: 0.2;
	position: absolute;
	top: 10px;
	left: 20px;
	line-height: 1;
}

.testimonial-content {
	position: relative;
	z-index: 2;
	font-style: italic;
}

.testimonial-author {
	display: flex;
	align-items: center;
	margin-top: 20px;
}

.testimonial-avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-right: 15px;
	overflow: hidden;
}

.testimonial-info h4 {
	margin-bottom: 5px;
}

.testimonial-info small {
	color: #888;
}

/* FAQ Section */
.faq {
	background-color: white;
}

.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 15px;
	border: 1px solid #ddd;
	border-radius: var(--border-radius);
	overflow: hidden;
}

.faq-question {
	background-color: var(--color-bg);
	padding: 15px 20px;
	cursor: pointer;
	display: block;
	width: 100%;
	text-align: left;
	position: relative;
}

.faq-question:after {
	content: '+';
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	color: var(--color-primary);
}

.faq-checkbox {
	display: none;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	background-color: white;
}

.faq-checkbox:checked~.faq-answer {
	max-height: 500px;
}

.faq-checkbox:checked+.faq-question:after {
	content: '−';
}

.faq-content {
	padding: 20px;
}

/* Form Section */
.contact {
	background-color: var(--color-bg);
}

.form-container {
	max-width: 600px;
	margin: 0 auto;
	background-color: white;
	padding: 40px;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	border: 2px solid var(--color-primary);
}

.form-group {
	margin-bottom: 20px;
}

.form-label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
}

.form-control {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: var(--border-radius);
	font-family: var(--font-main);
	transition: var(--transition);
}

.form-control:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.2);
}

.form-select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 12 12'%3E%3Cpath d='M6 8.825L1.175 4 2.05 3.125 6 7.075l3.95-3.95L10.825 4 6 8.825z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	padding-right: 45px;
}

.form-select option {
	background-color: white;
	color: var(--color-text);
	padding: 8px;
}

.checkbox-group {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
}

.checkbox-input {
	margin-top: 5px;
	margin-right: 10px;
}

.checkbox-label {
	font-size: 0.9rem;
}

.checkbox-label a {
	text-decoration: underline;
}

.form-button {
	margin-top: 10px;
	width: 100%;
}

/* Footer */
footer {
	background-color: #1a1a1a;
	color: white;
	padding: 60px 0 20px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-column h3 {
	font-size: 1.3rem;
	margin-bottom: 20px;
	position: relative;
}

.footer-column h3:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 30px;
	height: 2px;
	background-color: var(--color-primary);
}

.footer-column p {
	margin-bottom: 10px;
	font-size: 0.9rem;
	opacity: 0.8;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: white;
	opacity: 0.8;
	font-size: 0.9rem;
	transition: var(--transition);
}

.footer-links a:hover {
	color: var(--color-primary);
	opacity: 1;
}

.footer-contact {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	font-size: 0.9rem;
	opacity: 0.8;
}

.footer-bottom {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.8rem;
	opacity: 0.7;
}

/* Cookie Consent */
.cookie-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0, 0, 0, 0.9);
	color: white;
	padding: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 9999;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.cookie-consent.show {
	transform: translateY(0);
}

.cookie-text {
	flex: 1;
	margin-right: 20px;
	font-size: 0.9rem;
}

.cookie-buttons {
	display: flex;
	gap: 10px;
}

.cookie-btn {
	padding: 8px 15px;
	border-radius: var(--border-radius);
	font-size: 0.8rem;
	cursor: pointer;
	transition: var(--transition);
}

.cookie-accept {
	background-color: var(--color-primary);
	color: white;
	border: none;
}

.cookie-info {
	background-color: transparent;
	color: white;
	border: 1px solid white;
}

/* Policy Pages */
.policy-container {
	max-width: 800px;
	margin: 8rem auto 5rem;
	background-color: white;
	padding: 40px;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	border: 1px solid #ddd;
}

.policy-title {
	margin-bottom: 30px;
}

.policy-section {
	margin-bottom: 30px;
}

.policy-section h3 {
	margin-bottom: 15px;
	color: var(--color-primary);
}

/* Thank You Page */
.thank-you {
	max-width: 600px;
	margin: 8rem auto 5rem;
	background-color: white;
	padding: 40px;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	border: 2px solid var(--color-primary);
	text-align: center;
}

/* Media Queries */
@media (max-width: 992px) {
	h1 {
		font-size: 2.2rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	.hero h1 {
		font-size: 3rem;
	}

	.section-padding {
		padding: 60px 0;
	}
}

@media (max-width: 768px) {
	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.6rem;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.hero {
		height: 70vh;
	}

	.section-padding {
		padding: 50px 0;
	}

	.menu-btn {
		display: block;
		z-index: 1001;
	}

	.menu-btn:before,
	.menu-btn:after,
	.menu-btn span {
		content: '';
		display: block;
		width: 100%;
		height: 3px;
		background-color: var(--color-text);
		position: absolute;
		transition: var(--transition);
	}

	.menu-btn:before {
		top: 0;
	}

	.menu-btn span {
		top: 50%;
		transform: translateY(-50%);
	}

	.menu-btn:after {
		bottom: 0;
	}

	.menu-toggle:checked~.menu-btn:before {
		transform: rotate(45deg);
		top: 8px;
	}

	.menu-toggle:checked~.menu-btn span {
		opacity: 0;
	}

	.menu-toggle:checked~.menu-btn:after {
		transform: rotate(-45deg);
		bottom: 9px;
	}

	.nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 280px;
		height: 100vh;
		background-color: white;
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
		transition: var(--transition);
		z-index: 1000;
		padding-top: 80px;
	}

	.menu-toggle:checked~.nav {
		right: 0;
	}

	.nav ul {
		flex-direction: column;
		padding: 0 20px;
	}

	.nav ul li {
		margin-left: 0;
		margin-bottom: 20px;
	}
}

@media (max-width: 576px) {
	h1 {
		font-size: 1.8rem;
	}

	h2 {
		font-size: 1.4rem;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.hero p {
		font-size: 1rem;
	}

	.section-padding {
		padding: 40px 0;
	}

	.form-container {
		padding: 20px;
	}

	.footer-content {
		grid-template-columns: 1fr;
	}

	.cookie-consent {
		flex-direction: column;
		align-items: flex-start;
	}

	.cookie-text {
		margin-right: 0;
		margin-bottom: 15px;
	}
}