/* ==========================================================================
   FAQ PAGE STYLES
   ========================================================================== */

/* Ensure all elements use Open Sans */
* {
  font-family: 'Open Sans', sans-serif !important;
}

/* FAQ Hero */
.faq-hero {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--darker-green) 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.faq-hero .container {
  width: 100%;
  max-width: 900px;
}

.faq-hero .page-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.faq-hero .page-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto;
}

/* FAQ Accordion Section */
.faq-accordion-section {
  background: var(--white);
  padding: 80px 20px;
}

/* FAQ on Services Archive Page */
.services-faq {
  background: var(--white);
  padding: 80px 20px 120px 20px;
}

.faq-accordion-section .container,
.services-faq .container {
  max-width: 900px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-accordion-item {
  background: var(--white);
  border: 2px solid var(--beige-bg);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-accordion-item:hover {
  border-color: var(--light-purple);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-accordion-item.active {
  border-color: var(--light-purple);
  box-shadow: 0 4px 20px rgba(182, 149, 179, 0.15);
}

.faq-accordion-question {
  width: 100%;
  padding: 24px 28px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.faq-accordion-question:hover {
  color: var(--dark-purple);
}

.faq-accordion-question span {
  flex: 1;
  line-height: 1.5;
}

.faq-accordion-question svg,
.faq-accordion-question i {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--light-purple);
  transition: transform 0.3s ease;
  font-size: 16px;
}

.faq-accordion-item.active .faq-accordion-question svg,
.faq-accordion-item.active .faq-accordion-question i {
  transform: rotate(180deg);
}

.faq-accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 28px;
}

.faq-accordion-item.active .faq-accordion-answer {
  max-height: 500px;
  padding: 0 28px 24px 28px;
}

.faq-accordion-answer p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .faq-hero {
    padding: 60px 20px;
    min-height: 250px;
  }

  .faq-hero .page-title {
    font-size: 32px;
  }

  .faq-hero .page-subtitle {
    font-size: 16px;
  }

  .faq-accordion-section {
    padding: 60px 20px;
  }

  .faq-accordion-question {
    padding: 20px;
    font-size: 16px;
  }

  .faq-accordion-item.active .faq-accordion-answer {
    padding: 0 20px 20px 20px;
  }

  .faq-accordion-answer p {
    font-size: 15px;
  }
}

/* Tablet Responsive */
@media (min-width: 768px) and (max-width: 1023px) {
  .faq-hero .page-title {
    font-size: 40px;
  }

  .faq-accordion-question {
    font-size: 17px;
  }
}
