/* Base Styles */
:root {
  --bg-color: #f9f9fb;
  --text-color: #2d3436;
  --accent-turquoise: #00cec9;
  --accent-red: #d63031;
  --accent-purple: #6c5ce7;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

section[id] {
  scroll-margin-top: 80px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  color: var(--accent-purple);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-turquoise);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

section {
  padding: 4rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-purple);
  color: white;
}

.btn-primary:hover {
  background-color: #5649c9;
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-purple);
  color: var(--accent-purple);
}

.btn-outline:hover {
  background-color: var(--accent-purple);
  color: white;
}

.btn-nav {
  background-color: var(--accent-purple);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
}

.btn-nav:hover {
  background-color: #5649c9;
  color: white;
}

/* Header and Navigation */
.header {
  background-color: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
}

.logo a:hover {
  color: var(--accent-turquoise);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

.nav-toggle-label span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: var(--transition);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-list a {
  color: var(--text-color);
  font-weight: 500;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("img/LXtLS.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 8rem 0;
  display: flex;
  align-items: center;
  min-height: 500px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-content {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* Services Section */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3,
.service-card p,
.service-card a {
  padding: 0 1.5rem;
}

.service-card h3 {
  margin-top: 1rem;
}

.service-card p {
  margin-bottom: 1.5rem;
}

.service-card a {
  display: inline-block;
  margin: 0 1.5rem 1.5rem;
}

/* Process Section */
.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.step {
  flex: 1;
  min-width: 200px;
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--accent-turquoise);
  color: white;
  font-weight: bold;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.benefit-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 1.5rem;
  color: var(--accent-turquoise);
  margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-quote::before {
  content: '"';
  font-size: 2.5rem;
  color: var(--accent-turquoise);
  position: absolute;
  top: 5px;
  left: 10px;
  opacity: 0.3;
}

.testimonial-author {
  font-weight: 700;
}

.testimonial-company {
  color: #777;
}

/* Contact Form Section */
.contact {
  background-color: white;
}

form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input[type="text"],
input[type="tel"],
select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6' fill='none'%3E%3Cpath fill='%232D3436' d='M6 6 0 0h12L6 6Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

/* Custom select styling for options */
select option {
  background-color: white;
  padding: 10px;
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
}

.checkbox-group label {
  margin-bottom: 0;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: block;
  padding: 1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: white;
  position: relative;
}

.faq-question:after {
  content: "+";
  position: absolute;
  right: 1rem;
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  background-color: #f8f8f8;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-toggle:checked + .faq-question:after {
  transform: rotate(45deg);
}

.faq-toggle:checked + .faq-question + .faq-answer {
  max-height: 500px;
  padding: 1rem;
}

/* Footer */
.footer {
  background-color: #2d3436;
  color: white;
  padding: 4rem 0 1rem;
}

.footer a {
  color: var(--accent-turquoise);
}

.footer a:hover {
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.footer h3 {
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: bottom 0.5s ease;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  padding: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

/* Thank You Page */
.thank-you {
  max-width: 600px;
  margin: 8rem auto 3rem;
  text-align: center;
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.thank-you h1 {
  color: var(--accent-turquoise);
}

/* Legal Pages */
.legal-page {
  max-width: 800px;
  margin: 8rem auto 3rem;
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.legal-page h1 {
  margin-bottom: 2rem;
  text-align: center;
}

.legal-page h2 {
  font-size: 1.5rem;
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Media Queries */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .about-content {
    flex-direction: column;
  }

  /* Mobile Navigation */
  .nav-toggle-label {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    box-shadow: var(--shadow);
  }

  .nav-list {
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
  }

  .nav-list li {
    width: 100%;
    text-align: center;
  }

  .nav-list a {
    display: block;
    padding: 1rem;
  }

  .nav-toggle:checked ~ .nav {
    height: auto;
    max-height: 300px;
  }

  /* Adjust layout for smaller screens */
  .steps {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .cookie-content {
    flex-direction: column;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 5rem 0;
  }
}
