.page-promotions {
  color: #ffffff; /* Body background is dark, so text should be light */
  background-color: #0a0a0a; /* Ensure consistency with 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__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

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

.page-promotions__link-text {
  color: #FFFF00; /* Highlight color for text links */
  text-decoration: underline;
}

.page-promotions__link-text:hover {
  color: #017439;
}

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

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

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

.page-promotions__hero-content {
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

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

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

.page-promotions__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background-color: #017439;
  color: #ffffff; /* Consistent with brand color text rule */
  border: 2px solid #017439;
}

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

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

.page-promotions__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

/* Specific button styles for Register/Login */
.page-promotions__hero-cta .page-promotions__btn-primary, /* Register button */
.page-promotions__step-card .page-promotions__btn-primary, /* Register button */
.page-promotions__cta-buttons .page-promotions__btn-primary { /* CTA Register button */
  background-color: #C30808;
  color: #ffffff; /* WCAG AA compliant text on #C30808 background */
  border-color: #C30808;
}

.page-promotions__hero-cta .page-promotions__btn-primary:hover,
.page-promotions__step-card .page-promotions__btn-primary:hover,
.page-promotions__cta-buttons .page-promotions__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-promotions__hero-cta .page-promotions__btn-secondary, /* Login button */
.page-promotions__step-card .page-promotions__btn-secondary, /* Login button */
.page-promotions__cta-buttons .page-promotions__btn-secondary { /* CTA Register button */
  background-color: transparent;
  color: #C30808; /* WCAG AA compliant text */
  border: 2px solid #C30808;
}

.page-promotions__hero-cta .page-promotions__btn-secondary:hover,
.page-promotions__step-card .page-promotions__btn-secondary:hover,
.page-promotions__cta-buttons .page-promotions__btn-secondary:hover {
  background-color: #C30808;
  color: #ffffff; /* WCAG AA compliant text */
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 1em;
}

/* Introduction Section */
.page-promotions__introduction-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

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

.page-promotions__feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-promotions__feature-card:hover {
  transform: translateY(-10px);
}

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

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

.page-promotions__feature-description {
  color: #f0f0f0;
  font-size: 1em;
}

/* Promotion Types Section */
.page-promotions__types-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

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

.page-promotions__promo-title {
  font-size: 1.8em;
  color: #FFFF00; /* Highlighted text color */
  margin-bottom: 15px;
}

.page-promotions__promo-description {
  color: #f0f0f0;
  font-size: 1em;
  margin-bottom: 20px;
}

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

.page-promotions__promo-list li {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-promotions__promo-subtitle {
  font-size: 1.2em;
  color: #017439;
  margin-bottom: 5px;
}

/* How To Join Section */
.page-promotions__how-to-join-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

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

.page-promotions__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__step-description {
  color: #f0f0f0;
  font-size: 1em;
  margin-bottom: 30px;
}

/* Benefits Section */
.page-promotions__benefits-section {
  padding: 80px 0;
}

.page-promotions__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-promotions__dark-section .page-promotions__section-title::after {
  background-color: #ffffff;
}

.page-promotions__dark-section .page-promotions__text-block {
  color: #f0f0f0;
}

.page-promotions__dark-section .page-promotions__benefit-title {
  color: #FFFF00;
}

.page-promotions__dark-section .page-promotions__link-text {
  color: #FFFF00;
}

.page-promotions__dark-section .page-promotions__link-text:hover {
  color: #ffffff;
}

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

.page-promotions__benefit-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__benefit-title {
  font-size: 1.6em;
  color: #FFFF00; /* Highlighted text color */
  margin-bottom: 15px;
}

.page-promotions__benefit-description {
  color: #f0f0f0;
  font-size: 1em;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-promotions__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions__faq-item[open] > .page-promotions__faq-question {
  background-color: #017439;
  border-bottom: 1px solid #005a2e;
  color: #ffffff;
}

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  color: #FFFF00;
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-promotions__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-item details > summary {
  list-style: none;
}

/* CTA Section */
.page-promotions__cta-section {
  padding: 100px 0;
  background-color: #0a0a0a;
  position: relative;
  overflow: hidden;
  text-align: center;
}

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

.page-promotions__cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

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

.page-promotions__cta-title {
  font-size: 3em;
  color: #ffffff;
  margin-bottom: 20px;
}

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

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

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

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

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

  .page-promotions__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-promotions__hero-title {
    font-size: 2.2em;
  }

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

  .page-promotions__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-promotions__feature-grid,
  .page-promotions__promo-grid,
  .page-promotions__step-grid,
  .page-promotions__benefit-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__feature-card,
  .page-promotions__promo-card,
  .page-promotions__step-card,
  .page-promotions__benefit-item {
    padding: 20px;
  }

  .page-promotions__feature-image,
  .page-promotions__promo-image {
    height: 200px;
  }

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

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

  .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__hero-section,
  .page-promotions__introduction-section,
  .page-promotions__types-section,
  .page-promotions__how-to-join-section,
  .page-promotions__benefits-section,
  .page-promotions__faq-section,
  .page-promotions__cta-section,
  .page-promotions__hero-cta,
  .page-promotions__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-promotions__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}

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

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

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }
}