/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color, #F2FFF6); /* Default text color from custom palette */
  background-color: var(--background-color, #08160F); /* Background color from custom palette */
  line-height: 1.6;
  font-size: 16px;
}

.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;
  background-color: var(--background-color, #08160F);
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

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

.page-faq__hero-content {
  max-width: 1000px;
  width: 100%;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-faq__main-title {
  color: var(--text-main-color, #F2FFF6);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size for H1 */
}

.page-faq__hero-description {
  color: var(--text-secondary-color, #A7D9B8);
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 180px;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-faq__btn-secondary {
  background: transparent;
  color: var(--text-main-color, #F2FFF6);
  border: 2px solid var(--border-color, #2E7A4E);
}

.page-faq__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2);
  color: var(--glow-color, #57E38D);
}

.page-faq__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
  background-color: var(--background-color, #08160F);
}

.page-faq__section-title {
  color: var(--text-main-color, #F2FFF6);
  font-size: clamp(24px, 3vw, 38px);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faq__section-description {
  color: var(--text-secondary-color, #A7D9B8);
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.05em;
}

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

.page-faq__faq-category-title {
  color: var(--gold-color, #F2C14E);
  font-size: clamp(20px, 2.5vw, 28px);
  margin-top: 30px;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--divider-color, #1E3A2A);
}

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

.page-faq__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: var(--text-main-color, #F2FFF6);
  font-weight: bold;
  font-size: 1.15em;
  list-style: none; /* Remove default marker */
}

.page-faq__faq-item summary::-webkit-details-marker {
  display: none; /* Hide Webkit default marker */
}

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

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color, #57E38D);
}

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

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

.page-faq__faq-answer a {
  color: var(--glow-color, #57E38D);
  text-decoration: none;
}

.page-faq__faq-answer a:hover {
  text-decoration: underline;
}

.page-faq__cta-section {
  background-color: var(--deep-green-color, #0A4B2C);
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  overflow: hidden;
}

.page-faq__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-faq__cta-title {
  color: var(--text-main-color, #F2FFF6);
  font-size: clamp(26px, 3.5vw, 42px);
  margin-bottom: 15px;
}

.page-faq__cta-description {
  color: var(--text-secondary-color, #A7D9B8);
  font-size: 1.1em;
  margin-bottom: 30px;
}

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

  .page-faq__hero-section {
    padding-bottom: 30px;
  }

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

  .page-faq__main-title {
    font-size: 28px;
  }

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

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
  }

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

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

  .page-faq__section-title {
    font-size: 24px;
  }

  .page-faq__section-description {
    font-size: 0.95em;
  }

  .page-faq__faq-category-title {
    font-size: 20px;
  }

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

  .page-faq__faq-answer {
    padding: 0 15px 15px 15px;
    font-size: 0.9em;
  }

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

  .page-faq__cta-title {
    font-size: 26px;
  }

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

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

  .page-faq__hero-image-wrapper,
  .page-faq__cta-section,
  .page-faq__content-area,
  .page-faq__faq-list,
  .page-faq__faq-item,
  .page-faq__cta-buttons,
  .page-faq__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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