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

.page-faq {
  background-color: var(--color-background);
  color: var(--color-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0;
  position: relative;
  overflow: hidden;
}

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

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Slightly dim the image to make text more readable */
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  margin-top: 50px;
}

.page-faq__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  color: var(--color-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-faq__hero-description {
  font-size: 1.2em;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
}

.page-faq__btn-primary {
  background: var(--color-button-gradient);
  color: var(--color-text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.page-faq__btn-primary:hover {
  filter: brightness(1.1);
}

.page-faq__content-section {
  padding: 60px 20px;
  background-color: var(--color-background);
}

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

.page-faq__section-title {
  font-size: 2.5em;
  color: var(--color-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-faq__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  color: var(--color-text-main);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--color-text-main);
  user-select: none;
  list-style: none;
}

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

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg);
}

.page-faq__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--color-text-secondary);
}

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

.page-faq__faq-answer strong {
  color: var(--color-gold);
}

.page-faq__faq-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-faq__btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
  margin-top: 10px;
  cursor: pointer;
}

.page-faq__btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-main);
}

.page-faq__cta-bottom {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: var(--color-deep-green);
  border-radius: 10px;
  border: 1px solid var(--color-border);
}

.page-faq__cta-text {
  font-size: 1.3em;
  color: var(--color-text-main);
  margin-bottom: 25px;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

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

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

  .page-faq__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    margin-bottom: 10px;
  }

  .page-faq__content-section {
    padding: 30px 15px;
  }

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

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

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

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

  .page-faq__faq-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__cta-bottom {
    margin-top: 30px;
    padding: 20px;
  }

  .page-faq__cta-text {
    font-size: 1.1em;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-content {
    margin-top: 15px;
  }

  .page-faq__main-title {
    font-size: clamp(1.6em, 9vw, 2em);
  }

  .page-faq__faq-question {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 5px;
  }

  .page-faq__faq-toggle {
    align-self: flex-end;
  }
}

/* Color Contrast Safeguards (assuming dark background for main content) */
.page-faq__dark-bg {
  background-color: var(--color-background);
  color: var(--color-text-main);
}

.page-faq__light-bg {
  background-color: var(--color-background);
  color: var(--color-text-main);
}

.page-faq__faq-item {
  background-color: var(--color-card-bg);
  color: var(--color-text-main);
}

.page-faq__cta-bottom {
  background-color: var(--color-deep-green);
  color: var(--color-text-main);
}

.page-faq p,
.page-faq li {
  color: var(--color-text-secondary);
}

.page-faq h1,
.page-faq h2,
.page-faq h3,
.page-faq h4,
.page-faq h5,
.page-faq h6 {
  color: var(--color-text-main);
}