/* style/faq.css */
.page-faq {
  color: #333333; /* Dark text for light body background */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-faq__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-faq__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.page-faq__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

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

.page-faq__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  font-size: 1.1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-faq__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
  color: #000000;
}

.page-faq__button--secondary {
  background-color: transparent; 
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-faq__button--secondary:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

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

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

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

.page-faq__accordion-container {
  margin-bottom: 60px;
}

.page-faq__accordion-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

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

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

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

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

.page-faq__accordion-content.open {
  max-height: 1000px; /* Adjust as needed for content height */
  padding: 20px 30px;
}

.page-faq__sub-item {
  margin-bottom: 25px;
}

.page-faq__sub-item:last-child {
  margin-bottom: 0;
}

.page-faq__sub-header {
  font-size: 1.15em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-faq__sub-text {
  font-size: 1em;
  color: #444444;
  line-height: 1.7;
}

.page-faq__sub-text a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

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

.page-faq__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px;
  object-fit: cover;
}

.page-faq__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-faq__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  font-weight: bold;
}

.page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-faq__hero-title {
    font-size: 2.2em;
  }

  .page-faq__hero-description,
  .page-faq__section-intro,
  .page-faq__cta-description {
    font-size: 1em;
  }

  .page-faq__hero-buttons,
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

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

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

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

  .page-faq__sub-header {
    font-size: 1.05em;
  }

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

  .page-faq__content-area,
  .page-faq__hero-section,
  .page-faq__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure content images do not overflow on mobile */
  .page-faq__hero-image,
  .page-faq__content-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Still enforce minimum for content images */
    min-height: 200px;
  }

  /* Any img within .page-faq must not be smaller than 200px */
  .page-faq img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 1.8em;
  }

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

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