.page-khuyen-mai {
  --primary-color: #FFD700; /* Vàng */
  --secondary-color: #8B0000; /* Đỏ sẫm */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f5f5f5;
  --bg-dark: #222222;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

.page-khuyen-mai-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-khuyen-mai-section {
  padding: 60px 0;
  text-align: center;
}

.page-khuyen-mai-section:nth-of-type(even) {
  background-color: var(--bg-light);
}

.page-khuyen-mai h1,
.page-khuyen-mai h2 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-khuyen-mai h3 {
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.8em;
}

.page-khuyen-mai p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-khuyen-mai ul,
.page-khuyen-mai ol {
  text-align: left;
  margin: 0 auto 20px auto;
  padding-left: 20px;
  max-width: 800px;
  font-size: 1.05em;
}

.page-khuyen-mai ul li,
.page-khuyen-mai ol li {
  margin-bottom: 10px;
}

/* Hero Section */
.page-khuyen-mai-hero {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-khuyen-mai-hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.page-khuyen-mai-hero-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
  object-fit: cover;
}

.page-khuyen-mai-hero-content h1 {
  font-size: 3.5em;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.page-khuyen-mai-hero-content p {
  font-size: 1.3em;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 30px auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-khuyen-mai-cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 18px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.4em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--text-light);
}

.page-khuyen-mai-cta-button:hover {
  background-color: var(--text-light);
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Content Cards */
.page-khuyen-mai-content-card {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  text-align: left;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.page-khuyen-mai-content-card-reverse {
  flex-direction: row-reverse;
}

.page-khuyen-mai-content-card .page-khuyen-mai-card-image {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-khuyen-mai-content-card .page-khuyen-mai-card-text {
  flex: 1;
  max-width: 50%;
}

.page-khuyen-mai-content-card h2 {
  color: var(--secondary-color);
  font-size: 2em;
  margin-top: 0;
}

.page-khuyen-mai-content-card h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 25px;
}

.page-khuyen-mai-content-card ul,
.page-khuyen-mai-content-card ol {
  margin-left: 20px;
  padding-left: 0;
  max-width: none;
}

.page-khuyen-mai-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.page-khuyen-mai-btn-primary {
  background-color: var(--secondary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
}

.page-khuyen-mai-btn-primary:hover {
  background-color: #a30000;
  border-color: #a30000;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai-btn-secondary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-khuyen-mai-btn-secondary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai-btn-outline {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-khuyen-mai-btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Grid for Special Events */
.page-khuyen-mai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyen-mai-grid .page-khuyen-mai-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;
}

.page-khuyen-mai-grid .page-khuyen-mai-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai-grid .page-khuyen-mai-card-image-small {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.page-khuyen-mai-grid .page-khuyen-mai-card h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-khuyen-mai-grid .page-khuyen-mai-card p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

/* FAQ Section */
.page-khuyen-mai-faq {
  background-color: var(--bg-light);
}

.page-khuyen-mai-faq .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

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

.page-khuyen-mai-faq .faq-question:hover {
  background-color: #f0f0f0;
}

.page-khuyen-mai-faq .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--text-dark);
  text-align: left;
  flex-grow: 1;
}

.page-khuyen-mai-faq .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.page-khuyen-mai-faq .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-khuyen-mai-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #f9f9f9;
  color: var(--text-dark);
  text-align: left;
}

.page-khuyen-mai-faq .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.page-khuyen-mai-faq .faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

/* Conclusion Section */
.page-khuyen-mai-conclusion h2 {
  color: var(--secondary-color);
}

.page-khuyen-mai-conclusion p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-khuyen-mai-hero-content h1 {
    font-size: 2.8em;
  }
  .page-khuyen-mai-hero-content p {
    font-size: 1.1em;
  }
  .page-khuyen-mai-cta-button {
    padding: 15px 35px;
    font-size: 1.2em;
  }
  .page-khuyen-mai-content-card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  .page-khuyen-mai-content-card-reverse {
    flex-direction: column;
  }
  .page-khuyen-mai-content-card .page-khuyen-mai-card-image {
    max-width: 80%;
    margin-bottom: 30px;
  }
  .page-khuyen-mai-content-card .page-khuyen-mai-card-text {
    max-width: 100%;
  }
  .page-khuyen-mai-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-khuyen-mai-hero {
    padding: 60px 15px;
  }
  .page-khuyen-mai-hero-content h1 {
    font-size: 2.2em;
  }
  .page-khuyen-mai-hero-content p {
    font-size: 1em;
  }
  .page-khuyen-mai-cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-khuyen-mai-section {
    padding: 40px 0;
  }
  .page-khuyen-mai h1,
  .page-khuyen-mai h2 {
    font-size: 2em;
  }
  .page-khuyen-mai h3 {
    font-size: 1.5em;
  }
  .page-khuyen-mai-faq .faq-question {
    padding: 15px 20px;
  }
  .page-khuyen-mai-faq .faq-question h3 {
    font-size: 1.1em;
  }
  .page-khuyen-mai-faq .faq-toggle {
    font-size: 20px;
  }
  .page-khuyen-mai-faq .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-khuyen-mai-hero-content h1 {
    font-size: 1.8em;
  }
  .page-khuyen-mai-hero-content p {
    font-size: 0.95em;
  }
  .page-khuyen-mai-cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-khuyen-mai h1,
  .page-khuyen-mai h2 {
    font-size: 1.8em;
  }
  .page-khuyen-mai h3 {
    font-size: 1.3em;
  }
  .page-khuyen-mai-content-card .page-khuyen-mai-card-image {
    max-width: 100%;
  }
  .page-khuyen-mai-btn {
    font-size: 1em;
    padding: 10px 20px;
  }
}