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

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

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

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

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

.page-khuyn-mi h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-khuyn-mi h3 {
  font-size: 1.8em;
  color: #0A2038;
}

.page-khuyn-mi p {
  margin-bottom: 15px;
  color: #555555;
}

.page-khuyn-mi strong {
  color: #0A2038;
}

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

.page-khuyn-mi a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-khuyn-mi .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: #FFD700;
  color: #0A2038;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-khuyn-mi .btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: #0A2038;
  color: #FFD700;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-khuyn-mi .btn-small:hover {
  background: #1a3a5a;
  color: #ffffff;
  transform: translateY(-1px);
}

/* 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, #0A2038 0%, #1a3a5a 100%);
  color: #ffffff;
  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;
}

.page-khuyn-mi .hero-image {
  width: 100%;
  max-width: 800px;
  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 25px rgba(0, 0, 0, 0.5);
}

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

.page-khuyn-mi .hero-content p {
  color: #e0e0e0;
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* General Section Styling */
.page-khuyn-mi section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.page-khuyn-mi .offer-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-khuyn-mi .offer-card img {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-khuyn-mi .offer-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  min-height: 60px; /* Ensure consistent height for titles */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-khuyn-mi .offer-card h3 a {
  color: #0A2038;
}

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

.page-khuyn-mi .offer-card p {
  font-size: 1em;
  color: #666666;
  flex-grow: 1;
}

/* Feature List (Sports Promotions) */
.page-khuyn-mi .feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyn-mi .feature-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-khuyn-mi .feature-item img {
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-khuyn-mi .feature-item h3 {
  font-size: 1.4em;
  color: #0A2038;
  margin-bottom: 10px;
}

.page-khuyn-mi .feature-item p {
  color: #666666;
}

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

.page-khuyn-mi .game-offer-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyn-mi .game-offer-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-khuyn-mi .game-offer-item img {
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-khuyn-mi .game-offer-item h3 {
  font-size: 1.4em;
  color: #0A2038;
  margin-bottom: 10px;
}

.page-khuyn-mi .game-offer-item p {
  color: #666666;
}

/* Program List */
.page-khuyn-mi .program-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-khuyn-mi .program-list li {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyn-mi .program-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-khuyn-mi .program-list li img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.page-khuyn-mi .program-list li h3 {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-khuyn-mi .program-list li p {
  margin-bottom: 0;
}

/* How-to-Claim Steps */
.page-khuyn-mi .steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyn-mi .step-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-khuyn-mi .step-item img {
  max-width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-khuyn-mi .step-item h3 {
  font-size: 1.3em;
  color: #0A2038;
  margin-bottom: 10px;
}

.page-khuyn-mi .step-item p {
  color: #666666;
}

/* FAQ Section */
.page-khuyn-mi .section-faq {
  background-color: #f2f4f6;
}

.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: #ffffff;
  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.2em;
  color: #0A2038;
}

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

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

.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: #f9f9f9;
  color: #666666;
}

.page-khuyn-mi .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
}

.page-khuyn-mi .faq-answer p {
  margin-bottom: 0;
}

/* Contact CTA */
.page-khuyn-mi .section-contact-cta {
  text-align: center;
  background: linear-gradient(135deg, #0A2038 0%, #1a3a5a 100%);
  color: #ffffff;
}

.page-khuyn-mi .section-contact-cta h2 {
  color: #FFD700;
}

.page-khuyn-mi .section-contact-cta h2::after {
  background-color: #FFD700;
}

.page-khuyn-mi .section-contact-cta p {
  color: #e0e0e0;
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-khuyn-mi h1 {
    font-size: 2.8em;
  }

  .page-khuyn-mi h2 {
    font-size: 2em;
  }

  .page-khuyn-mi h3 {
    font-size: 1.5em;
  }

  .page-khuyn-mi .program-list li {
    flex-direction: column;
    text-align: center;
  }

  .page-khuyn-mi .program-list li img {
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .page-khuyn-mi h1 {
    font-size: 2.2em;
  }

  .page-khuyn-mi h2 {
    font-size: 1.8em;
  }

  .page-khuyn-mi h3 {
    font-size: 1.3em;
  }

  .page-khuyn-mi .hero-section {
    padding: 40px 15px;
  }

  .page-khuyn-mi .hero-image img {
    border-radius: 8px;
  }

  .page-khuyn-mi .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-khuyn-mi .offer-grid, .page-khuyn-mi .feature-list, .page-khuyn-mi .game-offer-list, .page-khuyn-mi .steps-container {
    grid-template-columns: 1fr;
  }

  .page-khuyn-mi section {
    padding: 40px 0;
  }

  .page-khuyn-mi .program-list li {
    padding: 20px;
  }

  .page-khuyn-mi .faq-question {
    padding: 15px 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: 15px 20px;
  }
}