.page-khuyn-mi {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-khuyn-mi h1,
.page-khuyn-mi h2,
.page-khuyn-mi h3 {
  color: #3A0CA3;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-khuyn-mi h1 {
  font-size: 3em;
  text-align: center;
  margin-top: 0;
  margin-bottom: 25px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-khuyn-mi h2 {
  font-size: 2.5em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-khuyn-mi h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #3A0CA3;
}

.page-khuyn-mi p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #555;
}

.page-khuyn-mi a {
  color: #3A0CA3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-khuyn-mi a:hover {
  color: #FFD700;
}

.page-khuyn-mi .button,
.page-khuyn-mi .cta-button,
.page-khuyn-mi .button-small {
  display: inline-block;
  padding: 12px 25px;
  background-color: #FFD700;
  color: #3A0CA3;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-khuyn-mi .button:hover,
.page-khuyn-mi .cta-button:hover,
.page-khuyn-mi .button-small:hover {
  background-color: #3A0CA3;
  color: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi .button-small {
  padding: 8px 18px;
  font-size: 0.95em;
}

/* Hero Section */
.page-khuyn-mi .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, #3A0CA3 0%, #6A0DAD 100%); /* Adjusted gradient for better contrast */
  overflow: hidden;
}

.page-khuyn-mi .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: 2;
}

.page-khuyn-mi .hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

.page-khuyn-mi .hero-content p {
  color: #f0f0f0;
  font-size: 1.25em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-khuyn-mi .cta-button {
  padding: 18px 45px;
  font-size: 1.3em;
  background-color: #FFD700;
  color: #3A0CA3;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi .cta-button:hover {
  background-color: #f7c300;
  color: #2a087a;
}

/* Intro Section */
.page-khuyn-mi .intro-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-khuyn-mi .intro-section p {
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-khuyn-mi .intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyn-mi .intro-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  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;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.page-khuyn-mi .intro-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-khuyn-mi .intro-item h3 {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-khuyn-mi .intro-item p {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

/* Promo Categories Section */
.page-khuyn-mi .promo-categories {
  padding: 60px 0;
  background-color: #f2f2f2;
}

.page-khuyn-mi .promo-categories > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-khuyn-mi .category-card {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  overflow: hidden;
}

.page-khuyn-mi .category-card.reverse {
  flex-direction: row-reverse;
}

.page-khuyn-mi .card-image {
  width: 50%;
  height: 350px;
  object-fit: cover;
}

.page-khuyn-mi .card-content {
  width: 50%;
  padding: 30px 40px;
}

.page-khuyn-mi .card-content h3 {
  font-size: 2em;
  margin-top: 0;
  margin-bottom: 20px;
}

.page-khuyn-mi .card-content p {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 25px;
}

/* Terms and Conditions Section */
.page-khuyn-mi .tnc-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-khuyn-mi .tnc-list ul {
  list-style: disc;
  padding-left: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-khuyn-mi .tnc-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #444;
}

.page-khuyn-mi .tnc-list li strong {
  color: #3A0CA3;
}

.page-khuyn-mi .tnc-section .button {
  margin-top: 20px;
}

/* How to Claim Section */
.page-khuyn-mi .how-to-claim-section {
  padding: 60px 0;
  background-color: #f2f2f2;
  text-align: center;
}

.page-khuyn-mi .how-to-claim-section > p {
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

.page-khuyn-mi .step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-khuyn-mi .step-icon {
  width: 60px;
  height: 60px;
  background-color: #3A0CA3;
  color: #FFD700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi .step-item h3 {
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-khuyn-mi .step-item p {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

.page-khuyn-mi .note {
  font-style: italic;
  margin-top: 40px;
  color: #777;
  font-size: 0.95em;
}

/* FAQ Section */
.page-khuyn-mi .faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-khuyn-mi .faq-list {
  margin-top: 40px;
}

.page-khuyn-mi .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-khuyn-mi .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-khuyn-mi .faq-question:hover {
  background: #f5f5f5;
}

.page-khuyn-mi .faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: #3A0CA3;
}

.page-khuyn-mi .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-khuyn-mi .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #3A0CA3;
}

.page-khuyn-mi .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fcfcfc;
}

.page-khuyn-mi .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 25px;
  border-top: 1px solid #eee;
}

.page-khuyn-mi .faq-answer p {
  margin: 0;
  color: #555;
}

/* CTA Bottom Section */
.page-khuyn-mi .cta-bottom-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #3A0CA3, #6A0DAD);
  color: #ffffff;
  text-align: center;
}

.page-khuyn-mi .cta-bottom-section h2 {
  color: #FFD700;
  font-size: 2.8em;
  margin-bottom: 25px;
}

.page-khuyn-mi .cta-bottom-section p {
  color: #f0f0f0;
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-khuyn-mi .cta-bottom-section .cta-button {
  background-color: #FFD700;
  color: #3A0CA3;
  padding: 20px 50px;
  font-size: 1.4em;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi .cta-bottom-section .cta-button:hover {
  background-color: #f7c300;
  color: #2a087a;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-khuyn-mi h1 {
    font-size: 2.5em;
  }
  .page-khuyn-mi h2 {
    font-size: 2em;
  }
  .page-khuyn-mi h3 {
    font-size: 1.6em;
  }
  .page-khuyn-mi .hero-content p {
    font-size: 1.1em;
  }
  .page-khuyn-mi .cta-button {
    padding: 15px 35px;
    font-size: 1.2em;
  }
  .page-khuyn-mi .category-card {
    flex-direction: column;
  }
  .page-khuyn-mi .category-card.reverse {
    flex-direction: column;
  }
  .page-khuyn-mi .card-image,
  .page-khuyn-mi .card-content {
    width: 100%;
  }
  .page-khuyn-mi .card-image {
    height: 250px;
  }
  .page-khuyn-mi .card-content {
    padding: 25px;
  }
  .page-khuyn-mi .card-content h3 {
    font-size: 1.8em;
  }
  .page-khuyn-mi .tnc-list ul {
    padding-left: 20px;
  }
  .page-khuyn-mi .faq-question h3 {
    font-size: 1.2em;
  }
  .page-khuyn-mi .faq-toggle {
    font-size: 20px;
  }
  .page-khuyn-mi .cta-bottom-section h2 {
    font-size: 2.2em;
  }
  .page-khuyn-mi .cta-bottom-section p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-khuyn-mi h1 {
    font-size: 2em;
  }
  .page-khuyn-mi h2 {
    font-size: 1.8em;
  }
  .page-khuyn-mi h3 {
    font-size: 1.4em;
  }
  .page-khuyn-mi .hero-section {
    padding: 40px 15px;
  }
  .page-khuyn-mi .hero-content p {
    font-size: 1em;
  }
  .page-khuyn-mi .cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-khuyn-mi .intro-section,
  .page-khuyn-mi .promo-categories,
  .page-khuyn-mi .tnc-section,
  .page-khuyn-mi .how-to-claim-section,
  .page-khuyn-mi .faq-section,
  .page-khuyn-mi .cta-bottom-section {
    padding: 40px 0;
  }
  .page-khuyn-mi .intro-grid,
  .page-khuyn-mi .steps-grid {
    grid-template-columns: 1fr;
  }
  .page-khuyn-mi .card-content {
    padding: 20px;
  }
  .page-khuyn-mi .faq-question h3 {
    font-size: 1.1em;
  }
  .page-khuyn-mi .faq-answer {
    padding: 0 20px;
  }
  .page-khuyn-mi .faq-item.active .faq-answer {
    padding: 20px;
  }
  .page-khuyn-mi .cta-bottom-section h2 {
    font-size: 1.8em;
  }
  .page-khuyn-mi .cta-bottom-section p {
    font-size: 1em;
  }
  .page-khuyn-mi .intro-item a,
  .page-khuyn-mi .card-content a,
  .page-khuyn-mi .tnc-section a,
  .page-khuyn-mi .how-to-claim-section a {
    font-size: 0.9em;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-khuyn-mi h1 {
    font-size: 1.8em;
  }
  .page-khuyn-mi h2 {
    font-size: 1.6em;
  }
  .page-khuyn-mi .hero-image {
    margin-bottom: 20px;
  }
  .page-khuyn-mi .hero-content p {
    font-size: 0.9em;
    margin-bottom: 20px;
  }
  .page-khuyn-mi .cta-button {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-khuyn-mi .card-image {
    height: 200px;
  }
  .page-khuyn-mi .faq-question h3 {
    font-size: 1em;
  }
  .page-khuyn-mi .faq-toggle {
    font-size: 18px;
  }
}