<?php include_once'include/head.php'; ?>
<!-- oncontextmenu='return false' -->
<body class='snippet-body'>
    <link rel='stylesheet' href='https://sachinchoolur.github.io/lightslider/dist/css/lightslider.css'>
<!-- Top Bar Start -->
<?php include_once'include/header.php'; ?>
            
            <!-- Page Header Start -->
            <div class="page-header" style="padding: 0px;">
               <?php
                    $slider = mysqli_query($con, "SELECT * FROM banners where page_name='why'");
                    $count = 1;
                    while($roh = mysqli_fetch_array($slider))
                    {
                        $banners = $roh['banners'];
                       // echo $banners;
                    }
                    ?>
                    <img src="images/banner-image/<?php echo $banners; ?>" style="width: 100%; height: 100%;">
            </div>
            <!-- Page Header End -->
            <!-- Why Choose Us Start -->
            <section>
                <div class="feat bg-gray pt-5 pb-5">
                    <div class="container">
                      <div class="row">
                        <div class="section-header text-center">
                            <p>Choose Us</p>
                            <h2>Why Choose Us</h2>
                        </div>
                        <?php
                        $roweg = mysqli_query($con, "SELECT * FROM tbl_choose");
                        while($row = mysqli_fetch_array($roweg))
                        {
                            $choose = $row['content'];
                            $heading = $row['heading'];
                        ?>
                        <div class="col-lg-4 col-sm-6">
                          <div class="item"> 
                            <h6><?php echo $heading; ?></h6>
                            <p><?php echo $choose; ?></p>
                          </div>
                        </div>
                        <?php 
                        }
                        ?>
                      </div>
                    </div>
                  </div>
            </section>


<script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>

<style>
    .card {
    background: #0055A2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    width: 320px;
    height: 450px;
    margin: 30px;
    border-radius: 20px;
    border-bottom-left-radius: 160px;
    border-bottom-right-radius: 160px;
    box-shadow: 0 15px 0 #fff,
            inset 0 -15px 0 rgba(255, 255, 255, 0.24),
            0 45px 0 rgba(0, 0, 0, 0.15);
    overflow: hidden;
     
}

.card::before {
    content: "";
    position: absolute;
    top: -140px;
    left: -40%;
    padding: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2));
    transform: rotate(35deg);
    pointer-events: none;
    filter: blur(5px);
}

.card:nth-child(1) {
    background: linear-gradient(to bottom, #0055A2, #0055A2);
}

.card:nth-child(2) {
    background: linear-gradient(to bottom, #0055A2, #0055A2);
}

.card:nth-child(3) {
    background: linear-gradient(to bottom, #0055A2, #0055A2);
}

.card .icon {
    position: relative;
    width: 140px;
    height: 100px;
    background: #3c2846;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    box-shadow: 0 15px 0 rgba(0, 0, 0, 0.1),
            inset 0 -8px 0 #fff;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.card .icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50px;
    width: 50px;
    height: 50px;
    background: transparent;
    border-top-right-radius: 50px;
    box-shadow: 15px -15px 0 15px #3c2846;
}

.card .icon::after {
    content: "";
    position: absolute;
    top: 0;
    right: -50px;
    width: 50px;
    height: 50px;
    background: transparent;
    border-top-left-radius: 50px;
    box-shadow: -15px -15px 0 15px #3c2846;
}

.card .icon ion-icon {
    color: #fff;
    position: relative;
    font-size: 6em;
    z-index: 1000;
    --ionicon-stroke-width: 24px;
}

.card .fa {
      width: 100px;
      height: 60px;
      background-color: $color-gray;
      padding: 0px 0;
      border-radius: 100%;
      color: #fff;
      box-shadow: inset 0 1px 3px rgba($color-dark, .3);
      text-shadow: 0 1px 3px rgba($color-dark, .3);
      margin-bottom: 20px;
      font-size: 50px;
      margin-bottom: 10px;
    }


.card .content {
    position: absolute;
    width: 100%;
    padding: 20px;
    text-align: center;
}

.card .content h2 {
    font-size: 1.8em;
    color: #fff;
    margin-bottom: 15px;
}

.card .content p {
    color: #fff;
    line-height: 1.5em;
}

.container-detail {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
</style>
            <!-- Why Choose Us End -->
<?php include_once('include/footer.php'); ?>