/* style/faq.css */

/* Body background color is handled by shared.css var(--background-color) which is #08160F */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Main text color for dark background */
  background-color: transparent; /* Rely on body background */
}

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

.page-faq__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.page-faq__hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(17, 39, 27, 0.7); /* Card BG with transparency */
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-faq__description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s 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%);
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-faq__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
  filter: brightness(1.1);
}

.page-faq__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
  margin-left: 20px;
}

.page-faq__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #F2FFF6;
  border-color: #F2FFF6;
  transform: translateY(-3px);
}

.page-faq__introduction-section,
.page-faq__faq-list-section,
.page-faq__image-section,
.page-faq__conclusion-section,
.page-faq__cta-section {
  padding: 60px 20px;
  background-color: #08160F; /* Main background color */
  color: #F2FFF6;
}

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

.page-faq__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-faq__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #2AD16F, transparent);
  border-radius: 2px;
}

.page-faq p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-faq strong {
    color: #A7D9B8;
}

.page-faq__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.page-faq__faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6;
  background-color: #0A4B2C; /* Deep Green for summary background */
  border-bottom: 1px solid #1E3A2A; /* Divider color */
  transition: background-color 0.3s ease;
  list-style: none;
  user-select: none;
}

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

.page-faq__faq-item[open] .page-faq__faq-question {
  background-color: #13994A;
  color: #F2FFF6;
}

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

.page-faq__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color for toggle */
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg);
  color: #F2C14E; /* Gold color when open */
}

.page-faq__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8; /* Secondary text color */
  background-color: #11271B; /* Card BG */
}

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

.page-faq__image-section img {
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

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

.page-faq__cta-section .page-faq__section-title {
  color: #F2C14E;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-faq__text-link {
    color: #57E38D; /* Glow color for text links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-faq__text-link:hover {
    color: #F2C14E;
}

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

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

  .page-faq__hero-content {
    padding: 25px 15px;
  }

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

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

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    margin: 10px 0 !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-faq__introduction-section,
  .page-faq__faq-list-section,
  .page-faq__image-section,
  .page-faq__conclusion-section,
  .page-faq__cta-section {
    padding: 40px 15px;
  }

  .page-faq__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

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

  .page-faq__hero-image-wrapper img {
    filter: brightness(0.3); /* Further darken hero image for better mobile readability */
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: clamp(1.5rem, 9vw, 2rem);
  }
  .page-faq__section-title {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
  }
  .page-faq__faq-question {
    font-size: 0.95rem;
  }
  .page-faq__faq-toggle {
    font-size: 1.5rem;
  }
}