<section class="py-16 bg-gray-50" x-data="{ slideWidth: 0, activeSlide: 0, slideCount: 3 }">
<div class="container px-4 mx-auto">
<div class="max-w-xl mx-auto xl:max-w-none">
<div class="flex flex-wrap -mx-4">
<div class="w-full xl:w-1/2 px-4 mb-16 xl:mb-0">
<div class="max-w-xs sm:max-w-sm">
<div class="text-sm mb-2 font-semibold text-gray-900 uppercase">
<span>Our</span>
<span class="text-green-500">testimonials</span>
</div>
<h1 class="font-heading text-3xl sm:text-4xl mb-6">What people says about us</h1>
<p class="text-lg leading-8">If you have ever wondered how to develop your brand, this is the place for you.</p>
</div>
</div>
<div class="w-full xl:w-1/2 px-4">
<div class="sm:flex items-center">
<div class="max-w-md pt-8 px-8 pb-6 mb-8 sm:mb-0 sm:mr-8 bg-white rounded-md">
<svg width="24" height="16" viewBox="0 0 24 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0.959961 16C2.41063 14.72 3.62663 13.3973 4.60796 12.032C5.58929 10.624 6.22929 9.30133 6.52796 8.064H6.39996C5.20529 8.064 4.28796 7.68 3.64796 6.912C3.00796 6.144 2.68796 5.26933 2.68796 4.288V3.904C2.68796 2.79467 3.05063 1.87733 3.77596 1.152C4.50129 0.384 5.46129 0 6.65596 0C7.89329 0 8.85329 0.405333 9.53596 1.216C10.2613 2.02667 10.624 3.008 10.624 4.16V4.736C10.624 5.67467 10.4533 6.656 10.112 7.68C9.77063 8.704 9.3013 9.728 8.70396 10.752C8.1493 11.776 7.46663 12.736 6.65596 13.632C5.88796 14.528 5.05596 15.3173 4.15996 16H0.959961ZM13.376 16C14.8266 14.72 16.0426 13.3973 17.024 12.032C18.0053 10.624 18.6453 9.30133 18.944 8.064H18.816C17.6213 8.064 16.704 7.68 16.064 6.912C15.424 6.144 15.104 5.26933 15.104 4.288V3.904C15.104 2.79467 15.4666 1.87733 16.192 1.152C16.9173 0.384 17.8773 0 19.072 0C20.3093 0 21.2693 0.405333 21.952 1.216C22.6773 2.02667 23.04 3.008 23.04 4.16V4.736C23.04 5.67467 22.8693 6.656 22.528 7.68C22.1866 8.704 21.7173 9.728 21.12 10.752C20.5653 11.776 19.8826 12.736 19.072 13.632C18.304 14.528 17.472 15.3173 16.576 16H13.376Z" fill="#00CBA6"></path>
</svg>
<div class="overflow-hidden">
<div :style="'transform: translateX(-' + slideWidth + 'px)'" class="flex transition-transform duration-500 ease-in-out -m-5">
<div x-ref="slide1" class="flex-shrink-0 w-full p-5">
<h3 class="font-heading text-lg mt-2 mb-6">The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</h3>
</div>
<div x-ref="slide2" class="flex-shrink-0 w-full p-5">
<h3 class="font-heading text-lg mt-2 mb-6">Unlocking Creativity in Design: How to Break Free from Repetition and Inject Humor into Your Work</h3>
</div>
<div x-ref="slide3" class="flex-shrink-0 w-full p-5">
<h3 class="font-heading text-lg mt-2 mb-6">Crafting Authentic Brand Voice: Strategies to Avoid Non-Characteristic Language and Infuse Humor into Your Messaging</h3>
</div>
</div>
</div>
<div class="flex justify-between items-center">
<div :class="{ 'hidden': activeSlide != 0 }" class="flex items-center">
<img class="h-8 w-8 rounded-full mr-6" src="acros-assets/images/testimonials/man-56x56.png" alt="">
<div>
<h4 class="text-sm font-medium">Denny Bailey</h4>
<span class="text-sm text-gray-300">CEO & Founder</span>
</div>
</div>
<div :class="{ 'hidden': activeSlide != 1 }" class="hidden flex items-center">
<img class="h-8 w-8 rounded-full mr-6" src="acros-assets/images/testimonials/man-56x56.png" alt="">
<div>
<h4 class="text-sm font-medium">Jenna Larson</h4>
<span class="text-sm text-gray-300">Creative Director</span>
</div>
</div>
<div :class="{ 'hidden': activeSlide != 2 }" class="hidden flex items-center">
<img class="h-8 w-8 rounded-full mr-6" src="acros-assets/images/testimonials/man-56x56.png" alt="">
<div>
<h4 class="text-sm font-medium">Alex Chen</h4>
<span class="text-sm text-gray-300">Marketing Manager</span>
</div>
</div>
<div class="flex items-center justify-end">
<a x-on:click.prevent="activeSlide = 0, slideWidth = $refs['slide1'].offsetWidth * 0" class="group inline-flex items-center justify-center w-4 h-4 mr-2 rounded-full border border-gray-900" :class="{ 'border-gray-900': activeSlide == 0, 'border-transparent': activeSlide != 0 }" href="#">
<div class="w-1 h-1 rounded-full" :class="{ 'bg-transparent': activeSlide == 0, 'bg-gray-900': activeSlide != 0 }"></div>
</a>
<a x-on:click.prevent="activeSlide = 1, slideWidth = $refs['slide2'].offsetWidth * 1" class="group inline-flex items-center justify-center w-4 h-4 mr-2 rounded-full border border-transparent" :class="{ 'border-gray-900': activeSlide == 1, 'border-transparent': activeSlide != 1 }" href="#">
<div class="w-1 h-1 rounded-full bg-gray-900" :class="{ 'bg-transparent': activeSlide == 1, 'bg-gray-900': activeSlide != 1 }"></div>
</a>
<a x-on:click.prevent="activeSlide = 2, slideWidth = $refs['slide3'].offsetWidth * 2" class="group inline-flex items-center justify-center w-4 h-4 mr-2 rounded-full border border-transparent" :class="{ 'border-gray-900': activeSlide == 2, 'border-transparent': activeSlide != 2 }" href="#">
<div class="w-1 h-1 rounded-full bg-gray-900" :class="{ 'bg-transparent': activeSlide == 2, 'bg-gray-900': activeSlide != 2 }"></div>
</a>
</div>
</div>
</div>
<div class="text-right">
<button x-on:click.prevent="activeSlide < slideCount - 1 ? (activeSlide += 1, slideWidth += $refs['slide' + activeSlide].offsetWidth) : activeSlide = slideCount - 1" class="flex-shrink-0 inline-flex w-16 h-16 items-center justify-center bg-green-50 hover:bg-green-100 rounded-full">
<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.66675 1.33337L6.33342 6.00004L1.66675 10.6667" stroke="#00CBA6" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</section>