<?php 
$show_header_topbar = get_theme_mod( 'show_header_topbar_social', false );
$header_email = get_theme_mod( 'header_email', __( 'edify@support.com', 'edify' ) );
$header_phone= get_theme_mod( 'header_phone', __( '0397397778', 'edify' ) );

$fb_link= get_theme_mod( 'fb_link', __( '#', 'edify' ) );
$twt_link= get_theme_mod( 'twt_link', __( '#', 'edify' ) );
$linkedin_link= get_theme_mod( 'linkedin_link', __( '#', 'edify' ) );
$ytb_link= get_theme_mod( 'ytb_link', __( '#', 'edify' ) );
$web_link= get_theme_mod( 'web_link', __( '#', 'edify' ) );


?>

<div class="header-topbar-1">
    <div class="container-lg">
        <div class="row justify-content-between">
            <div class="col-xl-8 col-lg-6  col-sm-6 col-12 ">
                <div class="header-topbar-left d-flex align-items-center gx-4">

                     <?php if(!empty($header_email)) : ?>
                        <div class="top-info mail me-2">
                            <a href="malito:<?php echo esc_url($header_email);?>"><i class="ri-mail-fill"></i> <?php echo esc_html($header_email);?></a>
                        </div>
                    <?php endif; ?>

                    <?php if(!empty($header_phone)) : ?>
                        <div class="top-info phone">
                            <i class="ri-phone-fill"></i><span><?php echo esc_html($header_phone);?></span>
                        </div>
                    <?php endif; ?>
                </div>
            </div>

            <div class="col-xl-4 col-lg-6  col-sm-6 col-12">
                <div class="header-topbar-right text-end ">
                    <?php if(!empty($fb_link)) : ?>
                        <a href="<?php echo esc_url($fb_link);?>"><i class="ri-facebook-fill"></i></a>
                    <?php endif; ?>

                    <?php if(!empty($twt_link)) : ?>
                    <a href="<?php echo esc_url($twt_link);?>"><i class="ri-twitter-fill"></i></a>
                    <?php endif; ?>

                    <?php if(!empty($linkedin_link)) : ?>
                    <a href="<?php echo esc_url($linkedin_link);?>"><i class="ri-linkedin-fill"></i></a>
                    <?php endif; ?>

                    <?php if(!empty($web_link)) : ?>
                    <a href="<?php echo esc_url($web_link);?>"><i class="ri-global-line"></i></a>
                    <?php endif; ?>

                    <?php if(!empty($ytb_link)) : ?>
                    <a href="<?php echo esc_url($ytb_link);?>"><i class="ri-youtube-fill"></i></a>
                    <?php endif; ?>
                </div>
            </div>
        </div>
    </div>
</div>