.marquee-wrapper {
  position: relative;
  display: flex;
  overflow: hidden;
  gap: 1rem;
  border-radius: 1rem;
	mask-image: linear-gradient( var(--mask-direction, to right), hsl(0 0% 0% / 0), hsl(0 0% 0% / 1) 20%, hsl(0 0% 0% / 1) 80%, hsl(0 0% 0% / 0) );
}
.marquee-wrapper .marquee-content {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1rem;
  cursor: grab;
}
.marquee-wrapper .marquee-content .card-testimonial {
  width: 500px;
    background: radial-gradient(circle at 51% 100%, rgba(28, 28, 28, 1) 0%, rgba(124, 41, 255, 1) 0%, rgba(28, 28, 28, 1) 100%);

  padding: 1rem;
  border-radius: 1rem;
  color: #000;
  border: 1px solid #7f54b3;
}
.marquee-wrapper .marquee-content .card-testimonial article picture {
  position: relative;
  min-width: 200px;
}
.marquee-wrapper .marquee-content .card-testimonial article picture img {
  width: 100%;
  height: 340px;
  border-radius: 0.5rem;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: 50% 15%;
  object-position: 50% 15%;
}
.marquee-wrapper .marquee-content .card-testimonial article h4 {
  font-size: 20px;
  text-transform: capitalize;
  margin-block: 1rem;
}
.marquee-wrapper
  .marquee-content
  .card-testimonial
  article
  article.short-description
  p {
  font-family: var(--ff-heading);
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  margin-bottom: 1.2rem;
}
@media (max-width: 1024px) {
  .marquee-wrapper {
    overflow: auto;
  }
}

.scrollingX {
  animation: scroll 100s linear infinite;
}

.marquee-wrapper:hover .scrollingX {
  animation-play-state: paused;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 1rem));
  }
} 

.quote {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 20px;
	margin-top: 20px;
}

.card .profile {
 display: flex;
  align-items: center;
  margin-top: auto;
	padding-bottom: 20px;
}

article.card{
	height: 300px;
  display: flex;
  flex-direction: column;
}


.card .profile img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-right: 10px;
background-color: white;
	object-fit:contain;
}

.card .profile .name {
  font-weight: bold;
  font-size: 16px;
  margin: 0;
	color:white;
}

.card .profile .position {
  font-size: 14px;
  color: white;
}

@media (max-width: 767px) {
	.marquee-wrapper .marquee-content .card-testimonial {
		width: 300px !important;
	}
	
	article.card {
		height: 400px  !important;
	}
	
/* 	.marquee-wrapper{
		    mask-image: linear-gradient(var(--mask-direction, to right), hsl(0deg 0% 0% / 51%), hsl(0deg 0% 0%) 20%, hsl(0 0% 0% / 1) 80%, hsl(0deg 0% 0% / 51%));
	} */
	
	.marquee-wrapper {
                overflow-y: hidden;
    }
}
