/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: transparent; /* Body background handled by shared.css var(--bg-color) */
}

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

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small decorative top padding */
  padding-bottom: 60px;
  min-height: 500px;
  box-sizing: border-box;
}

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

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

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
  color: #F2FFF6; /* Text Main */
}

.page-faq__main-title {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-faq__hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  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: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  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%);
  color: #F2FFF6; /* Text Main */
  border: none;
}

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

.page-faq__btn-secondary {
  background: transparent;
  color: #2AD16F; /* A lighter shade of primary for contrast */
  border: 2px solid #2AD16F;
}

.page-faq__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.2);
}

/* Content Section */
.page-faq__content-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

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

.page-faq__section-intro {
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #A7D9B8; /* Text Secondary */
}

.page-faq__faq-list {
  margin-top: 40px;
}

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

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

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

.page-faq__faq-question:hover {
  background-color: #1E3A2A; /* Slightly darker for hover */
}

.page-faq__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #2AD16F;
  transition: transform 0.3s ease;
}

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

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

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

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

.page-faq__faq-answer ul {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-bottom: 15px;
}

.page-faq__faq-answer li {
  margin-bottom: 8px;
}

.page-faq__additional-info {
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
}

.page-faq__sub-title {
  font-size: 1.8rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-faq__additional-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-faq__cta-buttons--inline {
  margin-top: 20px;
  justify-content: flex-start;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    padding: 15px;
  }

  .page-faq__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-faq__hero-description {
    font-size: 1rem;
  }

  .page-faq__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  }

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

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

@media (max-width: 768px) {
  .page-faq__container,
  .page-faq__hero-content,
  .page-faq__cta-buttons,
  .page-faq__additional-info {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-faq__hero-section {
    padding-bottom: 40px;
    min-height: 400px;
  }

  .page-faq__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-faq__hero-description {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }

  .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: 1rem;
  }

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

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

  .page-faq__section-intro {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

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

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

  .page-faq__faq-answer ul {
    margin-left: 15px;
  }

  .page-faq__sub-title {
    font-size: 1.6rem;
  }

  .page-faq__additional-info p {
    font-size: 1rem;
  }

  /* Ensure images are responsive */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__hero-image {
    filter: brightness(0.4) !important; /* Make background image darker on mobile */
  }

  /* Specific for inline CTA buttons within answers */
  .page-faq__cta-buttons--inline {
    flex-direction: row !important; /* Keep inline buttons horizontal if space allows */
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }
  .page-faq__cta-buttons--inline .page-faq__btn-primary,
  .page-faq__cta-buttons--inline .page-faq__btn-secondary {
    width: auto !important; /* Allow buttons to size to content */
    max-width: 100% !important;
    flex-grow: 1; /* Allow buttons to grow if needed */
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-faq__hero-description {
    font-size: 0.85rem;
  }
  .page-faq__section-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }
  .page-faq__faq-question {
    font-size: 0.9rem;
    padding: 12px 15px;
  }
  .page-faq__faq-answer {
    font-size: 0.85rem;
    padding: 0 15px 12px 15px;
  }
  .page-faq__cta-buttons--inline {
    flex-direction: column !important; /* Force vertical stacking for very small screens */
  }
}