.page-faq__hero-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff; /* Dark background, so light text */
  background: linear-gradient(135deg, #017439, #005a2d);
  min-height: 400px;
}

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

.page-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-faq__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__hero-cta {
  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: bold;
  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: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

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

.page-faq__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-faq__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-faq__content-area {
  padding: 60px 0;
  color: #333333; /* Light background, so dark text */
  background-color: #ffffff;
}

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

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

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

.page-faq__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

.page-faq__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #017439;
  font-weight: 600;
}

.page-faq__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

.page-faq__faq-answer p {
  margin: 0;
  line-height: 1.7;
  color: #555555;
}

.page-faq__cta-banner {
  background-color: #f0f8f0; /* Light green background */
  border-radius: 12px;
  padding: 40px;
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-image {
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.page-faq__cta-content {
  flex: 1;
  min-width: 300px;
}

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

.page-faq__cta-text {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 30px;
}

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

.page-faq__conclusion-section {
  margin-top: 80px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__conclusion-title {
  font-size: 2.5em;
  color: #017439;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq__conclusion-text {
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 20px;
}

.page-faq__conclusion-cta {
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-faq__hero-title {
    font-size: 2.5em;
  }
  .page-faq__section-title,
  .page-faq__conclusion-title {
    font-size: 2em;
  }
  .page-faq__cta-banner {
    flex-direction: column;
    text-align: center;
  }
  .page-faq__cta-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-faq__hero-title {
    font-size: 2em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
  }
  .page-faq__hero-cta {
    flex-direction: column;
    gap: 10px;
  }
  .page-faq__section-title,
  .page-faq__conclusion-title {
    font-size: 1.8em;
  }
  .page-faq__section-intro,
  .page-faq__faq-question h3,
  .page-faq__faq-answer p,
  .page-faq__cta-title,
  .page-faq__cta-text,
  .page-faq__conclusion-text {
    font-size: 1em;
  }
  .page-faq__content-area {
    padding: 40px 0;
  }
  .page-faq__faq-question {
    padding: 15px 20px;
  }
  .page-faq__faq-answer {
    padding: 0 20px;
  }
  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 10px 20px;
  }
  .page-faq__cta-banner {
    padding: 30px;
    gap: 20px;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* Mobile specific overrides for images, videos, buttons */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__cta-banner {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .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: 0px;
    padding-right: 0px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-faq__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}