.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0d0d0d; /* Matching body background */
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

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

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

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

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

.page-faq__lead-paragraph {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-faq__btn-primary {
  display: inline-block;
  background: #E44D26;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary:hover {
  background-color: #ff6633;
}

.page-faq__faq-list-section {
  padding: 60px 20px;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

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

.page-faq__faq-item {
  background-color: #333333;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #444444;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #333333;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-faq__faq-heading {
  margin: 0;
  color: #ffffff;
  font-size: 1.2em;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #E44D26;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
  transform: rotate(45deg);
}

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #2a2a2a;
  color: #f0f0f0;
}

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

.page-faq__faq-answer p {
  margin: 0;
  font-size: 1em;
}

.page-faq__call-to-action-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #2a2a2a;
  padding: 40px;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  display: block;
}

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

.page-faq__cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-faq__conclusion-section {
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
  background-color: #E44D26; /* Using brand color as background */
}

.page-faq__conclusion-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #ffffff;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-faq {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

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

  .page-faq__lead-paragraph {
    font-size: 1em;
  }

  .page-faq__btn-primary {
    padding: 10px 20px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-faq__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-faq__faq-heading {
    font-size: 1em;
  }

  .page-faq__faq-answer {
    padding: 15px !important;
  }

  .page-faq__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-faq__cta-description {
    font-size: 1em;
  }

  .page-faq__conclusion-text {
    font-size: 1em;
  }
  
  /* Ensure images and videos are responsive */
  .page-faq img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-faq__container,
  .page-faq__call-to-action-section,
  .page-faq__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}