/*==============================================
    Counter One
===============================================*/
.counter-one {
    position: relative;
    display: block;
    background: var(--cleanin-gray-bg);
    /* padding: 35px 0px 35px; */
    z-index: 1;
}

.counter-one .row {
    --bs-gutter-x: 125px;
}

.counter-one__single {
    position: relative;
    display: block;
}

.counter-one__single-inner {
    position: relative;
    display: flex;
    /* align-items: center; */
}

.counter-one__single-icon {
    position: relative;
    display: block;
}

.counter-one__single-icon::before {
    position: absolute;
    top: -25px;
    left: 0;
    bottom: -25px;
    width: 35px;
    border: 1px solid rgba(var(--cleanin-white-rgb), 0.1);
    content: "";
    z-index: -1;
}

.counter-one__single-icon span {
    position: relative;
    display: block;
    line-height: 0px;
}

.counter-one__single-icon span::before {
    position: relative;
    display: inline-block;
    color: var(--cleanin-base);
    font-size: 35px;
    line-height: 65px;
    transition-delay: 0.1s;
    transition: all 500ms ease;
}

.counter-one__single:hover .counter-one__single-icon span::before {
    transform: rotateY(180deg);
    transition-delay: 0.1s;
}

.counter-one__single-content {
    position: relative;
    display: block;
    margin-left: 20px;
    flex: 1;
}

.counter-one__single-content .count-box {
    position: relative;
    display: flex;
    align-items: center;
}

.counter-one__single-content .count-box h2 {
    color: var(--cleanin-base);
    font-size: 30px;
    line-height: 60px;
    font-weight: 600;
}

.counter-one__single-content .count-box .k {
    position: relative;
    display: inline-block;
    color: var(--cleanin-white);
    font-size: 50px;
    line-height: 60px;
    font-weight: 600;
    margin-left: 2px;
}

.counter-one__single-content .count-box .plus {
    position: relative;
    display: inline-block;
    color: var(--cleanin-base);
    font-size: 50px;
    line-height: 60px;
    font-weight: 600;
    margin-left: 1px;
    top: 2px;
}

.counter-one__single-content p {
    color: var(--cleanin-black);
}

/*==============================================
    Counter Two
===============================================*/
.counter-one--two {
    position: relative;
    display: block;
    z-index: 1;
}

.counter-one--two .shape1 {
    position: absolute;
    top: 40px;
    left: 100px;
    z-index: -1;
}

.counter-one--two .shape2 {
    position: absolute;
    bottom: 40px;
    left: 70px;
    z-index: -1;
}

.counter-one--two .shape3 {
    position: absolute;
    left: 585px;
    top: 55px;
    z-index: -1;
}

.counter-one--two .shape4 {
    position: absolute;
    top: 40px;
    right: 700px;
    z-index: -1;
}

.counter-one--two .shape5 {
    position: absolute;
    bottom: 40px;
    right: 570px;
    z-index: -1;
}

.counter-one--two .shape6 {
    position: absolute;
    top: 30px;
    right: 120px;
    z-index: -1;
}

.counter-one--two .shape7 {
    position: absolute;
    bottom: 30px;
    right: 50px;
    z-index: -1;
}

.counter-one--two .counter-one__single-icon::before {
    display: none;
}

.counter-one--two .counter-one__single::before {
    position: absolute;
    top: 0;
    right: -56px;
    bottom: 0;
    width: 1px;
    /* background: rgba(var(--cleanin-white-rgb), 0.1); */
    content: "";
}

.counter-one--two .counter-one__single.style2::before {
    display: none;
}

/*==============================================
    Home Neurosurgery Counter
===============================================*/
.neuro-counter {
    background: transparent;
    /* margin-top: -120px; */
    padding: 0;
    z-index: 20;
    position: relative;
}

.neuro-counter .row {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
}

.neuro-counter .counter-one__single-inner {
    position: relative;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.neuro-counter .count-box-wrapper {
    position: relative;
    width: 170px;
    height: 170px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neuro-counter .count-box-bg {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    /* Default Progress Ring */
    background:
        radial-gradient(circle, var(--cleanin-base) 0 68%, transparent 70%),
        conic-gradient(var(--cleanin-black) 0 75%, rgba(var(--cleanin-black-rgb), 0.2) 75% 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

/* Individual Progress Values */
.neuro-counter .col-xl-3:nth-child(1) .count-box-bg {
    background: radial-gradient(circle, var(--cleanin-gray-bg) 0 65%, transparent 70%), conic-gradient(var(--cleanin-base) 0 85%, rgba(var(--cleanin-base-rgb), 0.2) 100% 100%);
}

.neuro-counter .col-xl-3:nth-child(2) .count-box-bg {
    background: radial-gradient(circle, var(--cleanin-gray-bg) 0 65%, transparent 70%), conic-gradient(var(--cleanin-base) 0 85%, rgba(var(--cleanin-base-rgb), 0.2) 100% 100%);
}

.neuro-counter .col-xl-3:nth-child(3) .count-box-bg {
    background: radial-gradient(circle, var(--cleanin-gray-bg) 0 65%, transparent 70%), conic-gradient(var(--cleanin-base) 0 85%, rgba(var(--cleanin-base-rgb), 0.2) 100% 100%);
}

.neuro-counter .col-xl-3:nth-child(4) .count-box-bg {
    background: radial-gradient(circle, var(--cleanin-gray-bg) 0 65%, transparent 70%), conic-gradient(var(--cleanin-base) 0 85%, rgba(var(--cleanin-base-rgb), 0.2) 100% 100%);
}

.neuro-counter .count-box {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.neuro-counter .count-number {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.neuro-counter .count-text {
    color: var(--cleanin-base);
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

.neuro-counter .plus {
    color: var(--cleanin-base);
    font-size: 28px;
    line-height: 1;
    font-weight: 400;
    margin-left: 2px;
}

.neuro-counter .count-label {
    width: 90%;
}

.neuro-counter .count-label p {
    color: var(--cleanin-black);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin: 0;
}

/* Animations */
.neuro-counter .counter-one__single:hover .count-box-bg {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

@media only screen and (max-width: 1399px) {
    .neuro-counter .count-box-wrapper {
        width: 150px;
        height: 150px;
    }

    .neuro-counter .count-text {
        font-size: 32px;
    }

    .neuro-counter .plus {
        font-size: 24px;
    }
}

@media only screen and (max-width: 1199px) {
    .neuro-counter {
        margin-top: -100px;
    }
}

@media only screen and (max-width: 991px) {
    .neuro-counter {
        margin-top: 0;
        padding: 40px 0 10px;
    }
}

@media only screen and (max-width: 767px) {
    .neuro-counter {
        padding: 30px 0 20px;
    }

    .neuro-counter .row {
        --bs-gutter-x: 10px;
        --bs-gutter-y: 20px;
    }

    .neuro-counter .count-box-wrapper {
        width: 135px;
        height: 135px;
        margin: 0 auto;
    }

    .neuro-counter .count-text {
        font-size: 26px;
    }

    .neuro-counter .plus {
        font-size: 20px;
    }

    .neuro-counter .count-label p {
        font-size: 11px;
    }
}