.vertically_shifted_card {
    display: flex;
    justify-content: center;
    gap: 100px;
    padding: 58px; 0 35.98px
}
.left-shifted-cards,
.right-shifted-cards {
    display: flex;
    flex-direction: column;
    gap: 82px;
}
.shifted-card {
  width: 440px;
  padding: 32px 20px 24px;
  border-radius: 5px;
  background: #FFF;
  box-shadow: 3px 3px 11px rgba(96, 108, 137, 0.13);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.shifted-card img {
  max-width: 40rem;
  max-height: 25rem;
  object-fit: cover;
}
/* Shift the entire right column down by 97px */
.right-shifted-cards {
    margin-top: 97px;
}
.shifted-card-number {
    position: absolute;
    top: -52px;
    left: 24.5px;
    color: #ffffff;
    font-weight: bold;
}
.number-circle {
  background-color: #436FB0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
.number-circle_inner {
  position: absolute;
  top: 50%;
  left:50%;
  transform: translate(-50%, -50%);
}
.shifted-card-number p{
  text-align: center;
  font-family: Lexend;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
  line-height: 100%;
}
.shifted-card-number p:first-of-type {
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
  white-space:nowrap;
}
.shifted-card-number p:last-of-type {
  font-size: 27px;
  padding-top: 10px
}
.shifted-card h2 {
    color: var(--main-blue, #012866);
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 36px */
    margin: 18px 0 0;
}
.shifted-card_subtext {
    color: var(--text-black, #232323);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 180%; /* 28.8px */
    width: 400px;
    margin: auto;
    text-align: left;
    max-width: 100%;
    min-height: 173px;
    display: flex;
    align-items: center;
}
@media (max-width: 1024px) {
    .vertically_shifted_card {
        display: grid;
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 0;
        max-width: 50%;
        margin: 0 auto;
    }

    .left-shifted-cards,
    .right-shifted-cards {
        display: contents; /* Ensures the grid structure is followed */
    }

    .shifted-card {
        width: unset; 
    }
  
  .shifted-card img {
    width: 100%;
  }

    /* Define grid areas for each card to control order */
    .shifted-card1 { grid-area: card1; }
    .shifted-card2 { grid-area: card2; }
    .shifted-card3 { grid-area: card3; }
    .shifted-card4 { grid-area: card4; }

    .vertically_shifted_card {
        grid-template-areas: 
            "card1"
            "card2"
            "card3"
            "card4";
    }
  
  .shifted-card-number {
    top: -35px;
    left: 24px;
  }
  .number-circle {
    width: 70px;
    height: 70px;
}
  .shifted-card-number p:first-of-type {
    font-size: 10px;
    padding-bottom: 5px
  }
  .shifted-card-number p:last-of-type {
    font-size: 22px;
    padding-top: 6px;
  }
}

@media (max-width: 480px) {
  .vertically_shifted_card {
    max-width: 100%
  }
  .shifted-card {
    width: calc(100vw - 36px);
    margin: 0 auto;
    height: 100%
  }
  .shifted-card h2 {
    font-size: 1.8rem;
    max-width: 19.5rem;
  }
  .shifted-img-cont {
    width: 50%;
    max-height: 15rem;
  }
  .shifted-card img {
    max-height: 100%;
    max-width: 100%;
  }
}