/* style/faq.css */
.page-faq {
  color: #F2FFF6; /* Main text color for dark body background */
  background-color: #08160F; /* Body background color */
  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;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  background-color: #0A4B2C; /* Deep Green background for hero */
  overflow: hidden;
}

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

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

.page-faq__hero-content {
  width: 100%;
  max-width: 1000px;
  padding: 0 20px;
  text-align: center;
  box-sizing: border-box;
}

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

.page-faq__intro-text {
  font-size: 1.1rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
}

.page-faq__section {
  padding: 60px 20px;
  overflow: hidden;
}

.page-faq__faq-list-section {
  background-color: #08160F; /* Background for FAQ list section */
}

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

.page-faq__section-title {
  font-size: 2.5rem;
  color: #F2C14E; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

.page-faq__category-title {
  font-size: 2rem;
  color: #22C768; /* Auxiliary color for category titles */
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 2px solid #1E3A2A; /* Divider color */
  padding-bottom: 15px;
}

.page-faq__image-wrapper {
  margin: 30px auto;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__category-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-faq__faq-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__faq-item {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main color */
}

.page-faq__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  list-style: none; /* Hide default marker */
  color: #F2FFF6;
}

.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-qtext {
  flex-grow: 1;
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: #57E38D; /* Glow color for toggle icon */
}

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

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

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

.page-faq__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #0A4B2C; /* Deep Green background */
  margin-top: 50px;
  border-radius: 10px;
}

.page-faq__cta-title {
  font-size: 2.2rem;
  color: #F2C14E; /* Gold color for CTA title */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  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; /* Text Main for button */
  border: 2px solid transparent;
}

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

.page-faq__btn-secondary {
  background: #11271B; /* Card BG color */
  color: #57E38D; /* Glow color for text */
  border: 2px solid #57E38D; /* Glow color for border */
}

.page-faq__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }
  .page-faq__section-title {
    font-size: 2rem;
  }
  .page-faq__category-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-faq__hero-section {
    padding-bottom: 40px;
  }
  .page-faq__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .page-faq__intro-text {
    font-size: 1rem;
  }
  .page-faq__section {
    padding: 40px 15px;
  }
  .page-faq__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__section-title {
    font-size: 1.8rem;
  }
  .page-faq__category-title {
    font-size: 1.6rem;
  }
  .page-faq__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1rem;
  }
  .page-faq__faq-answer {
    padding: 0 20px 15px;
  }
  .page-faq__cta-section {
    padding: 40px 15px;
  }
  .page-faq__cta-title {
    font-size: 1.8rem;
  }
  .page-faq__cta-description {
    font-size: 1rem;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  /* Mobile image and video 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__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-faq__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: clamp(1.3rem, 7vw, 2.2rem);
  }
  .page-faq__section-title {
    font-size: 1.6rem;
  }
  .page-faq__category-title {
    font-size: 1.4rem;
  }
  .page-faq__faq-item summary {
    font-size: 1rem;
  }
  .page-faq__cta-title {
    font-size: 1.6rem;
  }
}