/* style/faq.css */
.page-faq {
  font-family: Arial, sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #1A202C;
}

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

.page-faq__hero {
  background: linear-gradient(135deg, #1A202C 0%, #3a475a 100%); /* Dark gradient for hero */
  padding: 80px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:abstract,geometric,dark,subtle]'); /* Subtle background pattern */
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.page-faq__hero-image-wrapper {
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.page-faq__hero-image {
  max-width: 70%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-faq__title {
  font-size: 3.2em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  position: relative;
  z-index: 1;
}

.page-faq__subtitle {
  font-size: 1.3em;
  color: #CCCCCC; /* Lighter gray for subtitle */
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

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

.page-faq__accordion {
  background-color: #2A323E; /* Slightly lighter dark background for accordion */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

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

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

.page-faq__accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 25px;
  background-color: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.4em;
  color: #FFD700; /* Gold for question titles */
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.page-faq__question-title {
  margin: 0;
  font-size: 1em; /* Adjust to fit parent button font size */
  color: inherit;
}

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

.page-faq__accordion-header[aria-expanded="true"] .page-faq__accordion-icon {
  transform: rotate(45deg);
}

.page-faq__accordion-body {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq__accordion-body.active {
  max-height: 500px; /* Adjust based on expected content height */
  padding: 15px 25px 25px;
}

.page-faq__accordion-body p {
  font-size: 1.1em;
  line-height: 1.7;
  color: #E0E0E0; /* Light gray for answer text */
  margin-bottom: 0;
}

.page-faq__accordion-body a {
  color: #FFD700; /* Gold for links within answers */
  text-decoration: none;
  font-weight: 600;
}

.page-faq__accordion-body a:hover {
  text-decoration: underline;
}

.page-faq__cta-section {
  text-align: center;
  padding: 60px 0 30px;
  background-color: #1A202C;
  border-radius: 12px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.page-faq__cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:abstract,geometric,dark,subtle]');
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

.page-faq__cta-text {
  font-size: 1.5em;
  color: #FFD700; /* Gold for CTA text */
  margin-bottom: 25px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.page-faq__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1A202C; /* Dark text on gold button */
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  position: relative;
  z-index: 1;
}

.page-faq__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-faq__cta-image {
  max-width: 50%;
  height: auto;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .page-faq__title {
    font-size: 2.5em;
  }
  .page-faq__subtitle {
    font-size: 1.1em;
  }
  .page-faq__accordion-header {
    font-size: 1.2em;
    padding: 18px 20px;
  }
  .page-faq__accordion-body p {
    font-size: 1em;
  }
  .page-faq__cta-text {
    font-size: 1.3em;
  }
  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-faq__hero-image {
    max-width: 90%;
  }
  .page-faq__cta-image {
    max-width: 70%;
  }
}

@media (max-width: 480px) {
  .page-faq__title {
    font-size: 2em;
  }
  .page-faq__subtitle {
    font-size: 0.9em;
  }
  .page-faq__accordion-header {
    font-size: 1.1em;
    padding: 15px 15px;
  }
  .page-faq__accordion-icon {
    font-size: 1.5em;
  }
  .page-faq__accordion-body {
    padding: 0 15px;
  }
  .page-faq__accordion-body.active {
    padding: 10px 15px 15px;
  }
  .page-faq__cta-text {
    font-size: 1.1em;
  }
  .page-faq__cta-button {
    padding: 10px 20px;
    font-size: 1em;
  }
}