.page-promotions {
  color: #ffffff; /* Body background is dark, so text is light */
  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; /* Adjusted for better visual impact */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  box-sizing: border-box;
}

.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.5); /* Dark overlay for text readability */
  z-index: -1;
}

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

.page-promotions__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-promotions__cta-button {
  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, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-register {
  background-color: #C30808; /* Register color */
  color: #ffffff; /* Ensuring WCAG AA contrast */
  border: 2px solid #C30808;
}

.page-promotions__btn-register:hover {
  background-color: #a00606;
  transform: translateY(-3px);
}

.page-promotions__btn-login {
  background-color: #C30808; /* Login color */
  color: #ffffff; /* Ensuring WCAG AA contrast */
  border: 2px solid #C30808;
}

.page-promotions__btn-login:hover {
  background-color: #a00606;
  transform: translateY(-3px);
}

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

.page-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-promotions__intro-section {
  padding: 80px 0;
  background-color: #121212; /* Inherits from body, but explicitly set for clarity */
  color: #ffffff;
}

.page-promotions__intro-section .page-promotions__section-title {
  color: #ffffff;
}

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

.page-promotions__text-block a {
  color: #FFFF00; /* Links in dark sections */
  text-decoration: underline;
}

.page-promotions__text-block a:hover {
  color: #ffffff;
}

.page-promotions__promotions-grid-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-promotions__promotions-grid-section .page-promotions__section-title,
.page-promotions__promotions-grid-section .page-promotions__section-description {
  color: #333333;
}

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

.page-promotions__promotion-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-promotions__promotion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-promotions__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: #333333;
}

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

.page-promotions__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__claim-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #017439;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__claim-button:hover {
  background-color: #005f2f;
}

.page-promotions__how-to-claim-section {
  padding: 80px 0;
  background-color: #017439; /* Brand color dark background */
  color: #ffffff;
}

.page-promotions__how-to-claim-section .page-promotions__section-title,
.page-promotions__how-to-claim-section .page-promotions__section-description {
  color: #ffffff;
}

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

.page-promotions__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.page-promotions__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFFF00; /* Highlight step number */
  margin-bottom: 15px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFF00;
}

.page-promotions__step-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-promotions__step-description {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-promotions__step-description a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-promotions__step-description a:hover {
  color: #ffffff;
}

.page-promotions__note {
  margin-top: 40px;
  text-align: center;
  font-style: italic;
  color: #f0f0f0;
}

.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text */
}

.page-promotions__faq-section .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-description {
  color: #333333;
}

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

.page-promotions__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #eee;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

.page-promotions__faq-title {
  font-size: 1.2em;
  color: #333333;
  margin: 0;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

.page-promotions__faq-answer p {
  margin: 0 0 10px 0;
  color: #555555;
}

.page-promotions__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

.page-promotions__faq-answer a:hover {
  color: #005f2f;
}

.page-promotions__final-cta-section {
  padding: 80px 0;
  background-color: #121212; /* Dark background */
  color: #ffffff;
  text-align: center;
}

.page-promotions__final-cta-section .page-promotions__section-title,
.page-promotions__final-cta-section .page-promotions__section-description {
  color: #ffffff;
}

.page-promotions__final-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
}

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

  .page-promotions__hero-section {
    height: 450px;
    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__cta-button,
  .page-promotions__btn-register,
  .page-promotions__btn-login,
  .page-promotions__claim-button {
    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__hero-cta,
  .page-promotions__final-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-promotions__section-title {
    font-size: 1.8em;
  }

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

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

  .page-promotions__promotion-card {
    margin: 0 15px;
  }

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

  .page-promotions__step-item {
    margin: 0 15px;
  }

  .page-promotions__faq-list {
    margin: 20px 15px 0 15px;
  }

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

  .page-promotions__hero-section,
  .page-promotions__intro-section,
  .page-promotions__promotions-grid-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__faq-section,
  .page-promotions__final-cta-section,
  .page-promotions__container,
  .page-promotions__promotion-card,
  .page-promotions__step-item,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Padding for mobile content areas to prevent edge-to-edge content */
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions__hero-section { /* Override padding-left/right for full-width hero */
    padding-left: 0;
    padding-right: 0;
  }
}

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

/* Color contrast fixes for specific elements if needed */
.page-promotions__dark-bg {
  background-color: #121212;
  color: #ffffff;
}

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

/* Ensure all images maintain original color */
.page-promotions img {
  filter: none; /* Explicitly disable any potential filter */
}

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