<?php
use Livewire\Component;
?>

<div>
<section class="section relative promo-bg" <?php if($this->getCustomPaddingStyle()): ?> style="<?php echo e($this->getCustomPaddingStyle()); ?>" <?php endif; ?>>
    
    <div class="promo-shapes">
        <div class="promo-shape promo-shape-1"></div>
        <div class="promo-shape promo-shape-2"></div>
        <div class="promo-shape promo-shape-3"></div>
    </div>

    <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-24">
        <div class="promo-content">
                
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(!empty($section['icon'])): ?>
                <div class="promo-icon-badge scroll-animate" data-animation="zoom-in">
                    <?php if (isset($component)) { $__componentOriginald88937ee957874c050ccbc67a5e19575 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald88937ee957874c050ccbc67a5e19575 = $attributes; } ?>
<?php $component = App\View\Components\Icon::resolve(['icon' => ''.e($section['icon']).'','class' => 'w-10 h-10'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\Icon::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>

<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald88937ee957874c050ccbc67a5e19575)): ?>
<?php $attributes = $__attributesOriginald88937ee957874c050ccbc67a5e19575; ?>
<?php unset($__attributesOriginald88937ee957874c050ccbc67a5e19575); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald88937ee957874c050ccbc67a5e19575)): ?>
<?php $component = $__componentOriginald88937ee957874c050ccbc67a5e19575; ?>
<?php unset($__componentOriginald88937ee957874c050ccbc67a5e19575); ?>
<?php endif; ?>
                </div>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

                
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(!empty($section['title'])): ?>
                <div class="scroll-animate" data-animation="fade-down" style="animation-delay: 0.1s">
                    <span class="promo-title-badge"><?php echo e($section['title']); ?></span>
                </div>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

                
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(!empty($section['headline'])): ?>
                <h2 class="promo-headline scroll-animate" data-animation="fade-up" style="animation-delay: 0.2s">
                    <?php echo e($section['headline']); ?>

                </h2>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

                
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(!empty($section['subtitle'])): ?>
                <p class="promo-subtitle scroll-animate" data-animation="fade-up" style="animation-delay: 0.25s">
                    <?php echo e($section['subtitle']); ?>

                </p>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

                
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(!empty($section['description'])): ?>
                <p class="promo-description scroll-animate" data-animation="fade-up" style="animation-delay: 0.3s">
                    <?php echo e($section['description']); ?>

                </p>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

                
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(($section['show_promo_code'] ?? false) && !empty($section['promo_code'])): ?>
                <div class="promo-code-wrapper scroll-animate" data-animation="zoom-in" style="animation-delay: 0.4s" x-data="{ copied: false }">
                    <p class="promo-code-label"><?php echo e($section['promo_code_label'] ?? 'Use promo code:'); ?></p>
                    <button
                        @click="navigator.clipboard.writeText('<?php echo e($section['promo_code']); ?>'); copied = true; setTimeout(() => copied = false, 2000)"
                        class="promo-code-box group">
                        <span class="promo-code-text"><?php echo e($section['promo_code']); ?></span>
                        <div class="flex items-center gap-2">
                            <svg x-show="!copied" class="w-5 h-5 promo-copy-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"/>
                            </svg>
                            <svg x-show="copied" x-cloak class="w-5 h-5 text-green-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
                            </svg>
                        </div>
                    </button>
                    <p x-show="copied" x-transition class="text-green-400 text-sm mt-2"><?php echo e($section['copied_message'] ?? 'Copied to clipboard!'); ?></p>
                </div>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

                
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(($section['show_countdown'] ?? false) && !empty($section['expiry_date'])): ?>
                <div class="promo-countdown-wrapper scroll-animate" data-animation="fade-up" style="animation-delay: 0.5s" data-countdown-timer data-expiry="<?php echo e($section['expiry_date']); ?>">
                    <p class="promo-countdown-label"><?php echo e($section['countdown_label'] ?? 'Offer ends in:'); ?></p>
                    <div class="promo-countdown">
                        <div class="promo-countdown-item">
                            <span class="promo-countdown-value" data-countdown-days>00</span>
                            <span class="promo-countdown-unit"><?php echo e($section['countdown_days_label'] ?? 'Days'); ?></span>
                        </div>
                        <span class="promo-countdown-sep">:</span>
                        <div class="promo-countdown-item">
                            <span class="promo-countdown-value" data-countdown-hours>00</span>
                            <span class="promo-countdown-unit"><?php echo e($section['countdown_hours_label'] ?? 'Hrs'); ?></span>
                        </div>
                        <span class="promo-countdown-sep">:</span>
                        <div class="promo-countdown-item">
                            <span class="promo-countdown-value" data-countdown-minutes>00</span>
                            <span class="promo-countdown-unit"><?php echo e($section['countdown_minutes_label'] ?? 'Mins'); ?></span>
                        </div>
                        <span class="promo-countdown-sep">:</span>
                        <div class="promo-countdown-item">
                            <span class="promo-countdown-value" data-countdown-seconds>00</span>
                            <span class="promo-countdown-unit"><?php echo e($section['countdown_seconds_label'] ?? 'Secs'); ?></span>
                        </div>
                    </div>
                </div>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

                
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(!empty($section['cta_text'])): ?>
                <div class="promo-cta-wrapper scroll-animate" data-animation="zoom-in" style="animation-delay: 0.6s">
                    <a href="<?php echo e($section['cta_url'] ?? '#contact'); ?>" class="promo-cta-btn">
                        <span><?php echo e($section['cta_text']); ?></span>
                        <svg class="w-4 h-4 rtl:rotate-180" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 8l4 4m0 0l-4 4m4-4H3"/>
                        </svg>
                    </a>
                </div>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

                
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(!empty($section['terms'])): ?>
                <p class="promo-terms scroll-animate" data-animation="fade-up" style="animation-delay: 0.7s">
                    <?php echo e($section['terms']); ?>

                </p>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
        </div>
    </div>
</section>

<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(($section['show_countdown'] ?? false) && !empty($section['expiry_date'])): ?>
    <?php
        $__scriptKey = '2038484518-0';
        ob_start();
    ?>
<script>
(function() {
    const timers = document.querySelectorAll('[data-countdown-timer]');

    timers.forEach(function(wrapper) {
        if (wrapper.dataset.countdownInitialized) return;
        wrapper.dataset.countdownInitialized = 'true';

        const endDateStr = (wrapper.getAttribute('data-expiry') || '').replace(' ', 'T');
        if (!endDateStr) return;

        const daysEl = wrapper.querySelector('[data-countdown-days]');
        const hoursEl = wrapper.querySelector('[data-countdown-hours]');
        const minutesEl = wrapper.querySelector('[data-countdown-minutes]');
        const secondsEl = wrapper.querySelector('[data-countdown-seconds]');

        if (!daysEl || !hoursEl || !minutesEl || !secondsEl) return;

        function updateCountdown() {
            const end = new Date(endDateStr).getTime();
            const now = new Date().getTime();
            const diff = end - now;

            if (diff > 0) {
                daysEl.textContent = String(Math.floor(diff / (1000 * 60 * 60 * 24))).padStart(2, '0');
                hoursEl.textContent = String(Math.floor((diff % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60))).padStart(2, '0');
                minutesEl.textContent = String(Math.floor((diff % (1000 * 60 * 60)) / (1000 * 60))).padStart(2, '0');
                secondsEl.textContent = String(Math.floor((diff % (1000 * 60)) / 1000)).padStart(2, '0');
            } else {
                wrapper.style.display = 'none';
            }
        }

        updateCountdown();
        setInterval(updateCountdown, 1000);
    });
})();
</script>
    <?php
        $__output = ob_get_clean();

        \Livewire\store($this)->push('scripts', $__output, $__scriptKey)
    ?>
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>


</div><?php /**PATH /Users/rajeshkumawat/sites/ant4-laravel12-vue3/storage/framework/views/livewire/views/818a659d.blade.php ENDPATH**/ ?>