.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default body background */
  line-height: 1.6;
}

.page-faq__hero-section {
  background-color: #017439; /* Brand primary color for hero background */
  color: #ffffff; /* White text for dark background */
  padding: 40px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

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

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

.page-faq__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Register and Login font color for emphasis */
}

.page-faq__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-faq__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-faq__btn-primary,
.page-faq__btn-secondary,
.page-faq a[class*="button"],
.page-faq a[class*="btn"] {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-faq__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-faq__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Brand primary color */
  border: 2px solid #017439;
}

.page-faq__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

.page-faq__content-area {
  padding: 60px 0;
}

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-faq__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-faq__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  background-color: #e6f3ed; /* Lighter brand color */
  user-select: none;
  list-style: none; /* For details/summary */
}

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

.page-faq__faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg);
}

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

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

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin-left: 20px;
  margin-bottom: 10px;
}

.page-faq__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

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

.page-faq__cta-section {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

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

.page-faq__cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFF00;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 10px; /* Specific padding for mobile hero */
    padding-bottom: 20px;
  }

  .page-faq__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem); /* Adjust clamp for smaller screens */
    margin-bottom: 15px;
  }

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

  .page-faq__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    align-items: center;
    gap: 10px;
    padding: 0 15px; /* Add padding to button container */
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq a[class*="button"],
  .page-faq a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 10px 15px;
  }

  .page-faq__content-area,
  .page-faq__cta-section {
    padding: 30px 0;
  }

  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-faq__faq-answer {
    padding: 0 20px 15px;
  }

  /* General image responsiveness for content area */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-faq__section,
  .page-faq__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Blog section specific rules, even if not explicitly present in HTML, as per checklist */
  .page-faq__blog-slider-track {
    display: flex; /* Ensure flex is set for potential slider */
    flex-wrap: nowrap; /* Prevent wrapping on track level */
    overflow-x: auto; /* Allow horizontal scroll for slider */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-faq__blog-slide {
    flex: 0 0 100%; /* Each slide takes full width on mobile */
    max-width: 100%;
    scroll-snap-align: start;
  }
}