<!-- ===Datatables=== -->

    <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.js"></script>
    <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.12.1/css/jquery.dataTables.min.css">

<!--bg-base-dark-->
            <section class="cmt-row bg-base-grey clearfix">
                <div class="container">
                    <div class="row">
                        <div class="col-lg-12">
                            <!-- section title -->
                            <div class="section-title style3 res-991-mb_20">
                                <div class="title-header">
                                    <h3>Our Services</h3>
                                    <h2 class="title">The specialize Finance Training</h2>
                                </div>
                                <div class="title-desc">
                                    <p>At Soaring Skills Institute, we are committed to elevating financial proficiency, nurturing talent, and driving success within the financial sector. Join us on the journey to enhance your skills, expand your horizons, and soar to new heights of achievement. <a href="about-us" class="cmt-btn cmt-btn-size-md cmt-btn-color-skincolor btn-inline btn-underline">Continue Reading</a></p>
                                </div>
                            </div><!-- section title end -->
                            <div class="pb-60 res-991-p-0"></div>
                        </div>                        
                    </div>
                </div>
            </section>
            <!--bg-base-dark end-->

            <!--padding_zero-section-->
            <section class="cmt-row padding_zero-section clearfix">
                <div class="container">
                    <div class="row mt_140 res-991-mt-40 mb_15 res-991-mb-0">
                       <div class="col-lg-3 col-md-6 col-sm-6">
                            <!-- featured-imagebox -->
                            <div class="featured-imagebox featured-imagebox-procedure">
                                <span class="number"></span>
                                <div class="featured-thumbnail">
                                    <img class="img-fluid auto_size" width="185" height="185" src="<?php echo base_url();?>/assets/images/process-01.jpg" alt="image">
                                </div>
                                <div class="featured-content">
                                    <div class="featured-title">
                                        <h3>Financial Training Programs</h3>
                                    </div>
                                    <div class="featured-desc">
                                        <?php function limit_text($text, $limit) {
                                    if (str_word_count($text, 0) > $limit) {
                                        $words = str_word_count($text, 2);
                                        $pos   = array_keys($words);
                                        $text  = substr($text, 0, $pos[$limit]) . '<div class="cmt-blogbox-footer-readmore">
                                        <a class="cmt-btn btn-inline cmt-icon-btn-right cmt-btn-size-md cmt-btn-color-skincolor" href="about-us">read more<i class="icon-right"></i></a>
                                    </div>';
                                    }
                                    return $text;
                                }
                                ?>
                                    

                                <p><?php echo limit_text('We provide a comprehensive range of financial training programs tailored to meet the diverse needs of professionals within the financial industry. Our programs cover essential topics such as financial analysis, risk management, investment strategies, corporate finance, and more.', 10);?>

                                        </p>
                                    </div>
                                </div>
                            </div><!-- featured-imagebox end-->
                        </div>
                        <div class="col-lg-3 col-md-6 col-sm-6">
                            <!-- featured-imagebox -->
                            <div class="featured-imagebox featured-imagebox-procedure">
                                <span class="number"></span>
                                <div class="featured-thumbnail">
                                    <img class="img-fluid auto_size" width="185" height="185" src="<?php echo base_url();?>/assets/images/process-02.jpg" alt="image">
                                </div>
                                <div class="featured-content">
                                    <div class="featured-title">
                                        <h3>Capacity Building Workshops</h3>
                                    </div>
                                    <div class="featured-desc">
                                        <p><?php echo limit_text('Our capacity-building workshops are designed to empower teams and individuals with the latest industry insights, best practices, and cutting-edge tools. These workshops enable participants to enhance their skills, make informed decisions, and contribute effectively to their organizations success.', 10);?>

                                        </p>
                                    </div>
                                </div>
                            </div><!-- featured-imagebox end-->
                        </div>
                        <div class="col-lg-3 col-md-6 col-sm-6">
                            <!-- featured-imagebox -->
                            <div class="featured-imagebox featured-imagebox-procedure">
                                <span class="number"></span>
                                <div class="featured-thumbnail">
                                    <img class="img-fluid auto_size" width="185" height="185" src="<?php echo base_url();?>/assets/images/process-03.jpg" alt="image">
                                </div>
                                <div class="featured-content">
                                    <div class="featured-title">
                                        <h3>Customized Training Solutions</h3>
                                    </div>
                                    <div class="featured-desc">
                                        <p><?php echo limit_text('Recognizing that every organization has unique training needs, we offer customizable training solutions that address specific challenges faced by our clients. Our experts work closely with clients to design training programs that align with their objectives, ensuring maximum impact and return on investment.', 10);?>

                                        </p>
                                    </div>
                                </div>
                            </div><!-- featured-imagebox end-->
                        </div>
                        <div class="col-lg-3 col-md-6 col-sm-6">
                            <!-- featured-imagebox -->
                            <div class="featured-imagebox featured-imagebox-procedure">
                                <span class="number"></span>
                                <div class="featured-thumbnail">
                                    <img class="img-fluid auto_size" width="185" height="185" src="<?php echo base_url();?>/assets/images/process-04.jpg" alt="image">
                                </div>
                                <div class="featured-content">
                                    <div class="featured-title">
                                        <h3>Expert Facilitators</h3>
                                    </div>
                                    <div class="featured-desc">
                                        <p><?php echo limit_text('Our training programs are led by seasoned industry professionals with a wealth of practical experience and in-depth knowledge of the financial sector. This ensures that participants receive practical insights and real-world perspectives that go beyond theoretical concepts.', 10);?>

                                        </p>
                                    </div>
                                </div>
                            </div><!-- featured-imagebox end-->
                        </div>
                    </div>
                </div>
            </section>
            <!--padding_zero-section end-->


            <div class="container">
      <div class="col-md-12">
              <div class="panel panel-success margin-bottom-40 pr table-responsive">
                <div class="panel-heading cta">
                  <h3 class="panel-title"><?php echo date('Y');?> Courses Calender. The best selection<a style="color:#F56A6A;" href="<?php echo base_url('allcourses') ; ?>"> ...view all <i class="fa fa-angle-double-right"></i></a></h3>
                </div>
                <table id="example" class="table table-striped table-bordered" style="width:100%">
                  <thead>
                    <tr>
                      <th>#</th>
                      <th>Course Title</th>
                      <th>Duration</th>
                      <th>Course Fee</th>
                      <th>Course Content</th>
                    </tr>
                  </thead>
                  <tbody>
                    <?php
           if($schedules)  {
             $i=1;
             foreach ($schedules as $schedule) :
          ?>
                    <tr>
                      <td><?php  echo $i.'.';?></td>
                      <td><a href="<?php echo base_url('course/'.$schedule->courseID) ;?>"><?php echo $schedule->courseName ;?></a></td>
                      <td><?php echo $schedule->duration." ".$schedule->typeName ;?></td>
                      <td><?php echo 'USD '.$schedule->feeUsd;?></td>
                      <td><a href="<?php  echo base_url('course/'.$schedule->courseID) ;?>" class="btn btn-default btn-theme-colored btn-circled"><i class="fa fa-book"></i> Details</a></td>
                    </tr>
                     <?php
            $i++;
           endforeach;
          }

            ?>
                  </tbody>
                </table>
              </div>
            </div>
          </div>


      <!-- Datatables -->

    <script type="text/javascript" src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.min.js"></script>
  <script type="text/javascript">
    $(document).ready(function () {
    $('#example').DataTable();
});
  </script>