

<?php $__env->startSection('title', 'Client Testimonials'); ?>

<?php $__env->startSection('content'); ?>
<!-- Hero Section -->
<section class="relative py-20 bg-primary text-white">
    <div class="container mx-auto px-4">
        <div class="max-w-3xl">
            <h1 class="text-4xl md:text-5xl font-bold mb-6">Client Testimonials</h1>
            <p class="text-xl opacity-90">Hear from our satisfied clients about their experience working with our financial consulting team.</p>
        </div>
    </div>
</section>

<!-- Testimonials Section -->
<section class="py-20">
    <div class="container mx-auto px-4">
        <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
            <?php if($testimonials->count() > 0): ?>
                <?php $__currentLoopData = $testimonials; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $testimonial): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="card p-8">
                    <div class="flex items-center mb-6">
                        <img src="<?php echo e(asset('storage/' . $testimonial->photo)); ?>" alt="<?php echo e($testimonial->client_name); ?>" class="w-16 h-16 rounded-full object-cover mr-4">
                        <div>
                            <h4 class="font-semibold text-lg"><?php echo e($testimonial->client_name); ?></h4>
                            <div class="text-yellow-400">
                                <?php for($i = 1; $i <= 5; $i++): ?>
                                    <?php if($i <= $testimonial->rating): ?>
                                        <i class="fas fa-star"></i>
                                    <?php else: ?>
                                        <i class="far fa-star"></i>
                                    <?php endif; ?>
                                <?php endfor; ?>
                            </div>
                        </div>
                    </div>
                    <p class="text-gray italic">"<?php echo e($testimonial->comment); ?>"</p>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php endif; ?>
        </div>
    </div>
</section>

<!-- CTA Section -->
<section class="py-20 bg-primary text-white">
    <div class="container mx-auto px-4 text-center">
        <h2 class="text-3xl md:text-4xl font-bold mb-6">Join Our Satisfied Clients</h2>
        <p class="text-xl max-w-2xl mx-auto mb-10">Contact us today to learn how we can help you achieve your financial goals.</p>
        <a href="<?php echo e(route('contact')); ?>" class="btn btn-white text-primary">
            Get In Touch
        </a>
    </div>
</section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\laragon\www\Aplikasi_Consultan\aplikasi_consultan\resources\views/testimonials.blade.php ENDPATH**/ ?>