.page-chuong-trinh-vip {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
}

.page-chuong-trinh-vip__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

.page-chuong-trinh-vip__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-chuong-trinh-vip__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-chuong-trinh-vip__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
}

.page-chuong-trinh-vip__hero-image {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
}

.page-chuong-trinh-vip__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-chuong-trinh-vip__hero-content {
  max-width: 900px;
  padding: 0 15px;
}

.page-chuong-trinh-vip__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-chuong-trinh-vip__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-chuong-trinh-vip__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Use custom color for register/login */
  color: #FFFF00; /* Use custom font color for register/login */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-chuong-trinh-vip__btn-primary:hover {
  background-color: #a30606;
}

.page-chuong-trinh-vip__btn-large {
  font-size: 1.2rem;
  padding: 18px 35px;
}

.page-chuong-trinh-vip__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherits color from parent section */
}

.page-chuong-trinh-vip__text-block {
  font-size: 1.05rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: inherit;
}

.page-chuong-trinh-vip__benefits-grid, .page-chuong-trinh-vip__promo-grid, .page-chuong-trinh-vip__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-chuong-trinh-vip__benefit-card, .page-chuong-trinh-vip__promo-card, .page-chuong-trinh-vip__step-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-chuong-trinh-vip__dark-bg .page-chuong-trinh-vip__benefit-card, 
.page-chuong-trinh-vip__dark-bg .page-chuong-trinh-vip__promo-card, 
.page-chuong-trinh-vip__dark-bg .page-chuong-trinh-vip__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-chuong-trinh-vip__benefit-card:hover, .page-chuong-trinh-vip__promo-card:hover, .page-chuong-trinh-vip__step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-chuong-trinh-vip__benefit-card img, .page-chuong-trinh-vip__promo-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-chuong-trinh-vip__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: inherit;
}

.page-chuong-trinh-vip__benefit-card p, .page-chuong-trinh-vip__promo-card p, .page-chuong-trinh-vip__step-card p {
  font-size: 1rem;
  color: inherit;
}

.page-chuong-trinh-vip__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  max-width: 1000px;
}

.page-chuong-trinh-vip__vip-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333333;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-chuong-trinh-vip__dark-bg .page-chuong-trinh-vip__vip-table {
  background-color: rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-chuong-trinh-vip__vip-table th, .page-chuong-trinh-vip__vip-table td {
  padding: 15px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-chuong-trinh-vip__vip-table th {
  background-color: #017439;
  color: #ffffff;
  font-weight: 700;
  border-bottom: 2px solid #005a2e;
}

.page-chuong-trinh-vip__dark-bg .page-chuong-trinh-vip__vip-table th {
  background-color: #005a2e;
  border-color: rgba(255, 255, 255, 0.3);
}

.page-chuong-trinh-vip__vip-table tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.05);
}

.page-chuong-trinh-vip__dark-bg .page-chuong-trinh-vip__vip-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-chuong-trinh-vip__note {
  font-size: 0.95rem;
  text-align: center;
  margin-top: 20px;
  color: inherit;
}

.page-chuong-trinh-vip__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #ffffff; /* Text color for dark background */
  border: 2px solid #ffffff;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 20px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-chuong-trinh-vip__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-chuong-trinh-vip__light-bg .page-chuong-trinh-vip__btn-secondary {
  color: #017439;
  border-color: #017439;
}

.page-chuong-trinh-vip__light-bg .page-chuong-trinh-vip__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-chuong-trinh-vip__step-card {
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-chuong-trinh-vip__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #C30808; /* Consistent accent color */
  color: #FFFF00; /* Consistent font color */
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-chuong-trinh-vip__btn-small {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 15px;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-chuong-trinh-vip__btn-small:hover {
  background-color: #005a2e;
}

.page-chuong-trinh-vip__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-chuong-trinh-vip__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-chuong-trinh-vip__dark-bg .page-chuong-trinh-vip__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-chuong-trinh-vip__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: inherit;
}

.page-chuong-trinh-vip__faq-question::-webkit-details-marker, 
.page-chuong-trinh-vip__faq-question::marker {
  display: none;
}

.page-chuong-trinh-vip__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-chuong-trinh-vip__faq-item[open] .page-chuong-trinh-vip__faq-toggle {
  transform: rotate(45deg);
}

.page-chuong-trinh-vip__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: inherit;
}

.page-chuong-trinh-vip__faq-answer p {
  margin: 0;
  color: inherit;
}

/* Table responsiveness */
.page-chuong-trinh-vip__table-responsive {
  overflow-x: auto;
  width: 100%;
  margin: 0 auto;
}

/* General image styling */
.page-chuong-trinh-vip img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-chuong-trinh-vip {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-chuong-trinh-vip__container {
    padding: 15px;
  }

  .page-chuong-trinh-vip__hero-section {
    padding-bottom: 20px;
  }

  .page-chuong-trinh-vip__hero-image {
    margin-bottom: 15px;
  }

  .page-chuong-trinh-vip__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-chuong-trinh-vip__hero-content {
    padding: 0 10px;
  }

  .page-chuong-trinh-vip__main-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .page-chuong-trinh-vip__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-chuong-trinh-vip__btn-primary,
  .page-chuong-trinh-vip__btn-secondary,
  .page-chuong-trinh-vip__btn-small,
  .page-chuong-trinh-vip a[class*="button"],
  .page-chuong-trinh-vip a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .page-chuong-trinh-vip__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-chuong-trinh-vip__text-block {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-chuong-trinh-vip__benefits-grid, .page-chuong-trinh-vip__promo-grid, .page-chuong-trinh-vip__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-chuong-trinh-vip__benefit-card,
  .page-chuong-trinh-vip__promo-card,
  .page-chuong-trinh-vip__step-card,
  .page-chuong-trinh-vip__faq-item,
  .page-chuong-trinh-vip__cta-section .page-chuong-trinh-vip__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-chuong-trinh-vip__benefit-card img, .page-chuong-trinh-vip__promo-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-chuong-trinh-vip__card-title {
    font-size: 1.2rem;
  }

  .page-chuong-trinh-vip__vip-table th, .page-chuong-trinh-vip__vip-table td {
    padding: 10px;
    font-size: 0.85rem;
  }

  .page-chuong-trinh-vip__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-chuong-trinh-vip__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-chuong-trinh-vip__table-responsive {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
  }
}