.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF;
}

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

.page-promotions__hero-section {
  position: relative;
  padding: 100px 0 60px; /* Adjust padding-top to account for header offset */
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bb0 100%); /* Primary color gradient */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-promotions__hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-promotions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-promotions__hero-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

.page-promotions__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  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;
  border: none;
  cursor: pointer;
}

.page-promotions__btn-primary:hover {
  background-color: #d16b06;
  transform: translateY(-2px);
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-promotions__overview-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-promotions__overview-image {
  display: block;
  margin: 40px auto 0;
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-promotions__categories-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-promotions__promo-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

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

.page-promotions__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 12px 25px;
  border: 2px solid #26A9E0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.page-promotions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-promotions__guide-section {
  padding: 80px 0;
  color: #ffffff;
  background: linear-gradient(135deg, #1a7bb0 0%, #26A9E0 100%); /* Primary color gradient */
}

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

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

.page-promotions__guide-list li {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__guide-step-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__guide-list p {
  color: #f0f0f0;
  font-size: 1em;
}

.page-promotions__guide-image {
  display: block;
  margin: 40px auto 0;
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-promotions__terms-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-promotions__terms-list {
  list-style: disc;
  margin: 40px auto;
  max-width: 900px;
  padding-left: 40px;
  color: #555555;
  font-size: 1.05em;
}

.page-promotions__terms-list li {
  margin-bottom: 15px;
}

.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

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

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

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

.page-promotions__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  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;
}

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

.page-promotions__faq-answer p {
  color: #f0f0f0;
  font-size: 1em;
  margin: 0;
}

.page-promotions__final-cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #f0f8ff; /* Lightest blue background */
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__hero-section {
    padding: 80px 0 40px !important;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .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-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__guide-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  /* Ensure all images are responsive and don't cause overflow */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce minimum size */
    min-height: 200px !important; /* Enforce minimum size */
    object-fit: cover !important;
  }

  .page-promotions__promo-card, .page-promotions__faq-item, .page-promotions__guide-list li {
    padding: 20px !important;
  }

  .page-promotions__promo-card .page-promotions__btn-secondary {
    margin-top: 15px; /* Add spacing for stacked buttons */
  }
}

/* Color Contrast & Specific Backgrounds */
.page-promotions__dark-bg {
  color: #ffffff;
}

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

.page-promotions__hero-section .page-promotions__btn-primary {
  background-color: #EA7C07;
  color: #ffffff;
}

.page-promotions__hero-section .page-promotions__btn-primary:hover {
  background-color: #d16b06;
}

.page-promotions__btn-secondary {
  border-color: #26A9E0;
  color: #26A9E0;
}

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

.page-promotions__faq-question h3, .page-promotions__faq-toggle {
  color: #ffffff;
}

.page-promotions__faq-answer p {
  color: #f0f0f0;
}

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

.page-promotions__guide-step-title {
  color: #ffffff;
}

.page-promotions__guide-list p {
  color: #f0f0f0;
}

.page-promotions__final-cta-section .page-promotions__section-title {
  color: #26A9E0;
}

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