/* Statistik PPID Section */
.statistik-ppid {
    position: relative;
    background: linear-gradient(rgba(37, 45, 49, 0.7), rgba(37, 45, 49, 0.7)), url("../images/cta.jpg") fixed no-repeat;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
}

.statistik-ppid .heading,
.statistik-ppid .text-muted {
    color: #ffffff !important;
}

/* Remove underline from heading in statistik section */
.statistik-ppid .heading::before,
.statistik-ppid .heading::after {
    display: none !important;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 144, 0, 0.1);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-card.h-100 {
    height: 100%;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff9000, #ff7b00);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 144, 0, 0.15);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9000 0%, #ff7b00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 144, 0, 0.3);
    transition: all 0.3s ease;
}

.stat-icon i {
    font-size: 36px;
    color: white;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-icon-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.stat-icon-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.stat-icon-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 15px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (min-width: 1200px) {
    .statistik-ppid {
        padding: 100px 0;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .statistik-ppid {
        padding: 80px 0;
    }
}

@media (max-width: 992px) {
    .statistik-ppid {
        padding: 60px 0;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-icon {
        width: 70px;
        height: 70px;
    }
    
    .stat-icon i {
        font-size: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

/* Disable fixed parallax on mobile for better performance and scroll fix */
@media (max-width: 768px) {
    .statistik-ppid {
        background-attachment: scroll !important;
        background-size: cover;
        -webkit-overflow-scrolling: auto !important;
        overflow: visible !important;
        touch-action: pan-y !important;
    }
    
    .statistik-ppid .container,
    .statistik-ppid .row {
        overflow: visible !important;
        -webkit-overflow-scrolling: auto !important;
    }
    
    .stat-card {
        margin-bottom: 20px;
        overflow: visible !important;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 13px;
    }
}
