/* style/vip-program-levels-benefits.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
}

.page-vip-program-levels-benefits {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Body background is dark, so use light text */
  line-height: 1.6;
  padding-top: 120px; /* Adjust for fixed header on desktop */
  background-color: var(--bg-dark); /* Ensure main content background is consistent */
}

.page-vip-program-levels-benefits__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-vip-program-levels-benefits__section {
  padding: 60px 0;
  text-align: center;
}

.page-vip-program-levels-benefits__dark-bg {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-vip-program-levels-benefits__heading {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 25px;
  color: var(--primary-color);
  line-height: 1.2;
}

.page-vip-program-levels-benefits__heading--center {
  text-align: center;
}

.page-vip-program-levels-benefits__paragraph {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-light);
  text-align: justify;
}

.page-vip-program-levels-benefits__paragraph--center {
  text-align: center;
}

.page-vip-program-levels-benefits__link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-vip-program-levels-benefits__link:hover {
  color: #fff;
  text-decoration: underline;
}

/* HERO Section */
.page-vip-program-levels-benefits__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px; /* Desktop: Adjust padding-top for fixed navbar */
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0a0a0a 100%);
}

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

.page-vip-program-levels-benefits__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-vip-program-levels-benefits__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-vip-program-levels-benefits__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-vip-program-levels-benefits__hero-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-vip-program-levels-benefits__hero-description {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-vip-program-levels-benefits__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-vip-program-levels-benefits__cta-button:hover {
  background: #fff;
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-vip-program-levels-benefits__cta-button--centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

/* Intro Section */
.page-vip-program-levels-benefits__intro-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: left;
}

/* Levels Section */
.page-vip-program-levels-benefits__levels-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-vip-program-levels-benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-vip-program-levels-benefits__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-vip-program-levels-benefits__card {
  background: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-vip-program-levels-benefits__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-vip-program-levels-benefits__feature-icon {
  width: 200px !important;
  height: 200px !important;
  min-width: 200px !important;
  min-height: 200px !important;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-vip-program-levels-benefits__card-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-vip-program-levels-benefits__card-text {
  font-size: 16px;
  color: var(--text-light);
  text-align: center;
  flex-grow: 1;
}

.page-vip-program-levels-benefits__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 60px;
  object-fit: cover;
}

.page-vip-program-levels-benefits__image-full-width--margin-top {
  margin-top: 60px;
}

/* Benefits Section */
.page-vip-program-levels-benefits__benefits-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: left;
}

.page-vip-program-levels-benefits__benefit-item {
  background: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-vip-program-levels-benefits__benefit-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-vip-program-levels-benefits__benefit-text {
  font-size: 16px;
  color: var(--text-light);
  text-align: center;
  flex-grow: 1;
}

/* How to Join Section */
.page-vip-program-levels-benefits__how-to-join-section {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-vip-program-levels-benefits__process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-vip-program-levels-benefits__process-step {
  background: rgba(0, 0, 0, 0.2);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-vip-program-levels-benefits__step-number {
  font-size: 48px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1;
}

.page-vip-program-levels-benefits__step-title {
  font-size: 24px;
  color: var(--text-light);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-vip-program-levels-benefits__step-description {
  font-size: 16px;
  color: var(--text-light);
}

/* FAQ Section */
.page-vip-program-levels-benefits__faq-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: left;
}

.page-vip-program-levels-benefits__faq-list {
  margin-top: 40px;
}

/* FAQ容器样式 */
.page-vip-program-levels-benefits__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ默认状态 - 答案隐藏 */
.page-vip-program-levels-benefits__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: var(--text-dark);
}

/* FAQ展开状态 - 🚨 使用!important và đủ lớn max-height để đảm bảo có thể mở rộng */
.page-vip-program-levels-benefits__faq-item.active .page-vip-program-levels-benefits__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng!important để đảm bảo độ ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* Vấn đề kiểu */
.page-vip-program-levels-benefits__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-vip-program-levels-benefits__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
}

.page-vip-program-levels-benefits__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

/* Kiểu tiêu đề câu hỏi */
.page-vip-program-levels-benefits__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Ngăn thẻ h3 chặn sự kiện nhấp */
  color: var(--text-light);
}

/* Chuyển đổi biểu tượng */
.page-vip-program-levels-benefits__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Ngăn biểu tượng chặn sự kiện nhấp */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-vip-program-levels-benefits__faq-item.active .page-vip-program-levels-benefits__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg);
}

/* CTA Final Section */
.page-vip-program-levels-benefits__cta-final-section {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

/* All images responsive base style */
.page-vip-program-levels-benefits img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-vip-program-levels-benefits__heading {
    font-size: 32px;
  }
  .page-vip-program-levels-benefits__hero-title {
    font-size: 40px;
  }
  .page-vip-program-levels-benefits__hero-description {
    font-size: 18px;
  }
  .page-vip-program-levels-benefits__paragraph {
    font-size: 16px;
  }
  .page-vip-program-levels-benefits__card-title, .page-vip-program-levels-benefits__benefit-title, .page-vip-program-levels-benefits__step-title {
    font-size: 20px;
  }
  .page-vip-program-levels-benefits__step-number {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .page-vip-program-levels-benefits {
    padding-top: 100px; /* Adjust for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-vip-program-levels-benefits__hero-section {
    padding-top: 10px !important; /* Mobile: Adjust padding-top for fixed navbar */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-vip-program-levels-benefits__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-vip-program-levels-benefits__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-vip-program-levels-benefits__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 20px;
  }

  .page-vip-program-levels-benefits__section {
    padding: 40px 0;
  }

  .page-vip-program-levels-benefits__heading {
    font-size: 28px;
  }

  .page-vip-program-levels-benefits__paragraph {
    font-size: 15px;
    text-align: left;
  }

  .page-vip-program-levels-benefits__container {
    padding: 0 15px;
  }

  .page-vip-program-levels-benefits__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-vip-program-levels-benefits__grid--2-cols {
    grid-template-columns: 1fr;
  }

  .page-vip-program-levels-benefits__card,
  .page-vip-program-levels-benefits__benefit-item,
  .page-vip-program-levels-benefits__process-step {
    padding: 25px;
  }

  .page-vip-program-levels-benefits__feature-icon {
    width: 200px !important;
    height: 200px !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-vip-program-levels-benefits__card-title, .page-vip-program-levels-benefits__benefit-title, .page-vip-program-levels-benefits__step-title {
    font-size: 18px;
  }

  .page-vip-program-levels-benefits__step-number {
    font-size: 36px;
  }

  .page-vip-program-levels-benefits__image-full-width {
    margin-top: 40px;
  }

  .page-vip-program-levels-benefits__image-full-width--margin-top {
    margin-top: 40px;
  }

  /* FAQ Mobile Styles */
  .page-vip-program-levels-benefits__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-vip-program-levels-benefits__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-vip-program-levels-benefits__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-vip-program-levels-benefits__faq-answer {
    padding: 0 15px;
  }
  
  .page-vip-program-levels-benefits__faq-item.active .page-vip-program-levels-benefits__faq-answer {
    padding: 15px !important;
  }
  
  /* Force all images and their containers to be responsive */
  .page-vip-program-levels-benefits img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-vip-program-levels-benefits__section,
  .page-vip-program-levels-benefits__card,
  .page-vip-program-levels-benefits__container,
  .page-vip-program-levels-benefits__hero-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-vip-program-levels-benefits__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-vip-program-levels-benefits__hero-title {
    font-size: 28px;
  }
  .page-vip-program-levels-benefits__heading {
    font-size: 24px;
  }
  .page-vip-program-levels-benefits__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-vip-program-levels-benefits__card-title, .page-vip-program-levels-benefits__benefit-title, .page-vip-program-levels-benefits__step-title {
    font-size: 16px;
  }
  .page-vip-program-levels-benefits__step-number {
    font-size: 32px;
  }
}