.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  background-color: #08160F;
}

.page-faq__hero-content {
  max-width: 900px;
  margin-bottom: 30px;
}

.page-faq__main-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-faq__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-faq__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  text-align: center;
}

.page-faq__video-title {
  font-size: 2em;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
}

.page-faq__video-description {
  font-size: 1em;
  color: #A7D9B8;
  margin-top: 20px;
  max-width: 800px;
}

.page-faq__video-container {
  width: 100%;
  max-width: 1000px; /* Adjusted max-width for video */
  margin: 0 auto;
  box-sizing: border-box;
}

.page-faq__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%; /* Ensure video wrapper adapts */
  display: block; /* Make the 'a' tag behave like a block */
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #08160F;
}

.page-faq__section-title {
  font-size: 2.2em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
}

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

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

.page-faq__faq-item summary {
  list-style: none;
  /* Hide default details marker */
}

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

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

.page-faq__faq-question:hover {
  background-color: #22C768; /* Auxiliary Color */
}

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

.page-faq__faq-item[open] .page-faq__faq-question {
  background-color: #22C768; /* Auxiliary Color */
}

.page-faq__faq-answer {
  padding: 0 20px 20px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.8;
  font-size: 0.95em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-faq__faq-item[open] .page-faq__faq-answer {
  max-height: 2000px; /* Sufficiently large to show content */
  padding-top: 10px;
}

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

.page-faq__faq-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 15px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-faq__floating-btn {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button Gradient */
  color: #F2FFF6; /* Text Main */
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  white-space: nowrap; /* Prevent text wrapping on desktop */
}

.page-faq__floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-faq {
    font-size: 15px;
  }

  .page-faq__hero-section,
  .page-faq__video-section,
  .page-faq__content-area {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

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

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

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

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

  .page-faq__hero-image-wrapper,
  .page-faq__video-container,
  .page-faq__video-wrapper,
  .page-faq__faq-item,
  .page-faq__faq-question,
  .page-faq__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-faq__floating-buttons {
    flex-direction: row; /* Horizontal layout for mobile floating buttons */
    bottom: 15px;
    left: 15px;
    right: 15px;
    justify-content: space-around;
    gap: 8px;
  }

  .page-faq__floating-btn {
    padding: 10px 15px;
    font-size: 0.9em;
    flex: 1; /* Distribute space evenly */
    white-space: normal !important; /* Allow text wrap */
    word-wrap: break-word !important;
  }
}

@media (max-width: 480px) {
  .page-faq__floating-buttons {
    flex-direction: column; /* Stack vertically if too narrow */
    left: 10px;
    right: 10px;
  }
  .page-faq__floating-btn {
    width: 100%;
  }
}

/* Ensure contrast for specific elements if needed */
.page-faq p,
.page-faq li {
  color: #A7D9B8; /* Text Secondary - ensure good contrast on dark background */
}

.page-faq h1,
.page-faq h2,
.page-faq h3,
.page-faq h4,
.page-faq h5,
.page-faq h6 {
  color: #F2C14E; /* Gold - for titles */
}

.page-faq__faq-question .page-faq__faq-qtext {
  color: #F2FFF6; /* Text Main for question text */
}