
.testimoials-section{
    position: relative;
}

.testimoials-section::before,
        .testimoials-section::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            height: 20%;
            z-index: 1;
            pointer-events: none;
        }
        
        
        .testimoials-section::before {
            top: 0;
            background: linear-gradient(to bottom, 
                rgba(249, 249, 249, 1) 0%, 
                rgba(249, 249, 249, 0) 100%);
        }
        
        
        .testimoials-section::after {
            bottom: 0;
            background: linear-gradient(to top, 
                rgba(249, 249, 249, 1) 0%, 
                rgba(249, 249, 249, 0) 100%);
        }

.section__container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1rem;
  text-align: center;
}

.section__container h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary);
}

.section__container h1 {
  position: relative;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--dark);
}

.section__container h1::after {
  position: absolute;
  content: "";
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 2px;
  width: 5rem;
  background-color: var(--secondary);
}

.section__grid {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
}

.section__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2rem;
  background-color: var(--light);
  border-radius: 5px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.section__card::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  width: 75%;
  aspect-ratio: 1;
  border-radius: 100%;
  /* background-color: var(--secondary); */
  background: linear-gradient(135deg, var(--secondary) 50%, var(--dark) 100%);
  z-index: -1;
  transition: 0.5s;
  animation: carousel-animate-vertical-card 27s linear infinite;
}

.section__card span {
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem;
  font-size: 3rem;
  color: var(--light);
}

.section__card h4 {
  margin-top: 4rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary);
  transition: 0.3s;
}

.section__card p {
  margin-bottom: 2rem;
  color: var(--light);
  transition: 0.3s;
}

.section__card img {
    margin-bottom: 1rem;
    max-width: 80px;
    height: 80px;
    border-radius: 100%;
    border: 2px solid var(--secondary);
    transition: 0.3s;
    object-fit: contain;
    background-color: white;
}
.section__card div {
       display: flex
;
    margin-bottom: 1rem;
    max-width: 80px;
    height: 80px;
    color: var(--secondary);
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    font-size: 32px;
    font-weight: 700;
    border: 2px solid var(--secondary);
    /* transition: 0.3s; */
    /* object-fit: contain; */
    background-color: white;
}


.section__card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--light);
  transition: 0.3s;
}

.section__card h6 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--light);
  transition: 0.3s;
}

.section__card:hover::before {
  width: 400%;
}

.section__card:hover :is(h4, h5) {
  color: var(--light);
}

.section__card:hover :is(p, h6) {
  color: var(--accent);
}

.section__card:hover img {
  border-color: var(--light);
}
        

/* testimonial */
.void {
	width: 100%;
	max-width: 1024px;
	margin: auto;
	position: relative;
	aspect-ratio: 1 / 1;
}
#card-list:hover * {
	/* animation-play-state: paused; */
}
#card-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	outline: 2px dotted magenta;
	z-index: 1;
}
.card-list-item {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
/* 	outline: 2px dashed cyan; */
	width: 100%;
	animation: rotateCW calc(var(--rotate-speed) * 1s) var(--easing) infinite;
}
.card {
	width: 27%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 16px 24px;
	gap: 8px;
	background: #FFFFFF;
	box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1), 0px 16px 32px rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	color: #535062;
	animation: rotateCCW calc(var(--rotate-speed) * 1s) var(--easing) infinite;
}
a {
	text-decoration: none;
	color: unset;
}
.model-name {
	font-weight: 500;
	font-size: 18px;
	line-height: 150%;
	color: #3B2ED0;
	display: block;
}
li:nth-child(2), li:nth-child(2) .card {
	animation-delay: calc((var(--rotate-speed)/var(--count)) * -1s);
}
li:nth-child(3), li:nth-child(3) .card {
	animation-delay: calc((var(--rotate-speed)/var(--count)) * -2s);
}
li:nth-child(4), li:nth-child(4) .card {
	animation-delay: calc((var(--rotate-speed)/var(--count)) * -3s);
}
li:nth-child(5), li:nth-child(5) .card {
	animation-delay: calc((var(--rotate-speed)/var(--count)) * -4s);
}
li:nth-child(6), li:nth-child(6) .card {
	animation-delay: calc((var(--rotate-speed)/var(--count)) * -5s);
}
li:nth-child(7), li:nth-child(7) .card {
	animation-delay: calc((var(--rotate-speed)/var(--count)) * -6s);
}
li:nth-child(8), li:nth-child(8) .card {
	animation-delay: calc((var(--rotate-speed)/var(--count)) * -7s);
}

@keyframes rotateCW {
	from {
		transform: translate3d(0px, -50%, -1px) rotate(-45deg);
	}
	to {
		transform: translate3d(0px, -50%, 0px) rotate(-315deg);
	}
}
@keyframes rotateCCW {
	from {
		transform: rotate(45deg);
	}
	to {
		transform: rotate(315deg);
	}
}
@keyframes pulseGlow {
	from {
		background-size: 60%;
	}
	to {
		background-size: 100%;
	}
}

.center-circle {
	position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 230px;
    font-weight: var(--fh700);
    font-size: 50px;
    aspect-ratio: 1 / 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #FFFFFF;
    box-shadow: 0px 18px 36px -18px rgba(12, 5, 46, 0.3), 0px 30px 60px -12px rgba(12, 5, 46, 0.25);
    border-radius: 50%;
}
.second-circle {
	position: absolute;
	width: 40%;
	aspect-ratio: 1 / 1;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background: #F5F4FE;
	opacity: 0.5;
	box-shadow: 0px 18px 36px -18px rgba(12, 5, 46, 0.3), 0px 30px 60px -12px rgba(12, 5, 46, 0.25);
	border-radius: 50%;
}
.last-circle {
	position: absolute;
	width: 66%;
	aspect-ratio: 1 / 1;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background: #F5F4FE;
	opacity: 0.25;
	box-shadow: 0px 18px 36px -18px rgba(12, 5, 46, 0.3), 0px 30px 60px -12px rgba(12, 5, 46, 0.25);
	border-radius: 50%;
}
.crop {
	-webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 1));
}
.mask {
	position: absolute;
	top: 0;
	left: -50%;
	bottom: 0;
	width: 100%;
	animation: pulseGlow 5s linear infinite alternate;
	background-position: 100% 50%;
	background-repeat: no-repeat;
	background-image: radial-gradient(100% 50% at 100% 50%, rgba(60, 26, 229, 0.25) 0%, rgba(60, 26, 229, 0.247904) 11.79%, rgba(59, 26, 229, 0.241896) 21.38%, rgba(58, 26, 229, 0.2324) 29.12%, rgba(57, 26, 229, 0.219837) 35.34%, rgba(55, 26, 229, 0.20463) 40.37%, rgba(53, 26, 229, 0.1872) 44.56%, rgba(51, 26, 229, 0.16797) 48.24%, rgba(48, 26, 229, 0.147363) 51.76%, rgba(46, 26, 229, 0.1258) 55.44%, rgba(44, 26, 229, 0.103704) 59.63%, rgba(41, 26, 229, 0.0814963) 64.66%, rgba(39, 26, 229, 0.0596) 70.88%, rgba(36, 26, 229, 0.038437) 78.62%, rgba(34, 26, 229, 0.0184296) 88.21%, rgba(32, 26, 229, 0) 100%);
}


/* carausel */

.wrapper {
            /* background: linear-gradient(60deg, #420285, #08BDBD); */
            height: 100%;
            width: 120%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .carousel {
            position: relative;
            width: 100%;
            max-width: 600px;
            display: flex;
            justify-content: center;
            flex-direction: column;
            height: 200px;
        }
        .carousel__item {
            display: flex;
            align-items: center;
            position: absolute;
            width: 100%;
            padding: 0 12px;
            opacity: 0;
            filter: drop-shadow(0 2px 2px #555);
            will-change: transform, opacity;
            animation: carousel-animate-vertical 27s linear infinite;
        }

       .carousel:hover .carousel__item,
.carousel:hover .carousel__item .section__card::before {
  animation-play-state: paused;
}

        .carousel__item:nth-child(1) { animation-delay: 0s; }
        .carousel__item:nth-child(2) { animation-delay: 3s; }
        .carousel__item:nth-child(3) { animation-delay: 6s; }
        .carousel__item:nth-child(4) { animation-delay: 9s; }
        .carousel__item:nth-child(5) { animation-delay: 12s; }
        .carousel__item:nth-child(6) { animation-delay: 15s; }
        .carousel__item:nth-child(7) { animation-delay: 18s; }
        .carousel__item:nth-child(8) { animation-delay: 21s; }
        .carousel__item:last-child { animation-delay: -3s; }

         .carousel__item:nth-child(1) .section__card::before { animation-delay: 0s; }
         .carousel__item:nth-child(2) .section__card::before { animation-delay: 3s; }
         .carousel__item:nth-child(3) .section__card::before { animation-delay: 6s; }
         .carousel__item:nth-child(4) .section__card::before { animation-delay: 9s; }
         .carousel__item:nth-child(5) .section__card::before { animation-delay: 12s; }
         .carousel__item:nth-child(6) .section__card::before { animation-delay: 15s; }
         .carousel__item:nth-child(7) .section__card::before { animation-delay: 18s; }
         .carousel__item:nth-child(8) .section__card::before { animation-delay: 21s; }
         .carousel__item:last-child .section__card::before { animation-delay: -3s; }



        .carousel__item-head {
            border-radius: 50%;
            background-color: #d7f7fc;
            width: 90px;
            height: 90px;
            padding: 14px;
            position: relative;
            margin-right: -45px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 50px;
        }
        .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;
        }
        @keyframes carousel-animate-vertical {
            0% {
                transform: translateY(100%) scale(0.5);
                opacity: 0;
                visibility: hidden;
               
            }
            3%,
            11.11% {
                transform: translateY(100%) scale(0.7);
                opacity: .4;
                visibility: visible;
            }
            14.11%,
            22.22% {
                transform: translateY(0) scale(1);
                opacity: 1;
                visibility: visible;
              
            }
            25.22%,
            33.33% {
                transform: translateY(-100%) scale(0.7);
                opacity: .4;
                visibility: visible;
            }
            36.33% {
                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-card {
            0% {
               width: 75%;
            }
            3%,
            11.11% {      
                width: 75%;        
            }
            14.11%,
            22.22% {
                width: 400%;
              
            }
            25.22%,
            33.33% {
                width: 75%;
            }
            36.33% {
                width: 75%;
            }
            100% {
                width: 75%;
            }
        }

        @media screen and (max-width: 575px) {

            .testimoials-section {
                zoom : .28
          }

        }