body {
    align-items: center;
    justify-content: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 7));
    }
}
.slider {
    height: auto;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: auto;
}
.slider .slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(250px * 14);
}
.slider .slide {
    height:auto;
    width: 250px;
}



/*testimonial*/
.testimonial-section{
    background: #020c32;
    padding: 70px 0px 100px;
}

.testimonial-section h1{
    color: #fff;
    font-size: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}
.testmoni-title {
    position: relative;
    display: inline-block;
    font-size: 28px;
    font-weight: bold;
    padding-bottom: 25px;
    overflow: hidden;
    margin-bottom:40px;
}
.curve{
    width: 100%;
    height: 25px;
    background: linear-gradient(90deg, #f6d03f, #f7d84a);
    clip-path: ellipse(100% 50% at 0% 100%);

}
.quote{
    float: left;
    width: 100%;
    margin-bottom: 25px;
}

.testimonial-card {
    padding:2rem 2rem 2rem 0rem;
}
.testimonial-quote {
    font-size:23px;
    line-height: 1.6;
    color: #fff;
}
.testimonial-author {
    font-weight: 600;
    color:#fbd83a;
    font-size: 25px;
    display: block;
    margin-top: 40px;
}
.testimonial-role {
    font-size:19px;
    color: #fff;
}
.testimonial-img {
    max-width: 100%;
    border-radius: 1rem;
    object-fit: cover;
}
/* Style arrows as buttons */
.carousel-controls {
    margin-top:-1rem;
    margin-left: 0px;
}
.carousel-controls .btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
/*      display: flex;*/
align-items: center;
justify-content: center;
}


.testimonials-ctr .carousel-control-next-icon, .testimonials-ctr .carousel-control-prev-icon {
    display: inline-block;
    width: 1.5rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}
.testimonials-ctr .btn{
    background: #fff;
    border: none;
}
.testimonials-ctr .btn:hover{
    /*background: linear-gradient(to right, #fbd93a, #f99829);*/
    background: #fbd83a;
}
.testimonials-ctr .btn {
    position: relative;
}
.testimonials-ctr .btn span {
    position: absolute;
    left: 2px;
    padding: 0 15px 0 11px;
    border-radius: 50px;
    transition: 0.5s ease 0s;
    z-index: 9999;
    top: 0px;
}

.testimonials-ctr .btn span.next:after{
     content: "\f061";
     font-size:25px;
  font-weight: 100 !important;
    color: #333;
     font-family: FontAwesome;
      width: 50px;
    height: 50px;
    line-height: 50px;
 
}
.testimonials-ctr .btn span.prev:after{
    content: "\f060";
    font-family: FontAwesome;
    color: #333;
  font-size:25px;
   width: 50px;
    height: 50px;
    line-height: 50px;
}
.testimonials-ctr .btn:hover span.next:after,
.testimonials-ctr .btn:hover span.prev:after{
    color: #FFF;
} 
.success-stories{
    margin:4% 0% 6%;
}
.success-title {
    position: relative;
    display: inline-block;
    font-size: 28px;
    font-weight: bold;
    padding-bottom: 25px;
    overflow: hidden;
    margin-bottom:0px;
}

.success-stories h1{
    color: #000;
    font-size: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0px;
}
.success-stories h2{
    color: #000;
    /*font-size: 38px;*/
    font-weight:bold;
}
.success-stories h2 strong{
    color: #0a249d;
    font-size: 38px;
    font-weight: bold;
}
.success-stories p{
    color: #000;
    font-size: 21px;
    display:inline-block;
    margin-bottom: 50px;
}
.read-story{
    background: #2642ca;
    font-size: 19px;
    border-radius: 50px;
    padding:13px 25px;
    color: #FFF;
    text-decoration: none;
    transition: all 0.3s ease;
}
.read-story:hover{
    background: #fbd83a;
    color: #000;
    transform: scale(1.05); 
}
.st {
    margin-top: -4rem !important;
    text-align: center;
}

.st .btn{
    border:#ccc solid 1px;
}
.st .btn:hover{
    border:#fff solid 1px;
}
.success-img{
    position: relative;
    padding: 30px;
}
.success-img .logo{
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    position: absolute;
    bottom: 24px;
    left: auto;
    right: 24%;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
    width: 50%;
    border: #ddd solid 1px;
}
