.number_cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1.6rem;
  padding-top: 7rem;
  margin: 0 auto;
  row-gap: 10.5rem;
  
}
.card_image {
  max-width: 271px;
  height: 264px;
  object-fit:cover;
}
.card_image img {
  width; 100%
  height: 100%;
  max-width: 27.1rem;
  max-height: 26.4rem;
  object-fit: cover;
}
.number_card {
  width: 31rem;
  display: flex;
  padding: 3.2rem 2rem;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1.6rem;
  position: relative;
  filter: drop-shadow(3px 3px 11px rgba(96, 108, 137, 0.13));
  background-color:white;
}
.card_number {
  position: absolute;
  top: -7rem;
  left: 50%;
  transform: translateX(-50%);
}
.number_card_circle {
  width: 15rem;
  height: 7rem;
  background: #fff;
  border-top-left-radius: 10rem;
  border-top-right-radius: 10rem;
  position: relative;
}
.card_number p {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  color: var(--main-blue, #012866);
  font-family: Lexend;
  font-size: 4.8rem;
  font-style: normal;
  font-weight: 500;
  margin: 0;
  letter-spacing: -2.4px;
  line-height: 100%;
}

.annotation{
  font-size:1.1rem;
}


.number_card_title p {
  display:flex;
  justify-content:center;
  align-items:center;
  color: var(--main-blue, #012866);
  text-align: center;
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 700;
  line-height: 180%; /* 32.4px */
  margin-bottom: 1.6rem;
  min-height:6.48rem;
}
.card_text span:nth-child(2) {
  color: var(--text-black, #232323);
  text-align: justify;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 2.56rem */
}
.card_text li span {
  color: var(--text-black, #232323);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
}
.card_text img {
  width: 100%;
  height: auto;
  border-radius: .8rem;
  margin-top: auto; /* Pushes the image to the bottom of the card */
  align-self: center;
}

@media (max-width: 768px) {
  .number_cards {
    align-items: center;
    gap: 10.5rem;
  }
  
  .card_image {
    width: calc(100% - 6rem);
    margin: 0 auto;
    height: auto;
    text-align: center;
  }
  .card_image img{
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
}

@media (max-width: 480px) {

  .number_card_title p {
    min-height:auto;
    margin-bottom:0;
  }
  .number_card {
    width: calc(100% - 6.6rem);
    max-width: 100%;
    padding-top:2rem;
  }
  
    .number_cards {
      row-gap:8rem;
  }
}