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

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 600px;
  padding: var(--header-offset, 120px) 20px 60px; /* Ensures spacing below fixed header */
  overflow: hidden;
  color: #FFFFFF;
  background-color: #017439; /* Brand green background */
}

.page-promotions__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-promotions__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for text readability */
  cursor: pointer;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #F0F0F0;
}

.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions__section {
  padding: 80px 20px;
}

.page-promotions__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
}

.page-promotions__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherits color from section background */
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

.page-promotions__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439;
}

.page-promotions__card-description {
  font-size: 1em;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__vip-section .page-promotions__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-promotions__vip-image {
  width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__vip-text-content {
  width: 50%;
}

.page-promotions__vip-benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-promotions__vip-benefits-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  color: #333333;
}

.page-promotions__list-icon {
  color: #017439;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__faq-item {
  background-color: #F8F8F8;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #017439;
  background-color: #EBF7EE;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #FFFFFF;
  color: #333333;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px;
}

.page-promotions__faq-answer p {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1em;
}

.page-promotions__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-promotions__cta-final {
  text-align: center;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__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;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
}

.page-promotions__btn-primary:hover {
  background-color: #005a2e;
}

.page-promotions__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border-color: #017439;
}

.page-promotions__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #005a2e;
  color: #005a2e;
}

/* Custom button colors from requirements */
.page-promotions__cta-buttons .page-promotions__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFFFF; /* Adjusted for contrast, originally #FFFF00 */
}

.page-promotions__cta-buttons .page-promotions__btn-primary:hover {
  background-color: #9c0606;
}

/* Image sizing for content area - ensure minimum 200x200px */
.page-promotions img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }

  .page-promotions__hero-description {
    font-size: 1.1em;
  }

  .page-promotions__vip-section .page-promotions__container {
    flex-direction: column;
    text-align: center;
  }

  .page-promotions__vip-image,
  .page-promotions__vip-text-content {
    width: 100%;
  }

  .page-promotions__vip-image {
    margin-bottom: 30px;
  }

  .page-promotions__vip-benefits-list {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: var(--header-offset, 120px) 15px 40px;
    min-height: 450px;
  }

  .page-promotions__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions 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;
  }

  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    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-promotions__section {
    padding: 50px 15px;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-promotions__text-block {
    font-size: 0.95em;
  }

  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions__promo-card {
    padding: 20px;
  }

  .page-promotions__card-title {
    font-size: 1.5em;
  }

  .page-promotions__card-image {
    height: 200px;
  }

  .page-promotions__vip-benefits-list li {
    font-size: 1em;
  }

  .page-promotions__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-promotions__faq-answer {
    padding: 0 15px;
  }

  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Video responsiveness */
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}