/* Reusable brand button */
.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  color: #fff;
  background-color: #00BF63;        /* brand green */
  border: 1px solid #00BF63;
  border-radius: 9999px;             /* pill */
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 2px 6px rgba(0,0,0,.08);
  transition: background-color .2s ease, border-color .2s ease, transform .02s ease;
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  background-color: #128A3D;         /* hover/darker */
  border-color: #128A3D;
  text-decoration: none;
}

.btn-brand:active {
  transform: translateY(1px);
}

.btn-brand:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(22,163,74,.25),   /* focus ring */
    0 1px 2px rgba(0,0,0,.06),
    0 2px 6px rgba(0,0,0,.08);
}

.btn-brand.disabled,
.btn-brand[disabled] {
  opacity: .65;
  pointer-events: none;
}

/* Optional: dark background link helpers (keeps links readable on navy) */
.dark-background a.btn-brand { color: #fff; }


/* Stats card with background + overlay */
.stats-card {
  border-radius: 1rem;
  background: #0E155A; /* brand blue fallback */
  position: relative;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6) saturate(1);
  z-index: 0;
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 21, 90, 0.55); /* semi-transparent brand blue */
  z-index: 1;
}

/* Text above everything */
#stats .position-relative > .row {
  position: relative;
  z-index: 2;
  color: #fff; /* ensure everything inside is white */
}

/* Numbers + labels */
.stat-number {
  font-weight: 800;
  line-height: 1;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.5px;
  color: #fff; /* bright white */
}

.stat-number > span:last-child {
  margin-left: .1em;
}

.stat-label {
  font-weight: 700;
  font-size: 1.125rem;
  margin-top: .5rem;
  color: #fff; /* bright white text */
}

/* Rounded image feel on small screens as well */
#stats .stats-card { overflow: hidden; }