/* style/faq.css */

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

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

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

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px; /* Space for content below image */
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  box-sizing: border-box;
}

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

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

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

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--page-faq-gold-color); /* #F2C14E */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-faq__description {
  font-size: 1.1rem;
  color: var(--page-faq-text-secondary); /* #A7D9B8 */
  margin-bottom: 30px;
}

/* Buttons */
.page-faq__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--page-faq-button-gradient); /* linear-gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* Intro Section */
.page-faq__intro-section {
  padding: 60px 0;
  text-align: center;
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--page-faq-primary-color); /* #11A84E */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-faq__text-block {
  font-size: 1rem;
  color: var(--page-faq-text-secondary); /* #A7D9B8 */
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__image-content {
  width: 100%;
  height: auto;
  display: block;
  max-width: 800px;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Questions Section */
.page-faq__questions-section {
  padding: 60px 0;
}

.page-faq__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--page-faq-deep-green); /* #0A4B2C */
  color: var(--page-faq-text-main); /* #F2FFF6 */
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
  background-color: var(--page-faq-primary-color); /* #11A84E */
}

.page-faq__faq-item[open] .page-faq__faq-question {
  background-color: var(--page-faq-primary-color); /* #11A84E */
}

.page-faq__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  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: 20px;
  color: var(--page-faq-text-secondary); /* #A7D9B8 */
  font-size: 1rem;
  line-height: 1.7;
  background-color: var(--page-faq-card-bg); /* #11271B */
}

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

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

.page-faq__faq-answer ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-faq__faq-answer ul li {
  margin-bottom: 5px;
}

/* CTA Section */
.page-faq__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-faq__cta-section .page-faq__section-title {
  color: var(--page-faq-gold-color); /* #F2C14E */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    padding: 0 15px;
  }
  .page-faq__main-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
  }
  .page-faq__description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-faq__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
    padding-bottom: 40px;
  }

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

  .page-faq__description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

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

  .page-faq__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 20px;
  }

  .page-faq__text-block {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

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

  .page-faq__faq-answer {
    padding: 15px;
    font-size: 0.95rem;
  }

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

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

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-faq__section-title {
    font-size: clamp(1.4rem, 6.5vw, 2rem);
  }
  .page-faq__btn-primary {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  .page-faq__faq-question {
    font-size: 0.95rem;
  }
  .page-faq__faq-answer {
    font-size: 0.9rem;
  }
}