.page-faq {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-body);
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  overflow: hidden;
  box-sizing: border-box;
  background-color: var(--background);
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-faq__hero-content {
  max-width: 900px;
  margin: 20px auto 0 auto;
  padding: 0 20px;
  text-align: center;
  position: relative; /* Ensure content is above any potential background elements */
  z-index: 2;
}

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

.page-faq__intro-text {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--background);
  border-radius: 8px;
  margin-top: 30px;
  box-sizing: border-box;
}

.page-faq__dark-section {
  background-color: var(--background);
  color: var(--text-main);
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 20px;
}

.page-faq__section-description {
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__faq-category-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--gold);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  border-bottom: 2px solid var(--divider);
  padding-bottom: 10px;
}

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

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

.page-faq__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

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

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

.page-faq__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--glow);
  margin-left: 15px;
}

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

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

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

.page-faq__cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 60px 20px;
  background-color: var(--deep-green);
  text-align: center;
  color: var(--text-main);
  margin-top: 60px;
  border-radius: 8px;
  box-sizing: border-box;
}

.page-faq__cta-content {
  max-width: 800px;
}

.page-faq__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-faq__cta-description {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-faq__cta-image-wrapper {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

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

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-bottom: 30px;
  }

  .page-faq__hero-content {
    padding: 0 15px;
  }

  .page-faq__main-title {
    font-size: 2.2rem !important;
  }

  .page-faq__intro-text {
    font-size: 1rem !important;
  }

  .page-faq__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-faq__content-area {
    padding: 40px 15px;
    margin-top: 20px;
  }

  .page-faq__section-title {
    font-size: 2rem !important;
  }

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

  .page-faq__faq-category-title {
    font-size: 1.25rem !important;
  }

  .page-faq__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-faq__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.875rem;
  }

  .page-faq__cta-section {
    padding: 40px 15px;
    margin-top: 40px;
  }

  .page-faq__cta-title {
    font-size: 2rem !important;
  }

  .page-faq__cta-description {
    font-size: 0.9rem !important;
  }

  .page-faq__hero-image,
  .page-faq__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__hero-image-wrapper,
  .page-faq__cta-image-wrapper,
  .page-faq__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__faq-list {
    padding-left: 0;
    padding-right: 0;
  }

  .page-faq__cta-section {
    flex-direction: column;
  }
}

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

.page-faq__deep-green-bg {
  background-color: var(--deep-green);
}

/* Body background is handled by shared.css var(--bg-body), assuming it's dark */
.page-faq {
  color: var(--text-main); /* Light text for dark background */
  background-color: var(--background); /* Use the specified background color */
}