.page-faq {
  background-color: #08160F; /* Nền tối tổng thể */
  color: #F2FFF6; /* Màu chữ chính cho nền tối */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ gọn để tránh đệm kép với body padding-top */
  overflow: hidden;
}

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

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

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  z-index: 1;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: bold;
  color: #F2C14E; /* Màu vàng Gold cho tiêu đề chính */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-faq__description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Màu chữ phụ */
  margin-bottom: 30px;
}

.page-faq__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.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 {
  display: inline-block;
  background-color: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-left: 15px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-secondary:hover {
  background-color: #2AD16F;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #F2C14E; /* Màu vàng Gold */
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-faq__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #2AD16F;
  border-radius: 2px;
}

.page-faq__faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-faq__faq-category {
  background-color: #11271B; /* Màu nền Card B G */
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Màu border */
  display: flex;
  flex-direction: column;
  color: #F2FFF6;
  overflow: hidden;
}

.page-faq__category-title {
  font-size: 1.8rem;
  color: #2AD16F;
  margin-bottom: 25px;
  text-align: center;
}

.page-faq__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #1E3A2A; /* Màu Divider */
  padding-bottom: 15px;
}

.page-faq__faq-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2FFF6;
  cursor: pointer;
  list-style: none;
  padding: 10px 0;
}

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

.page-faq__faq-qtext {
  flex-grow: 1;
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  color: #57E38D; /* Màu Glow */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
  font-size: 1rem;
  color: #A7D9B8; /* Màu chữ phụ */
  padding: 10px 0 0 0;
  line-height: 1.5;
}

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

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

.page-faq__faq-answer .page-faq__btn-secondary {
  margin-top: 15px;
  margin-left: 0;
}

.page-faq__category-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: auto; /* Đẩy ảnh xuống cuối */
  object-fit: cover;
}

.page-faq__contact-support {
  text-align: center;
  padding: 80px 20px;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  position: relative;
  overflow: hidden;
}

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

.page-faq__contact-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    padding: 0 30px;
  }
  .page-faq__faq-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-faq__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__btn-secondary:last-child {
    margin-bottom: 0;
  }

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

  .page-faq__content-area,
  .page-faq__contact-support {
    padding: 30px 15px;
  }

  .page-faq__section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .page-faq__faq-category {
    padding: 20px;
  }

  .page-faq__category-title {
    font-size: 1.5rem;
  }

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

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

  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__section,
  .page-faq__card,
  .page-faq__container {
    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: 15px;
    padding-right: 15px;
  }

  .page-faq__contact-image {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: 1.8rem;
  }

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

  .page-faq__category-title {
    font-size: 1.3rem;
  }
}