<section class="sptb pricing-section bg-white" id="fees">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <div class="section-title text-center">
                    <h2><?php echo $heading['title']; ?></h2>
                    <p class="fs-22 lead mt-5"><?php echo $heading['sub_title']; ?></p>
                </div>
            </div>
            <div class="col-sm-12">
                <div class="price-content-first">
                    <div class="text-center">
                        <h3>Choose Your Learning Mode</h3>
                        <div class="wideget-user-tab wideget-user-tab4 pt-3">
                            <div class="tab-menu-heading">
                                <div class="tabs-menu1 main-head-tab">
                                    <ul class="nav">
                                        <li class="ms-0">
                                            <a href="#tab-1" class="active btn" data-bs-toggle="tab">In Class <i class="fe fe-user"></i></a>
                                        </li>
                                        <li><a href="#tab-2" data-bs-toggle="tab" class="btn">Online <i class="fe fe-monitor"></i></a></li>

                                    </ul>
                                </div>
                            </div>
                        </div>
                        <div class="tab-content border-0 pb-2 pt-2 bg-white details-tab-content" id="price_box">
                            <div class="tab-pane active" id="tab-1">
                                <div class="mb-2">
                                    <h3>Price</h3>
                                    <?php if ($course->course_in_class_dicount_price > 0): ?>
                                        <span class="font-weight-semibold h2 text-default-dark mb-0">₹ <?php echo $course->course_in_class_dicount_price; ?>
                                            <span class="ms-1 font-weight-normal fs-16 strike-text text-default">₹ <?php echo $course->course_in_class_main_price; ?></span>
                                        </span>
                                    <?php else: ?>
                                        <span class="font-weight-semibold h2 text-default-dark mb-0">₹ <?php echo $course->course_in_class_main_price; ?> </span>
                                    <?php endif; ?>
                                </div>
                                <div class="header-book-seat d-inline-block w-half ms-4">
                                    <button class="btn-primary btn btn-md w-full"><i class="fa fa-calendar"></i> Book Your Seat</button>
                                </div>
                                <br />
                                <small>You can reserve your set by paying &#x20B9;1000.</small>
                            </div>
                            <div class="tab-pane" id="tab-2">
                                <div class="mb-2">
                                    <h3>Price</h3>
                                    <?php if ($course->course_onine_dicount_price > 0): ?>
                                        <span class="font-weight-semibold h2 text-default-dark mb-0">₹ <?php echo $course->course_onine_dicount_price; ?>
                                            <span class="ms-1 font-weight-normal fs-16 strike-text text-default">₹ <?php echo $course->course_online_main_price; ?></span>
                                        </span>
                                    <?php else: ?>
                                        <span class="font-weight-semibold h2 text-default-dark mb-0">₹ <?php echo $course->course_online_main_price; ?> </span>
                                    <?php endif; ?>
                                </div>
                                <div class="header-book-seat d-inline-block w-half ms-4">
                                    <button class="btn-primary btn btn-md w-full"><i class="fa fa-calendar"></i> Book Your Seat</button>
                                </div>
                                <br />
                                <?php if ($course->course_reserve_seat_price > 0): ?>
                                    <small>You can reserve your set by paying &#x20B9;<?php echo $course->course_reserve_seat_price; ?>.</small>
                                <?php endif; ?>
                            </div>
                        </div>

                    </div>
                </div>
                <!-- <ul>
                        <li>
                            <label class="container-checkbox">In Class Course
                                <input type="checkbox" checked="checked">
                                <span class="checkmark"></span>
                            </label>
                        </li>
                        <li>
                            <label class="container-checkbox">Online Course
                                <input type="checkbox">
                                <span class="checkmark"></span>
                            </label>
                        </li>
                    </ul> -->
            </div>
            <?php //$emiDetails = json_decode($course->course_emi_details, true);?>
            <!-- <div class="col-sm-6">
                <div class="price-content">
                    <h3 class="text-center">Get EMI Plan</h3>
                    <div class="row d-flex justify-content-center">
                        <div class="col-sm-12">
                            <div class="d-flex justify-content-between">
                                <div class="d-inline-block">
                                    <div class="">Duration</div>
                                    <div class="">
                                        <h2><?php echo $emiDetails['emi_duration']; ?> Months</h2>
                                    </div>
                                </div>
                                <div class="d-inline-block price-sec-price">
                                    <div class="">Fee starts as low as</div>
                                    <div class="">
                                        <h2>₹ <?php echo $emiDetails['emi_price']; ?> <span style="font-size:14px">/ Month</span></h2>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="text-center EMI-partners">
                        <h4>EMI partner:</h4>
                        <img decoding="async" width="122" src="<?php echo base_url(); ?><?php echo $course->course_emi_partner; ?>" alt="liquiloans logo" data-w3bglazy="1" srcset="">
                    </div>
                    <div class="text-center">
                        <button class="btn btn-danger">Get Fees and Financial Plan</button><br />
                        <small class="mt-3"><?php echo $emiDetails['emi_content']; ?></small>
                    </div>
                </div>
            </div> -->
        </div>
    </div>
</section>