.banner-block .banner-top-white-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  pointer-events: none;
  /* backdrop-filter: blur(22px) saturate(180%); */
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  z-index: 8;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 63.02%,
    rgba(0, 0, 0, 0) 100%
  );
}

.pt-150 {
  padding-top: 150px !important;
}

.banner-block .btn.btn-secondary.banner-btn {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.35s,
    color 0.35s;
  transform-origin: center center;
  will-change: transform;
  z-index: 1;
  background: linear-gradient(90deg, #b33146 0%, #c84359 100%);
}

.banner-block .btn.btn-secondary.banner-btn:hover,
.banner-block .btn.btn-secondary.banner-btn:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.45),
    0 4px 16px -4px rgba(0, 0, 0, 0.35);
}

.banner-block .btn.btn-secondary.banner-btn:hover::after,
.banner-block .btn.btn-secondary.banner-btn:focus-visible::after {
  opacity: 1;
}

.banner-block .btn.btn-secondary.banner-btn:active {
  transform: scale(0.98);
  transition-duration: 0.15s;
}

/* Stats overlay styles */
.home-stats-overlay-wrapper {
  position: relative;
  bottom: initial;
  top: initial;
  margin: auto;
  background: transparent;
  transform: initial;
  left: initial !important;
  z-index: 10;
}

.home-stats-overlay {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  gap: 20px;
  background: linear-gradient(249deg, #1a4b84 0%, #06111e 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 200px;
}

.home-stats-overlay .stat-item {
  text-align: center;
  width: 100%;
}

.home-stats-overlay .stat-item h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
}

.home-stats-overlay .stat-item .label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-weight: 500;
}

/* Responsive styles for stats overlay */
@media (max-width: 1200px) {
  .home-stats-overlay-wrapper {
    /* bottom: 15px;
    right: 15px; */
  }

  .home-stats-overlay {
    padding: 10px;
    gap: 16px;
    min-width: 180px;
  }

  .home-stats-overlay .stat-item h2 {
    font-size: 1.6rem;
  }

  .home-stats-overlay .stat-item .label {
    font-size: 0.85rem;
  }
}

@media (max-width: 992px) {
  .offcanvas {
    height: 100vh !important;
  }
  .home-stats-overlay-wrapper {
    /* position: relative;
    top: 0;
    transform: translate(-50%, 0%);
    margin-bottom: 30px !important; */
  }

  .home-stats-overlay {
    flex-direction: row;
    gap: 2rem;
    padding: 10px;
    min-width: auto;
    max-width: 100%;
    /* background: rgba(0, 0, 0, 0.7); */
  }

  .home-stats-overlay .stat-item h2 {
    font-size: 1.4rem;
  }

  .home-stats-overlay .stat-item .label {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .home-stats-overlay .stat-item * {
    font-size: 14px !important;
}
  .home-stats-overlay .stat-item {
    border:none;
  }#initiative-list-wrapper ul {
    max-height: 230px !important;
}

  .banner-block {
    min-height: 500px !important;
  }

  .home-stats-overlay-wrapper {
    /* margin-top: 1.5rem;
    padding: 0 1rem; */
  }

  .home-stats-overlay {
    flex-direction: column;
    gap: 1rem;
    padding: 10px;
    border-radius: 12px;
    /* background: rgba(0, 0, 0, 0.75); */
  }

  .home-stats-overlay .stat-item h2 {
    font-size: 1.5rem;
    margin-bottom: 2px;
  }

  .home-stats-overlay .stat-item .label {
    font-size: 0.8rem;
  }

  .banner-slide {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .banner-slide h3 {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.75rem !important;
  }

  .banner-slide p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 576px) {
  .banner-block {
    min-height: 450px !important;
  }

  .home-stats-overlay {
    gap: 0.75rem;
    padding: 10px;
  }

  .home-stats-overlay .stat-item h2 {
    font-size: 1.3rem;
  }

  .home-stats-overlay .stat-item .label {
    font-size: 0.75rem;
  }

  .banner-slide h3 {
    font-size: 1.1rem !important;
  }

  .banner-slide p {
    font-size: 0.85rem !important;
  }

  .banner-btn {
    font-size: 0.8rem !important;
    padding: 8px 16px !important;
  }
}

@media (max-width: 480px) {
  
  .home-stats-overlay {
    flex-direction: row;
    gap: 1rem;
    text-align: center;
  }

  .home-stats-overlay .stat-item {
    flex: 1;
  }

  .home-stats-overlay .stat-item h2 {
    font-size: 1.1rem;
  }

  .home-stats-overlay .stat-item .label {
    font-size: 0.7rem;
  }
}
.home-stats-overlay .stat-item,
.home-stats-overlay .stat-item p {
  text-align: center;
}
