.page-faq {
  font-family: Arial, sans-serif;
  color: #333333;
  background-color: #F5F7FA;
  line-height: 1.6;
}

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

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Minimal top padding, relying on body for header offset */
  padding-bottom: 40px;
  background-color: #E53935;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-image-container {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

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

.page-faq__hero-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

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

.page-faq__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__cta-button:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
}

.page-faq__intro-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-faq__intro-heading {
  font-size: 2.2em;
  color: #E53935;
  margin-bottom: 20px;
}

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

.page-faq__intro-image {
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

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

.page-faq__section-heading {
  font-size: 2.2em;
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-faq__faq-item {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #fcfcfc;
  user-select: none;
  list-style: none;
}

.page-faq__faq-question::-webkit-details-marker {
  display: none;
}

.page-faq__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Prevents text selection from interfering with toggle */
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  pointer-events: none;
}

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

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
  border-top: 1px solid #E0E0E0;
  transition: max-height 0.3s ease-out;
}

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

.page-faq__faq-answer ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

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

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

.page-faq__btn-small {
  display: inline-block;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-small:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
}

.page-faq__link-text {
  color: #E53935;
  text-decoration: underline;
}

.page-faq__link-text:hover {
  color: #FF5A4F;
}

.page-faq__contact-cta {
  padding: 60px 0;
  background-color: #E53935;
  color: #ffffff;
  text-align: center;
}

.page-faq__contact-heading {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-faq__contact-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

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

.page-faq__cta-button--secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #ffffff;
}

.page-faq__cta-button--secondary:hover {
  background: #f0f0f0;
  color: #E53935;
}

/* General image responsiveness */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-faq__container {
    padding: 15px;
  }

  .page-faq__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-faq__hero-image-container {
    max-height: 400px;
  }

  .page-faq__hero-image {
    object-fit: contain; /* Ensure image is fully visible, not cropped */
    aspect-ratio: unset;
    max-height: none;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-faq__cta-button {
    width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1em !important;
  }

  .page-faq__intro-section,
  .page-faq__accordion-section,
  .page-faq__contact-cta {
    padding: 30px 0;
  }

  .page-faq__intro-heading,
  .page-faq__section-heading,
  .page-faq__contact-heading {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-faq__intro-text,
  .page-faq__contact-description {
    font-size: 0.95em;
  }

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

  .page-faq__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

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

  .page-faq__btn-small {
    width: 100% !important;
    padding: 10px 15px !important;
    font-size: 0.9em !important;
  }

  .page-faq__contact-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-faq__contact-buttons .page-faq__cta-button {
    width: 100% !important;
  }

  /* General image and container responsiveness */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__section,
  .page-faq__card,
  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button specific mobile styles */
  .page-faq__cta-button,
  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq a[class*="button"],
  .page-faq a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__cta-buttons,
  .page-faq__button-group,
  .page-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }
}