<section id="aboutus-section" class="aboutus-area home-aboutus">
    <?php
        $aboutus_image = get_theme_mod('aboutus_image'); 
    ?>
	<div class="<?php if(esc_attr(get_theme_mod('aboutus_section_width','Box Width')) == 'Full Width'){ ?>container-fluid pd-0 <?php } elseif(esc_attr(get_theme_mod('aboutus_section_width','Box Width')) == 'Box Width'){ ?> container <?php }?>">
        
        <div class="row m-0">  
            <div class="imgbx">  
                <div class="abtimg">              
                    <?php 
                        if(!empty($aboutus_image)){
                            echo '<img alt="'. esc_html(get_the_title()) .'" src="'.esc_url($aboutus_image).'"  />';
                        }else{
                            echo '<img src="'.get_template_directory_uri().'/assets/images/abt-lhs.jpg" />';
                        }
                    ?>
                    <div class="abt_img_txtbx">  
                        <div class="num"><?php echo esc_html(get_theme_mod('aboutus_yearofexperiencenum')); ?></div>
                        <div class="txt"><?php echo esc_html(get_theme_mod('aboutus_yearofexperienceheading')); ?></div>
                    </div>
                </div>	
    		</div>
            <div class="abtdetail">
                <div class="detailbxinn">
                    <div class="abt-dbx">
                        <h4><?php echo esc_html(get_theme_mod('aboutus_subtitle')); ?></h4>
                        <h2><?php echo esc_html(get_theme_mod('aboutus_title')); ?></h2>
                    </div>
                    <div class="abt-description">
                        <p><?php echo esc_html(get_theme_mod('aboutus_description')); ?></p>
                    </div>
                    <div class="abt-cont">
                        <div class="row mr-0">
                            <div class="col-lg-6 col-md-12 col-sm-12">
                                <div class="vbox">
                                <?php 
                                    if(!empty($aboutus_contentimage)){
                                        echo '<img alt="'. esc_html(get_the_title()) .'" src="'.esc_url($aboutus_contentimage).'"  />';
                                    }else{
                                        echo '<img src="'.get_template_directory_uri().'/assets/images/abt-rhs.jpg" />';
                                    }
                                ?>
                                </div>
                            </div>
                            <div class="col-lg-6 col-md-12 col-sm-12 pd-0">
                                <div class="sucsbx">
                                    <div class="successbox">
                                        <div class="row mr-0">
                                            <div class="col-lg-4 col-md-2 col-sm-3 col-3 pd-0">
                                                <div class="successbox_icon">
                                                    <i class="fa-solid fa-arrow-up-right-dots"></i>
                                                </div>
                                            </div>
                                            <div class="col-lg-8 col-md-10 col-sm-9 col-9">
                                                <h3><?php echo esc_html(get_theme_mod('aboutus_successboxnumber')); ?></h3>
                                                <h5><?php echo esc_html(get_theme_mod('aboutus_successboxheading')); ?></h5>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="happyclients">
                                        <div class="row mr-0">
                                            <div class="col-lg-4 col-md-2 col-sm-3 col-3 pd-0">
                                                <div class="happyclients_icon">
                                                    <i class="fa-solid fa-star"></i>
                                                </div>
                                            </div>
                                            <div class="col-lg-8 col-md-10 col-sm-9 col-9">
                                                <h3><?php echo esc_html(get_theme_mod('aboutus_happyclientsnum')); ?></h3>
                                                <h5><?php echo esc_html(get_theme_mod('aboutus_happyclientsheading')); ?></h5>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="lists">
                                        <ul>
                                            <li><i class="fa-solid fa-square-check"></i><?php echo esc_html(get_theme_mod('aboutus_list1')); ?></li>
                                            <li><i class="fa-solid fa-square-check"></i><?php echo esc_html(get_theme_mod('aboutus_list2')); ?></li>
                                        </ul>
                                    </div>
                                    <div class="abt-btn">
                                        <a class="l_more" href="<?php echo esc_html(get_theme_mod('aboutus_readmorebtn_link')); ?>">
                                            <?php esc_html_e('Discover More','insurance-company'); ?>
                                        </a>
                                    </div>
                                    <div class="clearfix"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
