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

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

.page-promotions__hero-section {
  background: linear-gradient(135deg, #017439, #00502a); /* Brand primary color gradient */
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-promotions__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFF00; /* High contrast for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__intro-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

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

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

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

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

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

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

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

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

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

.page-promotions__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-promotions__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-promotions__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-promotions__image-wrapper {
  text-align: center;
}

.page-promotions__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

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

.page-promotions__card {
  background-color: #ffffff; /* White background for cards */
  color: #333333; /* Dark text for white cards */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-promotions__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439; /* Brand color for card titles */
}

.page-promotions__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: #555555;
}

.page-promotions__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__step-item {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-promotions__step-icon {
  background-color: #017439;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

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

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

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  color: #f0f0f0;
  font-size: 1.05em;
}

.page-promotions__list-item strong {
  color: #FFFF00;
}

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

.page-promotions__reason-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-promotions__reason-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-promotions__faq-list {
  margin-top: 40px;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.2); /* Slightly darker for contrast */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  padding: 20px;
  font-size: 1.05em;
  color: #f0f0f0;
  background-color: rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-promotions__cta-final {
  background-color: #017439;
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-promotions__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* High contrast for CTA title */
}

.page-promotions__cta-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-promotions__copyright {
  background-color: #1a1a1a;
  color: #999999;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9em;
}

.page-promotions__copyright-text {
  margin: 0;
}

/* Links within content */
.page-promotions__text-block a,
.page-promotions__card-text a,
.page-promotions__step-text a,
.page-promotions__list-item a,
.page-promotions__reason-text a,
.page-promotions__faq-answer a,
.page-promotions__cta-text a {
  color: #FFFF00; /* Highlight internal links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-promotions__text-block a:hover,
.page-promotions__card-text a:hover,
.page-promotions__step-text a:hover,
.page-promotions__list-item a:hover,
.page-promotions__reason-text a:hover,
.page-promotions__faq-answer a:hover,
.page-promotions__cta-text a:hover {
  color: #d12a2a; /* Hover color for links */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }

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

  .page-promotions__cta-title {
    font-size: 2.4em;
  }

  .page-promotions__grid-layout {
    grid-template-columns: 1fr;
  }

  .page-promotions__image-wrapper {
    order: -1; /* Image on top for smaller screens */
    margin-bottom: 30px;
  }
}

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

  .page-promotions__hero-section,
  .page-promotions__section,
  .page-promotions__cta-final {
    padding: 40px 0;
  }

  .page-promotions__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

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

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

  .page-promotions__card-grid,
  .page-promotions__guide-steps,
  .page-promotions__why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card,
  .page-promotions__step-item,
  .page-promotions__reason-card {
    padding: 20px;
  }

  .page-promotions__card-title,
  .page-promotions__step-title,
  .page-promotions__reason-title {
    font-size: 1.4em;
  }

  .page-promotions__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-promotions__faq-answer {
    font-size: 1em;
    padding: 15px;
  }

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

  .page-promotions__cta-text {
    font-size: 1em;
  }

  /* Mobile image specific rules */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__image-wrapper,
  .page-promotions__card,
  .page-promotions__step-item,
  .page-promotions__reason-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }

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

  .page-promotions__cta-title {
    font-size: 1.8em;
  }
}

/* Hide default details arrow */
.page-promotions__faq-item > summary::-webkit-details-marker {
  display: none;
}
.page-promotions__faq-item > summary {
  list-style: none;
}