/* style/khuyn-mi.css */
.page-khuyn-mi {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

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

.page-khuyn-mi__hero {
  background: linear-gradient(135deg, #FFD700 0%, #00008B 100%);
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-khuyn-mi__hero-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: auto;
  opacity: 0.2;
  filter: grayscale(100%); /* Example of non-color-changing filter, but for images, it's generally best to avoid any filter. */
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: luminosity;
}

@media (max-width: 768px) {
  .page-khuyn-mi__hero-image {
    width: 200px;
    bottom: -20px;
    right: -20px;
  }
}

.page-khuyn-mi__hero .page-khuyn-mi__container {
  position: relative;
  z-index: 2;
}

.page-khuyn-mi__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-khuyn-mi__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-khuyn-mi__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  text-align: center;
}

.page-khuyn-mi__button--primary {
  background-color: #FFD700;
  color: #00008B;
  border: 2px solid #FFD700;
}

.page-khuyn-mi__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi__button--secondary {
  background-color: #00008B;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-khuyn-mi__button--secondary:hover {
  background-color: #00006b;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi__section {
  padding: 60px 0;
  background-color: #f9f9f9;
  color: #333;
}

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

.page-khuyn-mi__section-title {
  font-size: 2.5em;
  color: #00008B;
  text-align: center;
  margin-bottom: 30px;
  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__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555;
}

.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: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  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__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-khuyn-mi__promo-card-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  border: 4px solid #FFD700;
  padding: 10px;
}

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

.page-khuyn-mi__promo-card-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-khuyn-mi__button--secondary.page-khuyn-mi__promo-card-button {
  margin-top: auto;
}

.page-khuyn-mi__promo-item {
  background-color: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 40px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-khuyn-mi__promo-item-title {
  font-size: 2em;
  color: #00008B;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-khuyn-mi__promo-item-description {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 30px;
  max-width: 900px;
}

.page-khuyn-mi__promo-item-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-khuyn-mi__button--detail {
  background-color: #FFD700;
  color: #00008B;
  border: 2px solid #FFD700;
  padding: 12px 25px;
  font-size: 1em;
}

.page-khuyn-mi__button--detail:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-khuyn-mi__steps {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.page-khuyn-mi__step-item {
  background-color: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  flex: 1 1 calc(50% - 30px);
  max-width: calc(50% - 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-khuyn-mi__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #00008B;
  color: #FFD700;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi__step-title {
  font-size: 1.5em;
  color: #00008B;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-khuyn-mi__step-content p {
  color: #666;
  font-size: 1em;
}

.page-khuyn-mi__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-khuyn-mi__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-khuyn-mi__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-khuyn-mi__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  text-align: left;
}

.page-khuyn-mi__faq-question {
  font-size: 1.3em;
  color: #00008B;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-khuyn-mi__faq-answer {
  font-size: 1em;
  color: #555;
}

.page-khuyn-mi__terms-list {
  list-style: disc;
  text-align: left;
  max-width: 900px;
  margin: 30px auto;
  padding-left: 25px;
  color: #555;
}

.page-khuyn-mi__terms-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-khuyn-mi__section--terms .page-khuyn-mi__section-outro {
  margin-top: 40px;
  color: #555;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-khuyn-mi__hero-title {
    font-size: 2.5em;
  }
  .page-khuyn-mi__section-title {
    font-size: 2em;
  }
  .page-khuyn-mi__promo-card-title {
    font-size: 1.4em;
  }
  .page-khuyn-mi__promo-item-title {
    font-size: 1.8em;
  }
  .page-khuyn-mi__step-item {
    flex: 1 1 calc(100% - 20px);
    max-width: calc(100% - 20px);
  }
}

@media (max-width: 768px) {
  .page-khuyn-mi__hero {
    padding: 60px 0;
  }
  .page-khuyn-mi__hero-title {
    font-size: 2em;
  }
  .page-khuyn-mi__hero-description {
    font-size: 1em;
  }
  .page-khuyn-mi__section {
    padding: 40px 0;
  }
  .page-khuyn-mi__section-title {
    font-size: 1.8em;
  }
  .page-khuyn-mi__section-intro {
    font-size: 0.95em;
  }
  .page-khuyn-mi__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-khuyn-mi__promo-item {
    padding: 25px;
  }
  .page-khuyn-mi__promo-item-title {
    font-size: 1.5em;
  }
  .page-khuyn-mi__promo-item-description {
    font-size: 0.95em;
  }
  .page-khuyn-mi__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-khuyn-mi__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-khuyn-mi__faq-question {
    font-size: 1.1em;
  }
  .page-khuyn-mi__faq-answer {
    font-size: 0.9em;
  }
  .page-khuyn-mi__terms-list {
    padding-left: 20px;
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-khuyn-mi__hero-title {
    font-size: 1.8em;
  }
  .page-khuyn-mi__button {
    font-size: 1em;
  }
  .page-khuyn-mi__section-title {
    font-size: 1.5em;
  }
  .page-khuyn-mi__promo-card-image {
    width: 80px;
    height: 80px;
  }
  .page-khuyn-mi__promo-card-title {
    font-size: 1.2em;
  }
  .page-khuyn-mi__promo-item-title {
    font-size: 1.3em;
  }
  .page-khuyn-mi__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }
  .page-khuyn-mi__step-title {
    font-size: 1.3em;
  }
}