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

/* --- General Styles & Typography --- */
.page-faq {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* #F2FFF6 */
  background-color: var(--background-color); /* #08160F from shared.css */
  line-height: 1.6;
}

.page-faq__section-title {
  font-size: clamp(28px, 4vw, 48px); 
  color: var(--gold-color); /* #F2C14E */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-faq__main-title {
  font-size: clamp(32px, 5vw, 56px); /* H1 font-size clamp */
  color: var(--text-main-color); /* #F2FFF6 */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__description,
.page-faq__intro-text,
.page-faq p,
.page-faq li {
  color: var(--text-main-color); /* #F2FFF6 */
  font-size: 17px;
  margin-bottom: 15px;
}

.page-faq__description strong {
  color: var(--gold-color); /* #F2C14E */
}

.page-faq ul,
.page-faq ol {
  margin-left: 25px;
  margin-bottom: 15px;
}

.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, body handles header offset */
  background-color: var(--background-color); /* #08160F */
  overflow: hidden; /* For image */
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1; 
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-faq__hero-content {
  position: relative;
  z-index: 2; /* Content above image */
  text-align: center;
  max-width: 900px;
  width: 100%;
}

.page-faq__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main-color); /* #F2FFF6 */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-faq__btn-secondary {
  background: transparent;
  color: var(--primary-color); /* #11A84E */
  border: 2px solid var(--primary-color); /* #11A84E */
}

.page-faq__btn-secondary:hover {
  background: var(--primary-color); /* #11A84E */
  color: var(--text-main-color); /* #F2FFF6 */
  transform: translateY(-2px);
}

/* --- Content Area --- */
.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--background-color); /* #08160F */
  box-sizing: border-box;
}

.page-faq__intro-text {
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary-color); /* #A7D9B8 */
}

/* --- FAQ List Accordion --- */
.page-faq__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-faq__faq-item details {
  padding: 0; /* Remove default padding for details */
}

.page-faq__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  color: var(--text-main-color); /* #F2FFF6 */
  background-color: var(--card-bg-color); /* #11271B */
  border-bottom: 1px solid var(--divider-color); /* #1E3A2A */
  list-style: none; /* Remove default marker */
}

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

.page-faq__faq-question {
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.page-faq__faq-qtext {
  margin-right: 10px;
  color: var(--gold-color); /* #F2C14E */
}

.page-faq__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow-color); /* #57E38D */
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-faq__faq-answer {
  padding: 20px;
  font-size: 16px;
  color: var(--text-secondary-color); /* #A7D9B8 */
  background-color: var(--deep-green-color); /* #0A4B2C */
  border-top: 1px solid var(--divider-color); /* #1E3A2A */
}

/* --- CTA Bottom --- */
.page-faq__cta-bottom {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background-color: var(--card-bg-color); /* #11271B */
  border-radius: 10px;
  border: 1px solid var(--border-color); /* #2E7A4E */
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.page-faq__cta-text {
  font-size: 20px;
  margin-bottom: 25px;
  color: var(--text-main-color); /* #F2FFF6 */
  font-weight: bold;
}

.page-faq__cta-bottom .page-faq__btn-primary {
  margin-top: 20px;
}

.page-faq__cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 30px auto 0;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

/* --- Floating CTA Button --- */
.page-faq__floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-faq__floating-btn {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main-color); /* #F2FFF6 */
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
  transition: all 0.3s ease;
  min-width: 120px;
  max-width: 150px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__floating-btn:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

  .page-faq__main-title {
    font-size: clamp(28px, 8vw, 40px);
    padding: 0 15px;
  }

  .page-faq__description {
    font-size: 15px;
    padding: 0 15px;
  }

  .page-faq__hero-section {
    padding: 30px 0;
    padding-top: 10px !important;
  }

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

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 0 15px;
    width: 100%; /* Ensure container takes full width */
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important; /* Ensure buttons are full width */
    font-size: 16px;
    padding: 12px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__content-area {
    padding: 20px 0; /* Remove horizontal padding from main content area */
  }
  
  /* All content sections/containers need padding */
  .page-faq__faq-list,
  .page-faq__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-faq__cta-text {
    font-size: 18px;
  }

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

  /* Floating CTA button adjustments */
  .page-faq__floating-cta {
    flex-direction: row; /* Horizontal on mobile */
    bottom: 15px;
    right: 15px;
    left: 15px; /* Span across bottom */
    width: auto;
    justify-content: space-around;
  }

  .page-faq__floating-btn {
    flex: 1; /* Distribute space evenly */
    max-width: unset;
    min-width: unset;
    padding: 10px 15px;
    font-size: 15px;
  }
}

/* Ensure no filter on images */
.page-faq img {
  filter: none !important;
}

/* Content area images CSS dimensions lower limit */
.page-faq__content-area img,
.page-faq__faq-answer img,
.page-faq__cta-bottom img {
  min-width: 200px;
  min-height: 200px;
}
@media (max-width: 768px) {
  .page-faq__content-area img,
  .page-faq__faq-answer img,
  .page-faq__cta-bottom img {
    min-width: unset; /* Allow to scale down */
    min-height: unset;
  }
}