/* Global styles */
:root {
  --color-bg: #f8f9fb;
  --color-accent-1: #fcbf49;
  --color-accent-2: #8338ec;
  --color-text: #111;
  --color-text-light: #888;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --border-radius: 16px;
  --border: 1px solid rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.content {
  flex: 1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-accent-2);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-accent-1);
}

ul {
  list-style: none;
}

/* Header */
.header {
  background-color: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-text);
  text-decoration: none;
}

.menu-toggle {
  display: none;
}

.menu-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-button span {
  height: 3px;
  width: 100%;
  background-color: var(--color-text);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
}

/* Hero section */
.hero {
  background-image: url("../img/LwiLQ.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 7rem 0;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--color-accent-1),
    var(--color-accent-2)
  );
  color: white;
  box-shadow: 0 4px 15px rgba(252, 191, 73, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(131, 56, 236, 0.5);
  transform: translateY(-2px);
  color: white;
}

/* Section styling */
section {
  padding: 5rem 0;
}

.section-title {
  position: relative;
  margin-bottom: 3rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    135deg,
    var(--color-accent-1),
    var(--color-accent-2)
  );
  border-radius: 2px;
}

/* Services section */
.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);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.service-card__title {
  margin-bottom: 1rem;
  color: var(--color-accent-2);
}

/* Steps section */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.step-card {
  background-color: white;
  border-radius: var(--border-radius);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 2rem;
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  left: -10px;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--color-accent-1),
    var(--color-accent-2)
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Benefits section */
.benefits {
  background-color: white;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin-right: 1rem;
  object-fit: cover;
}

/* About section */
.about__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about__img {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.about__img img {
  width: 100%;
  height: auto;
  display: block;
}

.about__content {
  flex: 1;
}

/* Testimonials section */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: bold;
}

.testimonial-position {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* FAQ section */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq__question {
  background-color: white;
  padding: 1.5rem;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: var(--border);
  border-radius: var(--border-radius);
  font-weight: bold;
}

.faq__toggle {
  display: none;
}

.faq__toggle:checked + .faq__question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: linear-gradient(
    135deg,
    var(--color-accent-1),
    var(--color-accent-2)
  );
  color: white;
  border: none;
}

.faq__toggle:checked ~ .faq__answer {
  max-height: 1000px;
  padding: 1.5rem;
}

.faq__toggle:checked + .faq__question .faq__icon {
  transform: rotate(180deg);
}

.faq__icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.faq__answer {
  background-color: white;
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  border-left: var(--border);
  border-right: var(--border);
  border-bottom: var(--border);
}

/* Contact section */
.contact {
  background-color: white;
}

.contact__inner {
  display: flex;
  gap: 2rem;
}

.contact__info {
  flex: 1;
}

.contact__form {
  flex: 2;
}

/* Form styles */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form__group {
  display: flex;
  flex-direction: column;
}

.form__label {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form__input,
.form__select {
  padding: 12px;
  border: var(--border);
  border-radius: var(--border-radius);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.form__input:focus,
.form__select:focus {
  border-color: var(--color-accent-2);
  box-shadow: 0 0 0 2px rgba(131, 56, 236, 0.2);
}

.form__select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

/* Style the option background color */
.form__select option {
  background-color: white;
  color: var(--color-text);
  padding: 12px;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 0.5rem;
}

.form__checkbox input {
  margin-top: 4px;
}

.form__submit {
  align-self: flex-start;
}

/* Footer */
.footer {
  background-color: #333;
  color: white;
  padding: 4rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__logo {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer a {
  color: var(--color-accent-1);
}

.footer a:hover {
  color: white;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer__contact address {
  font-style: normal;
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 9999;
  transition: bottom 0.5s ease;
}

.cookie-consent.active {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-content h3 {
  margin-bottom: 1rem;
}

.cookie-content p {
  margin-bottom: 1.5rem;
}

/* Thank you page */
.thank-you {
  text-align: center;
  margin: 8rem auto 5rem;
  background: var(--color-accent-1);
  border-radius: 2rem;
  padding: 2rem;
  max-width: 800px;
}

.thank-you__icon {
  font-size: 4rem;
  color: var(--color-accent-2);
  margin-bottom: 2rem;
}

/* Policy pages */
.policy {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  border: var(--border);
  box-shadow: var(--shadow);
}

.policy h1 {
  margin-bottom: 2rem;
}

.policy h2 {
  text-align: left;
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.policy p,
.policy ul,
.policy ol {
  margin-bottom: 1.5rem;
}

.policy ul,
.policy ol {
  padding-left: 1.5rem;
}

/* Responsive styles */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .menu-button {
    display: flex;
  }

  .menu-toggle:checked ~ .navigation {
    height: auto;
    opacity: 1;
    visibility: visible;
  }

  .menu-toggle:checked ~ .menu-button span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle:checked ~ .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-button span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .navigation {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-list {
    flex-direction: column;
    padding: 1rem 0;
  }

  .nav-list li {
    width: 100%;
    text-align: center;
  }

  .nav-list li a {
    display: block;
    padding: 0.8rem 1rem;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .about__inner {
    flex-direction: column;
  }

  .contact__inner {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  section {
    padding: 3rem 0;
  }

  .hero {
    padding: 5rem 0;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1.2rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
  }
}
