.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: var(--primary-color); /* Matches body background from shared.css */
}

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

/* Sections */
.page-promotions__section {
  padding: 80px 0;
  text-align: center;
}

.page-promotions__dark-bg {
  background-color: #0A2239;
  color: #ffffff;
}

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

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

.page-promotions__hero-content {
  max-width: 700px;
  z-index: 1;
  padding-right: 40px;
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

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

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

.page-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: inherit;
}

.page-promotions__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-promotions__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-promotions__text-block {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
  padding: 0 20px;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background-color: #FFD700;
  color: #0A2239;
  border: 2px solid #FFD700;
}

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

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

.page-promotions__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2239;
}

.page-promotions__btn-large {
  padding: 18px 40px;
  font-size: 1.1em;
}

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

.page-promotions__card {
  background-color: #0A2239;
  color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

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

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

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

/* Steps List */
.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
}

.page-promotions__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FFD700;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-promotions__list-title {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
}

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

.page-promotions__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
}

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

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

/* FAQ */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-promotions__faq-item {
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.page-promotions__faq-question {
  background-color: #f9f9f9;
  padding: 18px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: #333333;
  transition: background-color 0.3s ease;
}

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

.page-promotions__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg);
  color: #0A2239;
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #333333;
}

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

.page-promotions__cta-section {
  padding: 100px 0;
  background-color: #0A2239;
  color: #ffffff;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    padding-right: 20px;
  }
  .page-promotions__hero-image-wrapper {
    width: 45%;
  }
  .page-promotions__main-title {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset */
  }

  .page-promotions__hero-content {
    max-width: 100%;
    padding: 0 15px;
    margin-bottom: 40px;
  }

  .page-promotions__hero-image-wrapper {
    position: static;
    width: 100%;
    height: auto;
    order: 1;
  }

  .page-promotions__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    opacity: 1;
  }

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

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

  .page-promotions__section {
    padding: 60px 0;
  }

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

  .page-promotions__promo-grid,
  .page-promotions__feature-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-promotions__card,
  .page-promotions__feature-item {
    padding: 20px;
  }

  .page-promotions__card-image {
    height: 200px;
  }

  .page-promotions__steps-list,
  .page-promotions__terms-list,
  .page-promotions__faq-list,
  .page-promotions__text-block {
    padding: 0 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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important;
  }

  .page-promotions__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

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

  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all containers are responsive */
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__promo-grid,
  .page-promotions__feature-grid,
  .page-promotions__steps-list,
  .page-promotions__terms-list,
  .page-promotions__faq-list,
  .page-promotions__text-block,
  .page-promotions__cta-section,
  .page-promotions__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
}