
/* Enhanced Stats Section */
.stats-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(10, 36, 99, 0.05) 0%, transparent 50%);
}

.stats-container {

    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(10, 36, 99, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(10, 36, 99, 0.1);
    padding-bottom: 20px;
}

.stat-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(10, 36, 99, 0.15);
    border-color: var(--accent-gold);
}

.stat-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover:before {
    opacity: 1;
}

.stat-icon-container {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--primary-blue), #1a3a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    overflow: hidden;
}

.stat-icon-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
}

.stat-icon {
    font-size: 4.5rem;
    color: white;
    position: relative;
    z-index: 1;
}

.counter-wrapper {
    position: relative;
    margin-bottom: 15px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    position: relative;
}

.counter-symbol {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-left: 5px;
    position: relative;
    top: -10px;
}

.stat-label {
    font-size: 1.3rem;
    color: var(--text-gray);
    font-weight: 600;
    position: relative;
    padding: 10px 0;
}

.stat-label:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
    opacity: 0.5;
}

.stat-card:hover .stat-label:after {
    width: 60px;
    opacity: 1;
    transition: all 0.3s ease;
}

.stat-description {
    color: var(--text-gray);
    font-size: 1rem;
    margin-top: 15px;
    opacity: 0.8;
    line-height: 1.4;
}

/* Animated Background Element */
.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.dot {
    position: absolute;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 8s infinite ease-in-out;
}

.dot:nth-child(1) {
    width: 10px;
    height: 10px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.dot:nth-child(2) {
    width: 15px;
    height: 15px;
    top: 60%;
    left: 85%;
    animation-delay: 1s;
}

.dot:nth-child(3) {
    width: 8px;
    height: 8px;
    top: 80%;
    left: 15%;
    animation-delay: 2s;
}

.dot:nth-child(4) {
    width: 12px;
    height: 12px;
    top: 30%;
    left: 90%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-20px) translateX(10px);
    }
}

/* Stats Section Heading */
.stats-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.stats-heading h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.stats-subtitle {
    color: var(--text-gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stat-card {
        padding: 35px 25px;
        padding-bottom : 15px
    }

    .counter-number {
        font-size: 3rem;
    }

    /* .stat-icon-container {
        width: 120px;
        height: 120px;
    } */

    /* .stat-icon {
        font-size: 3.5rem;
    } */
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .stat-card {
        padding: 30px 20px;
    }

    .counter-number {
        font-size: 2.8rem;
    }

    .stats-section {
        padding: 5rem 0;
    }
}
