<footer class="footer">
    <img src="img/espiralFooter.png" alt="" class="footer-img">
    <div class="footer-div">
        <img src="img/logo.png" alt="" class="footer-img2">
        <ul class="footer-ul">
            <li><a href="index.php#nosotros" class="footer-a"><?php echo translate('nav.nosotros'); ?></a></li>
            <li><a href="index.php#servicios" class="footer-a"><?php echo translate('nav.servicios'); ?></a></li>
            <li><a href="https://blackbook.site/" target="_blank" class="footer-a">BlackBook</a></li>
            <li><a href="proyectos.php" class="footer-a"><?php echo translate('nav.proyectos'); ?></a></li>
            <li><a href="simulador.php" class="footer-a"><?php echo translate('nav.simulador'); ?></a></li>
            <li><a href="reclutamiento.php" class="footer-a"><?php echo translate('nav.reclutamiento'); ?></a></li>
            <li><a href="contacto.php" class="footer-a"><?php echo translate('nav.contactanos'); ?></a></li>
        </ul>
        <div class="footer-div2">
            <a href="https://www.instagram.com/m2m_movetomexico/" target="_blank"><i class="fa-brands fa-instagram"></i></a>
            <a href="https://www.facebook.com/m2m.movetomexico" target="_blank"><i class="fa-brands fa-facebook-f"></i></a>
            <a href="https://x.com/M2MMoveToMexico" target="_blank"><i class="fa-brands fa-x-twitter"></i></a>
            <a href="https://www.tiktok.com/@m2m_movetomexico" target="_blank"><i class="fa-brands fa-tiktok"></i></a>
            <a href="https://www.linkedin.com/company/m2m-move-to-mexico" target="_blank"><i class="fa-brands fa-linkedin-in"></i></a>
            <a href="https://wa.me/524424451768" target="_blank"><i class="fa-brands fa-whatsapp"></i></a>
        </div>
        <p class="footer-p">Move to México. <?php echo date('Y') ?></p>
    </div>
</footer>

<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/notyf@3.9.0/notyf.min.js"></script>
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
<script src="js/enviarmail.js"></script>
<script src="js/navbar.js"></script>

<?php
$current_page = basename($_SERVER['PHP_SELF']);
?>

<!-- solo usar simulador.js en simulador.php -->
<?php if ($current_page == 'simulador.php') { ?>
    <script src="js/simulador.js"></script>
<?php } elseif ($current_page == 'index.php') { ?>
    <script src="js/index.js"></script>
<?php } ?>
</body>

</html>