.step_slider_card {
  /* min-height: 31rem;
  flex: none; */
  /*height: 100%;  Optional: Helps enforce full height */
  /* max-width: 24.75rem;
  flex: 0 0 auto; */

  background-color: #ffffff;
  flex: 0 0 24.75rem; /* fixed width */
  padding: 2.625rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.ss_title {
  font-size: 1.625rem;
  font-weight: 700;
}

.ss_number {
  color: #7e7e81;
  margin-bottom: 5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.ss_para {
  color: #7e7e81;
  margin-top: 0.625rem;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.44;
}

.all_steps_cards {
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  display: flex;
  gap: 2rem;
  width: max-content; /* Important: allow full width for horizontal scroll */
}

.steps_card-wrap {
  /* grid-column-gap: 1.5rem;
  grid-row-gap: 1.5rem;
  flex-flow: row;
  justify-content: flex-start;
  align-items: flex-start; */
  display: flex;
  gap: 2rem;
  align-items: stretch; /* makes all children equal height */
}

.container {
  grid-column-gap: 4rem;
  grid-row-gap: 0.5rem;
  flex-flow: column;
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  display: flex;
}

.step_sec {
  background-color: #f0f0f0;
}

.step_sec .pin-spacer {
  overflow: visible !important;
}

.sticky_wrapper,
.sticky_steps,
.container.is_step {
  overflow: visible;
}

@media (max-width: 767px) {
  .step_sec { height: auto !important; }
  .sticky_wrapper { position: static !important; }

  .all_steps_cards {
    width: 100% !important;         
    transform: none !important;      
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 3rem !important;
  }

  .steps_card-wrap {
    display: flex;
    flex-direction: column;          
    gap: 2rem;
    width: 100%;
  }

  .step_slider_card {
    flex: none;
    width: 100%;
    max-width: 100%;
  }
}
