<?php
/**
 * The template for displaying 404 pages (Not Found).
 *
 * @package Shipping Company
 */

get_header(); ?>

<div class="container">
    <div id="content" class="contentsecwrap">
        <section class="site-main page-not-found">
            <header class="page-header">
                <h1 class="entry-title">
                    <?php echo esc_html(get_theme_mod('shipping_company_page_not_found_heading',__('404 Not Found','shipping-company')));?>
                </h1>
            </header>
            <div class="page-content">
                <p>
                    <?php echo esc_html(get_theme_mod('shipping_company_page_not_found_content',__( 'Looks like you have taken a wrong turn.....Don\'t worry... it happens to the best of us.', 'shipping-company' ))); ?>
                </p>
                <?php if( get_theme_mod('shipping_company_page_not_found_btn','Homepage') != ''){ ?>
                    <div class="not-found-btn mt-3 mb-4 mx-0">
                        <a href="<?php echo esc_url( home_url() ); ?>" class="button py-2 px-3"><?php echo esc_html(get_theme_mod('shipping_company_page_not_found_btn',__('Homepage','shipping-company')));?><span class="screen-reader-text"><?php echo esc_html(get_theme_mod('shipping_company_page_not_found_btn',__('Homepage','shipping-company')));?></span></a>
                    </div>
                <?php } ?>
            </div>
        </section>
        <div class="clear"></div>
    </div>
</div>

<?php get_footer(); ?>