@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700;800&display=swap");
* {
    font-family: "Noto Sans Bengali", sans-serif;
}

/* 3D Flip Card Container */
.flip-container {
    perspective: 1500px;
    height: 280px;
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.flip-container:hover .flip-card {
    transform: rotateY(360deg);
}

.flip-card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Floating Animation */
@keyframes floatGlow {
    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 8px 30px rgba(59, 130, 246, 0.1);
    }
    50% {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2);
    }
}

.stat-card {
    animation: floatGlow 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

/* Glow effect on hover */
.glow-blue:hover {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
}
.glow-green:hover {
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.4);
}
.glow-yellow:hover {
    box-shadow: 0 0 40px rgba(234, 179, 8, 0.4);
}
.glow-red:hover {
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.4);
}

/* Counter Number */
.stat-number {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Particle effect */
@keyframes particle {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(1);
    }
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: particle 2s ease-out infinite;
}

/* Icon pulse */
@keyframes iconPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.flip-container:hover .icon-circle {
    animation: iconPulse 0.6s ease-in-out;
}

/* Stagger animation delays */
.flip-container:nth-child(1) .stat-card {
    animation-delay: 0s;
}
.flip-container:nth-child(2) .stat-card {
    animation-delay: 0.2s;
}
.flip-container:nth-child(3) .stat-card {
    animation-delay: 0.4s;
}
.flip-container:nth-child(4) .stat-card {
    animation-delay: 0.6s;
}
