.page-faq {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px);
}

.page-faq__hero-section {
  background-color: #f8f9fa; /* Light background for hero */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-faq__hero-title {
  font-size: 2.8em;
  color: #007bff;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

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

.page-faq__hero-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
  display: block; /* Ensure it's a block element */
  margin-left: auto;
  margin-right: auto;
}

.page-faq__hero-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-faq__button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.page-faq__button--primary {
  background-color: #007bff;
  color: #ffffff;
  border-color: #007bff;
}

.page-faq__button--primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-faq__button--secondary {
  background-color: #28a745;
  color: #ffffff;
  border-color: #28a745;
}

.page-faq__button--secondary:hover {
  background-color: #1e7e34;
  border-color: #1e7e34;
  transform: translateY(-2px);
}

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

.page-faq__section-title {
  font-size: 2.2em;
  color: #007bff;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
}

.page-faq__accordion-group {
  margin-top: 30px;
}

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

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

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

.page-faq__accordion-header.active {
  background-color: #007bff;
  color: #ffffff;
}

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

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

.page-faq__accordion-body.active {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.page-faq__accordion-body p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #555555;
}

.page-faq__accordion-body a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

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

.page-faq__image--inline {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-faq__cta-section {
  background-color: #e9f7ef; /* Light green background */
  padding: 60px 20px;
  text-align: center;
  border-radius: 15px;
  margin-top: 60px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-faq__cta-title {
  font-size: 2em;
  color: #28a745;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq__cta-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

  .page-faq__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

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

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

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

  .page-faq__accordion-body.active {
    padding: 15px 20px;
  }

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

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

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

  .page-faq__hero-image, .page-faq__image--inline, .page-faq__cta-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure all images within .page-faq do not cause horizontal scroll */
  .page-faq img {
    max-width: 100%;
    height: auto;
  }
  .page-faq {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-section {
    padding: 40px 15px;
  }
  .page-faq__content-area {
    padding: 30px 15px;
  }
  .page-faq__cta-section {
    padding: 40px 15px;
  }
  .page-faq__hero-title {
    font-size: 1.8em;
  }
  .page-faq__section-title {
    font-size: 1.6em;
  }
  .page-faq__cta-title {
    font-size: 1.4em;
  }
}