/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faq__hero {
  background: linear-gradient(135deg, #FF4500, #1E90FF);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-content {
  z-index: 1;
  max-width: 800px;
}

.page-faq__title {
  font-size: 3.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #ffffff;
}

.page-faq__subtitle {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: #eee;
}

.page-faq__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: -10%;
  opacity: 0.2;
  z-index: 0;
  max-width: 400px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.page-faq__section {
  padding: 60px 0;
}

.page-faq__section--intro {
  background-color: #ffffff;
}

.page-faq__section--content {
  background-color: #f0f2f5;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #FF4500;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-faq__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #444;
  text-align: justify;
}

.page-faq__accordion {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-item {
  border-bottom: 1px solid #eee;
}

.page-faq__accordion-item:last-child {
  border-bottom: none;
}

.page-faq__accordion-header {
  background-color: #ffffff;
  padding: 20px 30px;
  cursor: pointer;
  font-size: 1.3em;
  color: #1E90FF;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
  background-color: #f5f5f5;
}

.page-faq__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-faq__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-faq__accordion-body {
  padding: 0 30px;
  background-color: #fefefe;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-faq__accordion-body.open {
  max-height: 500px; /* Adjust based on expected content height */
  padding: 20px 30px;
}

.page-faq__accordion-body p {
  margin-bottom: 15px;
  color: #555;
  text-align: justify;
}

.page-faq__accordion-body ul {
  margin-left: 25px;
  margin-bottom: 15px;
  list-style-type: disc;
  color: #555;
}

.page-faq__accordion-body li {
  margin-bottom: 8px;
}

.page-faq__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 15px;
  font-size: 1em;
}

.page-faq__btn--primary {
  background-color: #FF4500;
  color: #ffffff;
  border: 2px solid #FF4500;
}

.page-faq__btn--primary:hover {
  background-color: #e63900;
  border-color: #e63900;
  transform: translateY(-2px);
}

.page-faq__btn--secondary {
  background-color: #1E90FF;
  color: #ffffff;
  border: 2px solid #1E90FF;
}

.page-faq__btn--secondary:hover {
  background-color: #1a7ae0;
  border-color: #1a7ae0;
  transform: translateY(-2px);
}

.page-faq__image--inline {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.page-faq__cta-section .page-faq__section-title {
  color: #1E90FF;
  margin-bottom: 20px;
}

.page-faq__cta-section .page-faq__text {
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 1.2em;
  color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-faq__hero {
    padding: 60px 0;
  }

  .page-faq__title {
    font-size: 2.5em;
  }

  .page-faq__subtitle {
    font-size: 1.2em;
  }

  .page-faq__section-title {
    font-size: 2em;
  }

  .page-faq__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-faq__accordion-body.open {
    padding: 15px 20px;
  }

  .page-faq__hero-image-wrapper {
    display: none;
  }
}

@media (max-width: 480px) {
  .page-faq__hero {
    padding: 40px 0;
  }

  .page-faq__title {
    font-size: 2em;
  }

  .page-faq__subtitle {
    font-size: 1em;
  }

  .page-faq__section-title {
    font-size: 1.8em;
  }

  .page-faq__accordion-header {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-faq__accordion-body.open {
    padding: 12px 15px;
  }

  .page-faq__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}