/home/moonrcjl/public_html/wp/wp-content/themes/arsha/template-parts/header/header-4.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', __( 'Get Quite', '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-7 d-none d-xl-block' : 'col-xl-10 d-none d-xl-block';
   $arsha_menu_position = $arsha_header_right ? 'text-start' : 'text-end ';

   $arsha_logo_position = $header_topbar_switch ? 'mtheader__logo-2' : '';
?>

<!-- header area start -->
<header class="mtheader__area mtheader__4 mt-transparent-header p-relative">
    <!-- header top area start -->
    <?php if($header_topbar_switch) : ?>
    <div class="mtheader__top-area mtheader__top-2 mtheader__top-border-bottom-2 p-relative d-none d-lg-block">
        <div class="container">
            <div class="mtheader__top-wrapper 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 d-none d-xl-block 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 echo esc_attr($arsha_logo_position); ?>">
                        <?php arsha_header_logo(); ?>
                    </div>
                </div>
                <div class="<?php echo esc_attr($arsha_header_menu_col); ?>">
                    <div class="mtheader__menu  mtheader__menu-3 <?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-3 col-6">
                    <div class="mtheader__right mtheader__right-2 d-flex align-items-center justify-content-end">
                        <?php if(!empty($header_top_button_switch)) : ?>
                        <?php if($header_button_text) : ?>
                        <div class="mtheader__btn-wrap mr-15 d-none d-md-block">
                            <a href="<?php echo esc_url($header_button_link); ?>" class="mt-btn-wrap">
                                <span class="mt-btn-border"><?php echo esc_html($header_button_text); ?></span>
                                <span class="mt-btn-border mt-btn-border-icon">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="20" height="12" viewBox="0 0 20 12"
                                        fill="none">
                                        <path
                                            d="M9.37166 0.142181C12.0619 2.48755 16.4017 4.70229 19.8993 5.99995C16.4017 7.29674 12.0619 9.5106 9.3721 11.8564L11.2473 6.67238L1.05074 6.67275C0.872519 6.67253 0.701676 6.60155 0.575751 6.47543C0.481748 6.38139 0.417737 6.26159 0.391812 6.13117C0.365886 6.00075 0.379207 5.86557 0.430097 5.74272C0.480986 5.61988 0.567157 5.51488 0.677713 5.441C0.788269 5.36712 0.918249 5.32767 1.05122 5.32765L11.2474 5.32765L9.37166 0.142181Z"
                                            fill="#fff" />
                                    </svg>
                                </span>
                            </a>
                        </div>
                        <?php endif; ?>
                        <?php endif; ?>
                        <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-3 col-6">
                    <div class="mtheader__right mtheader__right-2 d-flex align-items-center justify-content-end">
                        <div class="mtheader__right-bar mt-10 mb-10 d-xl-none">
                            <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' ); ?>