/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px 20px; /* Small top padding, more bottom padding */
  overflow: hidden;
  color: #F2FFF6;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

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

.page-faq__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2FFF6;
  margin-bottom: 20px;
  max-width: 90%; /* Max width for title */
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
}

.page-faq__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  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: 2px solid transparent;
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow color for contrast */
  border: 2px solid #2E7A4E; /* Border */
}

.page-faq__btn-secondary:hover {
  background-color: #11A84E; /* Primary color */
  color: #F2FFF6;
  transform: translateY(-2px);
}

.page-faq__faq-section {
  padding: 60px 20px;
  background-color: #08160F;
  color: #F2FFF6;
}

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

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

.page-faq__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #A7D9B8;
}

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

.page-faq__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border */
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  color: #F2FFF6;
  font-size: 1.1em;
  background-color: #11271B;
  list-style: none; /* For details/summary */
}

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

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D;
  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 20px;
  color: #A7D9B8;
  font-size: 1em;
}

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

.page-faq__faq-answer .page-faq__faq-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  display: block;
}

.page-faq__cta-buttons--inline {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

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

.page-faq__cta-bottom-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-faq__cta-bottom-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #A7D9B8;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-faq__hero-image-wrapper {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 10px 15px 40px 15px;
  }
  .page-faq__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
  }
  .page-faq__description {
    font-size: 1em;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
  }
  .page-faq__faq-section {
    padding: 40px 15px;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__section-intro {
    font-size: 0.95em;
  }
  .page-faq__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-faq__faq-answer {
    padding: 0 15px 15px 15px;
    font-size: 0.9em;
  }
  .page-faq__cta-bottom-section {
    padding: 60px 15px;
  }
  .page-faq__cta-bottom-title {
    font-size: 1.8em;
  }
  .page-faq__cta-bottom-description {
    font-size: 1em;
  }

  /* Mobile image responsiveness */
  .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__hero-section,
  .page-faq__faq-section,
  .page-faq__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-faq__cta-buttons--inline {
    flex-direction: column;
    gap: 10px;
  }
  .page-faq__cta-buttons--inline .page-faq__btn-primary,
  .page-faq__cta-buttons--inline .page-faq__btn-secondary {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: clamp(1.4em, 7vw, 2.2em);
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__cta-bottom-title {
    font-size: 1.6em;
  }
}