.page-faq {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 50px;
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
  overflow: hidden;
  background-color: #0A4B2C; /* Deep Green for hero background */
}

.page-faq__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

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

.page-faq__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-faq__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 800px;
}

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

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

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-faq__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-faq__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.2);
}

.page-faq__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.4);
}

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

.page-faq__section-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-faq__section-intro {
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  color: #A7D9B8;
  max-width: 800px;
  margin: 0 auto;
}

.page-faq__faq-list {
  margin-top: 30px;
}

.page-faq__list-category-title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: #57E38D;
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 600;
  text-align: center;
  position: relative;
}

.page-faq__list-category-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #57E38D;
  border-radius: 2px;
}

.page-faq__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  box-shadow: 0 0 20px rgba(87, 227, 141, 0.2);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #F2FFF6;
  font-weight: 600;
  font-size: 1.15rem;
  transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.3);
}

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

.page-faq__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #57E38D;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8;
  font-size: 1rem;
}

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

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq__faq-answer a {
  color: #57E38D;
  text-decoration: underline;
}

.page-faq__faq-answer a:hover {
  color: #2AD16F;
}

.page-faq__answer-cta {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.page-faq__cta-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 80px auto 50px;
  padding: 40px;
  background-color: #11271B;
  border-radius: 15px;
  gap: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-image {
  width: 40%;
  min-width: 250px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-faq__cta-content {
  width: 60%;
  text-align: left;
}

.page-faq__cta-title {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-faq__cta-description {
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  color: #A7D9B8;
  margin-bottom: 30px;
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.5;
  }

  .page-faq__hero-section {
    padding: 10px 15px 40px;
  }

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

  .page-faq__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
  }

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

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-faq__content-area {
    padding: 0 15px;
  }

  .page-faq__section-header {
    margin-bottom: 30px;
  }

  .page-faq__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .page-faq__section-intro {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }

  .page-faq__list-category-title {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-faq__faq-question {
    font-size: 1rem;
    padding: 18px 20px;
  }

  .page-faq__faq-toggle {
    font-size: 1.5rem;
  }

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

  .page-faq__answer-cta {
    flex-direction: column;
    gap: 10px;
  }

  .page-faq__cta-bottom {
    flex-direction: column;
    margin: 50px 15px;
    padding: 30px 20px;
    gap: 30px;
  }

  .page-faq__cta-image {
    width: 100%;
    min-width: unset;
  }

  .page-faq__cta-content {
    width: 100%;
    text-align: center;
  }

  .page-faq__cta-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .page-faq__cta-description {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }

  /* Ensure images, videos, and containers do not overflow */
  .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-bottom,
  .page-faq__answer-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-faq__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
  .page-faq__hero-description {
    font-size: clamp(0.8rem, 4vw, 0.9rem);
  }
  .page-faq__faq-question {
    font-size: 0.95rem;
    padding: 15px 18px;
  }
  .page-faq__faq-answer {
    font-size: 0.9rem;
    padding: 0 18px 12px;
  }
  .page-faq__cta-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }
  .page-faq__cta-description {
    font-size: clamp(0.8rem, 4vw, 0.9rem);
  }
}