.page-faq__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
  min-height: 600px;
  overflow: hidden;
  color: #ffffff; /* Light text for dark background */
  background: linear-gradient(135deg, #007bff, #0056b3);
}

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

.page-faq__container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-faq__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffc107; /* Auxiliary color for highlight */
}

.page-faq__description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background-color: #ffc107; /* Auxiliary color for primary action */
  color: #121212; /* Dark text for bright background */
  border: 2px solid #ffc107;
}

.page-faq__btn-primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background-color: transparent;
  color: #ffc107; /* Auxiliary color for text */
  border: 2px solid #ffc107;
}

.page-faq__btn-secondary:hover {
  background-color: #ffc107;
  color: #121212; /* Dark text for bright background */
  transform: translateY(-2px);
}

.page-faq__content-area {
  background-color: #1a1a1a; /* Slightly lighter dark background for content */
  color: #ffffff; /* Light text for dark background */
  padding: 60px 20px;
}

.page-faq__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #ffc107; /* Auxiliary color for titles */
}

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

.page-faq__faq-list {
  max-width: 1000px;
  margin: 0 auto;
}

.page-faq__faq-item {
  background-color: #2a2a2a; /* Darker background for FAQ items */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #007bff; /* Main brand color for questions */
  color: #ffffff;
  font-size: 1.2em;
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
  background-color: #0056b3;
}

.page-faq__faq-heading {
  margin: 0;
  flex-grow: 1;
  color: inherit;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1;
  width: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect when active */
}

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #3a3a3a; /* Slightly lighter than item background */
  color: #f0f0f0;
  font-size: 1em;
  line-height: 1.7;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 25px;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
}

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin-bottom: 15px;
  padding-left: 20px;
}

.page-faq__faq-answer li {
  margin-bottom: 8px;
}

.page-faq__faq-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
}

.page-faq__link {
  color: #ffc107; /* Auxiliary color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-faq__link:hover {
  color: #e0a800;
}

.page-faq__app-download-cta {
  text-align: center;
  margin-top: 30px;
}

.page-faq__contact-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #2a2a2a;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-faq__contact-cta .page-faq__section-title {
  margin-bottom: 20px;
}

.page-faq__contact-cta p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: 2.8em;
  }
  .page-faq__description {
    font-size: 1.2em;
  }
  .page-faq__section-title {
    font-size: 2.2em;
  }
  .page-faq__faq-question {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    min-height: 400px;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-faq__main-title {
    font-size: 2em;
  }
  .page-faq__description {
    font-size: 1em;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }
  .page-faq__content-area {
    padding: 40px 15px;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__section-intro-text {
    font-size: 0.95em;
  }
  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-faq__faq-answer {
    padding: 0 20px;
  }
  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 20px;
  }
  .page-faq__contact-cta {
    padding: 30px 20px;
  }
  /* Mobile responsive image styles */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-faq__faq-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-faq__hero-section,
  .page-faq__content-area,
  .page-faq__container,
  .page-faq__faq-list,
  .page-faq__faq-item,
  .page-faq__faq-question,
  .page-faq__faq-answer,
  .page-faq__app-download-cta,
  .page-faq__contact-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  .page-faq__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: 1.8em;
  }
  .page-faq__section-title {
    font-size: 1.6em;
  }
  .page-faq__faq-question {
    font-size: 0.95em;
  }
  .page-faq__faq-toggle {
    font-size: 1.2em;
  }
}