.page-faq {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content starts below fixed header */
  background-color: #FFFFFF;
}

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

.page-faq__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly dim the background image for text readability */
  z-index: 0;
}

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

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

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

.page-faq__hero-button {
  display: inline-block;
  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;
  margin: 0 10px;
}

.page-faq__hero-button--register {
  background-color: #FCBC45; /* Login color for Register button */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-faq__hero-button--register:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-faq__hero-button--download {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-faq__hero-button--download:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

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

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

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

.page-faq__category-list {
  margin-bottom: 60px;
}

.page-faq__category-heading {
  font-size: 1.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
}

.page-faq__category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

.page-faq__card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.page-faq__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-faq__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-faq__card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-faq__card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-faq__card-title a:hover {
  color: #FCBC45;
}

.page-faq__card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  min-height: 70px; /* Ensure consistent height for descriptions */
}

.page-faq__card-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.page-faq__accordion-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-faq__accordion-header {
  width: 100%;
  padding: 20px 25px;
  background-color: #f0f0f0;
  color: #000000;
  font-size: 1.25em;
  font-weight: bold;
  text-align: left;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

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

.page-faq__accordion-header.active {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-faq__accordion-icon {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

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

.page-faq__accordion-content p {
  padding: 20px 0;
  margin-bottom: 0;
  color: #333333;
}

.page-faq__content-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  margin-right: 10px;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.page-faq__cta-section {
  background-color: #000000; /* Main dark background for CTA */
  padding: 80px 0;
  color: #FFFFFF;
  text-align: center;
}

.page-faq__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-faq__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-faq__cta-description {
  font-size: 1.1em;
  color: #F0F0F0;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

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

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-faq__cta-button--contact {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-faq__cta-button--contact:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

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

.page-faq__cta-button--register-promo:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 3em;
  }
  .page-faq__hero-description {
    font-size: 1.1em;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-faq {
    padding-top: var(--header-offset, 80px);
  }
  .page-faq__hero-section {
    padding: 60px 20px;
  }
  .page-faq__hero-title {
    font-size: 2.2em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__hero-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 5px;
  }
  .page-faq__category-cards {
    grid-template-columns: 1fr;
  }
  .page-faq__card {
    padding: 25px;
  }
  .page-faq__card-image {
    height: 200px;
  }
  .page-faq__accordion-header {
    font-size: 1.1em;
    padding: 18px 20px;
  }
  .page-faq__accordion-content p {
    padding: 15px 0;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__cta-description {
    font-size: 0.95em;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__cta-button {
    width: 80%;
    max-width: 300px;
  }
  .page-faq__container img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure all content area images are responsive and not smaller than 200px */
  .page-faq img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-faq__card-image {
    min-width: 200px;
    min-height: 200px;
  }
  .page-faq__cta-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 1.8em;
  }
  .page-faq__hero-description {
    font-size: 0.9em;
  }
  .page-faq__hero-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-faq__section-title {
    font-size: 1.6em;
  }
  .page-faq__category-heading {
    font-size: 1.4em;
  }
  .page-faq__card-title {
    font-size: 1.3em;
  }
  .page-faq__accordion-header {
    font-size: 1em;
    padding: 15px;
  }
  .page-faq__cta-title {
    font-size: 1.5em;
  }
  .page-faq__cta-description {
    font-size: 0.85em;
  }
  .page-faq__cta-button {
    font-size: 1em;
  }
}