.page-promotions {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-promotions__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

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

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

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Default height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  box-sizing: border-box;
}

.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); /* Dark overlay for text readability */
  z-index: 2;
}

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

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

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

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

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

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

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

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

/* Specific button colors */
.page-promotions__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-promotions__btn-register:hover {
  background-color: #a00606;
  border-color: #a00606;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
  padding: 80px 0;
}

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

.page-promotions__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-promotions__feature-item:hover {
  transform: translateY(-10px);
}

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

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

.page-promotions__feature-text {
  font-size: 1em;
  color: #555555;
}

.page-promotions__additional-text {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
  color: inherit;
}

/* Promotion Types Section */
.page-promotions__promotion-types-section {
  padding: 80px 0;
}

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

.page-promotions__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

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

.page-promotions__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__card-title {
  font-size: 1.4em;
  padding: 20px 20px 0;
  margin-bottom: 10px;
  color: #017439;
  font-weight: bold;
}

.page-promotions__card-text {
  font-size: 0.95em;
  padding: 0 20px 20px;
  flex-grow: 1;
  color: #555555;
}

.page-promotions__card .page-promotions__btn-primary,
.page-promotions__card .page-promotions__btn-secondary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  padding: 12px 20px;
  font-size: 1em;
}

.page-promotions__card .page-promotions__btn-secondary {
  color: #017439;
  border-color: #017439;
  background-color: transparent;
}

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

/* Guide Section */
.page-promotions__guide-section {
  padding: 80px 0;
}

.page-promotions__guide-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
  align-items: center;
}

.page-promotions__guide-steps {
  flex: 1;
  min-width: 300px;
}

.page-promotions__guide-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-promotions__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__ordered-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-promotions__list-item {
  margin-bottom: 25px;
  position: relative;
  padding-left: 50px;
  color: #333333;
}

.page-promotions__list-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #017439;
  color: #ffffff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-promotions__list-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 5px;
  font-weight: bold;
}

.page-promotions__list-text {
  font-size: 1em;
  color: #555555;
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 80px 0;
}

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

.page-promotions__term-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #ffffff;
}

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

.page-promotions__term-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* VIP Section */
.page-promotions__vip-section {
  padding: 80px 0;
}

.page-promotions__vip-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
  align-items: center;
}

.page-promotions__vip-image {
  flex: 1;
  min-width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__vip-list {
  flex: 1;
  min-width: 300px;
  list-style: none;
  padding: 0;
}

.page-promotions__vip-list .page-promotions__list-item {
  padding-left: 0;
  margin-bottom: 15px;
  position: relative;
  color: #333333;
}

.page-promotions__vip-list .page-promotions__list-item::before {
  content: '💎';
  position: absolute;
  left: -30px;
  top: 0;
  font-size: 1.2em;
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
}

.page-promotions__vip-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
}

.page-promotions__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

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

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg); /* Plus sign to X or minus */
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #1a1a1a; /* Darker background for answer */
  color: #f0f0f0;
}

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

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

/* CTA Section */
.page-promotions__cta-section {
  padding: 80px 0;
  text-align: center;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3em;
  }
  .page-promotions__hero-description {
    font-size: 1.2em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__features-grid,
  .page-promotions__cards-grid,
  .page-promotions__terms-content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-promotions__guide-content,
  .page-promotions__vip-benefits {
    flex-direction: column;
  }
  .page-promotions__guide-image-wrapper,
  .page-promotions__vip-image {
    order: -1; /* Image first on mobile */
  }
  .page-promotions__vip-list .page-promotions__list-item::before {
    left: 15px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Important for mobile header offset */
  }
  .page-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__hero-cta-buttons,
  .page-promotions__vip-cta,
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    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__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-description {
    font-size: 0.95em;
  }
  .page-promotions__container {
    padding: 0 15px;
  }
  .page-promotions__feature-image,
  .page-promotions__card-image,
  .page-promotions__guide-image,
  .page-promotions__vip-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px;
    min-height: 200px;
  }
  .page-promotions__why-choose-section,
  .page-promotions__promotion-types-section,
  .page-promotions__guide-section,
  .page-promotions__terms-section,
  .page-promotions__vip-section,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    padding: 40px 0 !important;
  }
  .page-promotions__feature-item,
  .page-promotions__card,
  .page-promotions__term-item,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto;
    margin-right: auto;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-promotions__faq-answer {
    padding: 0 20px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 20px;
  }
  .page-promotions__vip-list .page-promotions__list-item::before {
    left: -25px; /* Adjust for smaller padding */
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-promotions__hero-description {
    font-size: 0.9em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__features-grid,
  .page-promotions__cards-grid,
  .page-promotions__terms-content {
    grid-template-columns: 1fr;
  }
  .page-promotions__list-item {
    padding-left: 40px;
  }
  .page-promotions__list-item::before {
    width: 30px;
    height: 30px;
    font-size: 1em;
  }
  .page-promotions__list-title {
    font-size: 1.1em;
  }
  .page-promotions__faq-question {
    font-size: 0.9em;
  }
}