.page-faq__hero-section {
  position: relative;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bbd 100%);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

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

.page-faq__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

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

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

.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.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: #EA7C07; /* Màu cam cho nút đăng ký/chính */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-faq__btn-primary:hover {
  background: #d66b00;
  border-color: #d66b00;
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-faq__btn-secondary:hover {
  background: #f0f0f0;
  color: #1a7bbd;
  transform: translateY(-2px);
}

.page-faq__content-section {
  padding: 60px 20px;
  background: #ffffff;
  color: #333333;
}

.page-faq__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

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

.page-faq__faq-item {
  background: #f8f8f8;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  transition: background 0.3s ease;
}

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

.page-faq__faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: #333333;
  font-weight: 600;
  flex-grow: 1;
}

.page-faq__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
  margin-left: 15px;
}

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

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #f8f8f8;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 1000px !important; /* Đủ lớn để chứa mọi nội dung */
  padding: 15px 25px 25px 25px;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #555555;
}

.page-faq__faq-answer ul {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
  color: #555555;
}

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

.page-faq__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-faq__faq-answer a:hover {
  text-decoration: underline;
}

.page-faq__contact-cta {
  text-align: center;
  padding: 50px 0;
  margin-top: 50px;
  border-top: 1px solid #e0e0e0;
}

.page-faq__contact-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
}

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

.page-faq__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-faq__image-banner {
  background: linear-gradient(135deg, #1a7bbd 0%, #26A9E0 100%);
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
}

.page-faq__banner-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq__banner-description {
  font-size: 1.15em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-faq__banner-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure it behaves as a block element */
  margin-left: auto; /* Center image */
  margin-right: auto; /* Center image */
  min-width: 200px; /* Enforce min width */
  min-height: 200px; /* Enforce min height */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: 2.4em;
  }
  .page-faq__banner-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-faq__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-faq__description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .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-section {
    padding: 40px 15px;
  }

  .page-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

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

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

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

  .page-faq__faq-toggle {
    font-size: 1.5em;
  }

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

  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  .page-faq__faq-answer p,
  .page-faq__faq-answer li {
    font-size: 0.95em;
  }

  .page-faq__contact-cta {
    padding: 30px 0;
    margin-top: 30px;
  }

  .page-faq__contact-title {
    font-size: 1.8em;
  }

  .page-faq__contact-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-faq__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-faq__image-banner {
    padding: 40px 15px;
  }

  .page-faq__banner-title {
    font-size: 1.8em;
  }

  .page-faq__banner-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* Ensure all images are responsive on mobile */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__cta-buttons,
  .page-faq__button-group,
  .page-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-faq__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    justify-content: center;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: auto !important; /* Allow buttons to size naturally if not full width */
    flex-grow: 1; /* Allow buttons to grow to fill space */
    max-width: calc(100% - 30px) !important; /* Account for padding */
    margin: 5px auto; /* Center buttons if they are not full width */
  }

  .page-faq__btn-primary.page-faq__btn-large,
  .page-faq__btn-secondary.page-faq__btn-large {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: 1.8em;
  }
  .page-faq__section-title {
    font-size: 1.6em;
  }
  .page-faq__banner-title {
    font-size: 1.6em;
  }
  .page-faq__contact-title {
    font-size: 1.6em;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }
}