<!-- Modern Newsletter Section -->
<div class="modern-newsletter-section">
    <div class="modern-newsletter-container">
        <div class="modern-newsletter-content">
            <div class="modern-newsletter-text">
                <div class="modern-newsletter-icon">📧</div>
                <h3 class="modern-newsletter-title">Stay Updated with Best Deals!</h3>
                <p class="modern-newsletter-description">
                    Subscribe to our newsletter and get exclusive coupons, early access to sales, and weekly deal roundups delivered to your inbox.
                </p>
                <div class="modern-newsletter-features">
                    <div class="modern-newsletter-feature">Exclusive Discounts</div>
                    <div class="modern-newsletter-feature">Early Access</div>
                    <div class="modern-newsletter-feature">Weekly Updates</div>
                </div>
            </div>
            
            <div class="modern-newsletter-form-wrapper">
                <form id="modernNewsletterForm" class="modern-newsletter-form">
                    <div class="modern-newsletter-input-wrapper">
                        <span class="modern-newsletter-input-icon">✉</span>
                        <input type="email" 
                               class="modern-newsletter-input" 
                               placeholder="Enter your email address" 
                               required>
                    </div>
                    <button type="submit" class="modern-newsletter-submit">
                        Subscribe
                    </button>
                </form>
            </div>
        </div>
    </div>
</div>

<!-- Original Footer Content -->
<div class="uk-container uk-margin-large-top">
<hr>
</div>

<div class="tas-footer">
    <div class="uk-container">
        <div class="tas-widgets uk-grid-large" uk-grid>
            <div class="uk-width-1-1 uk-width-1-2@s uk-width-1-2@m">
                <h4 class="tas-title"><?php echo echoOutput($translation['tr_40']); ?></h4>
                <p class="tas-about"><?php echo echoOutput($translation['tr_41']); ?></p>
                <ul class="tas-follow uk-iconnav">
<?php foreach($socialMedia as $item): ?>
<?php if (!empty($item['st_facebook'])): ?>
<li><a href="<?php echo $item['st_facebook'] ?>" uk-icon="icon: facebook"></a></li>
<?php endif;?>
<?php if (!empty($item['st_twitter'])): ?>
<li><a href="<?php echo $item['st_twitter'] ?>" uk-icon="icon: twitter"></a></li>
<?php endif;?> 
<?php if (!empty($item['st_youtube'])): ?>
<li><a href="<?php echo $item['st_youtube'] ?>" uk-icon="icon: youtube"></a></li>
<?php endif;?>
<?php if (!empty($item['st_linkedin'])): ?>
<li><a href="<?php echo $item['st_linkedin'] ?>" uk-icon="icon: linkedin"></a></li>
<?php endif;?>
<?php if (!empty($item['st_instagram'])): ?>
<li><a href="<?php echo $item['st_instagram'] ?>" uk-icon="icon: instagram"></a></li>
<?php endif;?>
<?php if (!empty($item['st_whatsapp'])): ?>
<li><a href="<?php echo $item['st_whatsapp'] ?>" uk-icon="icon: whatsapp"></a></li>
<?php endif;?>
<?php endforeach; ?>
                </ul>
            </div>
            <div class="uk-width-1-1 uk-width-1-2@s uk-width-1-4@m">
                <h4 class="tas-title"><?php echo echoOutput($translation['tr_42']); ?></h4>
                <ul class="uk-list">
<?php foreach($navigationFooter as $item): ?>
<?php if ($item['navigation_type'] == 'custom') { ?>
    <?php if($item['navigation_url'] == '/'){ ?>
    <li><a href="<?php echo $urlPath->home(); ?>" target="<?php echo $item['navigation_target']; ?>"><?php echo echoOutput($item['navigation_label']); ?></a></li>
    <?php }else{ ?>
    <li><a href="<?php echo $item['navigation_url']; ?>" target="<?php echo $item['navigation_target']; ?>"><?php echo echoOutput($item['navigation_label']); ?></a></li>
    <?php } ?>
<?php } else { ?>
<li><a href="<?php echo $urlPath->page($item['navigation_url']); ?>" target="<?php echo $item['navigation_target']; ?>"><?php echo echoOutput($item['navigation_label']); ?></a></li>
<?php } ?>
<?php endforeach; ?>
                </ul>
            </div>
            <div class="uk-width-1-1 uk-width-1-2@s uk-width-1-4@m">
                <h4 class="tas-title"><?php echo echoOutput($translation['tr_43']); ?></h4>
                <ul class="uk-list">
                    <li><i class="ti ti-location-pin"></i> <?php echo echoOutput($settings['st_address']); ?></li>
                    <li><i class="ti ti-phone"></i> <?php echo echoOutput($settings['st_phone']); ?></li>
                    <li><i class="ti ti-mail"></i> <?php echo echoOutput($settings['st_email']); ?></li>
                </ul>
            </div>
        </div>
    </div> 

    <div class="footer-dmca-badge uk-text-center uk-margin-small-top">
        <a href="https://www.dmca.com/Protection/Status.aspx?ID=1901296e-c7de-4c4f-bcc0-60d255233cb1&amp;refurl=https://www.alonedeals.com/" title="DMCA.com Protection Status" class="dmca-badge">
            <img src="https://images.dmca.com/Badges/dmca-badge-w150-5x1-06.png?ID=1901296e-c7de-4c4f-bcc0-60d255233cb1" alt="DMCA.com Protection Status">
        </a>
        <script src="https://images.dmca.com/Badges/DMCABadgeHelper.min.js"></script>
    </div>

    <div class="tas-copyright">
        <div class="uk-container">
            <div uk-grid>
                <div class="uk-width-1-1 uk-text-center">
                    <span class="copyright">© 2025 <a href="https://www.alonedeals.com">Alonedeals.com</a>. All Rights Reserved.</span>
                </div>
            </div>
        </div>
    </div>

</div>

<!-- Load Modern Newsletter Assets -->
<link rel="stylesheet" href="<?php echo $urlPath->assets_css('modern-footer-newsletter.css'); ?>">
<script src="<?php echo $urlPath->assets_js('modern-footer-newsletter.js'); ?>"></script>
