/* Style.css - Main styles for domain website */

/* Base styles & variables */
:root {
	--color-indigo: #3E1F47;
	--color-coral: #FF6F61;
	--color-light: #F6F2EB;
	--color-text: #1A1A1A;
	--color-lime: #B4D455;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 40px;
	font-family: 'Arial', sans-serif;
	font-size: 16px;
	color: var(--color-text);
	background-color: var(--color-light);
}

body {
	overflow-x: hidden;
}

section[id] {
	scroll-margin-top: 40px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--color-indigo);
	margin-bottom: 1rem;
}

p {
	line-height: 1.6;
	margin-bottom: 1rem;
}

a {
	color: var(--color-coral);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--color-indigo);
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.btn {
	display: inline-block;
	background-color: var(--color-coral);
	color: white;
	padding: 12px 24px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
	text-align: center;
	transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
	background-color: var(--color-indigo);
	color: white;
	transform: translateY(-2px);
}

/* Header styles */
header {
	background-color: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 15px 0;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.8rem;
	font-weight: bold;
	color: var(--color-indigo);
}

/* Burger menu (CSS-only) */
.burger-menu {
	display: none;
}

.menu-toggle {
	display: none;
}

.menu-btn {
	display: none;
	cursor: pointer;
	padding: 10px;
}

.menu-btn span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: var(--color-indigo);
	margin: 5px 0;
	transition: 0.4s;
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	margin-left: 20px;
}

nav ul li a {
	color: var(--color-indigo);
	font-weight: 500;
}

/* Hero section */
.hero {
	background-image: url('./img/oLfsm.jpg');
	background-size: cover;
	background-position: center;
	min-height: 500px;
	display: flex;
	align-items: center;
	position: relative;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
}

.hero-content {
	position: relative;
	z-index: 1;
	text-align: center;
	color: white;
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 20px;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 1.5rem;
	color: white;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

/* About section */
.about {
	padding: 80px 0;
}

.about-content {
	display: flex;
	align-items: center;
	gap: 40px;
}

.about-text {
	flex: 1;
}

.about-stats {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.stat-item {
	padding: 20px;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.stat-number {
	font-size: 2.5rem;
	font-weight: bold;
	color: var(--color-coral);
	margin-bottom: 10px;
}

/* Benefits section */
.benefits {
	padding: 80px 0;
	background-color: var(--color-indigo);
	color: white;
}

.benefits h2,
.benefits h3 {
	color: white;
	text-align: center;
	margin-bottom: 40px;
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.benefit-item {
	text-align: center;
	padding: 30px 20px;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	transition: transform 0.3s ease;
}

.benefit-item:hover {
	transform: translateY(-10px);
}

.benefit-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	background-color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.benefit-icon img {
	max-width: 50%;
	max-height: 50%;
}

/* Services section */
.services {
	padding: 80px 0;
}

.services h2 {
	text-align: center;
	margin-bottom: 40px;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.service-card {
	background-color: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-image {
	height: 200px;
	overflow: hidden;
	position: relative;
}

.service-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-content {
	padding: 20px;
}

/* Why Us section */
.why-us {
	padding: 80px 0;
	background-color: var(--color-light);
}

.why-us h2 {
	text-align: center;
	margin-bottom: 40px;
}

.why-us-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.why-us-item {
	background-color: white;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.why-us-item:hover {
	transform: scale(1.05);
}

/* Testimonials section */
.testimonials {
	padding: 80px 0;
}

.testimonials h2 {
	text-align: center;
	margin-bottom: 40px;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.testimonial-card {
	background-color: white;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
	font-style: italic;
	margin-bottom: 20px;
	position: relative;
}

.testimonial-text::before {
	content: '"';
	font-size: 4rem;
	color: var(--color-coral);
	opacity: 0.2;
	position: absolute;
	top: -20px;
	left: -20px;
}

.testimonial-author {
	font-weight: bold;
	color: var(--color-indigo);
}

/* Form section */
.contact {
	padding: 80px 0;
	background-color: var(--color-light);
}

.contact h2 {
	text-align: center;
	margin-bottom: 40px;
}

.contact-form {
	max-width: 600px;
	margin: 0 auto;
	background-color: white;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
	margin-bottom: 20px;
}

label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
}

select {
	background-color: white;
	height: 45px;
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
	background-repeat: no-repeat;
	background-position: right 10px center;
}

/* Style the background of option tags */
option {
	background-color: var(--color-light);
	padding: 10px;
}

.checkbox-group {
	margin-top: 20px;
}

.checkbox-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 10px;
}

.checkbox-item input[type="checkbox"] {
	margin-right: 10px;
	margin-top: 5px;
}

.form-submit {
	margin-top: 30px;
}

/* Footer */
footer {
	background-color: var(--color-indigo);
	color: white;
	padding: 60px 0 30px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-info h3 {
	color: white;
	margin-bottom: 20px;
}

.footer-info p {
	margin-bottom: 10px;
}

.footer-links h3 {
	color: white;
	margin-bottom: 20px;
}

.footer-links ul {
	list-style: none;
}

.footer-links ul li {
	margin-bottom: 10px;
}

.footer-links ul li a {
	color: var(--color-light);
	transition: color 0.3s ease;
}

.footer-links ul li a:hover {
	color: var(--color-coral);
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* FAQ (CSS-only) */
.faq {
	padding: 80px 0;
}

.faq h2 {
	text-align: center;
	margin-bottom: 40px;
}

.faq-item {
	margin-bottom: 20px;
	border-radius: 8px;
	overflow: hidden;
	background-color: white;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
	padding: 20px;
	background-color: var(--color-indigo);
	color: white;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.faq-question::after {
	content: '+';
	font-size: 1.5rem;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	padding: 0 20px;
}

.faq-toggle {
	position: absolute;
	opacity: 0;
	z-index: -1;
}

.faq-toggle:checked~.faq-answer {
	max-height: 1000px;
	padding: 20px;
}

.faq-toggle:checked~.faq-question::after {
	content: '−';
}

/* Cookie consent popup */
.cookie-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: white;
	padding: 20px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	display: none;
}

.cookie-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cookie-text {
	margin-right: 20px;
}

.cookie-btns {
	display: flex;
	gap: 10px;
}

/* Policy pages */
.policy-page {
	padding: 80px 0;
}

.policy-content {
	max-width: 800px;
	margin: 0 auto;
	background-color: white;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border: 1px solid #ddd;
}

.policy-content h1 {
	margin-bottom: 30px;
}

.policy-content h2 {
	margin: 30px 0 15px;
}

/* Thank you page */
.thank-you {
	text-align: center;
	margin: 8rem auto 5rem;
	max-width: 600px;
	padding: 40px;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.thank-you h1 {
	color: var(--color-indigo);
	margin-bottom: 20px;
}

.thank-you p {
	margin-bottom: 30px;
}

/* Responsive styles */
@media (max-width: 992px) {
	.about-content {
		flex-direction: column;
	}

	.hero h1 {
		font-size: 2.5rem;
	}
}

@media (max-width: 768px) {
	.menu-btn {
		display: block;
	}

	.menu-toggle {
		display: none;
	}

	.menu-toggle:checked~nav ul {
		display: flex;
	}

	nav ul {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		background-color: white;
		box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
	}

	nav ul li {
		margin: 0;
		text-align: center;
	}

	nav ul li a {
		display: block;
		padding: 15px 20px;
		border-bottom: 1px solid #eee;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.footer-content {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 576px) {
	html {
		font-size: 14px;
	}

	.stat-number {
		font-size: 2rem;
	}

	.about-stats {
		grid-template-columns: 1fr;
	}

	.cookie-content {
		flex-direction: column;
	}

	.cookie-text {
		margin-right: 0;
		margin-bottom: 20px;
	}
}