/* style/khuyn-mi.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A202C; /* Dark Charcoal */
  --text-light: #F0F2F5;
  --text-dark: #333333;
  --background-light: #FFFFFF;
  --background-dark: #2C3E50;
  --accent-red: #E74C3C;
  --accent-green: #2ECC71;
}

.page-khuyn-mi {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

.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: var(--secondary-color);
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-khuyn-mi h1 {
  font-size: 3.2em;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi h2 {
  font-size: 2.5em;
  position: relative;
  padding-bottom: 15px;
  margin-top: 40px;
}

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

.page-khuyn-mi h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

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

.page-khuyn-mi a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-khuyn-mi__cta-button {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary-color), #FFC107);
  color: var(--secondary-color);
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
  border: none;
  cursor: pointer;
}

.page-khuyn-mi__cta-button:hover {
  background: linear-gradient(90deg, #FFC107, var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: var(--secondary-color);
}

.page-khuyn-mi__button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid var(--primary-color);
}

.page-khuyn-mi__button:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
}

/* Hero Section */
.page-khuyn-mi__hero-section {
  background: var(--secondary-color);
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.page-khuyn-mi__hero-content {
  max-width: 900px;
}

.page-khuyn-mi__hero-content h1 {
  color: var(--primary-color);
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.page-khuyn-mi__hero-content p {
  font-size: 1.3em;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--text-light);
}

/* Why Choose Us Section */
.page-khuyn-mi__why-choose-us {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-khuyn-mi__feature-item {
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-khuyn-mi__feature-item:hover {
  transform: translateY(-10px);
}

.page-khuyn-mi__feature-item h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-khuyn-mi__feature-item p {
  font-size: 1em;
  color: var(--text-dark);
}

.page-khuyn-mi__feature-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Featured Promotions Section */
.page-khuyn-mi__featured-promotions {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-khuyn-mi__featured-promotions h2 {
  color: var(--primary-color);
}

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

.page-khuyn-mi__promo-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-khuyn-mi__promo-card h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  padding: 15px 20px 0;
  text-align: left;
  margin-bottom: 10px;
}

.page-khuyn-mi__promo-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-khuyn-mi__promo-card h3 a:hover {
  text-decoration: underline;
}

.page-khuyn-mi__promo-card p {
  font-size: 1em;
  color: var(--text-light);
  padding: 0 20px 15px;
  flex-grow: 1;
  text-align: left;
}

.page-khuyn-mi__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary-color);
}

.page-khuyn-mi__promo-card .page-khuyn-mi__button {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* How To Claim Section */
.page-khuyn-mi__how-to-claim {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

.page-khuyn-mi__step-item {
  text-align: center;
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  position: relative;
}

.page-khuyn-mi__step-icon {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2em;
  font-weight: bold;
  margin: -60px auto 20px;
  border: 5px solid var(--background-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi__step-item h3 {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-top: 15px;
}

.page-khuyn-mi__step-item h3 a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-khuyn-mi__step-item h3 a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-khuyn-mi__step-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: center;
}

/* Terms and Conditions Section */
.page-khuyn-mi__terms-conditions {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-khuyn-mi__terms-conditions p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-khuyn-mi__terms-conditions ul {
  list-style-type: disc;
  margin-left: 25px;
  padding-left: 0;
}

.page-khuyn-mi__terms-conditions li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-khuyn-mi__terms-conditions li strong {
  color: var(--secondary-color);
}

/* FAQ Section */
.page-khuyn-mi__faq {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-khuyn-mi__faq h2 {
  color: var(--primary-color);
}

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

.page-khuyn-mi .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 1px solid #3A475C;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-khuyn-mi .faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: var(--primary-color);
  text-align: left;
}

.page-khuyn-mi .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  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: #2C3E50;
  color: var(--text-light);
}

.page-khuyn-mi .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px;
  border-top: 1px solid #3A475C;
}

.page-khuyn-mi .faq-item.active .faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

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

.page-khuyn-mi .faq-answer p {
  font-size: 1em;
  text-align: left;
  color: var(--text-light);
}

.page-khuyn-mi .faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-khuyn-mi .faq-answer a:hover {
  color: #FFC107;
}

/* Conclusion Section */
.page-khuyn-mi__conclusion {
  padding: 60px 0;
  text-align: center;
  background-color: var(--background-light);
}

.page-khuyn-mi__conclusion p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-khuyn-mi__cta-button--bottom {
  margin-top: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-khuyn-mi h1 {
    font-size: 2.8em;
  }
  .page-khuyn-mi h2 {
    font-size: 2.2em;
  }
  .page-khuyn-mi h3 {
    font-size: 1.6em;
  }
  .page-khuyn-mi__hero-content p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-khuyn-mi__hero-section {
    padding: 60px 15px;
  }
  .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 25px;
    font-size: 1.1em;
  }
  .page-khuyn-mi__features-grid,
  .page-khuyn-mi__promo-grid,
  .page-khuyn-mi__steps {
    grid-template-columns: 1fr;
  }
  .page-khuyn-mi__feature-item,
  .page-khuyn-mi__promo-card,
  .page-khuyn-mi__step-item {
    margin-bottom: 20px;
  }
  .page-khuyn-mi__step-icon {
    margin-top: -40px;
  }
  .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: 15px 20px;
  }
  .page-khuyn-mi__promo-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .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 10px;
  }
  .page-khuyn-mi__cta-button {
    font-size: 1em;
    padding: 10px 20px;
  }
  .page-khuyn-mi__feature-image {
    width: 120px;
    height: 120px;
  }
  .page-khuyn-mi__step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
    margin: -50px auto 15px;
  }
  .page-khuyn-mi__promo-image {
    height: 150px;
  }
}