/* width */
section.rounded-blocks ul li::-webkit-scrollbar {
    width: 3px;
}
/* Track */
section.rounded-blocks ul li::-webkit-scrollbar-track {
    background: transparent; 
} 
/* Handle */
section.rounded-blocks ul:hover:-webkit-scrollbar-thumb {
    background: #efefef; 
}
/* Handle on hover */
section.rounded-blocks ul li::-webkit-scrollbar-thumb:hover {
    background: #efefef; 
}

section.rounded-blocks {
    padding: 50px 0;
    text-align: center;
}
section.rounded-blocks ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5%;
    list-style: none;
    padding: 0;
    margin: 0;
}
section.rounded-blocks ul li {
    border-radius: 50%;
    border: none;
    height: 350px;
    flex: 0 0 auto;
    width: 21%;
    padding: 2.5%;
    position: relative;
    overflow: auto;
    overflow: hidden;
}
.rounded-content {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 90%;
    text-align: center;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.rounded-content P {
    font-family: Arada-Bold;
}


.svg-item {
    width: 100%;
    margin: 0 auto;
    animation: donutfade 1s;
    position: absolute;
    left: 0;
    top: 0;
}
.rounded-animate .svg-item {
    display: block !important;
}
@keyframes donutfade {
  /* this applies to the whole svg item wrapper */
    0% {
        opacity: .2;
    }
    100% {
        opacity: 1;
    }
}

.donut-ring {
    stroke: #EBEBEB;
}
.donut-segment {
    transform-origin: center;
    animation: donut1 3s;
}
.donut-percent {
    animation: donutfadelong 1s;
}

@keyframes donutfadelong {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes donut1 {
    0% {
        stroke-dasharray: 0, 100;
    }
    100% {
        stroke-dasharray: 100, 0;
    }
}


@media only screen and ( max-width: 1199px) {
    section.rounded-blocks ul {
        gap: 3%;
    }
    section.rounded-blocks ul li {
        width: 22%;
    }
    .rounded-content p {
        font-size: 14px;
    }
    .rounded-content h2 {
        font-size: 18px;
        line-height: 20px;
    }
}

@media only screen and ( max-width: 768px) {
    section.rounded-blocks {
        padding: 30px 0;
        text-align: center;
    }
    section.rounded-blocks ul li {
        width: 48%;
        margin-bottom: 20px;
    }
    .rounded-content p{
        padding: 0 15px;
    }
}


/* RTL STYLE */
body.rtl .rounded-content P {
    font-family: Cairo-Bold;
}