/* 
 * Main stylesheet for domain
 * Financial audit company website
 */

/* Global styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap');

:root {
	--primary: #191D32;
	--gold: #FFD700;
	--turquoise: #1ABC9C;
	--orange: #F39C12;
	--gray: #ECF0F1;
	--white: #ffffff;
	--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	--transition: all 0.3s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 40px;
}

body {
	font-family: 'Open Sans', sans-serif;
	color: var(--primary);
	background-color: var(--white);
	line-height: 1.6;
}

section[id] {
	scroll-margin-top: 40px;
}

div {
	word-break: break-word;
	overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	margin-bottom: 1rem;
}

a {
	text-decoration: none;
	color: var(--primary);
	transition: var(--transition);
}

a:hover,
.cookie-consent a {
	color: var(--turquoise);
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.btn {
	display: inline-block;
	padding: 12px 24px;
	background-color: var(--gold);
	color: var(--primary);
	border: none;
	border-radius: 4px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
}

.btn:hover {
	background-color: var(--orange);
	transform: translateY(-2px);
	color: var(--white);
}

.section-title {
	text-align: center;
	margin-bottom: 3rem;
	position: relative;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background-color: var(--turquoise);
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

/* Header styles */
header {
	background-color: var(--white);
	box-shadow: var(--shadow);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
}

.logo {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 1.8rem;
	color: var(--primary);
}

.logo span {
	color: var(--gold);
}

/* Navigation */
.hamburger {
	display: none;
}

.nav-toggle {
	display: none;
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	margin-left: 20px;
}

nav ul li a {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
}

/* Hero Section */
.hero {
	height: 80vh;
	background-image: url('./img/8ANHH.jpg');
	background-size: cover;
	background-position: center;
	position: relative;
	color: var(--white);
	display: flex;
	align-items: center;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(25, 29, 50, 0.7);
}

.hero-content {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	padding: 0 20px;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 1.5rem;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

/* About Section */
.about {
	padding: 5rem 0;
}

.about-content {
	display: flex;
	align-items: center;
	gap: 40px;
}

.about-text {
	flex: 1;
}

.about-image {
	flex: 1;
}

.about-image img {
	width: 100%;
	border-radius: 8px;
	box-shadow: var(--shadow);
}

/* Services Section */
.services {
	padding: 5rem 0;
	background-color: var(--gray);
}

.service-card {
	background-color: var(--white);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: var(--transition);
}

.service-card:hover {
	transform: translateY(-5px);
}

.service-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.service-content {
	padding: 20px;
}

.service-card h3 {
	color: var(--primary);
	margin-bottom: 10px;
}

/* Advantages Section */
.advantages {
	padding: 5rem 0;
}

.advantage-card {
	text-align: center;
	padding: 20px;
}

.advantage-icon {
	font-size: 2.5rem;
	color: var(--turquoise);
	margin-bottom: 1rem;
}

/* Work Stages Section */
.work-stages {
	padding: 5rem 0;
	background-color: var(--gray);
}

.stage {
	display: flex;
	align-items: flex-start;
	margin-bottom: 2rem;
}

.stages-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.stage-number {
	background-color: var(--gold);
	color: var(--primary);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	margin-right: 20px;
	flex-shrink: 0;
}

.stage-content {
	flex: 1;
}

/* Reviews Section */
.reviews {
	padding: 5rem 0;
}

.review-card {
	background-color: var(--white);
	border-radius: 8px;
	padding: 20px;
	box-shadow: var(--shadow);
	position: relative;
}

.review-card::before {
	content: '"';
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 4rem;
	font-family: 'Montserrat', sans-serif;
	color: var(--gray);
	opacity: 0.5;
	z-index: 0;
}

.review-content {
	position: relative;
	z-index: 1;
}

.reviewer-name {
	font-weight: 600;
	color: var(--turquoise);
	margin-top: 15px;
}

/* Form Section */
.contact-form {
	padding: 5rem 0;
	background-color: var(--primary);
	color: var(--white);
}

.form-container {
	max-width: 600px;
	margin: 0 auto;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}

.form-control {
	width: 100%;
	padding: 12px;
	border: 2px solid var(--turquoise);
	border-radius: 4px;
	font-family: 'Open Sans', sans-serif;
	transition: var(--transition);
}

.form-control:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.form-control.select {
	appearance: none;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23191D32' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
}

.form-control.select option {
	background-color: var(--white);
	color: var(--primary);
}

.checkbox-group {
	display: flex;
	align-items: flex-start;
	margin-bottom: 10px;
}

.checkbox-group input[type="checkbox"] {
	margin-top: 5px;
	margin-right: 10px;
}

.form-submit {
	background-color: var(--gold);
	color: var(--primary);
	border: none;
	padding: 12px 24px;
	border-radius: 4px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	width: 100%;
}

.form-submit:hover {
	background-color: var(--turquoise);
	color: var(--white);
}

/* Contact Section */
.contacts {
	padding: 5rem 0;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.contact-icon {
	color: var(--turquoise);
	font-size: 1.2rem;
}

/* Footer */
footer {
	background-color: var(--primary);
	color: var(--white);
	padding: 3rem 0 1rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 2rem;
}

.footer-company-info h4 {
	color: var(--gold);
	margin-bottom: 15px;
}

.footer-links h4 {
	color: var(--gold);
	margin-bottom: 15px;
}

.footer-links ul {
	list-style: none;
}

.footer-links ul li {
	margin-bottom: 8px;
}

.footer-links ul li a {
	color: var(--white);
}

.footer-links ul li a:hover {
	color: var(--gold);
}

.copyright {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent Popup */
.cookie-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: var(--primary);
	color: var(--white);
	padding: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	display: none;
}

.cookie-consent.active {
	display: flex;
}

.cookie-text {
	flex: 1;
	margin-right: 20px;
}

.cookie-consent .btn {
	flex-shrink: 0;
}

/* Policy Pages */
.policy-container {
	max-width: 800px;
	margin: 8rem auto 5rem;
	padding: 30px;
	border: 1px solid var(--gray);
	border-radius: 8px;
	background-color: var(--white);
}

.policy-container h1 {
	margin-bottom: 2rem;
	text-align: center;
}

.policy-container h2 {
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.policy-container p {
	margin-bottom: 1rem;
}

.policy-container ul {
	margin-left: 20px;
	margin-bottom: 1rem;
}

/* Thank You Page */
.thank-you {
	max-width: 600px;
	margin: 8rem auto 5rem;
	padding: 30px;
	border: 1px solid var(--gold);
	border-radius: 8px;
	background-color: var(--white);
	text-align: center;
}

.thank-you h1 {
	color: var(--turquoise);
	margin-bottom: 1rem;
}

.thank-you p {
	margin-bottom: 2rem;
}

/* FAQ Accordion (using checkbox hack) */
.faq-item {
	margin-bottom: 10px;
	border: 1px solid var(--gray);
	border-radius: 4px;
	overflow: hidden;
}

.faq-toggle {
	display: none;
}

.faq-label {
	display: block;
	padding: 15px;
	background-color: var(--gray);
	cursor: pointer;
	font-weight: 600;
	position: relative;
}

.faq-label::after {
	content: '+';
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	transition: var(--transition);
}

.faq-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	background-color: var(--white);
}

.faq-toggle:checked~.faq-content {
	max-height: 1000px;
}

.faq-toggle:checked~.faq-label::after {
	content: '−';
}

.faq-content-inner {
	padding: 15px;
}

/* Mobile Menu (using checkbox hack) */
@media (max-width: 768px) {
	.hamburger {
		display: block;
		width: 30px;
		height: 20px;
		position: relative;
		cursor: pointer;
	}

	.hamburger span {
		display: block;
		position: absolute;
		height: 3px;
		width: 100%;
		background-color: var(--primary);
		border-radius: 3px;
		transition: var(--transition);
	}

	.hamburger span:nth-child(1) {
		top: 0;
	}

	.hamburger span:nth-child(2) {
		top: 50%;
		transform: translateY(-50%);
	}

	.hamburger span:nth-child(3) {
		bottom: 0;
	}

	.nav-toggle:checked~.hamburger span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.nav-toggle:checked~.hamburger span:nth-child(2) {
		opacity: 0;
	}

	.nav-toggle:checked~.hamburger span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: var(--white);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
		box-shadow: var(--shadow);
	}

	.nav-toggle:checked~nav {
		max-height: 500px;
	}

	nav ul {
		flex-direction: column;
		padding: 20px;
	}

	nav ul li {
		margin: 0 0 15px 0;
	}

	nav ul li:last-child {
		margin-bottom: 0;
	}

	.about-content {
		flex-direction: column;
	}
}

@media (max-width: 576px) {
	.hero h1 {
		font-size: 2rem;
	}

	.section-title {
		font-size: 1.8rem;
	}

	.cookie-consent {
		flex-direction: column;
		align-items: flex-start;
	}

	.cookie-text {
		margin-right: 0;
		margin-bottom: 15px;
	}
}