.page-faq {
  color: #ffffff; /* Body background is dark (#121212), so use light text */
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #017439, #005f2c);
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

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

.page-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__cta-buttons--inline {
  margin-top: 20px;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-faq__btn-primary {
  background-color: #C30808; /* Đăng ký color */
  color: #FFFF00; /* Đăng ký và Đăng nhập font color */
  border: 2px solid #C30808;
}

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

.page-faq__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Đăng ký và Đăng nhập font color */
  border: 2px solid #C30808; /* Đăng nhập color */
}

.page-faq__btn-secondary:hover {
  background-color: #C30808;
  color: #ffffff;
}

.page-faq__content-area {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for content */
  color: #ffffff;
}

.page-faq__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
  font-weight: bold;
}

.page-faq__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-faq__faq-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #017439;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

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

.page-faq__faq-question h3 {
  margin: 0;
  flex-grow: 1;
  color: #ffffff;
}

.page-faq__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  color: #f0f0f0;
  transition: max-height 0.3s ease, padding 0.3s ease;
  line-height: 1.7;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px;
}

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

.page-faq__faq-answer ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

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

.page-faq__faq-answer strong {
  color: #FFFF00;
}

.page-faq__faq-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-faq__contact-promo {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.page-faq__contact-title {
  font-size: 2.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-faq__contact-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 2.8em;
  }
  .page-faq__section-title {
    font-size: 2.2em;
  }
  .page-faq__faq-question {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding: 60px 15px;
  }
  .page-faq__hero-title {
    font-size: 2.2em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .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: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-faq__content-area {
    padding: 40px 15px;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-faq__faq-question {
    padding: 18px 20px;
    font-size: 1em;
  }
  .page-faq__faq-answer {
    padding: 15px 20px;
  }
  .page-faq__contact-promo {
    padding: 40px 15px;
  }
  .page-faq__contact-title {
    font-size: 2em;
  }
  .page-faq__contact-description {
    font-size: 1em;
  }

  /* Mobile responsive images */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__accordion,
  .page-faq__faq-item,
  .page-faq__contact-promo {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 1.8em;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__contact-title {
    font-size: 1.8em;
  }
  .page-faq__faq-question h3 {
    font-size: 0.95em;
  }
}