.page-promo {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-promo__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-promo__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promo__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-promo__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  font-size: 1em;
  text-align: center;
}

.page-promo__button--register {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-promo__button--register:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-promo__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-promo__button--login:hover {
  background-color: #E0A73C;
  border-color: #E0A73C;
}

.page-promo__button--details,
.page-promo__button--view-details {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-promo__button--details:hover,
.page-promo__button--view-details:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-promo__button--register-large {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-promo__button--register-large:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-promo__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-promo__button--download:hover {
  background-color: #E0A73C;
  border-color: #E0A73C;
}

/* Hero Section */
.page-promo__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-bottom: 50px;
}

.page-promo__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-promo__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-promo__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  color: #FFFFFF;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-promo__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-promo__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promo__hero-actions .page-promo__button {
  margin: 0 10px;
}

/* Why Choose Section */
.page-promo__why-choose-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-promo__why-choose-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-promo__item-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promo__item-description {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

/* Featured Promotions Section */
.page-promo__featured-promotions-section {
  padding: 60px 0;
}

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

.page-promo__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-promo__promo-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.page-promo__promo-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-promo__promo-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promo__promo-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* More Promotions Section (Detail List) */
.page-promo__more-promotions-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-promo__detail-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.page-promo__detail-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-promo__detail-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promo__detail-title a {
  color: #000000;
  text-decoration: none;
}

.page-promo__detail-title a:hover {
  color: #FCBC45;
}

.page-promo__detail-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* CTA Section */
.page-promo__cta-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-promo__cta-section .page-promo__section-title {
  color: #FFFFFF;
}

.page-promo__cta-section .page-promo__section-subtitle {
  color: #f0f0f0;
  margin-bottom: 50px;
}

.page-promo__cta-actions .page-promo__button {
  margin: 0 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promo__hero-title {
    font-size: 3em;
  }
  .page-promo__hero-description {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-promo__section-title {
    font-size: 2em;
  }
  .page-promo__hero-title {
    font-size: 2.5em;
  }
  .page-promo__hero-description {
    font-size: 1.1em;
  }
  .page-promo__hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .page-promo__hero-actions .page-promo__button {
    margin: 0;
    width: 100%;
  }

  .page-promo__why-choose-grid,
  .page-promo__promo-grid,
  .page-promo__detail-list-grid {
    grid-template-columns: 1fr;
  }

  .page-promo__why-choose-item,
  .page-promo__promo-card,
  .page-promo__detail-card {
    margin-bottom: 20px;
  }

  .page-promo__cta-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .page-promo__cta-actions .page-promo__button {
    margin: 0;
    width: 100%;
  }

  /* Mobile content area image constraint */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-promo__hero-title {
    font-size: 2em;
  }
  .page-promo__hero-description {
    font-size: 1em;
  }
  .page-promo__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-promo__button--register-large,
  .page-promo__button--download {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promo__item-title,
  .page-promo__promo-title,
  .page-promo__detail-title {
    font-size: 1.5em;
  }
}