:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --login-color-hover: #D56B00; /* Darkened version of login color */
  --primary-color-hover: #2297CC; /* Darkened version of primary color */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #000000; /* Body background is black */
  --card-bg-dark-theme: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
  --card-bg-light-theme: #ffffff;
  --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Ensure consistency with body background */
}

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

/* Header offset for fixed header */
.page-promotions__hero-section {
  padding-top: var(--header-offset, 120px); /* Apply header offset here */
}

/* Sections */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: var(--primary-color); /* Hero section uses primary color */
  color: var(--text-light);
  overflow: hidden;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay */
  filter: none; /* No filter to change color */
}

.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-light); /* Default for dark sections */
}

.page-promotions__introduction,
.page-promotions__promo-types,
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: var(--secondary-color); /* Light background for these sections */
  color: var(--text-dark); /* Dark text on light background */
}

.page-promotions__introduction .page-promotions__section-title,
.page-promotions__promo-types .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-title {
  color: var(--primary-color); /* Primary color for titles on light background */
}

.page-promotions__how-hit-upon,
.page-promotions__optimization,
.page-promotions__video-section,
.page-promotions__cta-bottom {
  padding: 60px 0;
  background-color: var(--background-dark); /* Dark background for these sections */
  color: var(--text-light); /* Light text on dark background */
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: inherit; /* Inherit color from parent section */
}

/* Buttons */
.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

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

.page-promotions__btn-primary {
  background-color: var(--login-color); /* Using login color for primary CTA */
  color: var(--text-light);
  border: 2px solid var(--login-color);
}

.page-promotions__btn-primary:hover {
  background-color: var(--login-color-hover); /* Darken on hover */
  border-color: var(--login-color-hover);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-promotions__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

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

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

.page-promotions__feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background-color: var(--card-bg-dark-theme); /* Card on dark background */
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color); /* Primary color for titles on dark card */
}

.page-promotions__feature-description {
  font-size: 1em;
  color: inherit;
}

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

.page-promotions__promo-card {
  background-color: var(--card-bg-light-theme); /* Card on light background */
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

.page-promotions__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  filter: none; /* No filter */
}

.page-promotions__promo-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--primary-color);
  padding: 0 15px;
}

.page-promotions__promo-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
  color: inherit;
}

.page-promotions__promo-card .page-promotions__btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-light);
  width: calc(100% - 30px); /* Adjust button width within card */
  margin: 0 15px;
}

.page-promotions__promo-card .page-promotions__btn-primary:hover {
  background-color: var(--primary-color-hover);
  border-color: var(--primary-color-hover);
}

/* Optimization List */
.page-promotions__optimization-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-promotions__list-item {
  background-color: var(--card-bg-dark-theme); /* Card on dark background */
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: var(--text-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--primary-color);
}

.page-promotions__list-item strong {
  color: var(--primary-color);
}

/* Video Section */
.page-promotions__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: var(--background-dark);
  border-radius: 10px;
  margin: 0 auto 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: none; /* No filter */
  cursor: pointer;
}

.page-promotions__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay */
  color: var(--text-light);
  font-size: 1.8em;
  font-weight: bold;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
  cursor: pointer;
}

.page-promotions__video-overlay-link:hover {
  opacity: 1;
}

.page-promotions__video-cta {
  background: var(--primary-color);
  padding: 15px 30px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__faq-item {
  background-color: var(--card-bg-light-theme); /* Card on light background */
  color: var(--text-dark);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
  color: var(--primary-color);
}

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

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

.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-out, padding 0.3s ease-out;
  color: var(--text-dark);
}

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

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

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3em;
  }

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

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions__hero-section {
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

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

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

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
}