/* style/vip-program-custom-offers.css */

/* Base Styles */
.page-vip-program-custom-offers {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF;
}

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

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

.page-vip-program-custom-offers__heading {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #017439; /* Brand color for headings */
}

.page-vip-program-custom-offers__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

/* Color Contrast Classes */
.page-vip-program-custom-offers__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
}

.page-vip-program-custom-offers__dark-bg .page-vip-program-custom-offers__heading,
.page-vip-program-custom-offers__dark-bg .page-vip-program-custom-offers__card-title,
.page-vip-program-custom-offers__dark-bg .page-vip-program-custom-offers__feature-title {
  color: #FFFFFF;
}

.page-vip-program-custom-offers__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-vip-program-custom-offers__light-bg .page-vip-program-custom-offers__heading {
  color: #017439;
}

/* Buttons */
.page-vip-program-custom-offers__btn-primary,
.page-vip-program-custom-offers__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  cursor: pointer;
  max-width: 100%; /* For responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-vip-program-custom-offers__btn-primary {
  background-color: #017439; /* Main brand color */
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-vip-program-custom-offers__btn-primary:hover {
  background-color: #005f2c;
  border-color: #005f2c;
}

.page-vip-program-custom-offers__btn-secondary {
  background-color: #FFFFFF;
  color: #017439; /* Text color is brand color */
  border: 2px solid #017439;
}

.page-vip-program-custom-offers__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2c;
  border-color: #005f2c;
}

/* Special Login/Register Button Colors - Adjusted for Contrast */
.page-vip-program-custom-offers__hero-actions a[href*="redirect"] {
  background-color: #C30808; /* Red for Register/Login */
  color: #FFFFFF; /* Adjusted to White for WCAG AA contrast on #C30808 */
  border: 2px solid #C30808;
}

.page-vip-program-custom-offers__hero-actions a[href*="redirect"]:hover {
  background-color: #a00606;
  border-color: #a00606;
}

/* Hero Section */
.page-vip-program-custom-offers__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
}

.page-vip-program-custom-offers__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-vip-program-custom-offers__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.page-vip-program-custom-offers__hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

.page-vip-program-custom-offers__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-vip-program-custom-offers__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
}

.page-vip-program-custom-offers__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Card Grid */
.page-vip-program-custom-offers__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-vip-program-custom-offers__card {
  background-color: #FFFFFF;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e0e0e0; /* Added for contrast on potentially light backgrounds */
}

.page-vip-program-custom-offers__dark-bg .page-vip-program-custom-offers__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-vip-program-custom-offers__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439;
}

.page-vip-program-custom-offers__dark-bg .page-vip-program-custom-offers__card-title {
  color: #FFFFFF;
}

.page-vip-program-custom-offers__card-description {
  font-size: 1em;
  margin-bottom: 20px;
}

.page-vip-program-custom-offers__card-features {
  list-style: none;
  padding: 0;
  margin-top: auto; /* Push features to bottom */
}

.page-vip-program-custom-offers__card-features li {
  margin-bottom: 10px;
  font-size: 0.95em;
  position: relative;
  padding-left: 25px;
}

.page-vip-program-custom-offers__card-features li::before {
  content: '✓';
  color: #017439; /* Brand color checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-vip-program-custom-offers__dark-bg .page-vip-program-custom-offers__card-features li::before {
  color: #FFFFFF;
}

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

.page-vip-program-custom-offers__feature-item {
  background-color: #f9f9f9;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #e0e0e0;
}

.page-vip-program-custom-offers__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

/* Steps List */
.page-vip-program-custom-offers__steps-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
}

.page-vip-program-custom-offers__steps-list li {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  position: relative;
  padding-left: 60px;
  font-size: 1.1em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-vip-program-custom-offers__steps-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #FFFFFF;
  color: #017439;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-vip-program-custom-offers__steps-list li a {
  color: #FFFF00; /* Yellow for links on dark background */
  text-decoration: underline;
}

.page-vip-program-custom-offers__steps-list li a:hover {
  color: #fff;
}

/* FAQ Section */
.page-vip-program-custom-offers__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-vip-program-custom-offers__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-vip-program-custom-offers__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #FFFFFF;
  transition: background-color 0.3s ease;
}

.page-vip-program-custom-offers__faq-question:hover {
  background-color: #f0f0f0;
}

.page-vip-program-custom-offers__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #017439;
}

.page-vip-program-custom-offers__faq-item.active .page-vip-program-custom-offers__faq-toggle {
  transform: rotate(45deg);
}

.page-vip-program-custom-offers__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1.0em;
  color: #555555;
}

.page-vip-program-custom-offers__faq-item.active .page-vip-program-custom-offers__faq-answer {
  max-height: 1000px !important; /* Ensure it expands fully */
  padding: 15px 25px;
}

.page-vip-program-custom-offers__faq-answer p {
  margin-bottom: 0;
  padding-bottom: 10px;
}

.page-vip-program-custom-offers__faq-answer a {
  color: #017439; /* Brand color for links */
  text-decoration: underline;
}

.page-vip-program-custom-offers__faq-answer a:hover {
  color: #005f2c;
}

/* Content Images */
.page-vip-program-custom-offers__content-image {
  margin: 40px auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
}

/* Final CTA */
.page-vip-program-custom-offers__cta-final {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-vip-program-custom-offers__hero-title {
    font-size: 2.8em;
  }
  .page-vip-program-custom-offers__heading {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-vip-program-custom-offers__section {
    padding: 40px 0;
  }
  .page-vip-program-custom-offers__container {
    padding: 0 15px;
  }
  .page-vip-program-custom-offers__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-vip-program-custom-offers__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-vip-program-custom-offers__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-vip-program-custom-offers__heading {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-vip-program-custom-offers__text-block,
  .page-vip-program-custom-offers__card-description,
  .page-vip-program-custom-offers__card-features li,
  .page-vip-program-custom-offers__feature-item p,
  .page-vip-program-custom-offers__steps-list li,
  .page-vip-program-custom-offers__faq-question,
  .page-vip-program-custom-offers__faq-answer {
    font-size: 1em;
  }
  .page-vip-program-custom-offers__card-grid,
  .page-vip-program-custom-offers__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-vip-program-custom-offers__btn-primary,
  .page-vip-program-custom-offers__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 5px 0;
    padding: 12px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-vip-program-custom-offers__hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  /* Mobile image responsiveness */
  .page-vip-program-custom-offers img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-vip-program-custom-offers__section,
  .page-vip-program-custom-offers__card,
  .page-vip-program-custom-offers__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-vip-program-custom-offers__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-vip-program-custom-offers__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  /* Ensure no horizontal scroll */
  .page-vip-program-custom-offers {
    overflow-x: hidden;
  }
}