/* style/faq.css */

/* Body background color is #f4f4f4 (light), so text should be dark. */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #f4f4f4; /* From shared.css body background */
}

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color for dark background */
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-faq__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold for main title */
  letter-spacing: -0.02em;
}

.page-faq__description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for primary button */
  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);
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background: #11271B; /* Card BG color */
  color: #F2FFF6; /* Main text color */
  border: 2px solid #2E7A4E; /* Border color */
}

.page-faq__btn-secondary:hover {
  background: #2E7A4E; /* Border color on hover */
  color: #ffffff;
  transform: translateY(-2px);
}

/* FAQ List Section */
.page-faq__faq-list-section {
  padding: 80px 20px;
  background-color: #f4f4f4; /* Light background */
  color: #333333; /* Dark text for light background */
}

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

.page-faq__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #11A84E; /* Primary brand color */
}

.page-faq__section-description {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-faq__faq-items-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-faq__faq-item {
  background: #ffffff; /* White background for card */
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  color: #333333;
}

.page-faq__faq-item[open] {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #11271B; /* Card BG color for question text */
  transition: background-color 0.3s ease;
  list-style: none; /* Hide default marker for details/summary */
}

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

.page-faq__faq-question:hover {
  background-color: #eef8f2;
}

.page-faq__faq-qtext {
  flex-grow: 1;
  color: #11A84E; /* Primary brand color for question text */
}

.page-faq__faq-toggle {
  font-size: 1.8rem;
  font-weight: 500;
  color: #11A84E; /* Primary brand color */
  margin-left: 15px;
}

.page-faq__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
  border-top: 1px solid #eee;
}

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

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

.page-faq__faq-answer ol,
.page-faq__faq-answer ul {
  margin: 15px 0 15px 25px;
  list-style-type: decimal;
}

.page-faq__faq-answer ul {
  list-style-type: disc;
}

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

.page-faq__download-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

/* CTA Bottom Section */
.page-faq__cta-bottom-section {
  padding: 80px 20px;
  background: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color */
  text-align: center;
}

.page-faq__cta-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold for CTA title */
}

.page-faq__cta-description {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #A7D9B8; /* Secondary text color */
}

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

  .page-faq__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-faq__hero-content,
  .page-faq__container,
  .page-faq__cta-bottom-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-faq__description {
    font-size: 1rem;
  }

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

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

  .page-faq__faq-list-section,
  .page-faq__cta-bottom-section {
    padding: 50px 0;
  }

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

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

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

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

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

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

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

  .page-faq__hero-image-wrapper,
  .page-faq__download-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-faq__faq-item,
  .page-faq__faq-items-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}