.page-faq {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;

  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--background-color);
  line-height: 1.6;
}

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

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  background-color: var(--deep-green-color);
  position: relative;
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 0;
  opacity: 0.2;
}

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

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__main-title {
  font-size: clamp(2em, 5vw, 3.2em);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-faq__description {
  font-size: 1.1em;
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

.page-faq__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__btn-secondary {
  background: var(--card-bg);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-faq__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__intro-section,
.page-faq__faq-section,
.page-faq__cta-section {
  padding: 80px 0;
  background-color: var(--background-color);
  border-bottom: 1px solid var(--divider-color);
}

.page-faq__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-faq__section-description {
  font-size: 1.05em;
  color: var(--text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-faq__faq-category {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-faq__category-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(17, 168, 78, 0.3);
}

.page-faq__faq-item {
  background-color: var(--deep-green-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  background-color: var(--deep-green-color);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.2);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  list-style: none; /* Remove default marker for summary */
  transition: color 0.3s ease;
}

.page-faq__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-faq__faq-question:hover {
  color: var(--gold-color);
}

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

.page-faq__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  margin-left: 15px;
  line-height: 1;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  color: var(--gold-color);
}

.page-faq__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--text-secondary);
  border-top: 1px solid var(--divider-color);
  margin-top: -1px; /* Overlap border with summary */
}

.page-faq__faq-answer p {
  margin: 0;
  padding-top: 15px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: clamp(2em, 6vw, 2.8em);
  }

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

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

  .page-faq__faq-question {
    font-size: 1.05em;
  }
}

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

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

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

  .page-faq__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    margin: 5px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__hero-content .page-faq__cta-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .page-faq__intro-section,
  .page-faq__faq-section,
  .page-faq__cta-section {
    padding: 40px 0;
  }

  .page-faq__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-faq__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .page-faq__faq-category {
    padding: 20px;
    margin-bottom: 30px;
  }

  .page-faq__category-title {
    font-size: 1.3em;
    margin-bottom: 20px;
  }

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

  .page-faq__faq-toggle {
    font-size: 1.3em;
  }

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

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

  /* Ensure all containers with images/buttons/videos are responsive */
  .page-faq__hero-image-wrapper,
  .page-faq__hero-content,
  .page-faq__intro-section .page-faq__container,
  .page-faq__faq-section .page-faq__container,
  .page-faq__cta-section .page-faq__container,
  .page-faq__faq-category,
  .page-faq__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: clamp(1.5em, 9vw, 2em);
  }

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

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

  .page-faq__faq-question {
    font-size: 0.95em;
    padding: 12px 15px;
  }

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