/* style/vip-program.css */

/* Custom properties for colors */
:root {
  --primary-color: #017439; /* Main green */
  --secondary-color: #FFFFFF; /* White */
  --register-color: #C30808; /* Red for register/login */
  --register-login-font-color: #FFFF00; /* Yellow for register/login font */
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-color: #e0e0e0;
  --bg-light-grey: #f9f9f9;
}

/* Base styles for the VIP Program page */
.page-vip-program {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light body background */
  background-color: var(--secondary-color); /* Body background is white */
}

/* Section styling */
.page-vip-program__section {
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 20px; /* Add some margin between sections */
}

.page-vip-program__section:nth-of-type(odd) {
  background-color: var(--bg-light-grey); /* Alternate background for visual separation */
}

.page-vip-program__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-vip-program__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-vip-program__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Consistent padding */
}

.page-vip-program__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-vip-program__dark-section .page-vip-program__section-title {
  color: var(--text-light);
}

.page-vip-program__section-description,
.page-vip-program__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

.page-vip-program__dark-section .page-vip-program__section-description,
.page-vip-program__dark-section .page-vip-program__text-block {
  color: var(--text-light);
}

/* Hero Section */
.page-vip-program__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Gradient background */
}

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

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

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

.page-vip-program__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light); /* Text on hero should be light */
}

.page-vip-program__hero-title {
  font-size: 3.5em;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--text-light);
}

.page-vip-program__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-vip-program__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--register-color); /* Use custom register color */
  color: var(--register-login-font-color); /* Use custom font color */
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-vip-program__cta-button:hover {
  background: #A00606; /* Darker red */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Grid Layout for Tiers */
.page-vip-program__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-vip-program__tier-card {
  background: var(--secondary-color);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark); /* Dark text on light card background */
}

.page-vip-program__tier-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-vip-program__tier-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-vip-program__tier-card .page-vip-program__card-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-vip-program__tier-card .page-vip-program__card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-vip-program__tier-card .page-vip-program__card-list li {
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.5;
  color: var(--text-dark);
  position: relative;
  padding-left: 25px;
}

.page-vip-program__tier-card .page-vip-program__card-list li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Features Grid */
.page-vip-program__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-vip-program__feature-item {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-vip-program__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-vip-program__feature-item img {
  width: 100%;
  height: 250px; /* Adjust height for feature images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-vip-program__feature-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-vip-program__feature-description {
  font-size: 1em;
  color: var(--text-dark);
}

/* Benefits List */
.page-vip-program__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-vip-program__benefit-item {
  background: var(--bg-light-grey); /* Slightly different background for visual distinction */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-vip-program__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.page-vip-program__benefit-item img {
  width: 250px; /* Adjusted to meet minimum size */
  height: 250px; /* Adjusted to meet minimum size */
  object-fit: contain; /* Use contain for icons/logos */
  margin-bottom: 20px;
  display: block; /* Ensure it's a block element for width/height to apply correctly */
  margin-left: auto; /* Center if container is larger */
  margin-right: auto; /* Center if container is larger */
  min-width: 200px;
  min-height: 200px;
}

.page-vip-program__benefit-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-vip-program__benefit-description {
  font-size: 0.95em;
  color: var(--text-dark);
}

/* FAQ Section */
.page-vip-program__faq {
  padding-bottom: 80px; /* Extra padding for FAQ */
}

.page-vip-program__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-vip-program__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;
}

.page-vip-program__faq-item.active .page-vip-program__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--bg-light-grey);
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-vip-program__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.page-vip-program__faq-question:hover {
  background: var(--bg-light-grey);
  border-color: #C9C9C9; /* Darker border */
}

.page-vip-program__faq-question:active {
  background: #ffffff; /* Lighter than f9f9f9 */
}

.page-vip-program__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-vip-program__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;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-vip-program__faq-item.active .page-vip-program__faq-toggle {
  color: var(--text-dark);
  transform: rotate(45deg); /* Optional: rotate for 'X' effect */
}

/* Final CTA Section */
.page-vip-program__cta-final {
  padding: 80px 20px;
  background: var(--primary-color); /* Dark background for final CTA */
  color: var(--text-light);
}

.page-vip-program__cta-final .page-vip-program__section-title {
  color: var(--text-light);
  margin-bottom: 25px;
}

.page-vip-program__cta-final .page-vip-program__text-block {
  color: var(--text-light);
  margin-bottom: 40px;
}

.page-vip-program__btn-register {
  background: var(--register-color);
  color: var(--register-login-font-color);
  font-size: 1.3em;
  padding: 18px 50px;
}

.page-vip-program__btn-register:hover {
  background: #A00606; /* Darker red */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-vip-program__hero-title {
    font-size: 3em;
  }
  .page-vip-program__hero-description {
    font-size: 1.1em;
  }
  .page-vip-program__section-title {
    font-size: 2em;
  }
  .page-vip-program__text-block,
  .page-vip-program__section-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-vip-program__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-vip-program__hero-title {
    font-size: 2.2em;
    margin-bottom: 10px;
  }
  .page-vip-program__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-vip-program__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-vip-program__section {
    padding: 40px 15px;
  }
  .page-vip-program__section-title {
    font-size: 1.8em;
  }
  .page-vip-program__text-block,
  .page-vip-program__section-description {
    font-size: 0.95em;
  }

  .page-vip-program__grid-layout,
  .page-vip-program__features-grid,
  .page-vip-program__benefits-list {
    grid-template-columns: 1fr; /* Single column layout for mobile */
    gap: 20px;
  }
}