.carousel_mobile {
  position: relative;
  width: 100%;
  max-width: 85%;
  display: flex;
  justify-content: center;
  flex-direction: column;

}

.carousel__item_mobile {
  display: flex;
  align-items: center;
  position: absolute;
  width: 100%;
  padding: 0 12px;
  opacity: 0;
  border-radius: 30px;
  filter: drop-shadow(0px 12px 26px #0000001A) !important;
  will-change: transform, opacity;
  -webkit-animation: carousel-animate-horizontal 27s linear infinite;
          animation: carousel-animate-horizontal 27s linear infinite;
}

.carousel__item_mobile:nth-child(1) {
  -webkit-animation-delay: calc(3s * -1);
          animation-delay: calc(3s * -1);
}

.carousel__item_mobile:nth-child(2) {
  -webkit-animation-delay: calc(3s * 0);
          animation-delay: calc(3s * 0);
}

.carousel__item_mobile:nth-child(3) {
  -webkit-animation-delay: calc(3s * 1);
          animation-delay: calc(3s * 1);
}

.carousel__item_mobile:nth-child(4) {
  -webkit-animation-delay: calc(3s * 2);
          animation-delay: calc(3s * 2);
}

.carousel__item_mobile:nth-child(5) {
  -webkit-animation-delay: calc(3s * 3);
          animation-delay: calc(3s * 3);
}

.carousel__item_mobile:nth-child(6) {
  -webkit-animation-delay: calc(3s * 4);
          animation-delay: calc(3s * 4);
}

.carousel__item_mobile:nth-child(7) {
  -webkit-animation-delay: calc(3s * 5);
          animation-delay: calc(3s * 5);
}

.carousel__item_mobile:nth-child(8) {
  -webkit-animation-delay: calc(3s * 6);
          animation-delay: calc(3s * 6);
}

.carousel__item_mobile:last-child {
  -webkit-animation-delay: calc(-3s * 2);
          animation-delay: calc(-3s * 2);
}

.carousel__item-head_mobile {
  padding: 0px;
  position: relative;
  margin-right: -55px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel__item-head_mobile img {
  height: 110px;
  width: 110px;
  border-radius: 50%;
}

.carousel__item-body_mobile {
  width: 100%;
  background-color: #fff;
  border-radius: 8px;
  padding: 16px 20px 16px 70px;
}

.title {
  text-transform: uppercase;
  font-size: 20px;
  margin-top: 10px;
}
@-webkit-keyframes carousel-animate-horizontal {
  0% {
    transform: translateX(-100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
  3%, 11.1111111111% {
    transform: translateX(-100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  14.1111111111%, 22.2222222222% {
    transform: translateX(0) scale(1.1);
    opacity: 1;
    visibility: visible;
  }
  25.2222222222%, 33.3333333333% {
    transform: translateX(100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  36.3333333333% {
    transform: translateX(100%) scale(0.5);
    opacity: 0;
    visibility: visible;
  }
  100% {
    transform: translateX(100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes carousel-animate-horizontal {
  0% {
    transform: translateX(-100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
  3%, 11.1111111111% {
    transform: translateX(-100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  14.1111111111%, 22.2222222222% {
    transform: translateX(0) scale(1.1);
    opacity: 1;
    visibility: visible;
  }
  25.2222222222%, 33.3333333333% {
    transform: translateX(100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  36.3333333333% {
    transform: translateX(100%) scale(0.5);
    opacity: 0;
    visibility: visible;
  }
  100% {
    transform: translateX(100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
}

 /*mobile view responsive css */
.carousel {
  position: relative;
  width: 100%;
  max-width: 90%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.carousel__item {
  display: flex;
  align-items: center;
  position: absolute;
  width: 100%;
  padding: 0 12px;
  opacity: 0;
  border-radius: 10px;
  filter: drop-shadow(0px 12px 26px #0000001A) !important;
  will-change: transform, opacity;
  -webkit-animation: carousel-animate-vertical 27s linear infinite;
          animation: carousel-animate-vertical 27s linear infinite;
}

.carousel__item:nth-child(1) {
  -webkit-animation-delay: calc(3s * -1);
          animation-delay: calc(3s * -1);
}

.carousel__item:nth-child(2) {
  -webkit-animation-delay: calc(3s * 0);
          animation-delay: calc(3s * 0);
}

.carousel__item:nth-child(3) {
  -webkit-animation-delay: calc(3s * 1);
          animation-delay: calc(3s * 1);
}

.carousel__item:nth-child(4) {
  -webkit-animation-delay: calc(3s * 2);
          animation-delay: calc(3s * 2);
}

.carousel__item:nth-child(5) {
  -webkit-animation-delay: calc(3s * 3);
          animation-delay: calc(3s * 3);
}

.carousel__item:nth-child(6) {
  -webkit-animation-delay: calc(3s * 4);
          animation-delay: calc(3s * 4);
}

.carousel__item:nth-child(7) {
  -webkit-animation-delay: calc(3s * 5);
          animation-delay: calc(3s * 5);
}

.carousel__item:nth-child(8) {
  -webkit-animation-delay: calc(3s * 6);
          animation-delay: calc(3s * 6);
}

.carousel__item:last-child {
  -webkit-animation-delay: calc(-3s * 2);
          animation-delay: calc(-3s * 2);
}

.carousel__item-head {
  padding: 0px;
  position: relative;
  margin-right: -55px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* font-size: 50px; */
}
.carousel__item-head img{
  height: 110px;
  width: 110px;
  border-radius: 50%;
}
.carousel__item-body {
  width: 100%;
  background-color: #fff;
  border-radius: 8px;
  padding: 16px 20px 16px 70px;
}

.title {
  text-transform: uppercase;
  font-size: 20px;
  margin-top: 10px;
}

@-webkit-keyframes carousel-animate-vertical {
  0% {
    transform: translateY(100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
  3%, 11.1111111111% {
    transform: translateY(100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  14.1111111111%, 22.2222222222% {
    transform: translateY(0) scale(1.1);
    opacity: 1;
    visibility: visible;
    /* height: 230px; */
  }
  25.2222222222%, 33.3333333333% {
    transform: translateY(-100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  36.3333333333% {
    transform: translateY(-100%) scale(0.5);
    opacity: 0;
    visibility: visible;
  }
  100% {
    transform: translateY(-100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes carousel-animate-vertical {
  0% {
    transform: translateY(100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
  3%, 11.1111111111% {
    transform: translateY(100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  14.1111111111%, 22.2222222222% {
    transform: translateY(0) scale(1.1);
    opacity: 1;
    visibility: visible;
    /* height: 230px; */
  }
  25.2222222222%, 33.3333333333% {
    transform: translateY(-100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  36.3333333333% {
    transform: translateY(-100%) scale(0.5);
    opacity: 0;
    visibility: visible;
  }
  100% {
    transform: translateY(-100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
}

@media only screen and (max-width: 1750px) and (min-width: 1521px){
  .carousel{
    margin: 0 auto;
   }
  .carousel__item-body p{
    height: 120px !important;
    }
    .carousel__item-body{
      padding: 16px 20px 16px 50px;
    }
}
@media only screen and (max-width: 1520px) and (min-width: 1441px)  {
  .carousel{
    margin: 0 auto;
   }
  .carousel__item-body p{
    height: 120px !important;
    }
    .carousel__item-body{
      padding: 16px 20px 16px 50px;
    }
}
@media only screen and (max-width: 1440px) {
  .carousel__item-head{
    margin-right: -48px;
  }
  .carousel__item-body p{
    height: 120px !important;
    }
  .carousel__item-body{
    padding: 16px 20px 16px 40px ;
  }

.carousel__item-head img{
    height: 95px !important;
    width: 95px !important;
  }
}

@media only screen and (max-width: 1366px) {
  .carousel__item-body p{
    height: 130px !important;
  }
}

@media only screen and (max-width: 1124px) {
  .carousel__item-body p{
    height: 140px !important;
  }
  .carousel__item-body{
    padding:30px 20px 16px 30px !important;
  }
}
@media only screen and (max-width: 767px){
  .carousel__item-body p{
    height: 110px;
  }
.carousel__item-head{
  margin-right: -41px;
  }
}

@media only screen and (max-width: 600px) {
  @-webkit-keyframes carousel-animate-vertical {
      0% {
        transform: translateY(100%) scale(0.5);
        opacity: 0;
        visibility: hidden;
      }
      3%, 11.1111111111% {
        transform: translateY(100%) scale(0.8);
        opacity: 0.4;
        visibility: visible;
      }
      14.1111111111%, 22.2222222222% {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
      }
      25.2222222222%, 33.3333333333% {
        transform: translateY(-100%) scale(0.8);
        opacity: 0.4;
        visibility: visible;
      }
      36.3333333333% {
        transform: translateY(-100%) scale(0.5);
        opacity: 0;
        visibility: visible;
      }
      100% {
        transform: translateY(-100%) scale(0.5);
        opacity: 0;
        visibility: hidden;
      }
    }
    
    @keyframes carousel-animate-vertical {
      0% {
        transform: translateY(100%) scale(0.5);
        opacity: 0;
        visibility: hidden;
      }
      3%, 11.1111111111% {
        transform: translateY(100%) scale(0.8);
        opacity: 0.4;
        visibility: visible;
      }
      14.1111111111%, 22.2222222222% {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
      }
      25.2222222222%, 33.3333333333% {
        transform: translateY(-100%) scale(0.8);
        opacity: 0.4;
        visibility: visible;
      }
      36.3333333333% {
        transform: translateY(-100%) scale(0.5);
        opacity: 0;
        visibility: visible;
      }
      100% {
        transform: translateY(-100%) scale(0.5);
        opacity: 0;
        visibility: hidden;
      }
    }
    .carousel__item-body p{
      height: 155px !important;
    }

}
@media only screen and (max-width: 430px) and (min-width: 401px){
  .carousel__item-body p{
    height: 180px !important;
  }
  .carousel__item-body{
    padding:30px 20px 16px 30px !important;
  }

}

@media only screen and (max-width: 400px) and (min-width: 376px){
  .carousel__item-body p{
    height: 210px !important;
  }
  .carousel__item-body{
    padding:30px 20px 16px 30px !important;
  }

}

@media only screen and (max-width: 375px){
  .carousel__item-body p{
    height: 240px !important;
    font-size: 13px !important;
    line-height: 22px;
    text-align: justify !important;
  }
  .carousel__item-body{
    padding:16px 20px 16px 30px !important;
  }
  .carousel__item-head img{
    height: 55px !important;
    width: 55px !important;
  }
  .carousel__item-head{
      margin-right: -30px !important;
  }

  .carousel__item-body strong{
      font-size: 14px !important;
  }
}
@media only screen and (max-width: 300px){
  .carousel__item-body p{
    height: 280px !important;
  }
}
 /*mobile view responsive css end*/




