<?php 
/*
* Display contact details
*/
?>

<div class="top-header py-2">
  <div class="container">
    <div class="row mx-0">
      <div class="col-lg-8 col-md-8 align-self-center text-md-start text-center">
        <?php if( get_theme_mod( 'lawyer_hub_location_text' ) != '') { ?>
          <p class="mb-0"><i class="<?php echo esc_attr(get_theme_mod('lawyer_hub_location_icon','fas fa-map-marker-alt')); ?> me-2"></i><?php echo esc_html( get_theme_mod('lawyer_hub_location_text','')); ?></p>
        <?php } ?>
      </div>
      <div class="col-lg-4 col-md-4 align-self-center text-md-end text-center">
        <?php if( get_theme_mod( 'lawyer_hub_phone_number_text' ) != '') { ?>
          <p class="mb-0 phone-info"><i class="<?php echo esc_attr(get_theme_mod('lawyer_hub_number_icon','fas fa-phone')); ?> me-2"></i><a href="tel:<?php echo esc_attr(get_theme_mod('lawyer_hub_phone_number_text', '')); ?>"><?php echo esc_html(get_theme_mod('lawyer_hub_phone_number_text', '')); ?></a></p>
        <?php } ?>
      </div>
    </div>
  </div>
</div>