/* style/faq.css */

/* Base styles for the FAQ page */
.page-faq {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px;
}

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6);
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  color: #F2FFF6;
}

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

.page-faq__description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  color: #A7D9B8;
}

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

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

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-faq__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 255, 100, 0.3);
}

.page-faq__btn-secondary {
  background: #11271B;
  color: #F2FFF6;
  border: 2px solid #2E7A4E;
}

.page-faq__btn-secondary:hover {
  transform: translateY(-2px);
  background: #1e3a2a;
}

/* General container for main content */
.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

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

/* Intro Section */
.page-faq__intro-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-faq__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

/* FAQ List Section */
.page-faq__faq-list {
  padding: 60px 0;
  background-color: #08160F; /* Match body background for consistency */
}

.page-faq__faq-category {
  margin-bottom: 40px;
}

.page-faq__category-title {
  font-size: clamp(1.5em, 2.5vw, 2em);
  color: #F2C14E; /* Gold for category titles */
  margin-bottom: 25px;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #2E7A4E;
}

.page-faq__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #F2FFF6; /* Text Main for item */
}

.page-faq__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  color: #F2FFF6;
  background-color: #11271B;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

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

.page-faq__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #1E3A2A; /* Divider */
}

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

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

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

.page-faq__small-btn {
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 5px;
    margin-top: 15px;
}

/* Call to Action Section at the bottom of FAQ */
.page-faq__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-title {
  font-size: clamp(1.5em, 2.5vw, 2.2em);
  color: #F2FFF6;
  margin-bottom: 15px;
}

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

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

  .page-faq__hero-section {
    min-height: 400px;
    padding: 40px 15px; /* Adjust padding for mobile */
    padding-top: 10px !important;
  }

  .page-faq__main-title {
    font-size: 2.2em;
  }

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

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

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-faq__section-title {
    font-size: 2em;
  }

  .page-faq__category-title {
    font-size: 1.6em;
  }

  .page-faq__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }

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

  /* Images responsive */
  .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__cta-buttons,
  .page-faq__button-group,
  .page-faq__btn-container,
  .page-faq__intro-section,
  .page-faq__faq-list,
  .page-faq__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

/* Ensure min-size for content images */
.page-faq__image-content {
    min-width: 200px;
    min-height: 200px;
}

/* No CSS filters on images */
.page-faq img {
    filter: none; /* Ensure no filters are applied */
}

.page-faq__hero-image {
    filter: brightness(0.6); /* This is allowed as it's a stylistic overlay, not altering the image's inherent color */
}