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

.page-khuyen-mai__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-khuyen-mai__hero {
  background: linear-gradient(135deg, #0A2463, #FFD700);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-khuyen-mai__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-khuyen-mai__section {
  padding: 60px 0;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
}

.page-khuyen-mai__section:nth-of-type(even) {
  background-color: #f0f4f8;
}

.page-khuyen-mai__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-khuyen-mai__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #555;
}

.page-khuyen-mai__offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-khuyen-mai__offer-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e0e0e0;
}

.page-khuyen-mai__offer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-khuyen-mai__offer-image {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-khuyen-mai__card-title {
  font-size: 1.6em;
  color: #0A2463;
  margin-bottom: 15px;
  min-height: 60px;
}

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

.page-khuyen-mai__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  font-size: 1em;
  white-space: nowrap;
}

.page-khuyen-mai__btn--primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-khuyen-mai__btn--primary:hover {
  background-color: #e6c200;
  color: #0A2463;
  transform: translateY(-2px);
}

.page-khuyen-mai__btn--secondary {
  background-color: #0A2463;
  color: #FFD700;
  border: 2px solid #0A2463;
  margin-top: auto; /* Push button to the bottom */
}

.page-khuyen-mai__btn--secondary:hover {
  background-color: #071a47;
  color: #FFD700;
  transform: translateY(-2px);
}

.page-khuyen-mai__btn--link {
  background: none;
  color: #0A2463;
  border: none;
  padding: 0;
  text-decoration: underline;
  font-size: 1em;
  font-weight: normal;
}

.page-khuyen-mai__btn--link:hover {
  color: #FFD700;
  text-decoration: none;
}

.page-khuyen-mai__steps-list {
  list-style-type: decimal;
  max-width: 800px;
  margin: 0 auto 40px;
  padding-left: 20px;
  color: #555;
}

.page-khuyen-mai__steps-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-khuyen-mai__steps-list li strong {
  color: #0A2463;
}

.page-khuyen-mai__steps-list li a {
  color: #0A2463;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.page-khuyen-mai__steps-list li a:hover {
  color: #FFD700;
}

.page-khuyen-mai__list {
  list-style-type: disc;
  max-width: 800px;
  margin: 0 auto 40px;
  padding-left: 20px;
  color: #555;
}

.page-khuyen-mai__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-khuyen-mai__list li strong {
  color: #0A2463;
}

.page-khuyen-mai__section-outro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: #555;
  font-style: italic;
}

.page-khuyen-mai__app-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-khuyen-mai__app-content {
  flex: 1;
  min-width: 300px;
}

.page-khuyen-mai__app-image-wrapper {
  flex: 1;
  text-align: center;
  min-width: 250px;
}

.page-khuyen-mai__app-image {
  max-width: 80%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-khuyen-mai__detail-list {
  background-color: #f0f4f8;
}

.page-khuyen-mai__detail-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 30px;
  text-align: left;
  border-left: 5px solid #FFD700;
}

.page-khuyen-mai__detail-card:last-child {
  margin-bottom: 0;
}

.page-khuyen-mai__detail-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 10px;
}

.page-khuyen-mai__detail-title a {
  color: #0A2463;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-khuyen-mai__detail-title a:hover {
  color: #FFD700;
}

.page-khuyen-mai__detail-description {
  color: #666;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-khuyen-mai__hero-title {
    font-size: 2.5em;
  }

  .page-khuyen-mai__section-title {
    font-size: 2em;
  }

  .page-khuyen-mai__app-flex {
    flex-direction: column;
    text-align: center;
  }

  .page-khuyen-mai__app-image-wrapper {
    order: -1; /* Image above content on mobile */
  }

  .page-khuyen-mai__app-image {
    max-width: 60%;
  }
}

@media (max-width: 768px) {
  .page-khuyen-mai__hero {
    padding: 60px 0;
  }

  .page-khuyen-mai__hero-title {
    font-size: 2em;
  }

  .page-khuyen-mai__hero-description {
    font-size: 1em;
  }

  .page-khuyen-mai__section {
    padding: 40px 0;
  }

  .page-khuyen-mai__section-title {
    font-size: 1.8em;
  }

  .page-khuyen-mai__section-intro {
    font-size: 0.95em;
  }

  .page-khuyen-mai__offer-card {
    padding: 20px;
  }

  .page-khuyen-mai__card-title {
    font-size: 1.4em;
  }

  .page-khuyen-mai__card-description {
    font-size: 0.9em;
  }

  .page-khuyen-mai__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-khuyen-mai__steps-list, .page-khuyen-mai__list {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-khuyen-mai__hero-title {
    font-size: 1.8em;
  }

  .page-khuyen-mai__section-title {
    font-size: 1.6em;
  }

  .page-khuyen-mai__app-image {
    max-width: 80%;
  }
}