<header id="gt-header" class="gt-header-section header_style_three ver_2"> 
    <div class="gt-header-content">
        <div class="container">
            <div class="gt-header-content-wrap d-flex align-items-center justify-content-between">
                <div class="brand-logo">
                    <a href="<?php echo esc_url(home_url());?>">
                        <img class="logo_site-size" src="<?php echo esc_url($settings['rzlogo']['url']);?>" alt="<?php if(!empty($settings['rzlogo']['alt'])){ echo esc_attr($settings['rzlogo']['alt']);}?>">
                    </a>
                </div>
                <nav class="main-navigation clearfix ul-li">
                    <?php
                        echo str_replace(['menu-item-has-children', 'sub-menu'], ['dropdown', 'dropdown-menu clearfix'], wp_nav_menu( array(
                            'echo'           => false,
                            'menu' => !empty($settings['choose-menu']) ? $settings['choose-menu'] : 'menu-1',
                            'menu_id'        =>'main-nav',
                            'menu_class'        =>'nav navbar-nav clearfix',
                            'container'=>false,
                            'fallback_cb'    => 'Navwalker_Class::fallback',
                            'walker'         => class_exists( 'Rs_Mega_Menu_Walker' ) ? new \Rs_Mega_Menu_Walker : '',
                        )) );
                    ?>
                </nav>
                <div class="gt-header-search">
                    <form action="<?php echo esc_url(home_url( '/' ));?>">
                        <input type="text" name="s" placeholder="<?php echo esc_attr_e('Search Here...', 'goyto-plugin');?>" value="<?php echo get_search_query();?>">
                        <button><i class="fal fa-search"></i></button>
                    </form>
                </div>
                <button class="mobile-menu-btn mobile-btn-trigger mobile_menu_button open_mobile_menu">
                    <i class="flaticon-menu"></i>
                </button>
            </div>
        </div>
    </div>
</header>
<?php $this->__mobile_menu(); $this->___search_body();?>