/* Home FAQ Section - Site 2 */
.home-faq {
  padding: 80px 20px;
  background-color: #fafafa;
}

.home-faq .container {
  max-width: 1200px;
  margin: 0 auto;
}

.home-faq .faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Left Column - Content */
.home-faq .faq-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-faq .faq-eyebrow {
  font-size: var(--section-eyebrow-size);
  color: rgb(120, 104, 230);
  text-transform: uppercase;
  font-weight: bold;
  margin: 0;
  letter-spacing: 0.5px;
}

.home-faq .faq-heading {
  font-size: var(--section-heading-size);
  font-weight: bold;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.2;
}

.home-faq .faq-description {
  font-size: 16px;
  color: #555555;
  margin: 0;
  line-height: var(--section-body-line-height);
}

.home-faq .faq-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, rgb(120, 104, 230) 0%, rgb(90, 70, 200) 100%);
  color: white;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: 10px;
}

.home-faq .faq-cta .cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.home-faq .faq-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(120, 104, 230, 0.4);
}

/* Right Column - Accordion */
.home-faq .faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-faq .faq-item {
  border: 0.8px solid rgba(184, 181, 255, 0.15);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 0;
}

.home-faq .faq-item + .faq-item {
  margin-top: -0.8px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.home-faq .faq-item:first-child {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.home-faq .faq-item:last-child {
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.home-faq .faq-question-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 30px;
  background-color: rgba(237,238,247,0.25);
  cursor: pointer;
  transition: background-color 0.3s ease;
  gap: 20px;
  border: 0.8px solid rgba(184, 181, 255, 0.15);
}

.home-faq .faq-question-wrapper:hover {
  background-color: rgba(237,238,247,0.4);
}

.home-faq .faq-question {
  font-size: 24px;
  font-weight: bold;
  color: #1a1a1a;
  margin: 0;
  flex: 1;
  line-height: 1.3;
}

.home-faq .faq-toggle {
  flex-shrink: 0;
}

.home-faq .toggle-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(184,181,255,1);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.home-faq .toggle-line {
  position: absolute;
  background-color: white;
  transition: all 0.3s ease;
}

.home-faq .toggle-line-1 {
  width: 16px;
  height: 2px;
  transform: rotate(0deg);
}

.home-faq .toggle-line-2 {
  width: 2px;
  height: 16px;
  transform: rotate(0deg);
}

/* Active state - rotate to minus */
.home-faq .faq-item.active .toggle-icon {
  background-color: rgb(120, 104, 230);
}

.home-faq .faq-item.active .toggle-line-2 {
  transform: rotate(90deg);
  opacity: 0;
}

.home-faq .faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.home-faq .faq-item.active .faq-answer-wrapper {
  max-height: 500px;
}

.home-faq .faq-answer {
  padding: 25px 30px;
}

.home-faq .faq-answer p {
  font-size: 15px;
  color: rgb(112, 112, 114);
  margin: 0;
  line-height: 1.7;
}

.home-faq .faq-answer a {
  color: rgb(120, 104, 230);
  text-decoration: none;
  transition: color 0.3s ease;
}

.home-faq .faq-answer a:hover {
  color: rgb(90, 70, 200);
  text-decoration: underline;
}

/* Tablet - 1024px to 1199px */
@media (max-width: 1199px) and (min-width: 1024px) {
  .home-faq {
    padding: 60px 20px;
  }

  .home-faq .faq-grid {
    gap: 40px;
  }

  .home-faq .faq-heading {
    font-size: var(--section-heading-size-tablet);
  }

  .home-faq .faq-question {
    font-size: 22px;
  }

  .home-faq .faq-answer p {
    font-size: 14px;
  }
}

/* Mobile - Below 1024px */
@media (max-width: 1023px) {
  .home-faq {
    padding: 50px 20px;
  }

  .home-faq .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-faq .faq-content {
    text-align: center;
    align-items: center;
  }

  .home-faq .faq-eyebrow {
    font-size: 11px;
  }

  .home-faq .faq-heading {
    font-size: 28px;
  }

  .home-faq .faq-description {
    font-size: 15px;
  }

  .home-faq .faq-cta {
    padding: 12px 30px;
    font-size: 15px;
  }

  .home-faq .faq-question {
    font-size: 19px;
  }

  .home-faq .faq-question-wrapper {
    padding: 20px 20px;
    gap: 15px;
  }

  .home-faq .faq-answer {
    padding: 20px 20px;
  }

  .home-faq .faq-answer p {
    font-size: 12px;
  }

  .home-faq .toggle-icon {
    width: 35px;
    height: 35px;
  }

  .home-faq .toggle-line-1 {
    width: 14px;
  }

  .home-faq .toggle-line-2 {
    height: 14px;
  }
}
