<?php
/**
 * Home Section 1 Template
 *
 * @package CA Charity Hope
 */

// All section-specific code goes here...

$ca_charity_hope_section_one = get_theme_mod('ca_charity_hope_about_enable');
if ('Disable' == $ca_charity_hope_section_one) {
    return;
}
?>

<section id="about" class="about-section">
    <div class="container-fluid">
        <div class="section-heading-main">
            <?php if (get_theme_mod('ca_charity_hope_about_title') != '') { ?>
                <h3><?php echo esc_html(get_theme_mod('ca_charity_hope_about_title')); ?></h3>
            <?php } ?>
        </div>
        <div class="row">
            <div class="col-lg-6">
                <?php if (get_theme_mod('ca_charity_hope_aboutimage_section') != '') { ?>
                    <img src="<?php echo esc_url(get_theme_mod('ca_charity_hope_aboutimage_section')); ?>" alt="<?php echo esc_attr(get_theme_mod('ca_charity_hope_about_title')); ?>">
                <?php } ?>
            </div>
            <div class="col-lg-6">
                <div class="about-box">
                    <?php if (get_theme_mod('ca_charity_hope_about_name') != '') { ?>
                        <h3><?php echo esc_html(get_theme_mod('ca_charity_hope_about_name')); ?></h3>
                    <?php } ?>
                    <?php if (get_theme_mod('ca_charity_hope_about_title_second') != '') { ?>
                        <h4><?php echo esc_html(get_theme_mod('ca_charity_hope_about_title_second')); ?></h4>
                    <?php } ?>
                    <?php if (get_theme_mod('ca_charity_hope_about_para') != '') { ?>
                        <p><?php echo esc_html(get_theme_mod('ca_charity_hope_about_para')); ?></p>
                    <?php } ?>
                    
                    <?php if (get_theme_mod('ca_charity_hope_about_btn_text') != '') { ?>
                        <div class="theme-btn">
                            <a href="<?php echo esc_url(get_theme_mod('ca_charity_hope_about_btn_text_url')); ?>">
                                <?php echo esc_html(get_theme_mod('ca_charity_hope_about_btn_text')); ?>
                            </a>
                        </div>
                    <?php } ?>
                </div>
            </div>
        </div>
    </div>
</section>
