<footer id="footer" class="footer dark-background">
    <div class="footer-top">
        <div class="container">
            @php
                $data = DB::table('settings')->first();
            @endphp
            <div class="row gy-4">
                <div class="col-lg-4 col-md-6 footer-about">
                    @if (!empty($data->logo_footer))
                        <a href="{{ route('home') }}" class="logo d-flex align-items-center">
                            <span class="sitename">
                                <img src="{{ asset($data->logo_footer) }}" alt="Rasem Corp">
                            </span>
                        </a>
                    @else
                        <a href="{{ route('home') }}" class="logo d-flex align-items-center">
                            <span class="sitename">
                                Rasem Corp
                            </span>
                        </a>
                    @endif

                    <div class="footer-contact pt-3">
                        @if (!empty($data->short_des))
                            <p>

                                {{ $data->short_des }}

                            </p>
                        @endif
                        @if (!empty($data->address))
                            <p>

                                {{ $data->address }}

                            </p>
                        @endif
                        @if (!empty($data->phone))
                            <p class="mt-3"><strong>Phone:</strong> <span>

                                    <a href="tel:{{ $data->phone }}"> {{ $data->phone }} </a>

                                </span></p>
                        @endif
                        @if (!empty($data->phone2))
                            <p class="mt-3"><strong>Phone:</strong> <span>

                                    <a href="tel:{{ $data->phone2 }}"> {{ $data->phone2 }} </a>

                                </span></p>
                        @endif
                        @if (!empty($data->phone3))
                            <p class="mt-3"><strong>Phone:</strong> <span>

                                    <a href="tel:{{ $data->phone3 }}"> {{ $data->phone3 }} </a>

                                </span></p>
                        @else
                        @endif

                        @if (!empty($data->email))
                            <p><strong>Email:</strong> <span>

                                    <a href="mailto:{{ $data->email }}">{{ $data->email }}</a> <br>
                                    <a href="mailto:jose.rabanal@rasemcorp.com">jose.rabanal@rasemcorp.com</a>

                                </span></p>
                        @endif
                        <p><strong>Ruc:</strong> <span>

                                <a href="#">20604224641</a>
                            </span></p>
                        <p><strong>Horario:</strong> <span>

                                <a href="#">Lunes a Viernes: 9:00 am - 7:00 pm</a>
                    </div>
                    <div class="social-links d-flex mt-4">
                        <a href=""><i class="bi bi-twitter-x"></i></a>
                        <a href="https://www.facebook.com/rasemcorp"><i class="bi bi-facebook"></i></a>
                        <a href=""><i class="bi bi-instagram"></i></a>
                        <a href=""><i class="bi bi-linkedin"></i></a>
                    </div>
                </div>

                <div class="col-lg-2 col-md-3 footer-links">
                    <h4>Links</h4>
                    <ul>
                        <li><i class="bi bi-chevron-right"></i> <a href="{{ route('home') }}"> Home</a></li>
                        <li><i class="bi bi-chevron-right"></i> <a href="{{ route('about-us') }}"> Quienes Somos</a>
                        </li>
                        <li><i class="bi bi-chevron-right"></i> <a href="{{ route('salud') }}"> Salud</a></li>
                        <li><i class="bi bi-chevron-right"></i> <a href="{{ route('ingenieria_construccion') }}">
                                Ingenieria y construcción</a></li>
                        <li><i class="bi bi-chevron-right"></i><a href="{{ route('libro-reclamaciones') }}">Libro de
                                reclamaciones</a></li>
                        <li><i class="bi bi-chevron-right"></i> <a href="{{ route('contact') }}"> Contactanos</a></li>
                    </ul>
                </div>

                <div class="col-lg-2 col-md-3 footer-links">
                    <h4>Servicios</h4>
                    <ul>
                        <li><i class="bi bi-chevron-right"></i> <a href="{{ route('clinical-care') }}"> Clinical
                                Care</a></li>
                        <li><i class="bi bi-chevron-right"></i> <a href="{{ route('cedisan') }}"> Cedisan</a></li>
                        <li><i class="bi bi-chevron-right"></i> <a href="{{ route('kidney-care') }}"> Kidney Care</a>
                        </li>
                        <li><i class="bi bi-chevron-right"></i> <a href="{{ route('hemobalance-care') }}">
                                Hemobalance Care</a></li>
                        <li><i class="bi bi-chevron-right"></i> <a href="{{ route('jrs-meddev') }}"> JRS Meddev</a>
                        </li>
                        <li><i class="bi bi-chevron-right"></i> <a href="{{ route('primelab') }}"> Primelab</a></li>
                        <li><i class="bi bi-chevron-right"></i> <a href="{{ route('intifarma') }}"> Intifarma</a></li>
                        <li><i class="bi bi-chevron-right"></i> <a href="{{ route('pandorafarma') }}"> Pandorafarma</a>
                        </li>
                        <li><i class="bi bi-chevron-right"></i> <a href="{{ route('tsg-trade') }}"> TSG Trade</a></li>


                    </ul>
                </div>

                <div class="col-lg-4 col-md-12 footer-newsletter">
                    @include('frontend.layouts.newsletter')
                </div>

            </div>
        </div>
    </div>

    <div class="copyright">
        <div class="container text-center">
            <p>Copyright © {{ date('Y') }} <a href="https://github.com/swsperu" target="_blank">SWSPERU</a> - Todos
                los derechos reservados.</p>
            <div class="credits">

                Designed by <a href="https://swsperu.com/">Swsperu</a>
            </div>
        </div>
    </div>

</footer>

<!-- Scroll Top -->
<a href="#" id="scroll-top" class="scroll-top d-flex align-items-center justify-content-center"><i
        class="bi bi-arrow-up-short"></i></a>

<!-- Preloader -->
<div id="preloader"></div>

<!-- Vendor JS Files -->
<script src="{{ asset('frontend/assets/vendor/bootstrap/js/bootstrap.bundle.min.js') }}"></script>
<script src="{{ asset('frontend/assets/vendor/php-email-form/validate.js') }}"></script>
<script src="{{ asset('frontend/assets/vendor/aos/aos.js') }}"></script>
<script src="{{ asset('frontend/assets/vendor/swiper/swiper-bundle.min.js') }}"></script>
<script src="{{ asset('frontend/assets/vendor/glightbox/js/glightbox.min.js') }}"></script>
<script src="{{ asset('frontend/assets/vendor/imagesloaded/imagesloaded.pkgd.min.js') }}"></script>
<script src="{{ asset('frontend/assets/vendor/isotope-layout/isotope.pkgd.min.js') }}"></script>
<script src="{{ asset('frontend/assets/vendor/purecounter/purecounter_vanilla.js') }}"></script>

<!-- Main JS File -->
<script src="{{ asset('frontend/assets/js/main.js') }}"></script>

@stack('scripts')
