/*=========================================================
    VISITOR COUNTER CSS START HERE
=========================================================*/

.visitor-counter{
    position: relative;

    overflow: hidden;

    padding: 30px 26px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #0f172a 0%,
            #1e293b 50%,
            #334155 100%
        );

    box-shadow:
        0 18px 45px rgba(15,23,42,0.22);

    transition: all 0.4s ease;
}


/*=========================================================
    HOVER EFFECT
=========================================================*/

.visitor-counter:hover{
    transform: translateY(-6px);

    box-shadow:
        0 28px 60px rgba(15,23,42,0.32);
}


/*=========================================================
    BACKGROUND ANIMATION EFFECT
=========================================================*/

.visitor-counter::before,
.visitor-counter::after{
    content: "";

    position: absolute;

    border-radius: 50%;

    z-index: 1;
}

.visitor-counter::before{
    top: -100px;
    right: -100px;

    width: 240px;
    height: 240px;

    background:
        rgba(96,165,250,0.10);

    animation: visitorFloat 8s ease-in-out infinite;
}

.visitor-counter::after{
    bottom: -120px;
    left: -120px;

    width: 280px;
    height: 280px;

    background:
        rgba(14,165,233,0.10);

    animation: visitorFloat 10s ease-in-out infinite;
}


/*=========================================================
    CONTENT LAYER
=========================================================*/

.visitor-counter h4,
.visitor-counter ul{
    position: relative;

    z-index: 5;
}


/*=========================================================
    TITLE
=========================================================*/

.visitor-counter h4{
    position: relative;

    margin-bottom: 28px;

    text-align: center;

    color: #ffffff;

    font-size: 28px;
    font-weight: 800;

    line-height: 1.4;

    letter-spacing: 0.4px;

    animation: fadeDown 1s ease;
}


/*=========================================================
    TITLE UNDERLINE
=========================================================*/

.visitor-counter h4::after{
    content: "";

    display: block;

    width: 70px;
    height: 4px;

    margin: 14px auto 0;

    border-radius: 50px;

    background:
        linear-gradient(
            to right,
            #3b82f6,
            #06b6d4,
            #67e8f9
        );

    transition: all 0.35s ease;
}

.visitor-counter:hover h4::after{
    width: 110px;
}


/*=========================================================
    LIST STYLE
=========================================================*/

.visitor-counter ul{
    margin: 0;
    padding: 0;

    list-style: none;
}


/*=========================================================
    LIST ITEM
=========================================================*/

.visitor-counter ul li{
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 14px;

    padding: 15px 18px;

    border-radius: 16px;

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid rgba(255,255,255,0.08);

    color: #e2e8f0;

    font-size: 15px;
    font-weight: 500;

    backdrop-filter: blur(8px);

    transition: all 0.35s ease;

    animation: fadeUp 1s ease;
}


/*=========================================================
    REMOVE LAST MARGIN
=========================================================*/

.visitor-counter ul li:last-child{
    margin-bottom: 0;
}


/*=========================================================
    LEFT GLOW BORDER
=========================================================*/

.visitor-counter ul li::before{
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    transform: translateY(-50%);

    width: 4px;
    height: 0;

    border-radius: 50px;

    background:
        linear-gradient(
            to bottom,
            #38bdf8,
            #60a5fa
        );

    transition: all 0.35s ease;
}


/*=========================================================
    ICON DOT
=========================================================*/

.visitor-counter ul li::after{
    content: "●";

    color: #38bdf8;

    font-size: 11px;

    margin-right: 10px;
}


/*=========================================================
    HOVER EFFECT
=========================================================*/

.visitor-counter ul li:hover{
    transform: translateX(6px);

    background:
        rgba(59,130,246,0.18);

    color: #ffffff;

    box-shadow:
        0 12px 24px rgba(0,0,0,0.18);
}

.visitor-counter ul li:hover::before{
    height: 70%;
}


/*=========================================================
    FLOAT ANIMATION
=========================================================*/

@keyframes visitorFloat{

    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(24px);
    }

    100%{
        transform: translateY(0px);
    }

}


/*=========================================================
    FADE DOWN ANIMATION
=========================================================*/

@keyframes fadeDown{

    from{
        opacity: 0;
        transform: translateY(-35px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }

}


/*=========================================================
    FADE UP ANIMATION
=========================================================*/

@keyframes fadeUp{

    from{
        opacity: 0;
        transform: translateY(40px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }

}


/*=========================================================
    LARGE DESKTOP
=========================================================*/

@media (min-width: 1400px){

    .visitor-counter{
        padding: 36px 32px;
    }

    .visitor-counter h4{
        font-size: 34px;
    }

    .visitor-counter ul li{
        padding: 18px 22px;

        font-size: 16px;
    }

}


/*=========================================================
    DESKTOP
=========================================================*/

@media (max-width: 1199px){

    .visitor-counter{
        padding: 28px 24px;
    }

    .visitor-counter h4{
        font-size: 26px;
    }

}


/*=========================================================
    TABLET DEVICE
=========================================================*/

@media (max-width: 991px){

    .visitor-counter{
        padding: 24px 22px;

        border-radius: 20px;
    }

    .visitor-counter h4{
        font-size: 24px;

        margin-bottom: 24px;
    }

    .visitor-counter ul li{
        padding: 14px 16px;

        border-radius: 14px;

        font-size: 14px;
    }

}


/*=========================================================
    MOBILE DEVICE
=========================================================*/

@media (max-width: 767px){

    .visitor-counter{
        padding: 22px 18px;

        border-radius: 18px;
    }

    .visitor-counter::before{
        width: 180px;
        height: 180px;
    }

    .visitor-counter::after{
        width: 220px;
        height: 220px;
    }

    .visitor-counter h4{
        font-size: 22px;
    }

    .visitor-counter h4::after{
        width: 60px;
    }

    .visitor-counter ul li{
        padding: 13px 15px;

        font-size: 14px;
    }

}


/*=========================================================
    SMALL MOBILE DEVICE
=========================================================*/

@media (max-width: 575px){

    .visitor-counter{
        padding: 18px 16px;

        border-radius: 16px;
    }

    .visitor-counter h4{
        font-size: 20px;

        margin-bottom: 20px;
    }

    .visitor-counter ul li{
        padding: 12px 14px;

        font-size: 13px;

        border-radius: 12px;
    }

    .visitor-counter ul li::after{
        font-size: 10px;
    }

}