/* ==== COUNTER STATS STYLING ==== */
:root {
  --brand: #00a9e0;
  --text-dark: #0a3555;
}

/* make media responsive */
.ifp-hero-bg,
.ifp-hero video {
  width: 100%;
  height: auto;
  display: block;
}

.ifp-stats {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  margin: 2rem 0;
}

/* keep the grid centered but let it breathe on large screens */
.ifp-stats .row {
  max-width: 1100px;           /* was 900px */
  margin: 0 auto;
}

.ifp-stats [class*="col-"] { margin-bottom: 2rem; } /* vertical gaps */

.ifp-stat {
  text-align: center;
  color: var(--text-dark);
  background: #fff;
  padding: 2rem 1rem;
  border-radius: 12px;
  transform: translateY(-4px);
  box-shadow: 0 8px 15px -3px rgba(0,0,0,.1);
  transition: transform .2s ease-in-out;
}

.ifp-stat i {
  font-size: 48px;
  color: var(--brand);
  margin-bottom: 12px;
  display: block;
}

.ifp-number-container {
  display: flex;
  justify-content: center;
  align-items: baseline;
  min-height: 3rem;
  margin: .5rem 0;
  gap: .25rem;
}

.ifp-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.ifp-plus {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
  margin-left: .1rem;
}

/* label under numeric counters 
.ifp-label {
  font-weight: 600;
  letter-spacing: .02em;
  margin: 8px 0 0;
  text-transform: uppercase;
  font-size: 1.1rem;
}

/* text cards use normal sentence case 
.ifp-stat h3 { margin: 0 0 .25rem; font-size: 1.25rem; }
.ifp-stat h3 + p {
  text-transform: none;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

/* Bootstrap-3 helpers */
.img-responsive { display:block; max-width:100%; height:auto; }

/* Responsive tune-ups */
@media (max-width: 991px) {
  .ifp-stats .row { max-width: 920px; }
}

@media (max-width: 767px) { /* phones / small tablets (BS3 "xs") */
  .ifp-stat { padding: 1.5rem 1rem; }
  .ifp-number-container { min-height: 2.5rem; }
  .ifp-stat-number { font-size: 2rem; }
  .ifp-plus { font-size: 1.5rem; }
  .ifp-stat i { font-size: 40px; }
  .ifp-label { font-size: 1rem; }
}

.ifp-stat p {
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 8px;
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 1.2rem;
}