

/* FAQ Header Styles */
.faq-header {
  background: white;
  padding: 4rem 0;
  text-align: center;
}

.faq-header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.faq-title {
  font-size: 3rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  font-family: "Assistant ExtraBold";
}

.faq-accent {
  color: #2563eb;
}

.faq-description {
  font-size: 1.125rem;
  font-weight: 500;
  color: #374151;
  line-height: 1.6;
  margin: 0;
  max-width: 42rem;
  margin: 0 auto;
  font-family: "Assistant Regular";
}

/* FAQ Content Styles */
.faq-content {
  background: #f9fafb;
  padding: 5rem 0;
  direction: rtl;
}

.faq-content .wrapper {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.faq-header-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: right;
  padding: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-header-button:hover {
  background-color: #f9fafb;
}

.faq-question {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  font-family: "Assistant SemiBold";
  flex: 1;
  text-align: right;
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #6b7280;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-content-panel {
  max-height: 500px;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  color: #374151;
  line-height: 1.6;
  margin: 0;
  font-family: "Assistant Regular";
}

/* Animate on scroll styles */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-header {
    padding: 2rem 0;
  }

  .faq-title {
    font-size: 2rem;
  }

  .faq-description {
    font-size: 1rem;
  }

  .faq-content {
    padding: 3rem 0;
  }


  .faq-header-button {
    padding: 1rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 1rem 1rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .faq-title {
    font-size: 1.75rem;
  }

  .faq-description {
    font-size: 0.9rem;
  }

  .faq-question {
    font-size: 0.9rem;
  }

  .faq-answer {
    font-size: 0.85rem;
  }
}
