/* 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;
}

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  overflow: hidden;
  padding-top: 10px; /* Small top padding for visual spacing, body handles header offset */
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

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

.page-faq__hero-content {
  position: relative;
  max-width: 900px;
  margin-top: 20px;
  padding: 0 20px;
  z-index: 2; /* Ensure content is above any potential background effects */
}

.page-faq__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-faq__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure button adapts to mobile */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Light text for button */
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-faq__btn-secondary {
  background: transparent;
  color: #F2FFF6; /* Light text for secondary button */
  border: 2px solid #2E7A4E; /* Border color */
}

.page-faq__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Slightly transparent background on hover */
  transform: translateY(-2px);
  border-color: #57E38D; /* Glow color on hover */
}

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

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faq__section-title {
  font-size: 2.2em;
  color: #F2C14E; /* Gold color for section titles */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-faq__text-block {
  color: #F2FFF6;
  margin-bottom: 20px;
  font-size: 1.05em;
}

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6;
  font-size: 1.15em;
  background-color: #11271B;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-faq__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green on hover */
}

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

.page-faq__faq-item[open] .page-faq__faq-toggle {
  content: '−'; /* Change to minus when open */
}

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

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

.page-faq__faq-answer a {
  color: #57E38D; /* Link color */
  text-decoration: underline;
}

.page-faq__faq-answer a:hover {
  color: #2AD16F; /* Darker green on hover */
}

/* Conclusion CTA */
.page-faq__conclusion-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #0A4B2C; /* Deep Green background for CTA */
  border-radius: 10px;
  border: 1px solid #2E7A4E;
}

.page-faq__conclusion-cta .page-faq__section-title {
  color: #F2C14E; /* Gold for CTA title */
  margin-top: 0;
  margin-bottom: 20px;
}

.page-faq__conclusion-cta .page-faq__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  font-size: 1.1em;
}

.page-faq__final-cta-btn {
  display: inline-block;
  margin-top: 20px;
}

/* Divider */
.page-faq__divider {
  height: 1px;
  background-color: #1E3A2A; /* Divider color */
  margin: 40px 0;
}

/* Responsive Styles */

/* Tablet and Mobile */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-bottom: 30px;
  }

  .page-faq__hero-content {
    margin-top: 15px;
  }

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

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

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

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-faq__container {
    padding: 0 15px !important; /* Force padding for content area */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

  .page-faq__conclusion-cta {
    padding: 30px 20px;
    margin-top: 40px;
  }

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

  /* Ensure all containers with images/buttons/videos are responsive */
  .page-faq__hero-section,
  .page-faq__hero-content,
  .page-faq__hero-image-wrapper,
  .page-faq__content-section,
  .page-faq__conclusion-cta,
  .page-faq__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent overflow */
  }

  .page-faq__hero-section {
    padding-top: 10px !important; /* Small top padding for visual spacing, body handles header offset */
  }

}

/* Ensure no filter is used on images */
.page-faq img {
  filter: none; /* Explicitly disable any potential filters */
}

/* Ensure contrast for text blocks, inheriting from page-faq */
.page-faq p, .page-faq li, .page-faq span {
  color: inherit;
}