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

.page-promotions-details__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions-details__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions-details__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-promotions-details__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions-details__section-title {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: bold;
  color: inherit; /* Inherit color from parent section */
}

.page-promotions-details__section-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
  color: inherit;
}

.page-promotions-details__card {
  background: #ffffff;
  color: #333333;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0; /* Added border for clarity */
}

.page-promotions-details__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Hero Banner */
.page-promotions-details__hero-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

.page-promotions-details__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-promotions-details__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-promotions-details__hero-description {
  font-size: 22px;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #ffffff;
}

.page-promotions-details__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
}

.page-promotions-details__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-promotions-details__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-details__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid transparent;
}

.page-promotions-details__btn-primary:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-promotions-details__feature-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
  display: block;
}

.page-promotions-details__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Promo Grid */
.page-promotions-details__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-details__promo-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
  display: block;
}

.page-promotions-details__promo-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-promotions-details__promo-card p {
  font-size: 16px;
  margin-bottom: 20px;
}

/* Product Promos */
.page-promotions-details__product-promos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-details__product-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
  display: block;
}

.page-promotions-details__product-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* VIP Features */
.page-promotions-details__vip-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-details__vip-item {
  padding: 25px;
  background-color: #017439; /* Dark background */
  color: #ffffff; /* White text */
}

.page-promotions-details__vip-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Terms List */
.page-promotions-details__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-details__terms-list li {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
  color: #ffffff;
}

.page-promotions-details__terms-list li strong {
  color: #FFFF00; /* Highlight important terms */
}

/* FAQ Section */
.page-promotions-details__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-details__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-promotions-details__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-promotions-details__faq-item.active .page-promotions-details__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-promotions-details__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-promotions-details__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-promotions-details__faq-question:active {
  background: #eeeeee;
}

.page-promotions-details__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.page-promotions-details__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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-promotions-details__faq-item.active .page-promotions-details__faq-toggle {
  color: #333;
  transform: rotate(45deg); /* Rotate to form an 'X' or just change to '-' */
}

/* Global image responsiveness */
.page-promotions-details img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-promotions-details__section {
    padding: 40px 0;
  }

  .page-promotions-details__section-title {
    font-size: 28px;
  }

  .page-promotions-details__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-promotions-details__hero-banner {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-promotions-details__hero-title {
    font-size: 32px;
  }

  .page-promotions-details__hero-description {
    font-size: 18px;
  }

  .page-promotions-details__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 10px 0;
  }

  .page-promotions-details__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions-details__feature-grid,
  .page-promotions-details__promo-grid,
  .page-promotions-details__product-promos,
  .page-promotions-details__vip-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions-details__feature-item img,
  .page-promotions-details__promo-card img,
  .page-promotions-details__product-item img {
    
  }

  .page-promotions-details__card {
    padding: 20px;
  }

  .page-promotions-details__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-promotions-details__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-promotions-details__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-promotions-details__faq-answer {
    padding: 0 15px;
  }
  
  .page-promotions-details__faq-item.active .page-promotions-details__faq-answer {
    padding: 15px !important;
  }

  .page-promotions-details img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions-details__section,
  .page-promotions-details__card,
  .page-promotions-details__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-details__hero-image {
    position: relative;
    height: 200px; /* Adjust for mobile hero image height */
    opacity: 0.1;
  }

  .page-promotions-details__hero-content {
    margin-bottom: 20px;
  }
}