.page-faq {
  color: #ffffff;
  background-color: #000000; /* Ensuring text is light on dark body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-faq__hero-section {
  padding-top: var(--header-offset, 120px);
  background-color: #0A192F;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
}

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-faq__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-faq__main-title {
  font-size: 3.2em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  font-weight: bold;
}

.page-faq__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A192F;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

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

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

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

.page-faq__section-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-faq__accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-faq__accordion-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-faq__accordion-header {
  padding: 20px 25px;
  cursor: pointer;
  color: #FFD700;
  font-size: 1.3em;
  font-weight: bold;
  position: relative;
  transition: background-color 0.3s ease;
}

.page-faq__accordion-header::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-faq__accordion-item.active .page-faq__accordion-header::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-faq__accordion-header:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-faq__accordion-item.active .page-faq__accordion-body {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
}

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

.page-faq__accordion-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-faq__inline-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A192F;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 10px;
}

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

.page-faq__cta-bottom {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 10px;
}

.page-faq__cta-text {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 25px;
}

.page-faq__explore-section {
  background-color: #0A192F;
  padding: 80px 0;
}

.page-faq__explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-faq__explore-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-faq__explore-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-faq__explore-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-faq__explore-card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-faq__explore-card-text {
  font-size: 1em;
  color: #cccccc;
}

.page-faq__cta-button--large {
  margin-top: 50px;
  padding: 18px 40px;
  font-size: 1.2em;
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }

  .page-faq__main-title {
    font-size: 2.2em;
  }

  .page-faq__intro-text {
    font-size: 1em;
  }

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

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

  .page-faq__section-description {
    font-size: 0.95em;
  }

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

  .page-faq__accordion-header::after {
    right: 20px;
  }

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

  .page-faq__cta-text {
    font-size: 1.2em;
  }

  .page-faq__explore-grid {
    grid-template-columns: 1fr;
  }

  .page-faq__explore-card {
    padding: 20px;
  }

  .page-faq__explore-card-title {
    font-size: 1.3em;
  }

  .page-faq__explore-card img,
  .page-faq__accordion-body img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all images within .page-faq are responsive and do not cause overflow */
  .page-faq img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum size is maintained */
    min-height: 200px;
  }
}