/* style/terms-conditions.css */
:root {
  --primary-color: #0A2239;
  --secondary-color: #E6B325;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #1a3a5a;
  --border-color: #e0e0e0;
}

.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
}

.page-terms-conditions .terms-hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--primary-color);
  overflow: hidden;
}

.page-terms-conditions .terms-hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-terms-conditions .terms-hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
  filter: brightness(0.7);
}

.page-terms-conditions .terms-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 800px;
  color: var(--text-light);
}

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

.page-terms-conditions .terms-hero p {
  font-size: 1.2em;
  color: var(--text-light);
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions .cta-button:hover {
  background: #ffcc33;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions .terms-content {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
}

.page-terms-conditions .container {
  max-width: 900px;
  margin: 0 auto;
}

.page-terms-conditions h2 {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-terms-conditions h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions p {
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 1.1em;
  color: var(--text-dark);
}

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

.page-terms-conditions ul li {
  margin-bottom: 8px;
  font-size: 1.05em;
}

.page-terms-conditions strong {
  color: var(--primary-color);
}

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

  .page-terms-conditions .terms-hero p {
    font-size: 1.1em;
  }

  .page-terms-conditions h2 {
    font-size: 2em;
  }

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

@media (max-width: 768px) {
  .page-terms-conditions .terms-hero {
    padding: 40px 15px;
  }

  .page-terms-conditions .terms-hero-image {
    margin-bottom: 20px;
  }

  .page-terms-conditions .terms-hero-content {
    width: 95%;
  }

  .page-terms-conditions .terms-hero h1 {
    font-size: 2.5em;
  }

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

  .page-terms-conditions .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-terms-conditions .terms-content {
    padding: 40px 15px;
  }

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

  .page-terms-conditions ul {
    padding-left: 15px;
  }
}

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

  .page-terms-conditions .terms-hero p {
    font-size: 0.9em;
  }

  .page-terms-conditions .cta-button {
    padding: 10px 25px;
    font-size: 14px;
  }

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

  .page-terms-conditions p {
    font-size: 0.95em;
  }
}

/* Đảm bảo độ tương phản */
.page-terms-conditions .terms-hero-content h1, 
.page-terms-conditions .terms-hero-content p {
  color: var(--text-light); /* Màu sáng trên nền tối */
}

.page-terms-conditions h2, 
.page-terms-conditions h3, 
.page-terms-conditions strong {
  color: var(--primary-color); /* Màu tối trên nền sáng */
}

.page-terms-conditions p, 
.page-terms-conditions ul li {
  color: var(--text-dark); /* Màu tối trên nền sáng */
}

.page-terms-conditions .cta-button {
  background: var(--secondary-color); /* Nền sáng */
  color: var(--primary-color); /* Chữ tối */
}

.page-terms-conditions .cta-button:hover {
  background: #ffcc33; /* Nền sáng hơn */
  color: var(--primary-color); /* Chữ tối */
}