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

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

.page-terms-conditions__hero {
  background: linear-gradient(135deg, #0A192F 0%, #1A2E4B 100%);
  padding: 80px 0;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-terms-conditions__hero h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Màu vàng nổi bật cho tiêu đề chính */
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions__hero p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #E0E0E0;
}

.page-terms-conditions__content-sections {
  padding: 60px 0;
}

.page-terms-conditions__section {
  background-color: #1A2E4B; /* Nền phần nội dung */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #FFD700;
}

.page-terms-conditions__section h2 {
  font-size: 2.2em;
  color: #FFD700; /* Màu vàng cho tiêu đề phần */
  margin-bottom: 25px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

.page-terms-conditions__section h3 {
  font-size: 1.6em;
  color: #FFD700; /* Màu vàng cho tiêu đề phụ */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions__section p {
  margin-bottom: 15px;
  color: #E0E0E0;
}

.page-terms-conditions__section ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-terms-conditions__section ul li {
  margin-bottom: 8px;
  color: #E0E0E0;
}

.page-terms-conditions__section a {
  color: #FFD700; /* Màu vàng cho liên kết trong nội dung */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-terms-conditions__section a:hover {
  color: #FFF;
  text-decoration: underline;
}

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

/* FAQ Styles */
.page-terms-conditions .faq-item {
  margin-bottom: 15px;
}

.page-terms-conditions .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #0A192F; /* Nền câu hỏi FAQ */
  border: 1px solid #FFD700;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-terms-conditions .faq-question:hover {
  background: #1A2E4B;
  border-color: #FFD700;
}

.page-terms-conditions .faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: #FFD700; /* Màu vàng cho tiêu đề câu hỏi FAQ */
}

.page-terms-conditions .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

.page-terms-conditions .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #1A2E4B; /* Nền câu trả lời FAQ */
  border-radius: 0 0 8px 8px;
}

.page-terms-conditions .faq-item.active .faq-answer {
  max-height: 500px; /* Đủ lớn để chứa nội dung */
  padding: 20px 25px;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.page-terms-conditions .faq-answer p {
  color: #E0E0E0;
  margin: 0;
}

/* CTA Section */
.page-terms-conditions__cta-section {
  text-align: center;
  padding: 50px 0;
  background-color: #0A192F;
  border-top: 2px solid #FFD700;
  border-bottom: 2px solid #FFD700;
  margin-top: 40px;
}

.page-terms-conditions__cta-section p {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: #FFFFFF;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
  color: #0A192F; /* Màu chữ tối cho nút CTA */
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.3em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
  border: none;
}

.page-terms-conditions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.6);
  background: linear-gradient(90deg, #FFA500 0%, #FFD700 100%);
}

.page-terms-conditions__footer-links {
  padding: 40px 0;
  text-align: center;
  background-color: #1A2E4B;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.page-terms-conditions__footer-links h3 {
  color: #FFD700;
  font-size: 1.8em;
  margin-bottom: 25px;
}

.page-terms-conditions__footer-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-terms-conditions__footer-links ul li {
  margin: 0;
}

.page-terms-conditions__footer-links ul li a {
  color: #E0E0E0;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s ease;
  padding: 8px 15px;
  border-radius: 5px;
  background-color: #0A192F;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-terms-conditions__footer-links ul li a:hover {
  color: #FFD700;
  background-color: #2E4A6B;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__hero h1 {
    font-size: 2.8em;
  }

  .page-terms-conditions__section h2 {
    font-size: 1.8em;
  }

  .page-terms-conditions__section h3 {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero {
    padding: 60px 0;
  }

  .page-terms-conditions__hero h1 {
    font-size: 2.2em;
  }

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

  .page-terms-conditions__content-sections {
    padding: 40px 0;
  }

  .page-terms-conditions__section {
    padding: 20px;
    margin-bottom: 30px;
  }

  .page-terms-conditions__section h2 {
    font-size: 1.6em;
  }

  .page-terms-conditions__section h3 {
    font-size: 1.2em;
  }

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

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

  .page-terms-conditions .faq-toggle {
    font-size: 20px;
  }

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

  .page-terms-conditions__cta-section {
    padding: 30px 0;
  }

  .page-terms-conditions__cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }

  .page-terms-conditions__footer-links ul {
    flex-direction: column;
    gap: 10px;
  }

  .page-terms-conditions__footer-links ul li a {
    padding: 10px 20px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero h1 {
    font-size: 1.8em;
  }

  .page-terms-conditions__section h2 {
    font-size: 1.4em;
  }

  .page-terms-conditions__section h3 {
    font-size: 1.1em;
  }

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

  .page-terms-conditions__footer-links h3 {
    font-size: 1.5em;
  }
}