/* style.css - Main stylesheet for domain accounting services */

/* Base styles and CSS reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-bg: #fdf7e3;
	--accent-color: #ff6f61;
	--secondary-accent: #ffc371;
	--dark-color: #3b3b3b;
	--text-color: #2f2f2f;
	--light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	--transition: all 0.3s ease-in-out;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 40px;
	font-size: 16px;
}

body {
	font-family: 'Montserrat', 'Segoe UI', sans-serif;
	background-color: var(--primary-bg);
	color: var(--text-color);
	line-height: 1.6;
}

section[id] {
	scroll-margin-top: 40px;
	padding: 4rem 1rem;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

h1,
h2,
h3,
h4,
h5 {
	margin-bottom: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
	position: relative;
	margin-bottom: 3rem;
}

h2::after {
	content: '';
	position: absolute;
	bottom: -1rem;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background: var(--accent-color);
	transition: var(--transition);
}

p {
	margin-bottom: 1rem;
}

a {
	text-decoration: none;
	color: var(--accent-color);
	transition: var(--transition);
}

a:hover {
	color: var(--secondary-accent);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.btn {
	display: inline-block;
	padding: 0.8rem 1.8rem;
	border-radius: 30px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	background: linear-gradient(45deg, var(--accent-color), var(--secondary-accent));
	color: white;
	border: none;
	cursor: pointer;
	transition: var(--transition);
	text-align: center;
	box-shadow: var(--light-shadow);
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
	color: white;
}

.text-center {
	text-align: center;
}

/* Header styles */
header {
	background-color: rgba(253, 247, 227, 0.95);
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: var(--light-shadow);
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 1.5rem;
}

.logo {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--accent-color);
	text-transform: lowercase;
}

/* Hamburger menu (CSS only) */
.menu-toggle {
	display: none;
}

.menu-btn {
	display: none;
	cursor: pointer;
	font-size: 1.5rem;
}

.main-nav ul {
	display: flex;
	list-style: none;
}

.main-nav li {
	margin-left: 1.5rem;
}

.main-nav a {
	color: var(--dark-color);
	font-weight: 500;
}

.main-nav a:hover {
	color: var(--accent-color);
}

/* Hero section */
.hero {
	min-height: 80vh;
	background: url('./img/sUnzH.jpg') center/cover no-repeat;
	position: relative;
	display: flex;
	align-items: center;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
}

.hero-content {
	position: relative;
	color: white;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 1.5rem;
	animation: fadeInDown 1s ease-out;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	animation: fadeInUp 1s ease-out 0.5s;
	animation-fill-mode: both;
}

.hero .btn {
	animation: fadeInUp 1s ease-out 1s;
	animation-fill-mode: both;
}

/* About section */
.about {
	background-color: white;
}

.about-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.about-text {
	max-width: 800px;
	text-align: center;
}

/* Services section */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 2rem;
}

.service-card {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--light-shadow);
	transition: var(--transition);
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
	height: 200px;
	overflow: hidden;
}

.service-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.service-card:hover .service-image img {
	transform: scale(1.05);
}

.service-content {
	padding: 1.5rem;
}

.service-content h3 {
	margin-bottom: 1rem;
}

/* Why choose us section */
.why-us {
	background-color: white;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-top: 2rem;
}

.feature {
	text-align: center;
	padding: 1.5rem;
	border-radius: 10px;
	background-color: var(--primary-bg);
	box-shadow: var(--light-shadow);
	transition: var(--transition);
}

.feature:hover {
	transform: translateY(-5px);
}

.feature img {
	width: 80px;
	height: 80px;
	margin: 0 auto 1rem;
	object-fit: cover;
	border-radius: 50%;
}

/* Work stages section */
.stages {
	position: relative;
}

.timeline {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem 0;
}

.timeline::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 3px;
	background: var(--accent-color);
	transform: translateX(-50%);
}

.stage {
	position: relative;
	margin-bottom: 4rem;
}

.stage:nth-child(odd) {
	padding-right: calc(50% + 30px);
	text-align: right;
}

.stage:nth-child(even) {
	padding-left: calc(50% + 30px);
}

.stage-number {
	position: absolute;
	width: 50px;
	height: 50px;
	top: 0;
	border-radius: 50%;
	background: linear-gradient(45deg, var(--accent-color), var(--secondary-accent));
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: 700;
	box-shadow: var(--light-shadow);
}

.stage:nth-child(odd) .stage-number {
	right: calc(50% - 25px);
}

.stage:nth-child(even) .stage-number {
	left: calc(50% - 25px);
}

.stage-content {
	background: white;
	border-radius: 10px;
	padding: 1.5rem;
	box-shadow: var(--light-shadow);
	transition: var(--transition);
}

.stage-content:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonials section */
.testimonials {
	background-color: white;
	text-align: center;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 2rem;
}

.testimonial {
	background-color: var(--primary-bg);
	border-radius: 10px;
	padding: 1.5rem;
	box-shadow: var(--light-shadow);
	transition: var(--transition);
}

.testimonial:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
	position: relative;
	font-style: italic;
	margin-bottom: 1.5rem;
}

.testimonial-text::before {
	content: '"';
	position: absolute;
	top: -20px;
	left: -10px;
	font-size: 3rem;
	color: var(--accent-color);
	opacity: 0.3;
}

.client-info {
	display: flex;
	align-items: center;
	justify-content: center;
}

.client-info img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-right: 1rem;
	object-fit: cover;
}

.client-name {
	font-weight: 700;
	color: var(--accent-color);
}

/* Form section */
.form-section {
	background-color: var(--primary-bg);
	position: relative;
}

.form-container {
	max-width: 600px;
	margin: 0 auto;
	background: white;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: var(--light-shadow);
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.form-control {
	width: 100%;
	padding: 0.8rem;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 1rem;
	transition: var(--transition);
}

.form-control:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 2px rgba(255, 111, 97, 0.2);
}

select.form-control {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%233b3b3b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
}

/* Custom styling for option tags */


.checkbox-group {
	display: flex;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
	margin-right: 0.5rem;
	margin-top: 0.3rem;
}

.checkbox-group label {
	font-size: 0.9rem;
}

.checkbox-group a {
	text-decoration: underline;
}

.form-btn {
	width: 100%;
	padding: 1rem;
	font-size: 1.1rem;
	margin-top: 1rem;
}

/* Contact section */
.contact {
	background-color: white;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 2rem;
}

.contact-item {
	text-align: center;
	padding: 1.5rem;
	background-color: var(--primary-bg);
	border-radius: 10px;
	box-shadow: var(--light-shadow);
	transition: var(--transition);
}

.contact-item:hover {
	transform: translateY(-5px);
}

.contact-icon {
	font-size: 2rem;
	color: var(--accent-color);
	margin-bottom: 1rem;
}

/* Map */
.map-container {
	margin-top: 3rem;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--light-shadow);
	height: 400px;
}

.map-container iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

/* Footer */
footer {
	background-color: var(--dark-color);
	color: white;
	padding: 3rem 0 1.5rem;
}

.footer-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 2rem;
}

.footer-logo {
	font-size: 1.8rem;
	font-weight: 700;
	color: white;
	margin-bottom: 1rem;
	text-transform: lowercase;
}

.footer-links h4 {
	color: var(--accent-color);
	margin-bottom: 1.2rem;
}

.footer-links ul {
	list-style: none;
}

.footer-links li {
	margin-bottom: 0.8rem;
}

.footer-links a {
	color: #ddd;
}

.footer-links a:hover {
	color: var(--accent-color);
}

.footer-bottom {
	text-align: center;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.9rem;
}

/* Cookie popup */
.cookie-popup {
	position: fixed;
	bottom: -100%;
	left: 0;
	right: 0;
	background: white;
	padding: 1.5rem;
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
	z-index: 1001;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: bottom 0.5s ease-in-out;
}

.cookie-popup.show {
	bottom: 0;
}

.cookie-text {
	flex: 1;
	margin-right: 1.5rem;
}

.cookie-buttons {
	display: flex;
	gap: 1rem;
}

.cookie-btn {
	padding: 0.6rem 1.2rem;
	border-radius: 5px;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
}

.accept-cookies {
	background: var(--accent-color);
	color: white;
	border: none;
}

.cookie-policy-link {
	border: 1px solid var(--accent-color);
	background: transparent;
	color: var(--accent-color);
}

/* FAQ CSS with checkbox hack */
.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 1rem;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--light-shadow);
}

.faq-question {
	display: block;
	background: white;
	padding: 1rem;
	cursor: pointer;
	position: relative;
	font-weight: 600;
}

.faq-question::after {
	content: '+';
	position: absolute;
	right: 1rem;
	transition: var(--transition);
}

.faq-answer {
	background: var(--primary-bg);
	padding: 0 1rem;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.faq-toggle {
	display: none;
}

.faq-toggle:checked~.faq-answer {
	max-height: 1000px;
	padding: 1rem;
}

.faq-toggle:checked~.faq-question::after {
	content: '-';
}

/* Thank you page styles */
.thanks-container {
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin: 8rem auto 5rem;
}

.thanks-box {
	background: white;
	border-radius: 10px;
	box-shadow: var(--light-shadow);
	padding: 3rem;
	max-width: 600px;
	border: 2px solid var(--accent-color);
}

.thanks-icon {
	font-size: 4rem;
	color: var(--accent-color);
	margin-bottom: 1.5rem;
}

/* Policy pages styles */
.policy-container {
	max-width: 900px;
	margin: 4rem auto;
	background: white;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: var(--light-shadow);
}

.policy-container h2 {
	text-align: center;
}

.policy-container h3 {
	margin-top: 2rem;
	color: var(--accent-color);
}

.policy-container ul,
.policy-container ol {
	margin-left: 1.5rem;
	margin-bottom: 1.5rem;
}

.policy-container li {
	margin-bottom: 0.5rem;
}

/* Animation keyframes */
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Media queries for responsive design */
@media (max-width: 992px) {
	h1 {
		font-size: 2.2rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	.timeline::before {
		left: 30px;
	}

	.stage:nth-child(odd),
	.stage:nth-child(even) {
		padding-left: 80px;
		padding-right: 0;
		text-align: left;
	}

	.stage:nth-child(odd) .stage-number,
	.stage:nth-child(even) .stage-number {
		left: 5px;
		right: auto;
	}
}

@media (max-width: 768px) {
	.menu-btn {
		display: block;
	}

	.main-nav {
		position: fixed;
		top: 0;
		left: -100%;
		width: 80%;
		height: 100vh;
		background: white;
		transition: var(--transition);
		box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
		z-index: 1001;
		padding-top: 80px;
	}

	.menu-toggle:checked~.main-nav {
		left: 0;
	}

	.main-nav ul {
		flex-direction: column;
	}

	.main-nav li {
		margin: 0;
		padding: 1rem 1.5rem;
		border-bottom: 1px solid #eee;
	}

	.hero h1 {
		font-size: 2.2rem;
	}

	.hero p {
		font-size: 1.1rem;
	}

	.footer-container {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 576px) {
	section {
		padding: 3rem 1rem;
	}

	h1 {
		font-size: 1.8rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	.hero {
		min-height: 60vh;
	}

	.cookie-popup {
		flex-direction: column;
	}

	.cookie-text {
		margin-right: 0;
		margin-bottom: 1rem;
	}

	.thanks-box {
		padding: 2rem 1rem;
	}
}