/* 
* styles.css - Main stylesheet for domain accounting company
* Color palette:
* - Primary: #0F172A (dark blue graphite)
* - Accent: #FF5A5F (coral red)
* - Secondary: #FFD166 (yellow-orange)
* - Background: #F9FAFB (light grey)
* - Text: #111827 (dark black)
*/

/* Reset and base styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 40px;
}

body {
	font-family: 'Arial', sans-serif;
	color: #111827;
	background-color: #F9FAFB;
	line-height: 1.6;
}

section[id] {
	scroll-margin-top: 40px;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

a {
	text-decoration: none;
	color: #0F172A;
	transition: color 0.3s ease;
}

a:hover {
	color: #FF5A5F;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 20px;
	color: #0F172A;
}

p {
	margin-bottom: 15px;
}

button,
.button {
	background-color: #FF5A5F;
	color: white;
	border: none;
	padding: 12px 24px;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 600;
	transition: background-color 0.3s ease;
}

button:hover,
.button:hover {
	background-color: #e64146;
}

img {
	max-width: 100%;
	height: auto;
}

/* Header styles */
header {
	background-color: #fff;
	box-shadow: 0 2px 10px 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: 24px;
	font-weight: 700;
	color: #0F172A;
}

.logo span {
	color: #FF5A5F;
}

.nav-toggle {
	display: none;
}

.nav-toggle-label {
	display: none;
	cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
	display: block;
	background: #0F172A;
	height: 2px;
	width: 24px;
	position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
	content: '';
	position: absolute;
}

.nav-toggle-label span::before {
	bottom: 8px;
}

.nav-toggle-label span::after {
	top: 8px;
}

nav {
	display: flex;
	align-items: center;
}

nav ul {
	display: flex;
	list-style: none;
}

nav li {
	margin-left: 20px;
}

nav a {
	font-weight: 600;
	padding: 5px 10px;
}

.phone {
	margin-left: 30px;
	font-weight: 600;
}

.phone a {
	color: #FF5A5F;
}

/* Hero section */
.hero {
	background-image: url('./img/hS0LK.jpg');
	background-size: cover;
	background-position: center;
	height: 600px;
	display: flex;
	align-items: center;
	text-align: center;
	position: relative;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 23, 42, 0.7);
}

.hero-content {
	position: relative;
	z-index: 1;
	color: white;
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
}

.hero h1 {
	font-size: 48px;
	margin-bottom: 20px;
	color: white;
}

.hero p {
	font-size: 20px;
	margin-bottom: 30px;
}

.hero .button {
	font-size: 18px;
}

/* About section */
.about {
	padding: 80px 0;
}

.about-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
	align-items: center;
}

.about-text h2 {
	font-size: 36px;
}

.about-image img {
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Benefits section */
.benefits {
	padding: 80px 0;
	background-color: white;
}

.benefits h2 {
	font-size: 36px;
	text-align: center;
	margin-bottom: 40px;
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.benefit-card {
	padding: 0 0 30px;
	border-radius: 8px;
	background-color: #F9FAFB;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease;
	overflow: hidden;
}

.benefit-card:hover {
	transform: translateY(-5px);
}

.benefit-card-image {
	height: 200px;
	overflow: hidden;
}

.benefit-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.benefit-card-content {
	padding: 20px 30px;
}

.benefit-card h3 {
	font-size: 24px;
	margin-bottom: 15px;
	color: #0F172A;
}

/* Services section */
.services {
	padding: 80px 0;
}

.services h2 {
	font-size: 36px;
	text-align: center;
	margin-bottom: 40px;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.service-card {
	padding: 0 0 30px;
	border-radius: 8px;
	background-color: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease;
	overflow: hidden;
}

.service-card:hover {
	transform: translateY(-5px);
}

.service-card-image {
	height: 200px;
	overflow: hidden;
}

.service-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-card-content {
	padding: 20px 30px;
}

.service-card h3 {
	font-size: 24px;
	margin-bottom: 15px;
	color: #0F172A;
}

.service-card p {
	margin-bottom: 20px;
}

/* Form section */
.contact {
	padding: 80px 0;
	background-color: #0F172A;
	color: white;
}

.contact h2 {
	font-size: 36px;
	text-align: center;
	margin-bottom: 40px;
	color: white;
}

.form-container {
	max-width: 600px;
	margin: 0 auto;
	background-color: white;
	border-radius: 8px;
	padding: 40px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #111827;
}

.form-group input,
.form-group select {
	width: 100%;
	padding: 12px;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	font-size: 16px;
}

.form-group select {
	appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 16px;
}

.form-check {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
}

.form-check input {
	margin-right: 10px;
	margin-top: 5px;
}

.form-check label {
	font-size: 14px;
	color: #111827;
}

.form-check a {
	color: #FF5A5F;
	text-decoration: underline;
}

.form-button {
	width: 100%;
	background-color: #FF5A5F;
	color: white;
	border: none;
	padding: 14px;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.form-button:hover {
	background-color: #e64146;
}

/* FAQ section */
.faq {
	padding: 80px 0;
}

.faq h2 {
	font-size: 36px;
	text-align: center;
	margin-bottom: 40px;
}

.faq-item {
	margin-bottom: 20px;
	border-radius: 8px;
	background-color: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

.faq-question {
	position: relative;
	padding: 20px;
	font-weight: 600;
	cursor: pointer;
	display: block;
}

.faq-question::after {
	content: '+';
	font-size: 20px;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	transition: transform 0.3s ease;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	padding: 0 20px;
}

.faq-toggle {
	display: none;
}

.faq-toggle:checked~.faq-answer {
	max-height: 500px;
	padding: 0 20px 20px;
}

.faq-toggle:checked~.faq-question::after {
	transform: translateY(-50%) rotate(45deg);
}

/* Testimonials section */
.testimonials {
	padding: 80px 0;
	background-color: white;
}

.testimonials h2 {
	font-size: 36px;
	text-align: center;
	margin-bottom: 40px;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.testimonial-card {
	padding: 30px;
	border-radius: 8px;
	background-color: #F9FAFB;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
	font-style: italic;
	margin-bottom: 20px;
}

.testimonial-author {
	font-weight: 600;
	color: #0F172A;
}

.testimonial-role {
	font-size: 14px;
	color: #6b7280;
}

/* Footer */
footer {
	background-color: #0F172A;
	color: white;
	padding: 60px 0 20px;
}

.footer-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
}

.footer-col h3 {
	font-size: 20px;
	margin-bottom: 20px;
	color: white;
}

.footer-col p {
	margin-bottom: 10px;
}

.footer-links ul {
	list-style: none;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: #d1d5db;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: #FF5A5F;
}

.footer-contact a {
	color: #FFD166;
}

.footer-bottom {
	margin-top: 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 20px;
	text-align: center;
	font-size: 14px;
	color: #d1d5db;
}

/* Policy pages */
.policy-page {
	padding: 60px 0;
}

.policy-container {
	max-width: 800px;
	margin: 0 auto;
	background-color: white;
	border-radius: 8px;
	padding: 40px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
	font-size: 32px;
	margin-bottom: 30px;
}

.policy-container h2 {
	font-size: 24px;
	margin-top: 40px;
	margin-bottom: 20px;
}

.policy-container p,
.policy-container ul {
	margin-bottom: 20px;
}

.policy-container ul {
	padding-left: 20px;
}

/* Thank you page */
.thank-you {
	margin: 8rem auto 5rem;
	max-width: 600px;
	background-color: white;
	border-radius: 8px;
	padding: 40px;
	text-align: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.thank-you h1 {
	font-size: 32px;
	margin-bottom: 20px;
}

/* Cookie popup */
.cookie-popup {
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	background-color: white;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	z-index: 9999;
	display: none;
	max-width: 400px;
}

.cookie-popup p {
	margin-bottom: 15px;
}

.cookie-buttons {
	display: flex;
	gap: 10px;
}

.accept-cookies {
	background-color: #FF5A5F;
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
}

.decline-cookies {
	background-color: transparent;
	border: 1px solid #d1d5db;
	padding: 8px 16px;
	border-radius: 4px;
	color: black;
	cursor: pointer;
}

/* Responsive styles */
@media (max-width: 768px) {
	.nav-toggle-label {
		display: flex;
		align-items: center;
	}

	nav {
		position: absolute;
		top: 100%;
		left: 0;
		background: white;
		width: 100%;
		transform: scale(1, 0);
		transform-origin: top;
		transition: transform 0.3s ease;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
		padding: 0;
	}

	nav ul {
		flex-direction: column;
		width: 100%;
		padding: 0;
		margin: 0;
	}

	nav li {
		margin: 0;
		text-align: center;
	}

	nav a {
		display: block;
		padding: 15px;
		font-size: 16px;
	}

	.nav-toggle:checked~nav {
		transform: scale(1, 1);
	}

	.phone {
		margin-left: 0;
		margin-right: 20px;
	}

	.hero {
		height: 500px;
	}

	.hero h1 {
		font-size: 30px;
	}

	.hero p {
		font-size: 18px;
	}

	.about-content,
	.benefits-grid,
	.services-grid,
	.testimonials-grid {
		grid-template-columns: 1fr;
	}
}

div {
	word-break: break-word;
	overflow-wrap: break-word;
}