<!DOCTYPE html>
<html lang="en">
  <!--<![endif]-->
  <!-- Head BEGIN -->
  <head>
    <title>Home |  Public Sutradhar Multipurpose Co-Operative Society Ltd.</title>
    <?php echo $__env->make('Client.Parts.MetaCSS', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    <style>
    .overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index:9999;
    }
    .overlay:target {
    visibility: visible;
    opacity: 1;
    }
    .popup {
    margin: 110px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 50%;
    height:75%;
    position: relative;
    transition: all 5s ease-in-out;
    }
    .popup h2 {
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
    }
    .popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    }
    .popup .close:hover {
    color: #06D85F;
    }
    .popup .content {
    max-height: 100%;
    overflow: auto;
    }
    @media  screen and (max-width: 700px){
    .box{
    width: 70%;
    }
    .popup{
    width: 85%;
    }
    }
    </style>
  </head>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script>
  window.location.href="#popup1";

  $(document).ready(function(){
    $(".overlay").click(function(){
        $(this).hide();
    });
});
  
  </script>
</head>
<!-- Head END -->
<!-- Body BEGIN -->
<body class="corporate">
  
  <a class="button" href="#popup1" id="popup" style="display:none;" >Click Here to open Pop Up</a>
  <div id="popup1" class="overlay">
    <div class="popup">
      
      <a class="close" href="#">×</a>
      <div class="content">
        <figure>
          <img src="<?php echo e(url('/img/PopUp/Popup.jpg')); ?>" style="height:450px;">
        </figure>
      </div>
    </div>
  </div>
  <?php echo $__env->make('Client.Parts.Header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
  <?php echo $__env->make('Client.Home.Slider', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
  <div class="main">
    <div class="container">
      <?php echo $__env->make('Client.Home.About', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
      <?php echo $__env->make('Client.Home.Service', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
      <?php echo $__env->make('Client.Home.NewsEvent', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
      <?php echo $__env->make('Client.Home.Emi&CurrencyRate', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
      <!-- BEGIN TABS AND TESTIMONIALS -->
      <div class="row  margin-bottom-40" style="margin-right: 0px;">
        <!-- TABS -->
        <div class="col-md-7 " >
          <h2 style="text-align: center;">Useful Links</h2>
         
           
          <div class="row" style="margin:25px 0px">
            <div class="col-md-6">
              
              <a href="<?php echo e(url('http://mof.gov.np/en/')); ?>" target="_blank">
                <img src="<?php echo e(url('img/mof')); ?>.png?t=<?php echo e(rand()); ?>"  alt="" style="width: 300px;height: 100px;" >
               
              </a>
            
            </div>


             <div class="col-md-6">
              
              <a href="http://www.deoc.gov.np/ne/" target="_blank">
                <img src="<?php echo e(url('img/sb')); ?>.png?t=<?php echo e(rand()); ?>"  alt="" style="width: 300px;height: 100px;" >
               
              </a>
            
            </div>
          </div>


           <div class="row">
            <div class="col-md-6">
              
              <a href="<?php echo e(url('http://www.nefscun.org.np/')); ?>" target="_blank">
                <img src="<?php echo e(url('img/NEFSCUN')); ?>.png?t=<?php echo e(rand()); ?>"  alt="" style="width: 300px;height: 100px;" >
               
              </a>
            
            </div>


           
          </div>
            

        
         
          
        
            
          
        </div>
        <!-- END TABS -->
        <!-- TESTIMONIALS -->
        <div class="col-md-5 testimonials-v1">
          <h2 style="text-align: center;">Success Story</h2>
          <div id="myCarousel" class="carousel slide">
            <!-- Carousel items -->
            <?php
            $i=2;
            ?>
            <div class="carousel-inner">
              <?php $__currentLoopData = $successstory; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $story): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
              <?php if($loop->index==0): ?>
              <div class="active item">
              <blockquote><p><?php echo implode(" ", array_slice(explode(" ",strip_tags($story->description)), 0, 50)); ?>...</blockquote>
              <div class="carousel-info">
                <img class="pull-left" src="<?php echo e(url('img/Testimonial/'.$story->token)); ?>.jpg?t=<?php echo e(rand()); ?>" alt="">
                <div class="pull-left">
                  <span class="testimonials-name"><?php echo e($story->full_name); ?></span>
                  <span class="testimonials-post"><?php echo e($story->post); ?></span>
                </div>
              </div>
              <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalCenter1" style="float: right;">Read More</button>
              <!-- Modal -->
              
            </div>
            <div class="modal fade" id="exampleModalCenter1" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
              <div class="modal-dialog modal-dialog-centered" role="document">
                <div class="modal-content">
                  <div class="modal-header">
                    <h5 class="modal-title" id="exampleModalLongTitle"><?php echo e($story->full_name); ?> - <?php echo e($story->post); ?> </h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                    </button>
                  </div>
                  <div class="modal-body">
                    <p style="text-align:justify;"><?php echo $story->description; ?></p>
                  </div>
                  <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
                    
                  </div>
                </div>
              </div>
            </div>
            <?php else: ?>
            <div class="item">
              <blockquote><p style="text-align: justify;"><?php echo implode(" ", array_slice(explode(" ",strip_tags($story->description)), 0, 50)); ?>...</p></blockquote>
              <div class="carousel-info">
                <img class="pull-left" src="<?php echo e(url('img/Testimonial/'.$story->token)); ?>.jpg?t=<?php echo e(rand()); ?>" alt="">
                <div class="pull-left">
                  <span class="testimonials-name"><?php echo e($story->full_name); ?></span>
                  <span class="testimonials-post"><?php echo e($story->post); ?></span>
                </div>
              </div>
              <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalCenter<?php echo e($i); ?>" style="float: right;">Read More</button>
              <!-- Modal -->
              
            </div>
            <div class="modal fade" id="exampleModalCenter<?php echo e($i); ?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
              <div class="modal-dialog modal-dialog-centered" role="document">
                <div class="modal-content">
                  <div class="modal-header">
                    <h5 class="modal-title" id="exampleModalLongTitle"><?php echo e($story->full_name); ?> - <?php echo e($story->post); ?> </h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                    </button>
                  </div>
                  <div class="modal-body">
                    <p style="text-align:justify;"><?php echo $story->description; ?></p>
                  </div>
                  <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
                    
                  </div>
                </div>
              </div>
            </div>
            <?php endif; ?>
            <?php
            $i++;
            ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
          </div>
          <!-- Carousel nav -->
          <a class="left-btn" href="#myCarousel" data-slide="prev" style="margin-bottom: 10px;"></a>
          <a class="right-btn" href="#myCarousel" data-slide="next" style="margin-bottom: 10px;"></a>
        </div>
      </div>
      <!-- END TESTIMONIALS -->
      
    </div>
    <!-- END TABS AND TESTIMONIALS -->
    <!-- BEGIN CLIENTS -->
    
    <!-- END CLIENTS -->
  </div>
</div>
<?php echo $__env->make('Client.Parts.FooterJs', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
</body>
<!-- END BODY -->
</html>