.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Màu chữ nhạt cho nền tối */
  line-height: 1.6;
  background-color: #0A1931; /* Nền chính */
}

.page-terms-conditions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-terms-conditions__hero-banner {
  position: relative;
  width: 100%;
  height: 400px; /* Chiều cao cố định */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-terms-conditions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Lớp phủ tối để chữ dễ đọc */
  z-index: 1;
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  padding: 0 20px;
}

.page-terms-conditions__main-heading {
  font-size: 3.5em;
  margin-bottom: 15px;
  color: #FFD700; /* Màu vàng phụ trợ cho tiêu đề chính */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__sub-heading {
  font-size: 1.5em;
  font-weight: 300;
  color: #E0E0E0;
}

.page-terms-conditions__introduction,
.page-terms-conditions__section,
.page-terms-conditions__faq-section,
.page-terms-conditions__contact-us {
  padding: 60px 0;
}

.page-terms-conditions__section--alt {
  background-color: #1A2A44; /* Nền phụ hơi sáng hơn */
}

.page-terms-conditions__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Màu vàng phụ trợ */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-terms-conditions__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-terms-conditions__sub-section-title {
  font-size: 1.8em;
  color: #FFFFFF;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

.page-terms-conditions__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #E0E0E0;
  text-align: justify;
}

.page-terms-conditions__highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-terms-conditions__link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
  color: #FFA500;
  text-decoration: underline;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A1931;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-terms-conditions__cta-button:hover {
  background-color: #FFA500;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-terms-conditions__image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-terms-conditions__image--left {
  float: left;
  margin-right: 40px;
}

.page-terms-conditions__image--right {
  float: right;
  margin-left: 40px;
}

/* FAQ Section Specific Styles */
.page-terms-conditions__faq-list {
  margin-top: 30px;
}

.faq-item {
  background: #1A2A44;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #0A1931;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: #FFD700;
}

.faq-question:hover {
  background: #1A2A44;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: #FFD700;
}

.faq-toggle {
  font-size: 2em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #FFD700;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  color: #E0E0E0;
  background: #1A2A44;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Đủ lớn để chứa nội dung */
  padding: 25px;
}

.faq-answer p {
  margin: 0;
  font-size: 1.05em;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-terms-conditions__hero-banner {
    height: 300px;
  }

  .page-terms-conditions__main-heading {
    font-size: 2.8em;
  }

  .page-terms-conditions__sub-heading {
    font-size: 1.2em;
  }

  .page-terms-conditions__section-title {
    font-size: 2em;
  }

  .page-terms-conditions__sub-section-title {
    font-size: 1.5em;
  }

  .page-terms-conditions__paragraph {
    font-size: 1em;
  }

  .page-terms-conditions__image--left,
  .page-terms-conditions__image--right {
    float: none;
    margin: 30px auto;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-banner {
    height: 250px;
  }

  .page-terms-conditions__main-heading {
    font-size: 2.2em;
  }

  .page-terms-conditions__sub-heading {
    font-size: 1em;
  }

  .page-terms-conditions__introduction,
  .page-terms-conditions__section,
  .page-terms-conditions__faq-section,
  .page-terms-conditions__contact-us {
    padding: 40px 0;
  }

  .page-terms-conditions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-terms-conditions__sub-section-title {
    font-size: 1.3em;
  }

  .page-terms-conditions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .faq-question {
    padding: 15px 20px;
  }

  .faq-question h3 {
    font-size: 1.1em;
  }

  .faq-toggle {
    font-size: 1.8em;
  }

  .faq-answer {
    padding: 15px 20px;
  }

  .faq-answer p {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-banner {
    height: 200px;
  }

  .page-terms-conditions__main-heading {
    font-size: 1.8em;
  }

  .page-terms-conditions__sub-heading {
    font-size: 0.9em;
  }

  .page-terms-conditions__section-title {
    font-size: 1.5em;
  }

  .page-terms-conditions__sub-section-title {
    font-size: 1.1em;
  }

  .page-terms-conditions__paragraph {
    font-size: 0.9em;
  }

  .page-terms-conditions__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

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

  .faq-toggle {
    font-size: 1.5em;
  }
}