.page-promotions {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-promotions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: #FFFFFF;
}

.page-promotions__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom color for main title on dark background */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions__intro-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__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-register,
.page-promotions__btn-login {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-promotions__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

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

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-promotions__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.page-promotions__btn-register,
.page-promotions__btn-login {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-promotions__btn-register:hover,
.page-promotions__btn-login:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
}

.page-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-promotions__overview-section,
.page-promotions__how-to-join-section,
.page-promotions__faq-section,
.page-promotions__final-cta-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-promotions__types-section,
.page-promotions__terms-section,
.page-promotions__why-choose-section {
  padding: 80px 0;
  background-color: #017439; /* Brand color dark background */
  color: #FFFFFF; /* Light text for dark background */
}

.page-promotions__overview-section .page-promotions__section-title,
.page-promotions__how-to-join-section .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-title,
.page-promotions__final-cta-section .page-promotions__section-title {
  color: #017439;
}

.page-promotions__types-section .page-promotions__section-title,
.page-promotions__terms-section .page-promotions__section-title,
.page-promotions__why-choose-section .page-promotions__section-title {
  color: #FFFFFF;
}

.page-promotions__image-text-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-promotions__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-promotions__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__text-content {
  flex: 1;
}

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

.page-promotions__list {
  list-style: none;
  padding-left: 0;
}

.page-promotions__list-item {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-promotions__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #017439;
  font-weight: bold;
}

.page-promotions__types-section .page-promotions__list-item::before {
  color: #FFFF00;
}

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

.page-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFFFFF;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
}

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

.page-promotions__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFFF00; /* Custom color for card titles */
}

.page-promotions__card-title a {
  color: #FFFF00;
  text-decoration: none;
}

.page-promotions__card-title a:hover {
  text-decoration: underline;
}

.page-promotions__card-text {
  font-size: 0.95em;
  flex-grow: 1;
}

.page-promotions__cta-center {
  text-align: center;
  margin-top: 50px;
}

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

.page-promotions__step-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__step-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-promotions__step-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__terms-section .page-promotions__list {
  list-style: decimal;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-promotions__terms-section .page-promotions__list-item {
  margin-bottom: 10px;
  padding-left: 0;
}

.page-promotions__terms-section .page-promotions__list-item::before {
  content: none;
}

.page-promotions__terms-section a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-promotions__terms-section a:hover {
  color: #f0f0f0;
}

.page-promotions__faq-list {
  margin-top: 40px;
}

.page-promotions__faq-item {
  background-color: #f9f9f9;
  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;
  background-color: #FFFFFF;
  color: #017439;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: #e6ffe6;
}

.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;
  color: #333333;
}

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

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

.page-promotions__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFFFFF;
}

.page-promotions__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__feature-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFFF00;
}

.page-promotions__feature-text {
  font-size: 0.95em;
}

.page-promotions__final-cta-section .page-promotions__cta-buttons {
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-promotions__hero-section {
    height: 500px;
  }

  .page-promotions__main-title {
    font-size: 2.8em;
  }

  .page-promotions__section-title {
    font-size: 2em;
  }

  .page-promotions__image-text-grid {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-promotions__main-title {
    font-size: 2em;
  }

  .page-promotions__intro-description {
    font-size: 1em;
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__btn-register,
  .page-promotions__btn-login {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-promotions__overview-section,
  .page-promotions__types-section,
  .page-promotions__how-to-join-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__why-choose-section,
  .page-promotions__final-cta-section {
    padding: 50px 0;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
  }

  .page-promotions__section-description {
    font-size: 0.95em;
  }

  .page-promotions__sub-title,
  .page-promotions__card-title,
  .page-promotions__step-title,
  .page-promotions__feature-title {
    font-size: 1.3em;
  }

  .page-promotions__list-item,
  .page-promotions__card-text,
  .page-promotions__step-text,
  .page-promotions__feature-text {
    font-size: 0.9em;
  }

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

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__promo-card,
  .page-promotions__step-item,
  .page-promotions__feature-item,
  .page-promotions__image-wrapper,
  .page-promotions__text-content,
  .page-promotions__cta-buttons,
  .page-promotions__promo-grid,
  .page-promotions__steps-grid,
  .page-promotions__feature-grid,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .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;
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }

  .page-promotions__section-title {
    font-size: 1.6em;
  }

  .page-promotions__hero-section {
    height: 350px;
  }
}