/* ===== STATS SECTION ===== */

.stats-modern-section {
    background: linear-gradient(135deg, #032b3f 0%, #0e98dd 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 115, 174, 0.2);
}

/* Background Decorative Elements */
.stats-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: floating-stats 20s infinite ease-in-out;
    filter: blur(40px);
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: #0073ae;
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 250px;
    height: 250px;
    background: #0073ae;
    top: 60%;
    right: -10%;
    animation-delay: 7s;
    opacity: 0.2;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: white;
    top: 30%;
    right: 20%;
    animation-delay: 14s;
    opacity: 0.25;
}

@keyframes floating-stats {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(15px) rotate(240deg);
    }
}

/* Stats Cards */
.stats-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1.5rem;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0073ae, rgba(255, 255, 255, 0.8));
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.stats-card:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 115, 174, 0.3);
}

.stats-card:hover::before {
    opacity: 1;
}

/* Icon Container */
.stats-icon-container {
    width: 5rem;
    height: 5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 115, 174, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stats-card:hover .stats-icon-container {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 115, 174, 0.4);
    background: white;
}

.stats-icon-container i {
    color: #0073ae;
    width: 2.5rem;
    height: 2.5rem;
}

/* Counters */
.stats-counter {
    font-size: 3.75rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.stats-counter::after {
    content: '+';
    position: absolute;
    right: -1rem;
    top: 0;
    font-size: 2rem;
    opacity: 0.8;
}

/* Special case for percentage counter */
#counter3::after {
    content: '%';
}

/* Labels */
.stats-label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-family: 'Open Sans', sans-serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Accent Line */
.stats-accent-line {
    width: 60px;
    height: 3px;
    background: white;
    margin: 0 auto;
    border-radius: 2px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.stats-card:hover .stats-accent-line {
    width: 100px;
    background: linear-gradient(90deg, white, #00a859);
    opacity: 1;
    height: 4px;
}

/* ===== RESPONSIVE STATS ===== */
@media (max-width: 1024px) {
    .stats-card {
        padding: 2rem 1.5rem;
    }

    .stats-icon-container {
        width: 4rem;
        height: 4rem;
    }

    .stats-icon-container i {
        width: 2rem;
        height: 2rem;
    }

    .stats-counter {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .stats-card {
        padding: 1.75rem 1.25rem;
    }

    .stats-counter {
        font-size: 2.5rem;
    }

    .stats-label {
        font-size: 1.1rem;
    }

    .stats-icon-container {
        width: 3.5rem;
        height: 3.5rem;
        margin-bottom: 1.25rem;
    }

    .floating-circle {
        display: none;
    }
}

@media (max-width: 480px) {
    .stats-modern-section {
        padding: 4rem 0;
    }

    .stats-counter {
        font-size: 2.25rem;
    }

    .stats-card {
        padding: 1.5rem 1rem;
    }
}