.page-promotions {
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from shared, for context */
}

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

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

.page-promotions__dark-bg {
  background-color: #007bff;
  color: #ffffff;
}

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

.page-promotions__hero-section {
  position: relative;
  text-align: center;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 80px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.page-promotions__hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffc107; /* Highlight with auxiliary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-promotions__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: inherit; /* Inherit color from parent section */
}

.page-promotions__light-bg .page-promotions__section-title {
  color: #007bff;
}

.page-promotions__dark-bg .page-promotions__section-title {
  color: #ffc107;
}

.page-promotions__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

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

.page-promotions__dark-bg .page-promotions__text-block {
  color: #f0f0f0;
}

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

.page-promotions__card {
  background: #ffffff;
  color: #333333;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e0e0e0; /* Added for contrast */
}

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

.page-promotions__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  padding: 0 20px;
  color: #007bff;
}

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

.page-promotions__btn-primary {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid transparent;
}

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

.page-promotions__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #007bff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 2px solid #007bff;
}

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

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-promotions__btn-large {
  padding: 15px 30px;
  font-size: 1.1rem;
}

.page-promotions__product-promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-promotions__product-promo-item {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-promotions__product-promo-item:nth-child(even) {
  flex-direction: row-reverse;
}

.page-promotions__product-promo-image {
  width: 50%;
  height: auto;
  object-fit: cover;
}

.page-promotions__product-promo-content {
  width: 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.page-promotions__product-promo-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffc107;
}

.page-promotions__product-promo-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promotions__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  color: inherit;
}

.page-promotions__light-bg .page-promotions__sub-title {
  color: #007bff;
}

.page-promotions__dark-bg .page-promotions__sub-title {
  color: #ffc107;
}

.page-promotions__steps-list,
.page-promotions__terms-list,
.page-promotions__vip-benefits-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: inherit;
}

.page-promotions__steps-list li,
.page-promotions__terms-list li,
.page-promotions__vip-benefits-list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: inherit;
  text-align: left;
}

.page-promotions__light-bg .page-promotions__steps-list li,
.page-promotions__light-bg .page-promotions__terms-list li,
.page-promotions__light-bg .page-promotions__vip-benefits-list li {
  background: #f8f9fa;
  color: #333333;
  border: 1px solid #e9ecef;
}

.page-promotions__steps-list li p,
.page-promotions__terms-list li p,
.page-promotions__vip-benefits-list li p {
  margin: 0;
  line-height: 1.6;
  color: inherit;
}

.page-promotions__steps-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: #ffc107;
  color: #000000;
  font-weight: 700;
  width: 30px;
  height: 30px;
  min-width: 30px; /* Ensure it doesn't shrink */
  min-height: 30px; /* Ensure it doesn't shrink */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}

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

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

.page-promotions__light-bg .page-promotions__faq-item {
  background: #f8f9fa;
  color: #333333;
  border: 1px solid #e9ecef;
}

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

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

.page-promotions__light-bg .page-promotions__faq-question:hover {
  background-color: #e9ecef;
}

.page-promotions__faq-title {
  margin: 0;
  color: inherit;
  font-size: 1.1rem;
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #ffc107;
}

.page-promotions__light-bg .page-promotions__faq-toggle {
  color: #007bff;
}

.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;
  color: inherit;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px 20px;
}

.page-promotions__faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: inherit;
}

.page-promotions__cta-section {
  text-align: center;
  padding: 100px 0;
  background-color: #007bff;
  color: #ffffff;
}

.page-promotions__cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffc107;
}

.page-promotions__cta-description {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Links within text blocks */
.page-promotions__text-block a,
.page-promotions__steps-list li a {
  color: #ffc107;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-promotions__text-block a:hover,
.page-promotions__steps-list li a:hover {
  color: #ffffff;
}

.page-promotions__light-bg .page-promotions__text-block a,
.page-promotions__light-bg .page-promotions__steps-list li a {
  color: #007bff;
}

.page-promotions__light-bg .page-promotions__text-block a:hover,
.page-promotions__light-bg .page-promotions__steps-list li a:hover {
  color: #0056b3;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3rem;
  }
  .page-promotions__section-title {
    font-size: 2rem;
  }
  .page-promotions__product-promo-title {
    font-size: 1.8rem;
  }
  .page-promotions__product-promo-content {
    padding: 30px;
  }
  .page-promotions__cta-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-bottom: 60px;
  }
  .page-promotions__hero-title {
    font-size: 2.2rem;
  }
  .page-promotions__hero-description {
    font-size: 1.1rem;
  }
  .page-promotions__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    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;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-promotions__section {
    padding: 60px 0;
  }
  .page-promotions__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-promotions__text-block {
    font-size: 1rem;
    padding: 0 15px;
  }
  .page-promotions__grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-promotions__card {
    padding-bottom: 20px;
  }
  .page-promotions__card-title {
    font-size: 1.3rem;
  }
  .page-promotions__card-image {
    height: 200px;
  }

  .page-promotions__product-promo-item {
    flex-direction: column !important;
  }
  .page-promotions__product-promo-image,
  .page-promotions__product-promo-content {
    width: 100%;
  }
  .page-promotions__product-promo-content {
    padding: 25px;
    align-items: center;
    text-align: center;
  }
  .page-promotions__product-promo-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
  .page-promotions__product-promo-text {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-promotions__sub-title {
    font-size: 1.5rem;
    padding: 0 15px;
  }
  .page-promotions__steps-list,
  .page-promotions__terms-list,
  .page-promotions__vip-benefits-list {
    padding: 0 15px;
  }
  .page-promotions__steps-list li,
  .page-promotions__terms-list li,
  .page-promotions__vip-benefits-list li {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-promotions__faq-answer {
    padding: 0 20px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 10px 20px 15px;
  }
  .page-promotions__cta-section {
    padding: 80px 0;
  }
  .page-promotions__cta-title {
    font-size: 2rem;
  }
  .page-promotions__cta-description {
    font-size: 1rem;
    padding: 0 15px;
  }

  /* Image responsive rules */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__product-promo-item,
  .page-promotions__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
  .page-promotions__product-promo-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8rem;
  }
  .page-promotions__section-title {
    font-size: 1.5rem;
  }
  .page-promotions__cta-title {
    font-size: 1.8rem;
  }
  .page-promotions__product-promo-title {
    font-size: 1.4rem;
  }
}