/* style/faq.css */

/* BEM naming convention for .page-faq */
.page-faq {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  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;
  box-sizing: border-box;
  background-color: #0A4B2C;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  color: #F2FFF6;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold for main title */
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-faq__hero-description {
  font-size: 1.1rem;
  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: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  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: 2px solid transparent;
}

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

.page-faq__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow color for secondary text */
  border: 2px solid #2E7A4E; /* Border color */
}

.page-faq__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1);
  color: #F2FFF6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-faq__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 30px;
  color: #F2C14E; /* Gold for section titles */
  text-align: center;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-faq__section-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  text-align: center;
  color: #A7D9B8;
}

.page-faq__text-block {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-faq__text-block p {
  margin-bottom: 15px;
  color: #F2FFF6; /* Main text color */
}

.page-faq__text-block p:last-child {
  margin-bottom: 0;
}

.page-faq__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-faq__faq-list {
  margin-top: 30px;
  margin-bottom: 60px;
}

.page-faq__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-faq__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2FFF6; /* Main text color */
  background-color: #0A4B2C; /* Deep Green for summary background */
  transition: background-color 0.3s ease;
}

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

.page-faq__faq-item summary:hover {
  background-color: #1E3A2A; /* Divider color on hover */
}

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

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

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

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

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

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

.page-faq__btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: 20px;
  margin-top: 15px;
  margin-right: 10px; /* Spacing between small buttons */
}

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

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 10px 15px 40px;
  }

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

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

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

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

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

  .page-faq__content-area {
    padding: 40px 15px;
  }

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

  .page-faq__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-faq__text-block {
    padding: 15px;
  }

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

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

  /* Image responsiveness */
  .page-faq img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-faq__hero-image-wrapper,
  .page-faq__content-image,
  .page-faq__text-block,
  .page-faq__faq-list,
  .page-faq__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Handled by page-faq__content-area padding */
    /* padding-right: 15px; */
  }

  .page-faq__video-section {
    padding-top: 10px !important; /* body has padding-top, only small decorative padding here */
  }

  .page-faq__video-container,
  .page-faq__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-faq__faq-answer .page-faq__btn-small {
    max-width: 100% !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 10px !important;
  }
}

/* Ensure content area images are at least 200px, but responsive */
.page-faq__content-area img {
  min-width: 200px;
  min-height: 200px;
}

/* Color Contrast Fixes - ensure light text on dark backgrounds */
.page-faq p,
.page-faq li,
.page-faq__hero-description,
.page-faq__section-description {
  color: #A7D9B8;
}

.page-faq__main-title,
.page-faq__section-title {
  color: #F2C14E;
}

.page-faq__faq-item summary,
.page-faq__faq-qtext {
  color: #F2FFF6;
}

.page-faq__faq-toggle {
  color: #57E38D;
}

.page-faq__btn-primary {
  color: #F2FFF6;
}

.page-faq__btn-secondary {
  color: #57E38D;
}

.page-faq__dark-section {
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Main text color */
}