.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Ensures consistency with default body background */
}

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

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

.page-promotions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #FFFFFF;
}

.page-promotions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Register and Login Font color for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

.page-promotions__dark-section {
  background-color: #017439;
  color: #FFFFFF;
}

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

.page-promotions__dark-section .page-promotions__section-title {
  color: #FFFF00; /* Highlight title in dark sections */
}

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

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

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

.page-promotions__promotion-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: #333333;
}

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

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

.page-promotions__card-title a {
  color: #017439;
  text-decoration: none;
}

.page-promotions__card-title a:hover {
  text-decoration: underline;
}

.page-promotions__card-description {
  font-size: 1em;
  line-height: 1.5;
  padding: 0 15px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

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

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

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

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

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

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

.page-promotions__why-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  color: #FFFFFF;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions__why-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.page-promotions__why-item-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-promotions__why-item p {
  font-size: 1em;
  line-height: 1.6;
}

.page-promotions__faq-section {
  background-color: #f9f9f9;
  color: #333333;
}

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

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

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

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

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

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

.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;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

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

.page-promotions__cta-content {
  max-width: 900px;
}

.page-promotions__cta-bottom .page-promotions__section-title {
  font-size: 2.8em;
  color: #FFFF00;
}

.page-promotions__cta-bottom .page-promotions__section-subtitle {
  color: #FFFFFF;
}

/* Responsive Styles */
@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__hero-section {
    min-height: 400px;
  }
  .page-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary, .page-promotions__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__section {
    padding: 40px 15px;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-subtitle {
    font-size: 0.95em;
  }
  .page-promotions__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__card-image {
    height: 200px;
  }
  .page-promotions__card-title {
    font-size: 1.3em;
  }
  .page-promotions__why-list {
    grid-template-columns: 1fr;
  }
  .page-promotions__faq-question,
  .page-promotions__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__cta-bottom {
    padding: 60px 15px;
  }
  .page-promotions__cta-bottom .page-promotions__section-title {
    font-size: 2em;
  }
  
  /* Image responsive adaptations */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure offset on mobile */
  }

  /* Buttons responsive adaptations */
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 15px;
    flex-direction: column;
  }
  .page-promotions__cta-buttons--center {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__card-title {
    font-size: 1.2em;
  }
  .page-promotions__faq-question h3 {
    font-size: 1em;
  }
  .page-promotions__faq-question {
    padding: 15px 15px;
  }
  .page-promotions__faq-answer {
    padding: 10px 15px;
  }
}

/* Ensure content images are not too small */
.page-promotions img:not(.page-promotions__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

/* Specific fix for card images if needed */
.page-promotions__promotion-card .page-promotions__card-image {
  min-width: 200px; /* Ensure card images meet minimum size */
  min-height: 200px;
}

/* Ensure text contrast for default light background */
.page-promotions p, .page-promotions li, .page-promotions__card-description {
  color: #333333;
}

.page-promotions__faq-question h3, .page-promotions__faq-answer p {
  color: #333333;
}