/* style/faq.css */

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

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

.page-faq__hero-section {
  background-color: #11271B; /* Custom Card BG for Hero */
  padding: 80px 20px;
  text-align: center;
  padding-top: 10px; /* Respecting body padding-top from shared */
}

.page-faq__main-title {
  font-size: clamp(2em, 5vw, 3.2em); /* Responsive H1 font size */
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-faq__highlight-text {
  color: #57E38D; /* Custom Glow for highlight */
}

.page-faq__description {
  font-size: 1.1em;
  color: #A7D9B8; /* Custom Text Secondary */
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

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

.page-faq__btn-secondary {
  background: transparent;
  color: #F2FFF6; /* Custom Text Main */
  border: 2px solid #2E7A4E; /* Custom Border */
}

.page-faq__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Slightly lighter border color for hover */
  transform: translateY(-2px);
}

.page-faq__content-section {
  padding: 60px 0;
}

.page-faq__content-section.page-faq__dark-section {
  background-color: #11271B; /* Custom Card BG */
}

.page-faq__content-section.page-faq__light-bg {
  background-color: #1E3A2A; /* Custom Divider for lighter dark background */
}

.page-faq__section-title {
  font-size: clamp(1.8em, 4vw, 2.5em);
  color: #F2FFF6; /* Custom Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-faq__faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.page-faq__faq-item {
  background-color: #0A4B2C; /* Deep Green for FAQ item background */
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #2E7A4E; /* Custom Border */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

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

.page-faq__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Hover effect using border color */
}

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

.page-faq__faq-item[open] .page-faq__faq-question {
  background-color: #0A4B2C; /* Keep consistent background when open */
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  content: '−';
}

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

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

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

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

.page-faq__faq-answer a:hover {
  color: #F2C14E; /* Custom Gold for link hover */
}

.page-faq__illustration {
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid #2E7A4E;
}

.page-faq__cta-section {
  background-color: #1E3A2A; /* Custom Divider */
  padding: 80px 20px;
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__hero-section {
    padding: 60px 20px;
  }
  .page-faq__content-section {
    padding: 40px 0;
  }
  .page-faq__cta-section {
    padding: 60px 20px;
  }
}

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

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

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

  .page-faq__description {
    font-size: 1em;
  }

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

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    margin: 0 auto;
  }

  .page-faq__content-section {
    padding: 30px 0;
  }

  .page-faq__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 30px;
  }

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

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

  .page-faq__container {
    padding: 0 15px;
  }

  /* 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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

@media (max-width: 480px) {
  .page-faq__hero-section {
    padding: 30px 10px;
  }
  .page-faq__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }
  .page-faq__section-title {
    font-size: clamp(1.3em, 7vw, 1.8em);
  }
  .page-faq__faq-question {
    font-size: 0.95em;
    padding: 12px 15px;
  }
  .page-faq__faq-answer {
    padding: 0 15px 12px 15px;
  }
}