<?php
defined('BASEPATH') or exit('No direct script access allowed');
?>

<?php
$clientes = [
    [
        'img' => base_url('template/img/clientes/ceneu.png'),
        'href' => 'https://ceneu.com.py'
    ],
    [
        'img' => base_url('template/img/clientes/plastizil.jpeg'),
        'href' => 'https://www.plastizil.com/'
    ],
    [
        'img' => base_url('template/img/clientes/quattro-d.jpeg'),
        'href' => 'http://quattrod.com.py/'
    ],
    [
        'img' => 'https://uma.edu.py/wp-content/uploads/2024/05/logo-actualizado2.png',
        'href' => 'https://uma.edu.py'
    ],
    [
        'img' => 'https://lasalmenas.edu.py/wp-content/uploads/2023/10/logo_las_almenas2.png',
        'href' => 'https://lasalmenas.edu.py'
    ],
    [
        'img' => base_url('template/img/clientes/feliciana-farina.jpeg'),
        'href' => 'https://felicianadefarina.com.py/'
    ],
    [
        'img' => base_url('template/img/clientes/smg-consultora.jpeg'),
        'href' => 'https://www.smg.com.py/'
    ],
    [
        'img' => base_url('template/img/clientes/via-allegra-paseo.jpeg'),
        'href' => 'http://www.viaallegra.com.py'
    ],
    [
        'img' => base_url('template/img/clientes/dunamis.jpeg'),
        'href' => 'https://dunamis.com.py/'
    ],
    [
        'img' => base_url('template/img/clientes/cpr.jpeg'),
        'href' => 'https://consultoracpr.com/'
    ],
];

?>
<!-- Clients Start -->
<div class="container-xxl py-5">
    <div class="container px-lg-5">

        <!-- Header -->
        <div class="text-center wow fadeInUp" data-wow-delay="0.1s">
            <div class="highlight-pill mb-3" style="display:inline-flex;">
                <i class="fas fa-handshake me-1"></i> Empresas que confían en nosotros
            </div>
            <div class="section-title position-relative mx-auto mb-2 pb-2" style="max-width:700px;">
                <h1 class="mb-3">Nuestros Clientes</h1>
                <p class="text-muted">Más de 50 empresas en Paraguay han elegido a Elements para gestionar su tecnología.</p>
            </div>
        </div>

        <!-- Infinite Marquee -->
        <div class="logos-marquee-wrapper wow fadeInUp mt-4" data-wow-delay="0.2s">
            <div class="logos-track">
                <?php foreach ($clientes as $cliente) : ?>
                    <div class="client-logo-card">
                        <a href="<?php echo $cliente['href'] ?>" target="_blank" rel="noopener">
                            <img src="<?php echo $cliente['img'] ?>" alt="cliente">
                        </a>
                    </div>
                <?php endforeach; ?>
                <?php /* Duplicated for seamless loop */ foreach ($clientes as $cliente) : ?>
                    <div class="client-logo-card" aria-hidden="true">
                        <a href="<?php echo $cliente['href'] ?>" target="_blank" rel="noopener" tabindex="-1">
                            <img src="<?php echo $cliente['img'] ?>" alt="">
                        </a>
                    </div>
                <?php endforeach; ?>
            </div>
        </div>

        <!-- CTA strip -->
        <div class="text-center mt-5 wow fadeInUp" data-wow-delay="0.3s">
            <p class="text-muted mb-3">¿Tu empresa todavía no trabaja con nosotros?</p>
            <a href="<?php echo base_url('contacto'); ?>" class="btn btn-primary px-5 py-3 fw-bold">
                <i class="fas fa-rocket me-2"></i>Sumá tu empresa
            </a>
        </div>

    </div>
</div>
<!-- Clients End -->