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

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

.page-khuyn-mi section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-khuyn-mi section:nth-of-type(odd) {
  background-color: #ffffff;
}

.page-khuyn-mi .section-title {
  font-size: 36px;
  color: #8B0000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}

.page-khuyn-mi .section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-khuyn-mi .section-text {
  font-size: 17px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #555555;
}

/* 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, #FFD700, #8B0000);
  color: #ffffff;
}

.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;
}

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

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

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

.page-khuyn-mi .hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-khuyn-mi .hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #eeeeee;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-khuyn-mi .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #FFD700;
  color: #8B0000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 22px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid #FFD700;
}

.page-khuyn-mi .cta-button:hover {
  background: #8B0000;
  color: #FFD700;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-color: #8B0000;
}

.page-khuyn-mi .cta-button-small {
  display: inline-block;
  padding: 12px 30px;
  background: #FFD700;
  color: #8B0000;
  text-decoration: none;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #FFD700;
}

.page-khuyn-mi .cta-button-small:hover {
  background: #8B0000;
  color: #FFD700;
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border-color: #8B0000;
}

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

.page-khuyn-mi .offer-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.page-khuyn-mi .offer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-khuyn-mi .offer-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-khuyn-mi .offer-card .card-title {
  font-size: 24px;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-khuyn-mi .offer-card .card-title a {
  color: #8B0000;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-khuyn-mi .offer-card .card-description {
  font-size: 16px;
  color: #666666;
  margin-bottom: 25px;
}

.page-khuyn-mi .offer-card .card-button {
  display: inline-block;
  padding: 10px 25px;
  background: #FFD700;
  color: #8B0000;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 1px solid #FFD700;
}

.page-khuyn-mi .offer-card .card-button:hover {
  background: #8B0000;
  color: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-color: #8B0000;
}

/* How To Claim */
.page-khuyn-mi .claim-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  text-align: left;
}

.page-khuyn-mi .claim-steps li {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 18px;
  color: #444444;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.page-khuyn-mi .claim-steps li:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-khuyn-mi .step-highlight {
  color: #8B0000;
  font-weight: bold;
}

.page-khuyn-mi .claim-steps li a {
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
}

.page-khuyn-mi .claim-steps li a:hover {
  text-decoration: underline;
  color: #FFD700;
}

/* Benefits */
.page-khuyn-mi .benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.page-khuyn-mi .benefit-list li {
  background-color: #fefefe;
  border: 1px solid #ddd;
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  padding: 20px 25px;
  font-size: 17px;
  color: #444;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.page-khuyn-mi .benefit-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-khuyn-mi .benefit-highlight {
  color: #8B0000;
  font-weight: bold;
}

/* FAQ Section */
.page-khuyn-mi .faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #8B0000;
  color: #ffffff;
  border: 1px solid #8B0000;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
  background: #a00000;
  border-color: #a00000;
}

.faq-question h3 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fdfdfd;
  color: #444444;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border: 1px solid #eee;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #FFD700;
}

/* Latest News/Updates Section */
.page-khuyn-mi .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyn-mi .news-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.page-khuyn-mi .news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-khuyn-mi .news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-khuyn-mi .news-card .card-title {
  font-size: 22px;
  color: #8B0000;
  padding: 20px 25px 10px;
  font-weight: bold;
}

.page-khuyn-mi .news-card .card-title a {
  color: #8B0000;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-khuyn-mi .news-card .card-description {
  font-size: 16px;
  color: #666666;
  padding: 0 25px 20px;
}

.page-khuyn-mi .news-card .card-link {
  display: inline-block;
  padding: 10px 25px;
  background: #FFD700;
  color: #8B0000;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  margin: 0 25px 25px;
  transition: all 0.3s ease;
  border: 1px solid #FFD700;
}

.page-khuyn-mi .news-card .card-link:hover {
  background: #8B0000;
  color: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-color: #8B0000;
}

.page-khuyn-mi .view-all-news {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-khuyn-mi .hero-title {
    font-size: 42px;
  }
  .page-khuyn-mi .hero-description {
    font-size: 18px;
  }
  .page-khuyn-mi .cta-button {
    padding: 15px 35px;
    font-size: 20px;
  }
  .page-khuyn-mi .section-title {
    font-size: 32px;
  }
  .page-khuyn-mi .offer-grid, .page-khuyn-mi .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-khuyn-mi .offer-card, .page-khuyn-mi .news-card {
    padding: 25px;
  }
  .page-khuyn-mi .offer-card img {
    max-width: 250px;
  }
  .page-khuyn-mi .news-card img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-khuyn-mi .hero-section {
    padding: 40px 15px;
  }
  .page-khuyn-mi .hero-title {
    font-size: 32px;
  }
  .page-khuyn-mi .hero-description {
    font-size: 16px;
  }
  .page-khuyn-mi .cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }
  .page-khuyn-mi .section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-khuyn-mi .section-text {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-khuyn-mi section {
    padding: 40px 0;
  }
  .page-khuyn-mi .offer-grid, .page-khuyn-mi .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-khuyn-mi .offer-card, .page-khuyn-mi .news-card {
    padding: 20px;
  }
  .page-khuyn-mi .offer-card img {
    max-width: 200px;
    margin-bottom: 20px;
  }
  .page-khuyn-mi .offer-card .card-title {
    font-size: 20px;
  }
  .page-khuyn-mi .offer-card .card-description {
    font-size: 15px;
  }
  .page-khuyn-mi .news-card img {
    height: 180px;
  }
  .page-khuyn-mi .news-card .card-title {
    font-size: 18px;
    padding: 15px 20px 8px;
  }
  .page-khuyn-mi .news-card .card-description {
    font-size: 14px;
    padding: 0 20px 15px;
  }
  .page-khuyn-mi .news-card .card-link {
    margin: 0 20px 20px;
  }
  .page-khuyn-mi .claim-steps li, .page-khuyn-mi .benefit-list li {
    font-size: 16px;
    padding: 15px 20px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 18px;
  }
  .faq-toggle {
    font-size: 24px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-khuyn-mi .hero-image {
    margin-bottom: 20px;
  }
  .page-khuyn-mi .hero-image img {
    border-radius: 8px;
  }
  .page-khuyn-mi .hero-title {
    font-size: 28px;
  }
  .page-khuyn-mi .hero-description {
    font-size: 14px;
    margin-bottom: 30px;
  }
  .page-khuyn-mi .cta-button {
    padding: 10px 25px;
    font-size: 16px;
  }
  .page-khuyn-mi .section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }
  .page-khuyn-mi .section-text {
    font-size: 14px;
    margin-bottom: 15px;
  }
  .page-khuyn-mi .offer-card .card-title {
    font-size: 18px;
  }
  .page-khuyn-mi .offer-card .card-description {
    font-size: 14px;
  }
  .page-khuyn-mi .claim-steps li, .page-khuyn-mi .benefit-list li {
    font-size: 15px;
    padding: 12px 15px;
  }
  .faq-question h3 {
    font-size: 16px;
  }
  .faq-toggle {
    font-size: 22px;
  }
}