.page-promotions {
  background-color: #F4F7FB;
  color: #1F2D3D;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  padding: 0 15px;
}

/* Hero Section */
.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 15px 50px;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #FFFFFF;
  border-radius: 10px;
  margin-bottom: 40px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

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

.page-promotions__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-promotions__main-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem); /* Using clamp for H1 */
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__hero-cta {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Categories Section */
.page-promotions__categories-section {
  padding: 50px 15px;
  background-color: #F4F7FB;
}

.page-promotions__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions__category-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #1F2D3D;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 300px; /* Ensure cards have a minimum height */
}

.page-promotions__category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-promotions__card-title {
  font-size: 1.25rem;
  font-weight: 700;
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Featured Promotion Section */
.page-promotions__featured-promotion {
  padding: 50px 15px;
  background-color: #E0EFFF;
}

.page-promotions__featured-card {
  background-color: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.page-promotions__featured-content {
  padding: 30px;
  text-align: center;
}

.page-promotions__featured-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-promotions__featured-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 25px;
}

.page-promotions__featured-cta {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-promotions__featured-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
}

/* How It Works Section */
.page-promotions__how-it-works {
  padding: 50px 15px;
  background-color: #F4F7FB;
}

.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.page-promotions__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 280px;
}

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

.page-promotions__step-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
}

.page-promotions__step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-promotions__step-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #1F2D3D;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-promotions__step-link {
  display: inline-block;
  padding: 8px 18px;
  background-color: #6FA3FF;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-promotions__step-link:hover {
  background-color: #4A8BFF;
}

/* FAQ Section */
.page-promotions__faq {
  padding: 50px 15px;
  background-color: #E0EFFF;
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-promotions__faq-question {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1F2D3D;
  padding: 20px 25px;
  cursor: pointer;
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-promotions__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: #2F6BFF;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item.is-active .page-promotions__faq-question::after {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

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

.page-promotions__faq-answer a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 500;
}

.page-promotions__faq-answer a:hover {
  text-decoration: underline;
}

.page-promotions__faq-footer {
  text-align: center;
  margin-top: 30px;
  font-size: 1rem;
  color: #1F2D3D;
}

.page-promotions__faq-footer a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 500;
}

.page-promotions__faq-footer a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-promotions__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 849px) {
  .page-promotions__hero-section {
    padding-top: 20px;
    padding-bottom: 30px;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-promotions__hero-description {
    font-size: 1rem;
  }
  .page-promotions__hero-cta {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-promotions__featured-card {
    flex-direction: column;
  }
  .page-promotions__featured-content {
    padding: 20px;
  }
  .page-promotions__featured-title {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem);
  }
  .page-promotions__card-image, .page-promotions__step-icon, .page-promotions__featured-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-promotions__section-title {
    margin-bottom: 30px;
  }
  .page-promotions__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__step-card {
    min-height: auto;
  }
  .page-promotions__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  /* Critical for image overflow on mobile */
  .page-promotions img {
    max-width: 100%;
    height: auto;
  }
  .page-promotions__card-image {
    max-width: 100%;
    height: auto;
  }
  .page-promotions__step-icon {
    max-width: 100px;
    height: auto;
  }
  .page-promotions__featured-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 549px) {
  .page-promotions__hero-section {
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-promotions__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
  .page-promotions__hero-description {
    font-size: 0.9rem;
  }
  .page-promotions__category-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__category-card {
    min-height: auto;
  }
  .page-promotions__card-image {
    height: 180px;
  }
  .page-promotions__card-title {
    font-size: 1.1rem;
  }
  .page-promotions__featured-content {
    padding: 15px;
  }
  .page-promotions__featured-title {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }
  .page-promotions__how-it-works, .page-promotions__faq {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Ensure content images are never smaller than 200px in content area */
.page-promotions__category-card img, 
.page-promotions__featured-image, 
.page-promotions__step-card img {
  min-width: 200px;
  min-height: 200px;
}

/* Override for step icons to be smaller but still >= 200px in content css rules */
.page-promotions__step-icon {
  width: 200px; /* Enforce min-width 200px for content area images */
  height: 200px; /* Enforce min-height 200px for content area images */
  object-fit: contain; /* Allow containing smaller images */
}

/* Adjustments to ensure text color contrast */
.page-promotions__faq-question {
  color: #1F2D3D; /* Text Main */
}

.page-promotions__faq-answer p, .page-promotions__faq-footer {
  color: #1F2D3D; /* Text Main */
}

.page-promotions__hero-description {
  color: #E0EFFF; /* Sufficient contrast against blue gradient */
}

.page-promotions__card-title, .page-promotions__featured-description, .page-promotions__step-description {
  color: #1F2D3D; /* Text Main */
}