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

.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 */
  box-sizing: border-box;
  text-align: center;
}

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

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

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-faq__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  line-height: 1.2;
  color: #F2FFF6;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.page-faq__section {
  padding: 60px 20px;
  box-sizing: border-box;
  border-bottom: 1px solid #1E3A2A; /* Divider color */
}

.page-faq__section:last-of-type {
  border-bottom: none;
}

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

.page-faq__section-title {
  font-size: 2.5em;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-faq__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  background-color: #0A4B2C; /* Deep Green for open item */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.25em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  list-style: none;
}

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

.page-faq__faq-qtext {
  flex-grow: 1;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color */
}

.page-faq__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
  animation: fadeIn 0.3s ease-out;
}

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

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin: 15px 0 15px 25px;
  padding: 0;
}

.page-faq__faq-answer li {
  margin-bottom: 8px;
  list-style-type: disc;
}

.page-faq__faq-answer ol li {
  list-style-type: decimal;
}

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

.page-faq__image--inline {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: 20px;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

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

.page-faq__btn-secondary:hover {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  border-color: #57E38D;
}

/* Responsive Design */
@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: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-faq__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-faq__section {
    padding: 30px 15px;
  }

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

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

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

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 15px;
    padding: 12px 20px;
  }

  .page-faq__hero-content .page-faq__btn-primary {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-faq__image,
  .page-faq__image--inline {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-faq__container,
  .page-faq__section,
  .page-faq__hero-section,
  .page-faq__hero-image-wrapper,
  .page-faq__hero-content,
  .page-faq__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__hero-section .page-faq__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .page-faq__hero-section .page-faq__hero-content {
    padding-left: 0;
    padding-right: 0;
  }

  .page-faq__hero-image {
    border-radius: 0;
  }

  .page-faq__faq-item {
    padding-left: 0;
    padding-right: 0;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}