.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Màu chữ nhạt trên nền tối */
  background-color: #1a1a1a; /* Nền tối */
  line-height: 1.6;
}

.page-terms-conditions .terms-hero {
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Đổi màu gradient cho phù hợp */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid #FFD700;
}

.page-terms-conditions .terms-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.page-terms-conditions .terms-hero .terms-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.page-terms-conditions .terms-hero h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions .terms-hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions .hero-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: #FFD700; /* Vàng */
  color: #1a1a1a; /* Đen để tương phản */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions .cta-button:hover {
  background-color: #e6c200; /* Vàng đậm hơn khi hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions .content-area {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #2a2a2a; /* Nền xám đậm cho nội dung */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions h2 {
  font-size: 2.2em;
  color: #FFD700; /* Vàng */
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 3px solid #8B0000; /* Đỏ sẫm */
  padding-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions h3 {
  font-size: 1.8em;
  color: #FFD700; /* Vàng */
  margin-top: 30px;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions p {
  margin-bottom: 15px;
  color: #e0e0e0; /* Trắng ngà */
}

.page-terms-conditions ul {
  list-style-type: disc;
  margin-left: 30px;
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-terms-conditions ol {
  list-style-type: decimal;
  margin-left: 30px;
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-terms-conditions li {
  margin-bottom: 8px;
}

.page-terms-conditions .content-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-terms-conditions .content-image.right-align {
  float: right;
  margin-left: 30px;
}

.page-terms-conditions .content-image.left-align {
  float: left;
  margin-right: 30px;
}

.page-terms-conditions .final-note {
  text-align: center;
  margin-top: 50px;
  font-style: italic;
  color: #FFD700;
  font-size: 1.1em;
}

/* Clearfix for floated images */
.page-terms-conditions .terms-section::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-terms-conditions .terms-hero h1 {
    font-size: 2.5em;
  }
  .page-terms-conditions h2 {
    font-size: 1.8em;
  }
  .page-terms-conditions h3 {
    font-size: 1.5em;
  }
  .page-terms-conditions .content-image.right-align,
  .page-terms-conditions .content-image.left-align {
    float: none;
    margin-left: auto;
    margin-right: auto;
    display: block;
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions .terms-hero {
    padding: 60px 15px;
  }
  .page-terms-conditions .terms-hero h1 {
    font-size: 2em;
  }
  .page-terms-conditions .terms-hero p {
    font-size: 1em;
  }
  .page-terms-conditions .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-terms-conditions .content-area {
    padding: 15px;
    margin: 20px auto;
  }
  .page-terms-conditions h2 {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-terms-conditions h3 {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 12px;
  }
  .page-terms-conditions p,
  .page-terms-conditions li {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions .terms-hero h1 {
    font-size: 1.8em;
  }
  .page-terms-conditions .terms-hero p {
    font-size: 0.9em;
  }
  .page-terms-conditions .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-terms-conditions h2 {
    font-size: 1.4em;
  }
  .page-terms-conditions h3 {
    font-size: 1.1em;
  }
  .page-terms-conditions .content-image {
    max-width: 100%;
  }
}