/* Reset and base styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Noto Sans', sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #fff;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
	font-family: 'Cal Sans', sans-serif;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 1rem;
}

h1 {
	font-size: 3rem;
}

h2 {
	font-size: 2.5rem;
}

h3 {
	font-size: 1.5rem;
}

p {
	margin-bottom: 1rem;
	color: #666;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 12px 24px;
	border: none;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
}

.btn-primary {
	color: #333;
	background-color: white;
	border: 2px solid #333;
}

.btn-primary:hover {
	color: #555;
	transform: translateY(-2px);
}

.btn-secondary {
	background-color: transparent;
	color: white;
	border: 2px solid white;
}

.btn-secondary:hover {
	background-color: white;
	color: #555;
	transform: translateY(-2px);
}

/* Header */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: #fff;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav {
	padding: 1rem 0;
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav-logo {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Cal Sans', sans-serif;
	font-size: 1.2rem;
	font-weight: 600;
	text-decoration: none;
	color: #333;
}

.nav-logo img {
	height: 40px;
	width: auto;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.nav-menu a {
	text-decoration: none;
	color: #333;
	font-weight: 500;
	transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
	color: #666;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
}

.nav-toggle span {
	width: 25px;
	height: 3px;
	background-color: #333;
	margin: 3px 0;
	transition: 0.3s;
}

/* Hero Section */
.hero {
	height: 100vh;
	background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
		url('../img/hero-bg.png');
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-align: center;
}

.hero-content {
	max-width: 800px;
	padding: 0 20px;
}

.hero-content h1 {
	font-size: 4rem;
	margin-bottom: 1.5rem;
	color: white;
}

.hero-content p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* Services Hero */
.services-hero {
	padding: 120px 0 80px;
	text-align: center;
	background-color: #f8f9fa;
}

.services-hero h1 {
	margin-bottom: 1rem;
}

/* Sections */
section {
	padding: 80px 0;
	opacity: 0;
	transform: translateY(50px);
	transition: all 0.8s ease;
}

section.animate {
	opacity: 1;
	transform: translateY(0);
}

/* About Section */
.about {
	background-color: #f8f9fa;
}

.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	margin-top: 2rem;
}

.about-image img {
	width: 100%;
	height: auto;
	border-radius: 10px;
}

/* Services Preview */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.service-card {
	background: white;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: transform 0.3s ease;
}

.service-card:hover {
	transform: translateY(-5px);
}

.service-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

/* Service Detail */
.service-detail {
	padding: 80px 0;
}

.service-detail:nth-child(even) {
	background-color: #f8f9fa;
}

.service-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.service-content.reverse {
	direction: rtl;
}

.service-content.reverse > * {
	direction: ltr;
}

.service-image img {
	width: 100%;
	height: auto;
	border-radius: 10px;
}

/* Contact Section */
.contact {
	background-color: #f8f9fa;
}

.contact-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	margin-top: 2rem;
}

.contact-details {
	margin-top: 2rem;
}

.contact-item {
	margin-bottom: 1.5rem;
}

.contact-item strong {
	color: #333;
	display: block;
	margin-bottom: 0.5rem;
}

/* Form Styles */
.contact-form {
	background: white;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 12px;
	border: 2px solid #e1e1e1;
	border-radius: 5px;
	font-family: inherit;
	transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #333;
}

/* FAQ Section */
.faq-list {
	margin-top: 2rem;
}

.faq-item {
	background: white;
	margin-bottom: 1rem;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.faq-question {
	padding: 1.5rem;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background-color 0.3s ease;
}

.faq-question:hover {
	background-color: #f8f9fa;
}

.faq-question h3 {
	margin: 0;
	font-size: 1.1rem;
}

.faq-toggle {
	font-size: 1.5rem;
	transition: transform 0.3s ease;
}

.faq-answer {
	padding: 0 1.5rem;
	max-height: 0;
	overflow: hidden;
	transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
	padding: 0 1.5rem 1.5rem;
	max-height: 200px;
}

.faq-item.active .faq-toggle {
	transform: rotate(45deg);
}

/* Footer */
.footer {
	background-color: #333;
	color: white;
	padding: 3rem 0 1rem;
}

.footer-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-brand h3 {
	color: white;
	margin-bottom: 1rem;
}

.footer-brand p {
	color: #ccc;
}

.footer-links {
	display: flex;
	gap: 4rem;
}

.footer-column h4 {
	color: white;
	margin-bottom: 1rem;
}

.footer-column ul {
	list-style: none;
}

.footer-column ul li {
	margin-bottom: 0.5rem;
}

.footer-column ul li a {
	color: #ccc;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-column ul li a:hover {
	color: white;
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid #555;
	color: #ccc;
}

/* Cookie Modal */
.cookie-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #333;
	color: white;
	padding: 1.5rem;
	z-index: 10000;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.cookie-modal.show {
	transform: translateY(0);
}

.cookie-content {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
}

.cookie-content h3 {
	color: white;
	margin-bottom: 0.5rem;
}

.cookie-content p {
	color: #ccc;
	margin: 0;
}

.cookie-buttons {
	display: flex;
	gap: 1rem;
	flex-shrink: 0;
}

/* Legal Pages */
.legal-page {
	padding: 120px 0 80px;
	max-width: 800px;
	margin: 0 auto;
}

.legal-page h1 {
	font-size: 1.5rem;
	margin-bottom: 2rem;
}

.legal-page h2 {
	margin: 2rem 0 1rem;
	font-size: 1.5rem;
}

.legal-page h3 {
	margin: 1.5rem 0 0.5rem;
	font-size: 1.2rem;
}

.legal-page ul,
.legal-page ol {
	margin: 1rem 0 1rem 2rem;
}

.legal-page li {
	margin-bottom: 0.5rem;
}

/* Checkbox styles */
.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-size: 0.9rem;
	line-height: 1.4;
	color: #666;
}

.checkbox-label input[type='checkbox'] {
	width: auto;
	margin: 0;
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.checkmark {
	width: 18px;
	height: 18px;
	border: 2px solid #e1e1e1;
	border-radius: 3px;
	flex-shrink: 0;
	margin-top: 2px;
	position: relative;
	transition: all 0.3s ease;
}

.checkbox-label:hover .checkmark {
	border-color: #333;
}

.checkbox-label input[type='checkbox']:checked + .checkmark {
	background-color: #333;
	border-color: #333;
}

.checkbox-label input[type='checkbox']:checked + .checkmark::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 1px;
	width: 4px;
	height: 8px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* Form submission modal */
.form-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	align-items: center;
	justify-content: center;
	z-index: 10001;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.form-modal.show {
	display: flex;
	opacity: 1;
	visibility: visible;
}

.form-modal-content {
	background: white;
	padding: 2rem;
	border-radius: 10px;
	text-align: center;
	max-width: 400px;
	width: 90%;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	transform: scale(0.8);
	transition: transform 0.3s ease;
}

.form-modal.show .form-modal-content {
	transform: scale(1);
}

.form-modal h3 {
	color: #333;
	margin-bottom: 1rem;
}

.form-modal p {
	color: #666;
	margin-bottom: 1.5rem;
}

.loading-spinner {
	width: 40px;
	height: 40px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #333;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 1rem;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.success-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: #4caf50;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
	opacity: 0;
	transform: scale(0);
	transition: all 0.3s ease;
}

.success-icon.show {
	opacity: 1;
	transform: scale(1);
}

.success-icon::after {
	content: '✓';
	color: white;
	font-size: 30px;
	font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
	.nav-menu {
		position: fixed;
		top: 70px;
		left: -100%;
		width: 100%;
		height: calc(100vh - 70px);
		background-color: white;
		flex-direction: column;
		justify-content: start;
		align-items: center;
		padding-top: 2rem;
		transition: left 0.3s ease;
	}

	.nav-menu.active {
		left: 0;
	}

	.nav-toggle {
		display: flex;
	}

	.hero-content h1 {
		font-size: 2.5rem;
	}

	.hero-buttons {
		flex-direction: column;
		align-items: center;
	}

	.about-content,
	.service-content,
	.contact-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}

	.footer-content {
		grid-template-columns: 1fr;
	}

	.footer-links {
		flex-direction: column;
		gap: 2rem;
	}

	.cookie-content {
		flex-direction: column;
		text-align: center;
	}

	.cookie-buttons {
		justify-content: center;
	}

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	section {
		padding: 60px 0;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 15px;
	}

	.hero-content h1 {
		font-size: 2rem;
	}

	.hero-content p {
		font-size: 1rem;
	}

	.hero-buttons {
		gap: 0.5rem;
	}

	.btn {
		padding: 10px 20px;
		font-size: 0.9rem;
	}

	.contact-form {
		padding: 1.5rem;
	}

	.cookie-content {
		gap: 1rem;
	}

	.cookie-buttons {
		flex-direction: column;
		width: 100%;
	}
}
