.stats-section-widget {
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  justify-content: space-between;
}

.stats-section-widget h2 {
  color: #FFF;
  font-family: "europa", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.96px;
  margin-bottom: 0;
}

.stats-content {
  display: flex;
  max-width: 1300px;
  justify-content: space-between;
  align-items: center;
  flex: 1 0 0;
  padding-top: 120px;
  padding-bottom: 120px;
}

.stat-item strong {
  color: #1F5BA5;
  text-align: center;
  width: 100%;
  font-family: "europa", sans-serif;
  font-size: 63.726px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.912px;
  text-transform: capitalize;
  margin-bottom: 48px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  text-align: center;
}

.stat-item iframe {
  margin-bottom: 0;
  float: right;
  max-width: 230px;
}

.stat-item span {
  color: #1F5BA5;
  text-align: center;
  font-family: "europa", sans-serif;
  font-size: 32.774px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.983px;
  text-transform: capitalize;
}

.stats-counter-holder.panel-row-style {
  background-position: center center !important;
  background-repeat: repeat !important;
  background-size: contain !important;
}

@media only screen and (max-width: 1240px) {
  .stats-section-widget h2 {
    max-width: 410px;
  }

  .stats-content {
    gap: 30px;
  }

  .stat-item strong {
    font-size: 48px;
    letter-spacing: 1px;
    margin-bottom: 40px;
  }

  .stat-item span {
    font-size: 26px;
  }
}

@media only screen and (max-width: 960px) {
  .stats-section-widget {
    flex-direction: column;
  }

  .stats-section-widget h2 {
    text-align: center;
  }

  .stats-content {
    padding-top: 60px;
    padding-bottom: 60px;
    flex-direction: column;
  }

  .stat-item strong {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 550px) {
  .stats-section-widget h2 {
    margin-bottom: 30px;
  }

  .stats-content {
    display: flex;
    flex-wrap: wrap;
    /* Allow items to wrap to the next line */
    gap: 20px;
    justify-content: center;
    /* Ensure space between items */
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Centers content horizontally */
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    /* Ensure padding/border doesn't affect width */
  }

  .stat-item span {
    font-size: 22px;
  }

  .stat-item strong {
    font-size: 38px;
    margin-bottom: 30px;
  }
}
