/* style/khuyn-mi.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f5f5f5;
  --bg-dark: #1a1a1a;
  --accent-color: #FF4500; /* OrangeRed for highlights */
}

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

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

.page-khuyn-mi a:hover {
  color: var(--primary-color);
}

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

/* Hero Section */
.page-khuyn-mi-hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: var(--secondary-color);
  color: var(--text-light);
}

.page-khuyn-mi-hero .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-khuyn-mi-hero .hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

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

.page-khuyn-mi-hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-khuyn-mi-hero p a {
  color: var(--primary-color);
  font-weight: bold;
}

.page-khuyn-mi-hero .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi-hero .cta-button:hover {
  background: #FFC107; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */
.page-khuyn-mi-section {
  padding: 60px 0;
}

.page-khuyn-mi-section.bg-secondary {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-khuyn-mi-section.bg-secondary h2, 
.page-khuyn-mi-section.bg-secondary h3 {
  color: var(--primary-color);
}

.page-khuyn-mi-section.bg-secondary a {
  color: var(--primary-color);
}

.page-khuyn-mi-section h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
}

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

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

.page-khuyn-mi-section ul, .page-khuyn-mi-section ol {
  list-style-position: inside;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-khuyn-mi-section ul li, .page-khuyn-mi-section ol li {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-khuyn-mi-section.bg-secondary ul li, .page-khuyn-mi-section.bg-secondary ol li {
  color: var(--text-light);
}

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

.page-khuyn-mi .promotion-card {
  background-color: #2a2a2a; /* Darker background for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-khuyn-mi .promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-khuyn-mi .promotion-card .card-image {
  width: 100%;
  height: 220px; 
  object-fit: cover;
  display: block;
}

.page-khuyn-mi .promotion-card .card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-khuyn-mi .promotion-card h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-khuyn-mi .promotion-card h3 a {
  color: var(--primary-color);
}

.page-khuyn-mi .promotion-card p {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-khuyn-mi .btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.page-khuyn-mi .btn-primary:hover {
  background: #FFC107;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi .btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin-top: 30px;
}

.page-khuyn-mi .btn-secondary:hover {
  background: #000066;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-khuyn-mi .content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-khuyn-mi .faq-list {
  margin-top: 40px;
}

.page-khuyn-mi .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-khuyn-mi .faq-item.active {
  border-color: var(--primary-color);
}

.page-khuyn-mi .faq-item.active .faq-question {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-khuyn-mi .faq-item.active .faq-question h3 {
  color: var(--secondary-color);
}

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

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

.page-khuyn-mi .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-dark);
}

.page-khuyn-mi .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: var(--secondary-color);
}

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

.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: #f9f9f9;
  color: var(--text-dark);
}

.page-khuyn-mi .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 25px;
}

.page-khuyn-mi .faq-answer p {
  margin: 0;
}

/* Call to Action Bottom */
.page-khuyn-mi .call-to-action {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--secondary-color), #000066);
  color: var(--text-light);
}

.page-khuyn-mi .call-to-action h2 {
  color: var(--primary-color);
  font-size: 2.8em;
  margin-bottom: 25px;
}

.page-khuyn-mi .call-to-action p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

.page-khuyn-mi .call-to-action p a {
  color: var(--primary-color);
  font-weight: bold;
}

.page-khuyn-mi .cta-button-bottom {
  display: inline-block;
  padding: 20px 50px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.5em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-khuyn-mi .cta-button-bottom:hover {
  background: #FFC107;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-khuyn-mi-hero h1 {
    font-size: 2.8em;
  }
  .page-khuyn-mi-hero .cta-button {
    padding: 15px 35px;
    font-size: 1.2em;
  }
  .page-khuyn-mi-section h2 {
    font-size: 2.2em;
  }
  .page-khuyn-mi .promotion-card .card-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-khuyn-mi-hero {
    padding: 40px 15px;
  }
  .page-khuyn-mi-hero h1 {
    font-size: 2.2em;
  }
  .page-khuyn-mi-hero p {
    font-size: 1em;
  }
  .page-khuyn-mi-hero .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-khuyn-mi-section {
    padding: 40px 0;
  }
  .page-khuyn-mi-section h2 {
    font-size: 1.8em;
  }
  .page-khuyn-mi-section h3 {
    font-size: 1.5em;
  }
  .page-khuyn-mi .promotion-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-khuyn-mi .promotion-card .card-content {
    padding: 20px;
  }
  .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.5em;
  }
  .page-khuyn-mi .faq-answer {
    padding: 0 20px;
  }
  .page-khuyn-mi .faq-item.active .faq-answer {
    padding: 20px;
  }
  .page-khuyn-mi .call-to-action {
    padding: 60px 15px;
  }
  .page-khuyn-mi .call-to-action h2 {
    font-size: 2em;
  }
  .page-khuyn-mi .cta-button-bottom {
    padding: 15px 30px;
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-khuyn-mi-hero h1 {
    font-size: 1.8em;
  }
  .page-khuyn-mi-hero .cta-button {
    font-size: 1em;
    padding: 10px 25px;
  }
  .page-khuyn-mi-section h2 {
    font-size: 1.6em;
  }
  .page-khuyn-mi-section h3 {
    font-size: 1.3em;
  }
  .page-khuyn-mi .promotion-card h3 {
    font-size: 1.4em;
  }
  .page-khuyn-mi .btn-primary {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-khuyn-mi .call-to-action h2 {
    font-size: 1.8em;
  }
  .page-khuyn-mi .cta-button-bottom {
    font-size: 1.1em;
    padding: 12px 25px;
  }
}