.page-promotions {
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #FFFFFF);
}

.page-promotions__dark-bg {
  background-color: #26A9E0; /* Primary brand color */
  color: #FFFFFF; /* White text for dark background */
}

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

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

.page-promotions__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-promotions__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: inherit;
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  overflow: hidden;
}

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

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

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

.page-promotions__hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-promotions__hero-description {
  font-size: 1.3rem;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #FFFFFF;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

.page-promotions__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

.page-promotions__btn-large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

.page-promotions__current-promos-section {
  padding: 60px 0;
}

.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: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-promotions__card-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
  padding: 0 20px;
}

.page-promotions__card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
  padding: 0 20px;
}

.page-promotions__promo-card .page-promotions__btn-primary {
  margin-top: auto; /* Push button to the bottom */
}

.page-promotions__how-to-claim-section {
  padding: 80px 0;
  text-align: center;
}

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

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

.page-promotions__step-number {
  font-size: 3rem;
  font-weight: 800;
  color: #FFFFFF;
  background-color: #EA7C07;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.page-promotions__step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-promotions__step-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__step-item .page-promotions__btn-primary,
.page-promotions__step-item .page-promotions__btn-secondary {
  margin-top: auto; /* Push button to the bottom */
}

.page-promotions__terms-section {
  padding: 60px 0;
}

.page-promotions__terms-section ul {
  list-style: disc inside;
  text-align: left;
  margin: 20px auto;
  max-width: 800px;
  line-height: 1.8;
  color: #555555;
}

.page-promotions__terms-section li {
  margin-bottom: 10px;
}

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

.page-promotions__why-choose-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-promotions__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-promotions__feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-promotions__feature-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.page-promotions__faq-section {
  padding: 60px 0;
}

.page-promotions__faq-list {
  max-width: 800px;
  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: #FFFFFF;
  border-bottom: 1px solid #EEEEEE;
}

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

.page-promotions__faq-question h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  margin: 0;
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #26A9E0;
  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;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px; /* Initial padding for smooth transition */
}

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

.page-promotions__faq-answer p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  margin: 0;
}

.page-promotions__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
}

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

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 500px;
  }
  .page-promotions__hero-title {
    font-size: 2.2rem;
  }
  .page-promotions__hero-description {
    font-size: 1rem;
    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;
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-promotions__section-title {
    font-size: 1.8rem;
  }
  .page-promotions__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-promotions__promo-image {
    height: 200px;
  }
  .page-promotions__card-title {
    font-size: 1.5rem;
  }
  .page-promotions__step-number {
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
  }
  .page-promotions__step-title {
    font-size: 1.3rem;
  }
  .page-promotions__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-promotions__feature-title {
    font-size: 1.3rem;
  }
  .page-promotions__faq-question h3 {
    font-size: 1rem;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__current-promos-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__why-choose-section,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom-section,
  .page-promotions__promo-grid,
  .page-promotions__steps-grid,
  .page-promotions__feature-grid,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

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