.number-testimonial {    
    background: rgb(0,18,38);
    background: linear-gradient(0deg, rgba(0,18,38,1) 35%, rgba(6,94,197,1) 100%);
    position: relative;
}

.number-testimonial-top-curve {
	position: absolute;
	bottom: calc(100% - 1px);
	left: 50%;
	right: 50%;
	transform: translateX(-50%);
	width: 1920px;
	height: 111px;
}

.number-testimonial-bottom-curve {
    position: absolute;
    bottom: 81px;
    left: 0;
    width: 100%;
    z-index: 11;
}

.number-testimonial:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 85px;
    background-color: #FAFAFA;
    left: 0;
    bottom: 0;
    z-index: 1;
}

.number-testimonial-wrapper {
    position: relative;
    padding: 25px 0 0;
}

.number-testimonial-wrapper:after {
    content: "";
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgb(0,18,38);
    background: linear-gradient(0deg, rgba(0,18,38,0) 0%, rgba(6,94,197,1) 100%);
}

.number-counting {
    position: relative;
    z-index: 2;
}

.number-counting-item {
    width: 100%;
    margin-bottom: 25px;
}

.number-counting-item h3 {
    font-size: 45px;
    color: #fff;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 8px;
}

.number-counting-item h3:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 0;
    height: 5px;
    width: 50px;
    border-radius: 15px;
    background: rgb(197,72,6);
    background: linear-gradient(48deg, rgba(197,72,6,1) 0%, rgba(255,190,155,1) 100%);
}

.number-counting-item p {
    text-align: center;
    font-size: 19px;
    color: #fff;
    padding: 0;
}

.number-testimonial-bg-left {
    position: absolute;
    left: -344px;
    bottom: 60px;
    width: 487px;
    mix-blend-mode: luminosity;
}

.number-testimonial-bg-left img {
    opacity: 0.25;
}

.number-testimonial-bg-right {
    position: absolute;
    left: -244px;
    bottom: 0;
    width: 578px;
    opacity: 0.25;
}

.js-testimonial-slider {
    padding-bottom: 10px;
    margin: 0 -22px;
    width: calc(100% + 44px);
}

.js-testimonial-slider .slick-track {
    display: flex !important;
}

.js-testimonial-slider .slick-slide {
    margin: 0 22px;
    margin-bottom: 25px;
    height: inherit !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.js-testimonial-slider .slick-slide > div {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}

.curve-margin {
    padding-bottom: 100px !important;
}

@media (max-width: 768px) {
    .number-testimonial-wrapper {
        padding: 25px 0 70px 0;
    }
}

@media (min-width: 768px) {
    .number-counting-flex {
        display: flex;
        justify-content: center;
        position: relative;
        flex-direction: row;
        flex-wrap: wrap;
        padding-bottom: 55px;
    }

    .number-counting-item-wrapper {
        width: 50%;
    }

    .number-counting-item {
        max-width: 258px;
        margin: 0 auto 25px;
    }

    .number-testimonial-wrapper {
        padding: 64px 0 70px 0;
    }

    .number-counting-item h3 {
        font-size: 65px;
    }

    .number-testimonial-bg-left {
        left: -800px;
        width: 1925px;
        height: 100%;
    }

    .number-testimonial-bg-right {
        left: unset;
        width: 1925px;
        right: -657px;
        bottom: 60px;
    }

    .number-counting-item h3:after {
        width: 91px;
    }
}

@media (min-width: 1200px) {
    .number-counting-item h3 {
        font-size: 100px;
    }

    .number-counting-flex {
        padding-bottom: 0;
    }   

    .number-counting-flex:not(:first-of-type) {
        padding-top: 75px;
    }

    .number-counting-item {
        max-width: 292px;
        margin-bottom: 0;
    }

    .number-testimonial-wrapper {
        padding: 0;
    }

    .flex-items-2 .number-counting-item-wrapper {
        width: 50%;
    }

    .flex-items-2 .number-counting-item-wrapper .number-counting-item {
        margin: auto;
    }

    .flex-items-3 .number-counting-item-wrapper {
        width: 33.3333%;
    }

    .flex-items-3 .number-counting-item-wrapper:nth-child(1) .number-counting-item {
        margin-left: 0;
        margin-right: auto;
    }

    .flex-items-3 .number-counting-item-wrapper:nth-child(2) .number-counting-item {
        margin: auto;
        padding-top: 75px;
    }

    .flex-items-3 .number-counting-item-wrapper:nth-child(3) .number-counting-item {
        margin-right: 0;
        margin-left: auto;
    }

    .flex-items-4 .number-counting-item-wrapper,
    .flex-items-5 .number-counting-item-wrapper,
    .flex-items-6 .number-counting-item-wrapper,
    .flex-items-7 .number-counting-item-wrapper,
    .flex-items-8 .number-counting-item-wrapper {
        width: 25%;
    }

    /* Flex Items 4-8 */

    .flex-items-4 .number-counting-item-wrapper .number-counting-item {
        margin: auto;
    }

    .flex-items-4 .number-counting-item-wrapper:nth-child(1) .number-counting-item {
        margin-left: 0;
        margin-right: auto;
    }

    .flex-items-4 .number-counting-item-wrapper:nth-child(2) .number-counting-item {
        padding-top: 75px;
    }

    .flex-items-4 .number-counting-item-wrapper:nth-child(3) .number-counting-item {
        padding-top: 75px;
    }

    .flex-items-4 .number-counting-item-wrapper:nth-child(4) .number-counting-item {
        margin-right: 0;
        margin-left: auto;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .number-counting-item {
        padding: 0 15px;
    }

    .number-counting-item h3 {
        font-size: 65px;
    }
}

.testimonial .sub-heading,
.testimonial h2 {
    color: #fff;
}

.testimonial {
    margin-top: 10px;
    position: relative;
    z-index: 11;
}

.testimonial-slide {
	padding: 20px;
	border-radius: 25px;
	border: 1px solid #CCD6E3;
	box-shadow: 0 8px 25px rgba(12,53,101,0.1);
	background-color: #fff;
	text-align: center;
	height: 100%;
	display: inline-flex !important;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.testimonial-slide p {
    font-size: 19px;
    color: #5A5A5A;
    line-height: 1.526em;
    padding: 0;
}

.testimonial-slide h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1A2C40;
    position: relative;
    padding: 14px 0 0 0;
    margin: 6px 0 0 0;
}

.testimonial-slide h4 span {
    font-size: 19px;
    font-weight: 400;
    color: #1A2C40;
    padding: 0;
    display: block;
    margin-top: 5px;
}

.testimonial-slide h4:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 0;
    height: 5px;
    width: 50px;
    border-radius: 15px;
    background: rgb(119,41,0);
    background: linear-gradient(45deg, rgba(119,41,0,1) 0%, rgba(197,72,6,1) 100%);
}

@media (min-width: 768px) {
    .js-testimonial-slider {
        padding: 0 70px;
        margin: 0 -52px;
        width: calc(100% + 104px);
        margin-bottom: -25px;
    }

    .testimonial-slide {
        padding: 35px;
    }

    .testimonial-slide h4:after {
        width: 135px;
    }

    .testimonial-slide h4 {
        font-size: 24px;
        padding: 14px 0 0 0;
        margin: 12px 0 0 0;
    }

    .js-testimonial-slider .slick-slide {
        margin: 0 22px;
        margin-bottom: 25px;
    }

    .testimonial {
        max-width: 708px;
        margin: 40px auto 0;
    }

    .js-testimonial-slider .slick-prev {
        left: 22px;
    }

    .js-testimonial-slider .slick-next {
        right: 22px;
    }

    .number-testimonial {
        background: linear-gradient(0deg, rgba(0,18,38,1) 17%, rgba(6,94,197,1) 100%);
    }
    
    .testimonial h2 {
        font-size: 40px;
        padding-bottom: 35px;
    }

    .testimonial-heading  {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (min-width: 1200px) {
    .testimonial {
        max-width: 1170px;
        margin: 140px auto 0;
    }

    .testimonial-slide p {
        font-size: 28px;
    }

    .testimonial-slide h4 {
        padding: 32px 0 0 0;
        margin: 32px 0 0 0;
    }

    .testimonial-slide {
        padding: 59px 65px;
    }

    .js-testimonial-slider .slick-prev {
        left: 12px;
    }

    .js-testimonial-slider .slick-next {
        right: 12px;
    }

    .number-testimonial-bg-left {
        left: -419px;
        width: 1467px;
        height: auto;
    }

    .number-testimonial-bg-right {
        right: -276px;
        width: 1600px;
        height: auto;
    }

    .number-testimonial:after {
        height: 50px;
    }

    .number-testimonial-bottom-curve {
        bottom: 49px;
    }

    .testimonial h2 {
        font-size: 48px;
    }

    .testimonial-heading {
        max-width: unset;
    }
}

.testimonial-text {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-top: 18px;
}

.testimonial-text .sub-heading,
.testimonial-text h2  {
    color: #fff;
}

.testimonial-text .btn-secondary {
    border-color: #fff;
}

.number-testimonial--innerpage {
    padding-bottom: 35px;
}

.number-testimonial--innerpage::after {
    display: none;
}

.number-testimonial--innerpage .number-testimonial-bg-left {
    display: none;
}

.number-testimonial--innerpage .number-testimonial-bg-right {
    width: 940px;
    top: auto;
    left: auto;
    bottom: 0;
    right: 0;
}

@media (min-width: 768px) {
        
    .testimonial-text {
        padding-top: 10px;
    }

    .number-testimonial--innerpage {
        padding-bottom: 66px;
    }


    .number-testimonial--innerpage .number-testimonial-bg-left {
       width: 1019px;
       top: auto;
       display: block;
       bottom: 0;
       left: -401px;
       height: auto;
    }

    .number-testimonial--innerpage .number-testimonial-bg-right {
        width: 1019px;
        right: -401px;
    }
}


@media (min-width: 1200px) {
    .testimonial-text {
        padding-top: 120px;
    }

    .number-testimonial--innerpage {
        padding-bottom: 100px;
    }

    .number-testimonial--innerpage .number-testimonial-bg-left {
       left: 0px;
    }

    .number-testimonial--innerpage .number-testimonial-bg-right {
        right: 0;
    }
}

@media (min-width: 2048px) {
    .number-testimonial-top-curve {
        width: 100%;
        height: auto;
    }
}