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

.page-faq__hero-section {
  position: relative;
  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 */
  overflow: hidden;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px; /* Limit height for hero image */
  object-fit: cover;
  display: block;
  margin-bottom: 30px; /* Space between image and text */
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.page-faq__main-title {
  color: var(--text-main, #F2FFF6);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

.page-faq__description {
  color: var(--text-secondary, #A7D9B8);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
}

.page-faq__section-title {
  color: var(--text-main, #F2FFF6);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  padding-top: 40px;
}

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

.page-faq__introduction {
  padding: 80px 0;
  background-color: var(--background-color, #08160F);
}

.page-faq__text-block {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__accordion-section {
  padding: 60px 0;
  background-color: var(--card-bg, #11271B);
}

.page-faq__accordion-section:nth-of-type(even) {
  background-color: var(--background-color, #08160F);
}

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

.page-faq__faq-item {
  background: var(--background-color, #08160F);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border, #2E7A4E);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__faq-item:nth-of-type(even) {
  background: var(--card-bg, #11271B);
}

.page-faq__faq-item[open] {
  background: linear-gradient(135deg, var(--card-bg, #11271B) 0%, var(--deep-green, #0A4B2C) 100%);
}

.page-faq__faq-item[open]:nth-of-type(even) {
  background: linear-gradient(135deg, var(--background-color, #08160F) 0%, var(--deep-green, #0A4B2C) 100%);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--text-main, #F2FFF6);
  font-weight: 600;
  font-size: 1.15rem;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-faq__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Border color with transparency */
}

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

.page-faq__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  margin-left: 15px;
  color: var(--glow, #57E38D);
  transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary, #A7D9B8);
  font-size: 1rem;
  line-height: 1.7;
}

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

.page-faq__faq-answer .page-faq__btn-secondary {
  display: inline-block;
  margin-top: 10px;
  margin-right: 10px;
  margin-bottom: 10px; /* Add margin-bottom for multiple buttons */
}

.page-faq__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
  border: none;
  cursor: pointer;
}

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

.page-faq__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: transparent;
  color: var(--text-main, #F2FFF6);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--border, #2E7A4E);
  transition: background-color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.page-faq__btn-secondary:hover {
  background-color: var(--border, #2E7A4E);
  border-color: var(--glow, #57E38D);
}

.page-faq__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--background-color, #08160F);
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__hero-image {
    max-height: 500px;
  }
  .page-faq__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-faq__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-faq__hero-image {
    max-height: 400px;
    margin-bottom: 20px;
  }
  .page-faq__hero-content {
    padding: 15px;
  }
  .page-faq__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-faq__description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 20px;
  }
  .page-faq__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 20px;
    padding-top: 30px;
  }
  .page-faq__introduction, .page-faq__accordion-section, .page-faq__cta-section {
    padding: 40px 0;
  }
  .page-faq__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-faq__faq-question {
    padding: 18px 20px;
    font-size: 1rem;
  }
  .page-faq__faq-answer {
    padding: 0 20px 18px;
    font-size: 0.95rem;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }
  .page-faq__btn-primary, .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Image responsive rules */
  .page-faq img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__section, .page-faq__card, .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__video-section {
    padding-top: 10px !important;
  }

  /* Video responsive rules */
  .page-faq video,
  .page-faq__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__video-section,
  .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-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-faq__faq-question {
    padding: 15px;
    font-size: 0.95rem;
  }
  .page-faq__faq-answer {
    padding: 0 15px 15px;
    font-size: 0.9rem;
  }
  .page-faq__btn-primary, .page-faq__btn-secondary {
    font-size: 1rem;
    padding: 10px 20px;
  }
}