<!-- Premium Modern Footer -->
<style>
    :root {
        --ft-bg: #ffffff;
        --ft-surface: #f8fafc;
        --ft-accent: #E31019;
        --ft-text: #444444;
        --ft-border: #eeeeee;
    }

    .ft-wrapper {
        background: var(--ft-bg);
        color: var(--ft-text);
        padding: 60px 0 20px;
        font-family: 'Plus Jakarta Sans', sans-serif;
        border-top: none;
    }

    .ft-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .ft-brand-desc {
        color: #666;
        font-size: 14px;
        line-height: 1.7;
        margin: 20px 0 30px;
        max-width: 300px;
    }

    .ft-title {
        font-size: 14px;
        font-weight: 800;
        margin-bottom: 25px;
        color: #222;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .ft-links {
        list-style: none;
        padding: 0;
    }

    .ft-links li {
        display: block !important;
        margin-bottom: 15px !important;
    }

    .ft-links li a {
        display: block !important;
        color: #666;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .ft-links a:hover {
        color: var(--ft-accent);
        padding-left: 5px;
    }

    .ft-newsletter {
        background: #fff;
        padding: 0;
    }

    .ft-news-title {
        font-size: 18px;
        font-weight: 800;
        margin-bottom: 10px;
        color: #222;
    }

    .ft-news-p {
        font-size: 13px;
        color: #666;
        margin-bottom: 20px;
    }

    .ft-input-group {
        display: flex;
        background: #f1f5f9;
        padding: 4px;
        border-radius: 8px;
        border: 1px solid #ddd;
    }

    .ft-input-group input {
        flex: 1;
        background: transparent;
        border: none;
        padding: 10px;
        color: #222;
        font-size: 13px;
        outline: none;
    }

    .ft-submit-btn {
        background: var(--ft-accent);
        color: #fff;
        border: none;
        padding: 8px 20px;
        border-radius: 6px;
        font-weight: 700;
        cursor: pointer;
    }

    .ft-bottom {
        border-top: 1px solid var(--ft-border);
        padding: 30px 0;
        font-size: 12px;
        color: #999;
    }

    .ft-bottom-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .ft-socials {
        display: flex;
        gap: 12px;
    }

    .ft-social-icon {
        width: 35px;
        height: 35px;
        background: #f1f5f9;
        color: #444;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        text-decoration: none;
        transition: all 0.3s;
    }

    .ft-social-icon:hover {
        background: var(--ft-accent);
        color: #fff;
    }

    @media (max-width: 1300px) {
        .ft-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
    }

    @media (max-width: 1024px) {
        .ft-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    }

    @media (max-width: 640px) {
        .ft-grid { grid-template-columns: 1fr; }
        .ft-bottom-flex { flex-direction: column; gap: 20px; text-align: center; }
    }
</style>

<footer class="ft-wrapper">
    <div class="container">
        <div class="ft-grid">
            <!-- Brand -->
            <div>
                <?php
                    $whiteLogo = $generalsetting?->white_logo;
                    if ($whiteLogo) {
                        if (str_starts_with($whiteLogo, 'http')) {
                            $footerLogoUrl = $whiteLogo;
                        } else {
                            $footerLogoUrl = asset(str_replace('public/', '', $whiteLogo));
                        }
                    } else {
                        $footerLogoUrl = asset('public/logo.png');
                    }
                ?>
                <img src="<?php echo e($footerLogoUrl); ?>" alt="Logo" style="height: 60px; object-fit: contain;">
                <p class="ft-brand-desc">
                    <?php echo e($generalsetting?->footer_about_text ?? 'Redefining the standard of e-commerce with a commitment to quality, authenticity, and customer satisfaction.'); ?>

                </p>
                <div style="display: flex; flex-direction: column; gap: 12px;">
                    <div style="display: flex; align-items: center; gap: 12px;">
                        <i class="fa-solid fa-phone" style="color: var(--ft-accent);"></i>
                        <span style="font-size: 14px; font-weight: 600;"><?php echo e($contact?->hotline); ?></span>
                    </div>
                    <div style="display: flex; align-items: center; gap: 12px;">
                        <i class="fa-solid fa-envelope" style="color: var(--ft-accent);"></i>
                        <span style="font-size: 14px; color: var(--ft-text);"><?php echo e($contact?->email); ?></span>
                    </div>
                </div>
            </div>

            <!-- Shop -->
            <div>
                <h6 class="ft-title">Shopping</h6>
                <ul class="ft-links">
                    <li><a href="<?php echo e(route('shop')); ?>">All Products</a></li>
                    <li><a href="<?php echo e(route('hotdeals')); ?>">Hot Deals</a></li>
                    <li><a href="<?php echo e(route('flashsales')); ?>">Flash Sales</a></li>
                    <li><a href="<?php echo e(route('blogs')); ?>">Expert Blog</a></li>
                </ul>
            </div>

            <!-- Customer Service -->
            <div>
                <h6 class="ft-title">Customer Service</h6>
                <ul class="ft-links">
                    <li><a href="<?php echo e(route('contact')); ?>">Help Center</a></li>
                    <li><a href="<?php echo e(route('customer.order_track')); ?>">Track Order</a></li>
                    <li><a href="<?php echo e(route('complaint')); ?>">Submit Ticket</a></li>
                    <?php $__currentLoopData = $pages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $page): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <li><a href="<?php echo e(route('page', $page->slug)); ?>"><?php echo e($page->name); ?></a></li>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </ul>
            </div>



            <!-- Newsletter -->
            <div class="ft-newsletter">
                <h5 class="ft-news-title">Join Our Universe</h5>
                <p class="ft-news-p">Get exclusive early access to new arrivals and premium member-only deals.</p>
                <form action="<?php echo e(route('frontend.newsletter.subscribe')); ?>" method="POST">
                    <?php echo csrf_field(); ?>
                    <div class="ft-input-group">
                        <input type="email" name="email" placeholder="email@example.com" required>
                        <button type="submit" class="ft-submit-btn">Join</button>
                    </div>
                </form>
                <div class="ft-socials" style="margin-top: 30px;">
                    <?php $__currentLoopData = $socialicons; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $social): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <a href="<?php echo e($social->link); ?>" target="_blank" class="ft-social-icon"><i class="<?php echo e($social->icon); ?>"></i></a>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </div>

        <div class="ft-bottom">
            <div class="ft-bottom-flex">
                <p>&copy; <?php echo e(date('Y')); ?> <?php echo e($generalsetting?->name); ?>. Elevated Experience by Design.</p>
                <div style="display: flex; gap: 20px; align-items: center; opacity: 0.6;">
                    <i class="fa-brands fa-cc-visa" style="font-size: 24px;"></i>
                    <i class="fa-brands fa-cc-mastercard" style="font-size: 24px;"></i>
                    <i class="fa-brands fa-cc-apple-pay" style="font-size: 24px;"></i>
                </div>
            </div>
        </div>
    </div>
</footer>
<?php /**PATH C:\Users\TAMIM\Downloads\SHWAPNO\SHWAPNO_THEAM_FULL_ECPMARCE-master\WEBSITE\resources\views/frontEnd/layouts/partials/footer.blade.php ENDPATH**/ ?>