:root {
  --primary-color: #007BFF;
  --secondary-color: #FFC107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7fa;
  --bg-dark: #2c3e50;
  --border-color: #e0e0e0;
}

.page-khuyen-mai {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

.page-khuyen-mai h1, .page-khuyen-mai h2, .page-khuyen-mai h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-khuyen-mai h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--text-light);
}

.page-khuyen-mai h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  position: relative;
}

.page-khuyen-mai h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-khuyen-mai h3 {
  font-size: 1.6em;
  color: var(--text-dark);
}

.page-khuyen-mai strong {
  color: var(--primary-color);
}

.page-khuyen-mai .hero-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

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

.page-khuyen-mai .hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 2;
}

.page-khuyen-mai .hero-content p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-khuyen-mai .hero-image {
  margin-top: 40px;
  max-width: 1000px;
  width: 100%;
  z-index: 2;
}

.page-khuyen-mai .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block; /* Remove extra space below image */
}

.page-khuyen-mai .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai .cta-button:hover {
  background: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-khuyen-mai section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-khuyen-mai .section-why-choose {
  background-color: var(--bg-light);
  border-radius: 8px;
  margin-top: 40px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyen-mai .feature-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyen-mai .feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-khuyen-mai .feature-item img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 6px;
  object-fit: cover;
}

.page-khuyen-mai .feature-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-khuyen-mai .promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyen-mai .promo-card {
  background-color: var(--text-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-khuyen-mai .promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai .promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-khuyen-mai .promo-card h3 {
  font-size: 1.5em;
  margin: 20px 20px 10px;
  color: var(--primary-color);
}

.page-khuyen-mai .promo-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-khuyen-mai .promo-card h3 a:hover {
  color: var(--secondary-color);
}

.page-khuyen-mai .promo-card p {
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-khuyen-mai .promo-card .btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  margin: 0 20px 20px;
  align-self: flex-start;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-khuyen-mai .promo-card .btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

.page-khuyen-mai .section-how-to-claim {
  background-color: var(--bg-light);
  border-radius: 8px;
  margin-top: 40px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai .steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyen-mai .step-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-khuyen-mai .step-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 0 auto 20px;
  border-radius: 6px;
  object-fit: cover;
}

.page-khuyen-mai .step-item h3 {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-khuyen-mai .btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-khuyen-mai .btn-secondary:hover {
  background: #e0a800;
  transform: translateY(-2px);
}

.page-khuyen-mai .section-terms-conditions {
  padding: 50px 20px;
}

.page-khuyen-mai .terms-content {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: 30px;
}

.page-khuyen-mai .terms-content ul {
  list-style: disc inside;
  margin-top: 20px;
  padding-left: 20px;
}

.page-khuyen-mai .terms-content ul li {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-khuyen-mai .terms-content ul li strong {
  color: var(--primary-color);
}

.page-khuyen-mai .section-faq {
  background-color: var(--bg-light);
  border-radius: 8px;
  margin-top: 40px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai .faq-container {
  margin-top: 30px;
}

.page-khuyen-mai .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-khuyen-mai .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-khuyen-mai .faq-question:hover {
  background: #f5f5f5;
}

.page-khuyen-mai .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-dark);
}

.page-khuyen-mai .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-khuyen-mai .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-khuyen-mai .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #ffffff;
  color: var(--text-dark);
}

.page-khuyen-mai .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 20px;
  border-top: 1px solid var(--border-color);
}

.page-khuyen-mai .faq-answer p {
  margin-bottom: 10px;
}

.page-khuyen-mai .faq-answer .btn-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

.page-khuyen-mai .faq-answer .btn-link:hover {
  text-decoration: underline;
}

.page-khuyen-mai .section-conclusion {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(135deg, #0056b3 0%, var(--primary-color) 100%);
  color: var(--text-light);
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai .section-conclusion h2 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-khuyen-mai .section-conclusion p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-khuyen-mai .primary-cta {
  background: var(--secondary-color);
  color: var(--text-dark);
  padding: 18px 50px;
  font-size: 1.3em;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-khuyen-mai .primary-cta:hover {
  background: #e0a800;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-khuyen-mai h1 {
    font-size: 2.2em;
  }
  .page-khuyen-mai h2 {
    font-size: 1.8em;
  }
  .page-khuyen-mai h3 {
    font-size: 1.3em;
  }
  .page-khuyen-mai .hero-banner {
    padding: 40px 15px;
  }
  .page-khuyen-mai .hero-content p {
    font-size: 1em;
  }
  .page-khuyen-mai .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-khuyen-mai .features-grid, .page-khuyen-mai .promo-cards, .page-khuyen-mai .steps-container {
    grid-template-columns: 1fr;
  }
  .page-khuyen-mai .feature-item, .page-khuyen-mai .promo-card, .page-khuyen-mai .step-item {
    padding: 20px;
  }
  .page-khuyen-mai .promo-card img {
    height: 180px;
  }
  .page-khuyen-mai .promo-card .btn-primary {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-khuyen-mai .section-conclusion {
    padding: 40px 15px;
  }
  .page-khuyen-mai .primary-cta {
    padding: 15px 35px;
    font-size: 1.2em;
  }
  .page-khuyen-mai .faq-question {
    padding: 12px 15px;
  }
  .page-khuyen-mai .faq-question h3 {
    font-size: 1.1em;
  }
  .page-khuyen-mai .faq-answer {
    padding: 0 15px;
  }
  .page-khuyen-mai .faq-item.active .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .page-khuyen-mai h1 {
    font-size: 1.8em;
  }
  .page-khuyen-mai h2 {
    font-size: 1.5em;
  }
  .page-khuyen-mai h3 {
    font-size: 1.2em;
  }
  .page-khuyen-mai .hero-image {
    margin-top: 20px;
  }
  .page-khuyen-mai .hero-image img {
    border-radius: 5px;
  }
  .page-khuyen-mai .cta-button {
    font-size: 1em;
    padding: 10px 25px;
  }
  .page-khuyen-mai section {
    padding: 30px 10px;
  }
  .page-khuyen-mai .feature-item img {
    max-width: 200px;
  }
  .page-khuyen-mai .promo-card img {
    height: 150px;
  }
  .page-khuyen-mai .promo-card h3 {
    font-size: 1.3em;
    margin: 15px 15px 8px;
  }
  .page-khuyen-mai .promo-card p {
    padding: 0 15px 15px;
  }
  .page-khuyen-mai .promo-card .btn-primary {
    margin: 0 15px 15px;
  }
  .page-khuyen-mai .step-item img {
    max-width: 200px;
  }
  .page-khuyen-mai .terms-content {
    padding: 20px;
  }
  .page-khuyen-mai .faq-question h3 {
    font-size: 1em;
  }
  .page-khuyen-mai .faq-toggle {
    font-size: 20px;
  }
  .page-khuyen-mai .primary-cta {
    padding: 12px 30px;
    font-size: 1.1em;
  }
}