.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

/* Fixed Header Offset - applied to the first content section */
.page-promotions__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  background: linear-gradient(135deg, #017439, #004d2b); /* Brand color gradient */
  color: #ffffff;
  overflow: hidden; /* For image positioning */
  padding-bottom: 60px;
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Blend with background */
  z-index: 0;
}

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

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

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

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

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

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

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

/* Why Choose Section */
.page-promotions__why-choose-section {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-promotions__why-choose-section .page-promotions__section-title {
  color: #017439;
}

.page-promotions__why-choose-section .page-promotions__section-description {
  color: #555555;
}

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

.page-promotions__feature-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

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

.page-promotions__feature-text {
  color: #666666;
  font-size: 1em;
}

/* Promotion Categories Section */
.page-promotions__categories-section {
  background-color: #0a0a0a; /* Body background color */
  color: #ffffff;
  padding: 80px 0;
}

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

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

.page-promotions__promo-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 550px; /* Ensure cards have similar height */
}

.page-promotions__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it takes full width */
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__card-title {
  font-size: 1.6em;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__card-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1; /* Allows text to take up available space */
}

/* How To Claim Section */
.page-promotions__how-to-claim-section {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-promotions__how-to-claim-section .page-promotions__section-title {
  color: #017439;
}

.page-promotions__how-to-claim-section .page-promotions__section-description {
  color: #555555;
}

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

.page-promotions__step-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

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

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

/* Terms and Conditions Section */
.page-promotions__terms-section {
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 80px 0;
}

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

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

.page-promotions__terms-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__terms-heading {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__terms-text {
  color: #cccccc;
  font-size: 1em;
}

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

.page-promotions__faq-section .page-promotions__section-title {
  color: #017439;
}

.page-promotions__faq-section .page-promotions__section-description {
  color: #555555;
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-promotions__faq-item {
  border-bottom: 1px solid #eee;
}

.page-promotions__faq-item:last-child {
  border-bottom: none;
}

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

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

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

.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;
  background-color: #ffffff;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #555555;
}

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

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

/* CTA Section */
.page-promotions__cta-section {
  background: linear-gradient(90deg, #017439, #004d2b);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

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

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

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: nowrap; /* Prevent text wrapping on desktop */
}

.page-promotions__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

.page-promotions__btn-primary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-secondary {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-promotions__btn-secondary:hover {
  background-color: #004d2b;
  border-color: #004d2b;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__promo-card {
    min-height: 500px; /* Adjust card height */
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }

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

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

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

  /* Mobile Images, Videos, Buttons - Forced Responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions video {
    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-card,
  .page-promotions__faq-list,
  .page-promotions__faq-item,
  .page-promotions__faq-question,
  .page-promotions__faq-answer,
  .page-promotions__cta-buttons,
  .page-promotions__hero-section .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding is set correctly */
  }

  .page-promotions__promo-card {
    min-height: auto; /* Allow height to adjust */
    padding: 20px;
  }

  .page-promotions__card-image {
    height: auto; /* Auto height for mobile images */
  }

  .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; /* Adjust padding for mobile buttons */
  }

  .page-promotions__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
  }
  
  .page-promotions__faq-question {
    padding: 15px 20px;
  }

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

  .page-promotions__faq-heading {
    font-size: 1.1em;
  }
}

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