/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Default text color for dark background */
  background-color: #08160F; /* Body background from custom colors */
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08160F;
  text-align: center;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-faq__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__description {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-faq__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
}

.page-faq__intro-text {
  font-size: 1rem;
  color: #A7D9B8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #08160F; /* Ensure content area also uses dark background */
  color: #F2FFF6; /* Ensure text is light on dark background */
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-faq__faq-item {
  background-color: #11271B; /* Card BG from custom colors */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border from custom colors */
  color: #F2FFF6; /* Text Main from custom colors */
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
  color: #F2FFF6; /* Text Main from custom colors */
  background-color: #11271B; /* Card BG from custom colors */
}

.page-faq__faq-item[open] .page-faq__faq-question {
  background-color: #0A4B2C; /* Deep Green for active question */
  color: #F2FFF6;
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D; /* Glow from custom colors */
}

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

.page-faq__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary from custom colors */
}

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

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

.page-faq__faq-answer a:hover {
  color: #22C768; /* Auxiliary color on hover */
}

/* Details element specific styles for cross-browser compatibility */
.page-faq__faq-item details > summary {
  list-style: none;
}

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

.page-faq__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-faq__cta-section {
  background-color: #0A4B2C; /* Deep Green from custom colors */
  padding: 60px 20px;
  text-align: center;
  color: #F2FFF6;
}

.page-faq__cta-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
  box-sizing: border-box;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient from custom colors */
  color: #F2FFF6; /* Text Main from custom colors */
  border: none;
}

.page-faq__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow from custom colors */
  border: 2px solid #57E38D; /* Glow from custom colors */
}

.page-faq__btn-secondary:hover {
  background: #57E38D;
  color: #08160F; /* Background color for hover text */
  transform: translateY(-2px);
}

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

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

  .page-faq__main-title {
    font-size: 2rem;
  }

  .page-faq__description {
    font-size: 0.95rem;
  }

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

  .page-faq__intro-text {
    margin-bottom: 40px;
  }

  .page-faq__content-area,
  .page-faq__cta-section,
  .page-faq__hero-image-wrapper,
  .page-faq__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-faq__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

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