.page-khuyn-mi {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light grey for general text on dark background */
  background-color: #1A202C; /* Deep dark grey background */
}

.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: #FFD700; /* Gold for headings */
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

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

.page-khuyn-mi h2 {
  font-size: 2.5em;
  margin-top: 50px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.5);
}

.page-khuyn-mi h3 {
  font-size: 1.8em;
  margin-top: 30px;
  color: #FFD700;
}

.page-khuyn-mi p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-khuyn-mi ul,
.page-khuyn-mi ol {
  list-style-position: inside;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-khuyn-mi li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1.05em;
}

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

.page-khuyn-mi a:hover {
  color: #FFC107; /* Slightly darker gold on hover */
  text-decoration: underline;
}

.page-khuyn-mi .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Gold button */
  color: #1A202C; /* Dark text on gold button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-khuyn-mi .cta-button:hover {
  background: #FFC107; /* Slightly darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

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

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

/* Hero Section */
.page-khuyn-mi .hero-section {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #1A202C 0%, #3a3a3a 100%); /* Dark gradient background */
  overflow: hidden;
}

.page-khuyn-mi .hero-container {
  position: relative;
  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: 40px;
  max-width: 900px; /* Limit image width */
}

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

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

.page-khuyn-mi .hero-content h1 {
  color: #FFD700;
  font-size: 3.8em;
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-khuyn-mi .hero-content p {
  color: #E0E0E0;
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Sections Styling */
.page-khuyn-mi .introduction-section,
.page-khuyn-mi .promotion-types-section,
.page-khuyn-mi .terms-conditions-section,
.page-khuyn-mi .how-to-claim-section,
.page-khuyn-mi .faq-section,
.page-khuyn-mi .conclusion-section {
  padding: 60px 0;
}

.page-khuyn-mi .promotion-types-section {
  background-color: #222831; /* Slightly lighter dark background */
}

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

.page-khuyn-mi .promotion-card {
  background-color: #1A202C;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-khuyn-mi .promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.page-khuyn-mi .promotion-card img {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi .promotion-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-khuyn-mi .promotion-card h3 a {
  color: #FFD700;
  text-decoration: none;
}

.page-khuyn-mi .promotion-card h3 a:hover {
  color: #FFC107;
  text-decoration: underline;
}

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

/* FAQ Section */
.page-khuyn-mi .faq-list {
  margin-top: 40px;
}

.page-khuyn-mi .faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  overflow: hidden;
  background-color: #222831;
}

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

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

.page-khuyn-mi .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: #FFD700;
  text-align: left;
  flex-grow: 1;
}

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

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

.page-khuyn-mi .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 25px;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

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

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

/* Conclusion Section */
.page-khuyn-mi .conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-khuyn-mi .conclusion-section p {
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-khuyn-mi .hero-content h1 {
    font-size: 3em;
  }
  .page-khuyn-mi .hero-content p {
    font-size: 1.1em;
  }
  .page-khuyn-mi h2 {
    font-size: 2em;
  }
  .page-khuyn-mi h3 {
    font-size: 1.6em;
  }
  .page-khuyn-mi .promotion-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-khuyn-mi .hero-section {
    padding: 60px 15px;
  }
  .page-khuyn-mi .hero-image {
    margin-bottom: 30px;
  }
  .page-khuyn-mi .hero-content h1 {
    font-size: 2.5em;
  }
  .page-khuyn-mi .hero-content p {
    font-size: 1em;
  }
  .page-khuyn-mi .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-khuyn-mi h2 {
    font-size: 1.8em;
  }
  .page-khuyn-mi h3 {
    font-size: 1.4em;
  }
  .page-khuyn-mi .promotion-card {
    padding: 20px;
  }
  .page-khuyn-mi .promotion-card img {
    height: 200px;
  }
  .page-khuyn-mi .faq-question {
    padding: 15px 20px;
  }
  .page-khuyn-mi .faq-question h3 {
    font-size: 1.1em;
  }
  .page-khuyn-mi .faq-toggle {
    font-size: 1.8em;
  }
  .page-khuyn-mi .faq-answer {
    padding: 0 20px;
  }
  .page-khuyn-mi .faq-item.active .faq-answer {
    padding: 20px;
  }
  .page-khuyn-mi .introduction-section,
  .page-khuyn-mi .promotion-types-section,
  .page-khuyn-mi .terms-conditions-section,
  .page-khuyn-mi .how-to-claim-section,
  .page-khuyn-mi .faq-section,
  .page-khuyn-mi .conclusion-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .page-khuyn-mi .hero-content h1 {
    font-size: 2em;
  }
  .page-khuyn-mi .hero-content p {
    font-size: 0.9em;
  }
  .page-khuyn-mi .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-khuyn-mi h2 {
    font-size: 1.5em;
  }
  .page-khuyn-mi h3 {
    font-size: 1.2em;
  }
  .page-khuyn-mi .promotion-card img {
    height: 180px;
  }
  .page-khuyn-mi .promotion-card h3 {
    font-size: 1.3em;
  }
  .page-khuyn-mi .promotion-card p {
    font-size: 0.9em;
  }
  .page-khuyn-mi .btn-small {
    padding: 8px 20px;
    font-size: 0.85em;
  }
  .page-khuyn-mi .faq-question h3 {
    font-size: 1em;
  }
  .page-khuyn-mi .faq-toggle {
    font-size: 1.5em;
  }
  .page-khuyn-mi .faq-answer p {
    font-size: 0.9em;
  }
}