.page-promotions {
  background-color: #F4F7FB;
  color: #1F2D3D;
}

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

.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding to respect body padding-top from shared.css */
  background-color: #2F6BFF;
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions__hero-content {
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -80px; /* Pull content up slightly over the image for better visual flow */
  position: relative; /* Ensure content is above the image if any overlap */
  z-index: 1; /* Ensure content is above image */
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.8) 0%, #2F6BFF 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-promotions__hero-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  color: #FFFFFF;
  max-width: 100%; /* Ensure H1 doesn't overflow */
}

.page-promotions__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #E0EFFF;
}

.page-promotions__hero-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__hero-button:hover {
  background: linear-gradient(180deg, #6FA3FF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

.page-promotions__offers-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

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

.page-promotions__offers-intro {
  font-size: 1.1em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.page-promotions__offer-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
  display: flex;
  flex-direction: column;
}

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

.page-promotions__offer-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-promotions__offer-card-title {
  font-size: 1.5em;
  color: #1F2D3D;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.3;
}

.page-promotions__offer-card-description {
  font-size: 1em;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__offer-card-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  text-align: center;
  align-self: flex-start; /* Align button to start */
  border: none;
  cursor: pointer;
}

.page-promotions__offer-card-button:hover {
  background: linear-gradient(180deg, #6FA3FF 0%, #4A8BFF 100%);
  transform: translateY(-1px);
}

.page-promotions__cta-section {
  background-color: #2F6BFF;
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
}

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

.page-promotions__cta-description {
  font-size: 1.2em;
  color: #E0EFFF;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 18px 40px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.2em;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button:hover {
  background: linear-gradient(180deg, #6FA3FF 0%, #4A8BFF 100%);
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-promotions__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
  }

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

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

  .page-promotions__hero-button {
    padding: 12px 25px;
    font-size: 0.95em;
  }

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

  .page-promotions__offers-intro {
    font-size: 1em;
  }

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

  .page-promotions__offer-card-image {
    height: 200px;
  }

  .page-promotions__offer-card-title {
    font-size: 1.3em;
  }

  .page-promotions__offer-card-description {
    font-size: 0.95em;
  }

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

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

  .page-promotions__cta-button {
    padding: 15px 30px;
    font-size: 1em;
  }

  /* Ensure all content images are responsive on mobile */
  .page-promotions img {
    max-width: 100%;
    height: auto;
  }
}