.page-faq {
  background-color: var(--background-color, #08160F);
  color: var(--text-main-color, #F2FFF6);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px;
  text-align: center;
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Custom text color */
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

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

.page-faq__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Use clamp for H1 font size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F2FFF6; /* Custom text color */
}

.page-faq__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Custom secondary text color */
}

.page-faq__accordion-section {
  padding: 60px 20px;
}

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

.page-faq__section-title {
  font-size: 2.2em;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: center;
  color: #F2FFF6; /* Default for dark sections */
}

.page-faq__light-bg .page-faq__section-title {
  color: #11A84E; /* Brand color for titles on light background */
}

.page-faq__accordion-list {
  display: grid;
  gap: 20px;
}

.page-faq__faq-item {
  background-color: #11271B; /* Custom card background */
  border: 1px solid #2E7A4E; /* Custom border color */
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  color: #F2FFF6; /* Custom main text color */
}

.page-faq__faq-item[open] {
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.3); /* Glow effect */
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  background-color: #11271B; /* Custom card background */
  color: #F2FFF6; /* Custom main text color */
  position: relative;
  list-style: none;
}

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

.page-faq__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #57E38D; /* Custom glow color */
  transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  line-height: 1.8;
  color: #A7D9B8; /* Custom secondary text color */
}

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

.page-faq__faq-answer a {
  color: #57E38D; /* Custom glow color for links */
  text-decoration: underline;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #F2FFF6; /* Custom main text color */
  border: none;
  margin-right: 15px;
}

.page-faq__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background: transparent;
  color: #57E38D; /* Custom glow color */
  border: 2px solid #2E7A4E; /* Custom border color */
}

.page-faq__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1); /* Light hover effect */
  color: #F2FFF6; /* Custom main text color */
  border-color: #57E38D; /* Custom glow color */
}

.page-faq__dark-section {
  background-color: #08160F; /* Custom background */
  color: #F2FFF6; /* Custom text color */
}

.page-faq__light-bg {
  background-color: #11271B; /* Custom card background (slightly lighter for contrast) */
  color: #F2FFF6; /* Custom text color */
}

.page-faq__conclusion-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #11271B; /* Custom card background */
  color: #F2FFF6; /* Custom text color */
}

.page-faq__conclusion-text {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #A7D9B8; /* Custom secondary text color */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

  .page-faq__intro-text {
    font-size: 1em;
  }

  .page-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-faq__container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-faq__faq-item,
  .page-faq__card {
    padding: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .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;
    margin-right: 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__hero-image-wrapper,
  .page-faq__section,
  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}