/* Put library statistics over the bottom of the hero/banner */
.hero,
.hero-section,
#hero{
  position:relative !important;
}

/* Statistics bar overlays the hero image */
.stats-section,
.library-stats,
#stats{
  position:relative !important;
  z-index:12 !important;
  margin-top:-118px !important;
  background:rgba(7,35,76,.92) !important;
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  border-top:1px solid rgba(255,255,255,.12);
}

/* Keep statistics readable over banner */
.stats-section .container,
.library-stats .container,
#stats .container{
  position:relative;
  z-index:2;
}

.stats-section .stat-number,
.library-stats .stat-number,
#stats .stat-number,
.stats-section strong,
.library-stats strong,
#stats strong{
  color:#fff !important;
}

.stats-section .stat-label,
.library-stats .stat-label,
#stats .stat-label,
.stats-section p,
.library-stats p,
#stats p{
  color:rgba(255,255,255,.9) !important;
}

/* Give hero content enough bottom space so stats don't cover buttons/text */
.hero-content,
#hero .hero-content,
.hero-section .hero-content{
  padding-bottom:145px !important;
}

/* Mobile/tablet: keep stats below hero instead of obscuring content */
@media(max-width:800px){
  .stats-section,
  .library-stats,
  #stats{
    margin-top:0 !important;
    background:#082c59 !important;
  }

  .hero-content,
  #hero .hero-content,
  .hero-section .hero-content{
    padding-bottom:55px !important;
  }
}
