/* Global Styles */
:root {
  --background-color: #f4f2ec;
  --text-color: #333333;
  --secondary-text: #777777;
  --accent-purple: #7c3aed;
  --accent-yellow: #ffc857;
  --section-padding: 5rem 2rem;
  --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: "Poppins", Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 80px;
}
div {
  word-break: break-word;
  overflow-wrap: break-word;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-purple),
    var(--accent-yellow)
  );
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent-purple);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-yellow);
}

button,
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(
    90deg,
    var(--accent-purple),
    var(--accent-yellow)
  );
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  text-align: center;
}

button:hover,
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: white;
}

ul {
  list-style-position: inside;
  margin-bottom: 1.5rem;
}

.section {
  padding: var(--section-padding);
}

.bg-white {
  background-color: #ffffff;
}

.bg-beige {
  background-color: var(--background-color);
}

.bg-pattern {
  background-image: url("./img/MsqMu.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  position: relative;
}

.bg-pattern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.bg-pattern .container {
  position: relative;
  z-index: 2;
}

.text-center {
  text-align: center;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-purple);
}

/* Mobile Header */
.mobile-header {
  position: relative;
}

.mobile-checkbox {
  display: none;
}

.mobile-toggle {
  display: none;
  cursor: pointer;
}

.hamburger {
  width: 30px;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--accent-purple);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Navigation */
.navigation {
  display: block;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.nav-item {
  margin-bottom: 0;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-purple),
    var(--accent-yellow)
  );
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background-image: url("./img/KpPXV.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About Section */
.about {
  padding: var(--section-padding);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Services Section */
.services {
  padding: var(--section-padding);
}

.services-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: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

/* Benefits Section */
.benefits {
  padding: var(--section-padding);
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.benefit-icon {
  background: linear-gradient(
    90deg,
    var(--accent-purple),
    var(--accent-yellow)
  );
  min-width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

/* Process Section */
.process {
  padding: var(--section-padding);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    90deg,
    var(--accent-purple),
    var(--accent-yellow)
  );
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

/* Testimonials Section */
.testimonials {
  padding: var(--section-padding);
}

.testimonials .container,
.benefits .container,
.services .container {
  padding: 0;
}

.testimonials-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.testimonial {
  min-width: 100%;
  scroll-snap-align: start;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 700;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot:hover,
.testimonial-dot.active {
  background-color: var(--accent-purple);
}

/* FAQ Section */
.faq {
  padding: var(--section-padding);
}

.faq-item {
  margin-bottom: 1rem;
}

.faq-question {
  background-color: white;
  padding: 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent-purple);
}

.faq-answer {
  background-color: #f9f9f9;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.faq-content {
  padding: 1rem;
}

.faq-checkbox {
  display: none;
}

.faq-checkbox:checked + .faq-question {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.faq-checkbox:checked + .faq-question::after {
  content: "-";
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
}

/* Form Section */
.contact-form {
  padding: var(--section-padding);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus {
  border-color: var(--accent-purple);
  outline: none;
}

.form-select {
  background-color: white;
  cursor: pointer;
}

/* Custom select styling */
.form-select option {
  background-color: white;
  color: var(--text-color);
  padding: 10px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
}

.form-checkbox {
  min-width: 18px;
  height: 18px;
  margin-top: 3px;
}

.checkbox-label {
  font-size: 0.9rem;
}

.checkbox-label a {
  text-decoration: underline;
}

.form-submit {
  width: 100%;
}

/* Footer */
.footer {
  background-color: #333;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent-yellow);
}

.footer-contact li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-links h3 {
  margin-bottom: 1rem;
  color: var(--accent-yellow);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ddd;
}

.footer-links a:hover {
  color: var(--accent-yellow);
}

.footer-description {
  margin-bottom: 1rem;
}

.copyright {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #ddd;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 320px;
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: none;
}

.cookie-popup p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-accept {
  background: linear-gradient(
    90deg,
    var(--accent-purple),
    var(--accent-yellow)
  );
}

.cookie-decline {
  background: transparent;
  border: 1px solid #ddd;
  color: var(--text-color);
}

/* Thank You Page */
.thank-you {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 8rem auto 5rem;
}

/* Policy Pages */
.policy-page {
  padding: 8rem 2rem 3rem;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-container h2 {
  text-align: left;
}

.policy-container h2::after {
  left: 0;
  transform: none;
}

.policy-container h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  /* Mobile Navigation */
  .mobile-toggle {
    display: block;
    z-index: 100;
  }

  .navigation {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 99;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
  }

  .nav-item {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    display: block;
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
  }

  .nav-link::after {
    display: none;
  }

  .mobile-checkbox:checked ~ .navigation {
    transform: translateX(0);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  }

  /* Hamburger Animation */
  .mobile-checkbox:checked + .mobile-toggle .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 8px);
  }

  .mobile-checkbox:checked + .mobile-toggle .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-checkbox:checked + .mobile-toggle .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -8px);
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .testimonial-slider {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.7rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .cookie-popup {
    left: 10px;
    right: 10px;
    max-width: calc(100% - 20px);
  }

  .cookie-buttons {
    flex-direction: column;
  }
}
