.stats-card {
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 19px;
    padding: 20px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    background: var(--e-global-color-primary, #082C38);
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #ffa500, #32cd32, #00bfff, #9370db);
    animation: shimmer 3s ease-in-out infinite alternate;
}

.stats-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.15),
        0 16px 48px rgba(0, 0, 0, 0.15);
}

.rating-section {
    animation: fadeInUp 0.8s ease-out;
    display: flex;
    gap: 10px;
    align-items: center;
}

.stars-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    /* margin-bottom: 16px; */
}

.star {
    color: #ffd700;
    font-size: 28px;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;

    & svg {
        width: 25px;
        height: auto;
        fill: gold;
    }
}

.star:hover {
    transform: scale(1.2) rotate(15deg);
    filter: brightness(1.2);
}

.rating-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.stats-section {
    animation: fadeInUp 0.8s ease-out 0.2s both;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.client-count {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    /* margin-bottom: 16px; */
}

.number {
    font-size: 72px;
    font-weight: 600;
    font-family: "Phudu", Sans-serif;
    color: #ffffff;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    line-height: 1;
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plus {
    font-size: 48px;
    color: var(--e-global-color-accent, #F5733A);
    text-shadow: 0 2px 8px #f5733a61;
    animation: pulse 2s ease-in-out infinite;
}

.label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    /* font-weight: 600; */
    letter-spacing: 1px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes shimmer {
    0% {
        opacity: 0.5;
        transform: scaleX(0.8);
    }

    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Responsive design */
@media (max-width: 480px) {
    .stats-card {
        padding: 32px 24px;
        /* margin: 0 16px; */
    }

    .number {
        font-size: 56px;
    }

    .plus {
        font-size: 36px;
    }

    .star {
        font-size: 24px;
    }
}