/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #e5dfd3; /* Light text on dark background for general readability */
  background-color: #1A202C;
  line-height: 1.6;
}

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

.page-faq__hero {
  background: linear-gradient(135deg, #1A202C 0%, #3a3f4c 100%); /* Darker gradient for hero */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; /* Subtle background image */
  z-index: 0;
}

.page-faq__title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__subtitle {
  font-size: 1.4em;
  color: #e5dfd3;
  margin-bottom: 40px;
}

.page-faq__accordion-section {
  padding: 60px 0;
  background-color: #1A202C;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-faq__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-faq__accordion {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__accordion-item {
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-faq__accordion-header {
  background-color: #2c3543; /* Slightly lighter than main background */
  color: #e5dfd3;
  padding: 20px 30px;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3em;
  transition: background-color 0.3s ease;
}

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

.page-faq__accordion-header h3 {
  margin: 0;
  color: #e5dfd3;
  font-weight: normal;
}

.page-faq__accordion-icon {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-faq__accordion-header.active .page-faq__accordion-icon {
  transform: rotate(45deg);
}

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

.page-faq__accordion-body.active {
  max-height: 500px; /* Adjust as needed for content length */
  padding: 20px 30px 30px;
}

.page-faq__accordion-body p {
  margin-bottom: 15px;
  color: #ccc;
}

.page-faq__accordion-body img.page-faq__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__link-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-faq__link-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-faq__cta-bottom {
  background-color: #2c3543; /* Darker background for CTA */
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.page-faq__cta-title {
  font-size: 2.2em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-faq__cta-text {
  font-size: 1.1em;
  color: #e5dfd3;
  margin-bottom: 30px;
}

.page-faq__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-faq__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .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.active {
    padding: 15px 20px 20px;
  }

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

  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .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.active {
    padding: 10px 15px 15px;
  }

  .page-faq__cta-title {
    font-size: 1.6em;
  }
}