.page-khuyen-mai {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-khuyen-mai h1, .page-khuyen-mai h2, .page-khuyen-mai h3 {
  color: #007bff;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-khuyen-mai h1 {
  font-size: 2.8em;
  text-align: center;
  color: #ffffff;
}

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

.page-khuyen-mai h3 {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-khuyen-mai p {
  margin-bottom: 15px;
}

.page-khuyen-mai .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff;
}

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

.page-khuyen-mai .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-khuyen-mai .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-khuyen-mai .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-khuyen-mai .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0f2ff;
}

.page-khuyen-mai .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #ffc107;
  color: #212529;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-khuyen-mai .section-intro, .page-khuyen-mai .section-how-to, .page-khuyen-mai .section-terms {
  padding: 40px 0;
  background-color: #ffffff;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai .section-promotions-categories {
  padding: 40px 0;
  background-color: #f1f7fe;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai .promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

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

.page-khuyen-mai .promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-khuyen-mai .promotion-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eeeeee;
}

.page-khuyen-mai .promotion-card h3 {
  padding: 15px 20px 10px;
  margin-bottom: 0;
  font-size: 1.4em;
}

.page-khuyen-mai .promotion-card h3 a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-khuyen-mai .promotion-card h3 a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.page-khuyen-mai .promotion-card p {
  padding: 0 20px 15px;
  flex-grow: 1;
  color: #555555;
}

.page-khuyen-mai .btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: #ffc107;
  color: #212529;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

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

.page-khuyen-mai ol, .page-khuyen-mai ul {
  margin: 20px 0;
  padding-left: 40px;
}

.page-khuyen-mai ol li, .page-khuyen-mai ul li {
  margin-bottom: 10px;
  color: #444444;
}

.page-khuyen-mai .section-faq {
  padding: 40px 0;
  background-color: #ffffff;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-khuyen-mai .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

.page-khuyen-mai .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #f9f9f9;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-khuyen-mai .faq-question h3 {
  margin: 0;
  color: #333333;
  font-size: 1.2em;
}

.page-khuyen-mai .faq-toggle {
  font-size: 20px;
  font-weight: bold;
  color: #007bff;
  transition: transform 0.3s ease;
}

.page-khuyen-mai .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: #ffffff;
  color: #555555;
}

.page-khuyen-mai .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 15px;
  border-top: 1px solid #e0e0e0;
}

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

/* 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-content p {
    font-size: 1em;
  }
  .page-khuyen-mai .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-khuyen-mai .promotion-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-khuyen-mai .hero-section {
    padding: 40px 15px;
  }
  .page-khuyen-mai h1 {
    font-size: 1.8em;
  }
  .page-khuyen-mai h2 {
    font-size: 1.6em;
  }
  .page-khuyen-mai h3 {
    font-size: 1.2em;
  }
  .page-khuyen-mai .hero-image {
    margin-bottom: 20px;
  }
  .page-khuyen-mai .hero-image img {
    border-radius: 4px;
  }
  .page-khuyen-mai .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-khuyen-mai .section-intro, .page-khuyen-mai .section-how-to, .page-khuyen-mai .section-terms, .page-khuyen-mai .section-promotions-categories, .page-khuyen-mai .section-faq {
    padding: 20px 0;
  }
  .page-khuyen-mai .container {
    padding: 15px;
  }
  .page-khuyen-mai .promotion-card h3 {
    font-size: 1.2em;
  }
  .page-khuyen-mai .promotion-card p {
    font-size: 0.9em;
  }
  .page-khuyen-mai ol, .page-khuyen-mai ul {
    padding-left: 25px;
  }
  .page-khuyen-mai .faq-question {
    padding: 12px;
  }
  .page-khuyen-mai .faq-question h3 {
    font-size: 1em;
  }
  .page-khuyen-mai .faq-toggle {
    font-size: 18px;
  }
  .page-khuyen-mai .faq-item.active .faq-answer {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .page-khuyen-mai h1 {
    font-size: 1.5em;
  }
  .page-khuyen-mai h2 {
    font-size: 1.4em;
  }
  .page-khuyen-mai .promotion-grid {
    grid-template-columns: 1fr;
  }
  .page-khuyen-mai .cta-button {
    width: 90%;
    box-sizing: border-box;
  }
  .page-khuyen-mai .btn-small {
    width: calc(100% - 40px);
    text-align: center;
  }
}