<!DOCTYPE html>
<html lang="bn">

<head>
    <!-- Google Tag Manager -->
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-P2FMBVQZ');</script>
    <!-- End Google Tag Manager -->

    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0">
    <link rel="canonical" href="<?php echo e(url()->current()); ?>">
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">

    <title><?php echo $__env->yieldContent('title', 'NFC Digital Business Card | SEF Digital'); ?></title>

    
    <?php
        // DB থেকে favicon এর মান
        $faviconOption = getOption('favicon');

        // যদি শুধু file name বা "setting/..." হিসেবে save থাকে তাহলে নিশ্চিতভাবে "storage/..." যোগ করছি
        if ($faviconOption && !str_contains($faviconOption, 'storage/')) {
            $faviconPath = 'storage/' . ltrim($faviconOption, '/');
        } else {
            $faviconPath = $faviconOption;
        }

        // final URL – যদি কিছু না পাই তবে পুরনো default favicon
        $finalFavicon = $faviconPath ? asset($faviconPath) : asset('assets/img/favicon.jpg');

        // WhatsApp link (dynamic)
        $waRaw = getOption('whatsapp') ?: getOption('phone') ?: '';
        $waDigits = preg_replace('/\D+/', '', (string) $waRaw);

        if ($waDigits) {
            if (str_starts_with($waDigits, '00')) $waDigits = substr($waDigits, 2);

            if (str_starts_with($waDigits, '880')) {
                // ok
            } elseif (str_starts_with($waDigits, '0') && strlen($waDigits) >= 11) {
                $waDigits = '88' . substr($waDigits, 1); // 01... => 8801...
            } elseif (str_starts_with($waDigits, '1') && strlen($waDigits) >= 10) {
                $waDigits = '880' . $waDigits; // 1... => 8801...
            }
        }

        $waText = urlencode("আসসালামুআলাইকুম। আমি আপনাদের SEF NFC Card সম্পর্কে বিস্তারিত জানতে আগ্রহী। কার্ডটির ফিচার, মূল্য, সেটআপ প্রক্রিয়া এবং অর্ডার দেওয়ার নিয়ম সম্পর্কে জানালে উপকৃত হব।
দয়া করে জানাবেন—ধন্যবাদ।");
        $waLink = $waDigits ? "https://wa.me/{$waDigits}?text={$waText}" : "https://wa.me/?text={$waText}";
    ?>

    <link rel="icon" href="<?php echo e($finalFavicon); ?>">
    <link rel="shortcut icon" href="<?php echo e($finalFavicon); ?>">

    
    <?php echo $__env->make('frontend.layouts.style', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    
    <?php echo $__env->yieldPushContent('meta'); ?>
    <?php echo $__env->yieldPushContent('schema'); ?>

    
    <style>
        /* HEADER */
        .bd-header {
            background-color: #ffffff;
            box-shadow: 0 2px 5px rgba(15, 23, 42, 0.08);
            position: sticky;
            top: 0;
            z-index: 50;
        }

        .bd-topbar {
            padding: .6rem 0;
            border-bottom: 1px solid #e5e7eb;
        }

        .bd-logo img {
            height: 32px;
        }

        .bd-logo span {
            font-weight: 700;
            font-size: 1.1rem;
            margin-left: .25rem;
            color: #009de7;
        }

        .bd-search-input {
            border-radius: 999px 0 0 999px;
            border-color: #009de7;
            box-shadow: none;
            font-size: .9rem;
        }

        .bd-search-btn {
            border-radius: 0 999px 999px 0;
            background-color: #009de7;
            border-color: #009de7;
            font-size: .9rem;
            font-weight: 600;
        }

        .bd-search-btn:hover {
            background-color: #009de7;
            border-color: #009de7;
        }

        .bd-hotline small {
            font-size: .72rem;
            color: #6b7280;
        }

        .bd-hotline span {
            font-size: .86rem;
            font-weight: 600;
        }

        .bd-user-btn {
            font-size: .8rem;
        }

        .bd-mainnav {
            background-color: #009de7;
        }

        .bd-mainnav-list {
            display: flex;
            flex-wrap: nowrap;
            overflow-x: auto;
            white-space: nowrap;
        }

        .bd-mainnav-list .nav-link {
            color: #ffffff;
            font-size: .82rem;
            padding: .45rem .85rem;
        }

        .bd-mainnav-list .nav-link:hover,
        .bd-mainnav-list .nav-link.active {
            background-color: rgba(0, 0, 0, 0.12);
        }

        /* FOOTER */
        .bd-footer {
            margin-top: 2.5rem;
        }

        .bd-footer-top {
            background-color: #ffffff;
            border-top: 1px solid #e5e7eb;
            padding: 2rem 0 1.5rem;
        }

        .bd-footer-title {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: .4rem;
        }

        .bd-footer-text {
            font-size: .86rem;
            color: #4b5563;
        }

        .bd-footer-bottom {
            background-color: #009de7;
            color: #ffffff;
            padding: .75rem 0;
            font-size: .82rem;
        }

        .bd-footer-links a {
            color: #ffffff;
            text-decoration: none;
            margin-right: .65rem;
            font-size: .8rem;
        }

        .bd-footer-links a:hover {
            text-decoration: underline;
        }

        .bd-footer-app img {
            height: 30px;
        }

        .bd-footer-social a {
            color: #ffffff;
            margin-left: .4rem;
            font-size: 1rem;
        }

        /* Footer columns */
        .bd-footer-top .col-md-3,
        .bd-footer-top .col-sm-6 {
            text-align: center;
        }

        .bd-footer-top ul {
            list-style: none;
            padding-left: 0;
            margin-bottom: 0;
        }

        .bd-footer-top ul li {
            margin-bottom: 4px;
        }

        .bd-footer-top ul li a {
            text-decoration: none;
            color: #111827;
            font-size: 0.86rem;
        }

        .bd-footer-top ul li a:hover {
            text-decoration: underline;
        }

        @media (max-width: 767.98px) {
            .bd-topbar .container {
                flex-wrap: wrap;
                gap: .5rem;
            }

            .bd-search-form {
                order: 3;
                width: 100%;
            }

            .bd-search-input {
                border-radius: 999px;
            }

            .bd-search-btn {
                border-radius: 999px;
                margin-top: .4rem;
                width: 100%;
            }
        }

        /* =========================
           WhatsApp Floating Button
           ========================= */
        .sef-wa-float {
            position: fixed;
            right: 18px;
            bottom: 18px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 10px 16px;
            background: #25D366;
            color: #fff;
            border-radius: 999px;
            text-decoration: none;
            font-weight: 700;
            font-size: 14px;
            line-height: 1;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
            z-index: 9999;
            transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
        }
        .sef-wa-float:hover {
            transform: translateY(-1px);
            box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
            color: #fff;
        }
        .sef-wa-icon {
            width: 22px;
            height: 22px;
            display: inline-flex;
        }
        .sef-wa-text {
            display: inline-block;
            letter-spacing: .2px;
        }
        @media (max-width: 575.98px) {
            .sef-wa-float { padding: 10px 12px; }
            .sef-wa-text { display: none; }
        }
    </style>

    
    <?php echo $__env->yieldPushContent('style'); ?>
</head>

<body class="bg-light">

    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P2FMBVQZ"
    height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager (noscript) -->

    
    <?php echo $__env->make('frontend.layouts.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <main>
        <?php echo $__env->yieldContent('content'); ?>
    </main>

    
    <?php echo $__env->make('frontend.layouts.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    
    <a href="<?php echo e($waLink); ?>" class="sef-wa-float" target="_blank" rel="noopener"
       aria-label="WhatsApp Chat">
        <span class="sef-wa-icon" aria-hidden="true">
            <!-- Inline WhatsApp SVG (no dependency) -->
            <svg viewBox="0 0 32 32" width="22" height="22" fill="none" xmlns="https://wa.me/8801611785151">
                <path fill="#fff" d="M19.11 17.56c-.27-.14-1.6-.8-1.85-.89-.25-.09-.43-.14-.61.14-.18.27-.7.89-.86 1.07-.16.18-.32.2-.59.07-.27-.14-1.15-.42-2.19-1.35-.81-.72-1.36-1.61-1.52-1.88-.16-.27-.02-.42.12-.56.12-.12.27-.32.41-.48.14-.16.18-.27.27-.45.09-.18.05-.34-.02-.48-.07-.14-.61-1.47-.83-2.01-.22-.53-.45-.46-.61-.47l-.52-.01c-.18 0-.48.07-.73.34-.25.27-.96.94-.96 2.29 0 1.35.98 2.65 1.12 2.83.14.18 1.93 2.95 4.68 4.13.65.28 1.16.45 1.56.58.65.21 1.24.18 1.71.11.52-.08 1.6-.65 1.83-1.28.23-.62.23-1.16.16-1.28-.07-.12-.25-.2-.52-.34Z"/>
                <path fill="#fff" fill-rule="evenodd" clip-rule="evenodd" d="M16 3C8.82 3 3 8.6 3 15.5c0 2.45.74 4.73 2 6.64L3.7 29l7.08-2.18A13.4 13.4 0 0 0 16 28c7.18 0 13-5.6 13-12.5S23.18 3 16 3Zm0 2.4c5.83 0 10.56 4.53 10.56 10.1S21.83 25.6 16 25.6c-1.63 0-3.17-.35-4.55-.97l-.52-.23-4.2 1.29.9-4.03-.33-.5A9.8 9.8 0 0 1 5.44 15.5C5.44 9.93 10.17 5.4 16 5.4Z"/>
            </svg>
        </span>
        <span class="sef-wa-text">Whatsapp</span>
    </a>

    
    <?php echo $__env->make('frontend.layouts.script', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    
    <?php echo $__env->yieldPushContent('script'); ?>
</body>

</html>
<?php /**PATH /home/emdadtwa/sefcard.com/resources/views/frontend/layouts/app.blade.php ENDPATH**/ ?>