
<?php $__env->startSection('title', 'sponsor-now-services'); ?>
<?php $__env->startSection('style-section'); ?>
    <style>
        @media  only screen and (max-width: 768px) {
            .crop-center {
                height: 392px !important;
            }



        }
    </style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <section id="temple-services" class="temple-services"
        style="background-image: url(<?php echo e(asset('assets/img/elegant-background-with-mandala.png')); ?>);background-size: auto;">
        <div class="container">
            <h2 class="text-center mb-0" style="font-weight:bold!important;font-size: 25px!important;padding:20px;"> SPONSOR
                NOW<br><img src="<?php echo e(asset('assets/img/border.png')); ?>" class="img-fluid" style="width: 15%;max-width: 15%;">
            </h2>


            <div class="list-group list-group-flush px-0 mx-0">

                <?php foreach($sponsorships as $item){ ?>

                <div style="border-style: dotted; box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;border-radius: 18px 0px 0px 18px;"
                    class="list-group-item justify-content-between mb-3 text-left mx-0 p-0 change-bgcolor">
                    <div class="d-flex mx-0 px-0" style="border-radius: 18px 0px 0px 18px;background-color: #005D4B">

                        <div class="col-md-12 m-0 p-0">
                            <div class="row mx-0">

                                <div class="col-md-12 mx-0 px-0">

                                    <div class="row mx-0 px-0">
                                        <div class="col-md-2 mx-0 px-0">
                                            <a href="<?php echo e(ApiBaseUrl()['url'] . $item['image']); ?>" data-lightbox="set">
                                                <div class="crop-center img-responsive bg-light"
                                                    style="background-position: center center;background-image: url(<?php echo e(ApiBaseUrl()['url'] . $item['image']); ?>);border-radius: 9px 0px 0px 9px;box-shadow: 2px 2px 10px #00000030;height: 147px;width: 100%;background-size: cover;background-repeat: no-repeat;">
                                                </div>
                                            </a>
                                        </div>
                                        <div class="col-md-10 m-auto px-0">

                                            <div class="row m-0 p-0">
                                                <div class="col-md-12 m-0 p-0">
                                                    <div class="row m-0 p-0">
                                                        <div class="col-md-10 m-0 p-0" style="padding: 13px!important;">
                                                            <h4 style="padding-bottom: 14px!important;margin: 0!important;color: white;"
                                                                class="fw-bold">
                                                                <?php echo e(camelCase($item['displayName'])); ?>

                                                            </h4>
                                                            <span class="m-0 p-0"
                                                                style="font-size: 11px;color: #0000009e; font-weight: normal!important;color: white;">

                                                                <?php echo e(camelCase($item['description'])); ?>


                                                            </span>
                                                        </div>
                                                        <div class="col-md-2 p-4"
                                                            style="display: grid;align-content: center;">

                                                            <?php if(isset($item['isRecurring']) && $item['isRecurring'] == 'ACTIVE'): ?>
                                                                <?php
                                                                    $href = url(
                                                                        'recurring-sponsor-now/' .
                                                                            encrypt($item['refDataName']),
                                                                    );
                                                                ?>
                                                            <?php else: ?>
                                                                <?php
                                                                    $href = url(
                                                                        'get-sponsor-now/' .
                                                                            encrypt($item['refDataName']),
                                                                    );
                                                                ?>
                                                            <?php endif; ?>


                                                            <a href="<?php echo e($href); ?>" class="btn loader contactus-btn"
                                                                style="float: right!important;border: 1px solid white;color: white;">Sponsor&nbsp;Now</a>

                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
                <?php } ?>


            </div>
        </div>
    </section>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('script_area'); ?>
    <script src="<?php echo e(asset('assets/js/jquery-3.6.0.min.js')); ?>"></script>
    <script type="text/javascript">
        $(document).ready(function() {
            window.scrollTo({
                top: 140,
                behavior: 'smooth'
            });
        });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('includes.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\project\vaap\carolinamurugantemple\resources\views/sponsor-now-services/sponsor_now_types.blade.php ENDPATH**/ ?>