/* style/khuyn-mi.css */
.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__section {
  padding: 60px 0;
  text-align: center;
}

.page-khuyn-mi__section:nth-of-type(even) {
  background-color: #f0f0f0;
}

.page-khuyn-mi__section-title {
  font-size: 2.5em;
  color: #003366;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-khuyn-mi__text-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
}

/* Hero Section */
.page-khuyn-mi__hero {
  background: linear-gradient(135deg, #003366 0%, #001a33 100%);
  color: #fff;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.page-khuyn-mi__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  padding: 0 20px;
}

.page-khuyn-mi__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

.page-khuyn-mi__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-khuyn-mi__hero-btn {
  display: inline-block;
  background-color: #DC143C;
  color: #fff;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi__hero-btn:hover {
  background-color: #e63946;
  transform: translateY(-3px);
}

.page-khuyn-mi__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

/* Why Choose Section */
.page-khuyn-mi__why-choose .page-khuyn-mi__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyn-mi__grid-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-khuyn-mi__grid-item:hover {
  transform: translateY(-5px);
}

.page-khuyn-mi__grid-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

.page-khuyn-mi__grid-item p {
  color: #555;
}

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

.page-khuyn-mi__promo-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyn-mi__promo-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-khuyn-mi__promo-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-khuyn-mi__promo-card-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
}

.page-khuyn-mi__promo-card p {
  color: #555;
  margin-bottom: 25px;
}

.page-khuyn-mi__promo-card-btn {
  display: inline-block;
  background-color: #FFD700;
  color: #003366;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-khuyn-mi__promo-card-btn:hover {
  background-color: #e6c200;
  color: #001a33;
}

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

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

.page-khuyn-mi__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #003366;
  color: #FFD700;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  border: 4px solid #f8f8f8;
}

.page-khuyn-mi__step-title {
  font-size: 1.4em;
  color: #003366;
  margin-bottom: 15px;
}

.page-khuyn-mi__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.page-khuyn-mi__step-item a {
  color: #DC143C;
  font-weight: bold;
  text-decoration: none;
}

.page-khuyn-mi__step-item a:hover {
  text-decoration: underline;
}

/* Terms Section */
.page-khuyn-mi__terms-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-khuyn-mi__terms-list li {
  background-color: #fff;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #444;
}

.page-khuyn-mi__terms-list li strong {
  color: #003366;
}

/* FAQ Section */
.page-khuyn-mi__faq-accordion {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-khuyn-mi__faq-item {
  background-color: #fff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.page-khuyn-mi__faq-question {
  font-size: 1.3em;
  color: #003366;
  padding: 20px 25px;
  cursor: pointer;
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f0f5fa;
  border-bottom: 1px solid #e0e5ea;
}

.page-khuyn-mi__faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: #DC143C;
  transition: transform 0.3s ease;
}

.page-khuyn-mi__faq-item.active .page-khuyn-mi__faq-question::after {
  transform: rotate(45deg);
}

.page-khuyn-mi__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  background-color: #fff;
  color: #555;
}

.page-khuyn-mi__faq-item.active .page-khuyn-mi__faq-answer {
  max-height: 200px; /* Adjust based on content */
  padding: 20px 25px;
}

/* Call to Action Section */
.page-khuyn-mi__cta {
  background: linear-gradient(45deg, #003366, #001a33);
  color: #fff;
  padding: 80px 0;
}

.page-khuyn-mi__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 25px;
}

.page-khuyn-mi__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-khuyn-mi__cta-btn {
  display: inline-block;
  background-color: #DC143C;
  color: #fff;
  padding: 18px 45px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi__cta-btn:hover {
  background-color: #e63946;
  transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-khuyn-mi__hero-title {
    font-size: 2.8em;
  }
  .page-khuyn-mi__section-title {
    font-size: 2em;
  }
  .page-khuyn-mi__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-khuyn-mi__hero {
    padding: 80px 0;
    min-height: 400px;
  }
  .page-khuyn-mi__hero-title {
    font-size: 2.2em;
  }
  .page-khuyn-mi__hero-description {
    font-size: 1.1em;
  }
  .page-khuyn-mi__hero-btn, .page-khuyn-mi__cta-btn {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-khuyn-mi__section {
    padding: 40px 0;
  }
  .page-khuyn-mi__section-title {
    font-size: 1.8em;
  }
  .page-khuyn-mi__grid, .page-khuyn-mi__promo-grid, .page-khuyn-mi__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-khuyn-mi__grid-item, .page-khuyn-mi__promo-card, .page-khuyn-mi__step-item {
    padding: 25px;
  }
  .page-khuyn-mi__step-number {
    top: -15px;
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-khuyn-mi__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-khuyn-mi__faq-answer {
    padding: 15px 20px;
  }
  .page-khuyn-mi__cta-title {
    font-size: 1.8em;
  }
  .page-khuyn-mi__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-khuyn-mi__hero-title {
    font-size: 1.8em;
  }
  .page-khuyn-mi__hero-description {
    font-size: 1em;
  }
  .page-khuyn-mi__hero-btn {
    font-size: 1em;
    padding: 10px 25px;
  }
  .page-khuyn-mi__section-title {
    font-size: 1.5em;
  }
  .page-khuyn-mi__grid-title, .page-khuyn-mi__promo-card-title, .page-khuyn-mi__step-title {
    font-size: 1.3em;
  }
  .page-khuyn-mi__cta-title {
    font-size: 1.6em;
  }
}