/home/moonrcjl/public_html/test/wp-content/themes/arsha/template-parts/header/header-5.php
<?php 

	/**
	 * Template part for displaying header layout two
	 *
	 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
	 *
	 * @package arsha
	*/

  $header_topbar_switch = get_theme_mod( 'header_topbar_switch', true );

   // Email id 
   $header_top_email = get_theme_mod( 'header_email', __( 'arsha@support.com', 'arsha' ) );

   // Header Address Text
   $header_top_address_text = get_theme_mod( 'header_address', __( '76 San Fransisco Street. New York', 'arsha' ) );
   $header_top_address_link = get_theme_mod( 'header_address_link', __( '#', 'arsha' ) );

   // Header Time Text
   $header_top_time = get_theme_mod( 'header_top_time', __( 'Mon - Sat 8:00 - 18:20', 'arsha' ) );

   // button
   $header_top_button_switch = get_theme_mod( 'header_top_button_switch', true );
   $header_button_text = get_theme_mod( 'header_button_text', __( 'MAKE APPOINMENT', 'arsha' ) );
   $header_button_link = get_theme_mod( 'header_button_link', __( '#', 'arsha' ) );


   // header right
   $arsha_header_right = get_theme_mod( 'header_right_switch', false );
   $arsha_header_menu_col = $arsha_header_right ? 'col-xl-8 d-none d-xl-block' : 'col-xl-10 d-none d-xl-block';
   $arsha_menu_position = $arsha_header_right ? 'text-center' : 'text-end ';

   
?>

<header class="mtheader__area mt-transparent-header p-relative">
    <!-- header top area start -->
    <?php if($header_topbar_switch) : ?>
    <div class="mtheader__top-area mtheader__top-5 mtheader__top-border-bottom  theme-bg p-relative d-none d-lg-block">
        <div class="container">
            <div class="mtheader__top-wrap d-flex align-items-center justify-content-between">
                <div class="mtheader__top-left">
                    <?php if($header_top_address_text) : ?>
                    <a href="<?php echo esc_url($header_top_address_link); ?>"><i
                            class="fa-light fa-location-dot"></i><span><?php echo esc_html($header_top_address_text); ?></span></a>
                    <?php endif; ?>
                    <?php if($header_top_email) : ?>
                    <a href="mailto:<?php echo esc_attr($header_top_email); ?>"><i
                            class="fa-light fa-envelope"></i><span><?php echo esc_html($header_top_email); ?></span></a>
                    <?php endif; ?>
                </div>
                <div class="mtheader__top-right d-flex align-items-center justify-content-between">
                    <?php if($header_top_time) : ?>
                    <div class="mtheader__top-left mr-10">
                        <a href="#"><i
                                class="fa-regular fa-clock"></i><span><?php echo esc_html($header_top_time); ?></span></a>
                    </div>
                    <?php endif; ?>
                    <div class="mtheader__top-social">
                        <?php arsha_header_social_profiles(); ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <?php endif; ?>
    <div id="mt-header-sticky" class="mtheader__main-wrapper">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-xl-2 col-6">
                    <div class="mtheader__logo">
                        <?php arsha_header_logo(); ?>
                    </div>
                </div>
                <div class="<?php echo esc_attr($arsha_header_menu_col); ?> ">
                    <div class="mtheader__menu  <?php echo esc_attr($arsha_menu_position); ?>">
                        <nav class="mt-mobile-menu-active">
                            <?php arsha_header_menu(); ?>
                        </nav>
                    </div>
                </div>
                <?php if(!empty($arsha_header_right)) : ?>
                <div class="col-xl-2 col-6">
                    <div class="mtheader__right text-end">
                        <div class="mtheader__right-bar mt-10 mb-10">
                            <button class="mt-offcanvas-toogle"><i class="fa-light fa-bars-staggered"></i></button>
                        </div>
                    </div>
                </div>
                <?php endif; ?>
                <?php if(empty($arsha_header_right)) : ?>
                <div class="col-xl-2 col-6">
                    <div class="mtheader__right text-end d-xl-none">
                        <div class="mtheader__right-bar mt-10 mb-10">
                            <button class="mt-offcanvas-toogle"><i class="fa-light fa-bars-staggered"></i></button>
                        </div>
                    </div>
                </div>
                <?php endif; ?>
            </div>
        </div>
    </div>
</header>


<?php get_template_part( 'template-parts/header/header-side-info' ); ?>