.counter-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 30% 20%, rgba(var(--bs-primary-rgb), .16), transparent 34%),
    #000;
}

.counter-card {
  height: 100%;
  min-height: 420px;
  padding: clamp(2rem, 5vw, 3rem) 1.5rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: #fff;

  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .35);
  backdrop-filter: blur(12px);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease,
    background-color .25s ease;
}

.counter-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--bs-primary-rgb), .45);
  background: rgba(255, 255, 255, .065);
  box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, .45);
}

.counter-img {
  display: block;
  width: min(150px, 42vw);
  height: auto;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 .75rem 1.25rem rgba(255, 255, 255, .08));
  transition: transform .3s ease, filter .3s ease;
}

.counter-card:hover .counter-img {
  transform: scale(1.04);
  filter: drop-shadow(0 1rem 1.6rem rgba(255, 255, 255, .12));
}

.counter-number {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.05em;
  color: #fff;
}

.counter-label {
  margin-top: .8rem;
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255, 255, 255, .78);
}

.counter-card p {
  max-width: 32ch;
  margin-inline: auto;
  color: rgba(255, 255, 255, .82);
}

.counter-card .btn-light {
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-color: #111;
  --bs-btn-hover-bg: rgba(255, 255, 255, .88);
  --bs-btn-hover-border-color: rgba(255, 255, 255, .88);
}

@media (max-width: 767.98px) {
  .counter-card {
    min-height: auto;
  }
