#stats-section {
    min-height: 420px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#stats-section .bg-fixed-overlay {
    position: absolute;
    inset: 0;
    background-image: url('../img/makkah-mosque.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: brightness(0.35) saturate(0.9);
    z-index: 1;
}

@supports (-webkit-overflow-scrolling: touch) {
    #stats-section .bg-fixed-overlay {
        background-attachment: scroll;
        background-position: center center;
        transform: translateZ(0);
    }
}

/* Cards */
.stat-card {
    transition: transform .25s ease, background .25s ease;
    backdrop-filter: blur(4px);
}

.stat-card:hover {
    transform: translateY(-6px);
}

.stat-icon i {
    opacity: .95;
}

.stat-number {
    color: #fff;
}

.stat-label {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 767px) {
    #stats-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .display-6 {
        font-size: 1.5rem;
    }
}