<?php
/**
 * Visa Consulting Service Theme Customizer
 * @package Visa Consulting Service
 */

load_template( trailingslashit( get_template_directory() ) . '/inc/logo-sizer.php' );
/**
 * Add postMessage support for site title and description for the Theme Customizer.
 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
 */
function visa_consulting_service_customize_register( $wp_customize ) {

	load_template( trailingslashit( get_template_directory() ) . 'inc/custom-control.php' );
	load_template( trailingslashit( get_template_directory() ) . '/inc/icon-changer.php' );

	$wp_customize->add_setting( 'visa_consulting_service_logo_sizer',array(
		'default' => '',
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control( new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_logo_sizer',array(
		'label' => esc_html__( 'Logo Sizer','visa-consulting-service' ),
		'section' => 'title_tagline',
		'priority'    => 9,
		'input_attrs' => array(
			'min' => 0,
			'max' => 100,
			'step' => 1,
		),
	))); 

	$wp_customize->add_setting('visa_consulting_service_site_title_enable',array(
		'default' => true,
		'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	));
	$wp_customize->add_control('visa_consulting_service_site_title_enable',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Site Title','visa-consulting-service'),
		'section' => 'title_tagline'
	));

 	$wp_customize->add_setting('visa_consulting_service_site_title_font_size',array(
		'default'=> 25,
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_site_title_font_size',array(
		'label' => esc_html__( 'Site Title Font Size (px)','visa-consulting-service' ),
		'section'=> 'title_tagline',
		'input_attrs' => array(
         'step' => 1,
			'min'  => 0,
			'max'  => 50,
      ),
	))); 

	// site title color
   $wp_customize->add_setting('visa_consulting_service_site_title_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_site_title_color', array(
		'label'    => __('Site Title Color', 'visa-consulting-service'),
		'section'  => 'title_tagline',
		'settings' => 'visa_consulting_service_site_title_color',
	)));

   $wp_customize->add_setting('visa_consulting_service_site_tagline_enable',array(
      'default' => false,
      'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
   ));
   $wp_customize->add_control('visa_consulting_service_site_tagline_enable',array(
      'type' => 'checkbox',
      'label' => __('Enable / Disable Site Tagline','visa-consulting-service'),
      'section' => 'title_tagline'
   ));

   $wp_customize->add_setting('visa_consulting_service_site_tagline_font_size',array(
		'default'=> 13,
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_site_tagline_font_size',array(
		'label' => esc_html__( 'Site Tagline Font Size (px)','visa-consulting-service' ),
		'section'=> 'title_tagline',
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
	)));

	// site tagline color
	$wp_customize->add_setting('visa_consulting_service_site_tagline_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_site_tagline_color', array(
		'label'    => __('Site Tagline Color', 'visa-consulting-service'),
		'section'  => 'title_tagline',
		'settings' => 'visa_consulting_service_site_tagline_color',
	)));

    $wp_customize->add_setting('visa_consulting_service_site_logo_inline',array(
       'default' => false,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
    ));
    $wp_customize->add_control('visa_consulting_service_site_logo_inline',array(
       'type' => 'checkbox',
       'label' => __('Site logo inline with site title','visa-consulting-service'),
       'section' => 'title_tagline',
    ));

    $wp_customize->add_setting('visa_consulting_service_background_skin',array(
        'default' => 'Without Background',
        'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_background_skin',array(
        'type' => 'radio',
        'label' => __('Background Skin','visa-consulting-service'),
        'description' => __('Here you can add the background skin along with the background image.','visa-consulting-service'),
        'section' => 'background_image',
        'choices' => array(
            'With Background' => __('With Background Skin','visa-consulting-service'),
            'Without Background' => __('Without Background Skin','visa-consulting-service'),
        ),
	) );

	//Important Links
	$wp_customize->add_section( 'visa_consulting_service_important_links' , array(
		'title' => esc_html__( 'Important Links', 'visa-consulting-service' ),
		'priority' => 10,
	) );

	$wp_customize->add_setting('visa_consulting_service_doc_link',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_doc_link',array(
		'type'=> 'hidden',
		'description' => "<a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_FREE_DOC) ." '>". esc_html__('Documentation','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_important_links'
	));

	$wp_customize->add_setting('visa_consulting_service_demo_links',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_demo_links',array(
		'type'=> 'hidden',
		'description' => "<a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_LIVE_DEMO) ." '>". esc_html__('Demo','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_important_links'
	));

	$wp_customize->add_setting('visa_consulting_service_forum_links',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_forum_links',array(
		'type'=> 'hidden',
		'description' => "<a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_FREE_SUPPORT) ." '>". esc_html__('Support Forum','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_important_links'
	));

	$wp_customize->add_setting('visa_consulting_service_review_links',array(
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_review_links',array(
		'type'=> 'hidden',
		'description' => "<a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_REVIEW) ." '>". esc_html__('Review','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_important_links'
	));
	
	//add home page setting pannel
	$wp_customize->add_panel( 'visa_consulting_service_panel_id', array(
	   'priority' => 11,
	   'capability' => 'edit_theme_options',
	   'theme_supports' => '',
	   'title' => __( 'Theme Settings', 'visa-consulting-service' ),
	   'description' => __( 'Description of what this panel does.', 'visa-consulting-service' ),
	) );

	$visa_consulting_service_font_array = array(
		''                       => 'No Fonts',
		'Abril Fatface'          => 'Abril Fatface',
		'Acme'                   => 'Acme',
		'Anton'                  => 'Anton',
		'Architects Daughter'    => 'Architects Daughter',
		'Arimo'                  => 'Arimo',
		'Arsenal'                => 'Arsenal',
		'Arvo'                   => 'Arvo',
		'Alegreya'               => 'Alegreya',
		'Alfa Slab One'          => 'Alfa Slab One',
		'Averia Serif Libre'     => 'Averia Serif Libre',
		'Bangers'                => 'Bangers',
		'Boogaloo'               => 'Boogaloo',
		'Bad Script'             => 'Bad Script',
		'Bitter'                 => 'Bitter',
		'Bree Serif'             => 'Bree Serif',
		'BenchNine'              => 'BenchNine',
		'Cabin'                  => 'Cabin',
		'Cardo'                  => 'Cardo',
		'Courgette'              => 'Courgette',
		'Cherry Swash'           => 'Cherry Swash',
		'Cormorant Garamond'     => 'Cormorant Garamond',
		'Crimson Text'           => 'Crimson Text',
		'Cuprum'                 => 'Cuprum',
		'Cookie'                 => 'Cookie',
		'Chewy'                  => 'Chewy',
		'Days One'               => 'Days One',
		'Dosis'                  => 'Dosis',
		'Droid Sans'             => 'Droid Sans',
		'Economica'              => 'Economica',
		'Fredoka One'            => 'Fredoka One',
		'Fjalla One'             => 'Fjalla One',
		'Francois One'           => 'Francois One',
		'Frank Ruhl Libre'       => 'Frank Ruhl Libre',
		'Gloria Hallelujah'      => 'Gloria Hallelujah',
		'Great Vibes'            => 'Great Vibes',
		'Handlee'                => 'Handlee',
		'Hammersmith One'        => 'Hammersmith One',
		'Inconsolata'            => 'Inconsolata',
		'Indie Flower'           => 'Indie Flower',
		'IM Fell English SC'     => 'IM Fell English SC',
		'Julius Sans One'        => 'Julius Sans One',
		'Josefin Slab'           => 'Josefin Slab',
		'Josefin Sans'           => 'Josefin Sans',
		'Kanit'                  => 'Kanit',
		'Lobster'                => 'Lobster',
		'Lato'                   => 'Lato',
		'Lora'                   => 'Lora',
		'Libre Baskerville'      => 'Libre Baskerville',
		'Lobster Two'            => 'Lobster Two',
		'Merriweather'           => 'Merriweather',
		'Monda'                  => 'Monda',
		'Montserrat'             => 'Montserrat',
		'Muli'                   => 'Muli',
		'Marck Script'           => 'Marck Script',
		'Noto Serif'             => 'Noto Serif',
		'Open Sans'              => 'Open Sans',
		'Overpass'               => 'Overpass',
		'Overpass Mono'          => 'Overpass Mono',
		'Oxygen'                 => 'Oxygen',
		'Orbitron'               => 'Orbitron',
		'Patua One'              => 'Patua One',
		'Pacifico'               => 'Pacifico',
		'Padauk'                 => 'Padauk',
		'Playball'               => 'Playball',
		'Playfair Display'       => 'Playfair Display',
		'PT Sans'                => 'PT Sans',
		'Philosopher'            => 'Philosopher',
		'Permanent Marker'       => 'Permanent Marker',
		'Poiret One'             => 'Poiret One',
		'Quicksand'              => 'Quicksand',
		'Quattrocento Sans'      => 'Quattrocento Sans',
		'Raleway'                => 'Raleway',
		'Rubik'                  => 'Rubik',
		'Rokkitt'                => 'Rokkitt',
		'Russo One'              => 'Russo One',
		'Righteous'              => 'Righteous',
		'Slabo'                  => 'Slabo',
		'Source Sans Pro'        => 'Source Sans Pro',
		'Shadows Into Light Two' => 'Shadows Into Light Two',
		'Shadows Into Light'     => 'Shadows Into Light',
		'Sacramento'             => 'Sacramento',
		'Shrikhand'              => 'Shrikhand',
		'Tangerine'              => 'Tangerine',
		'Ubuntu'                 => 'Ubuntu',
		'VT323'                  => 'VT323',
		'Varela Round'           => 'Varela Round',
		'Vampiro One'            => 'Vampiro One',
		'Vollkorn'               => 'Vollkorn',
		'Volkhov'                => 'Volkhov',
		'Yanone Kaffeesatz'      => 'Yanone Kaffeesatz'
	);

	//Typography
	$wp_customize->add_section('visa_consulting_service_typography', array(
		'title'    => __('Typography', 'visa-consulting-service'),
		'panel'    => 'visa_consulting_service_panel_id',
	));

	$wp_customize->add_setting('visa_consulting_service_typography_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_typography_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_typography'
	));

	//This is body FontFamily picker setting
	$wp_customize->add_setting('visa_consulting_service_body_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_body_color', array(
		'label'    => __('Body Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_typography',
		'settings' => 'visa_consulting_service_body_color',
	)));

	$wp_customize->add_setting('visa_consulting_service_body_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices',
	));
	$wp_customize->add_control(	'visa_consulting_service_body_font_family', array(
		'section' => 'visa_consulting_service_typography',
		'label'   => __('Body Fonts', 'visa-consulting-service'),
		'type'    => 'select',
		'choices' => $visa_consulting_service_font_array,
	));

	$wp_customize->add_setting('visa_consulting_service_body_font_size', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('visa_consulting_service_body_font_size', array(
		'label'   => __('Body Font Size', 'visa-consulting-service'),
		'section' => 'visa_consulting_service_typography',
		'setting' => 'visa_consulting_service_body_font_size',
		'type'    => 'text',
	));

	$wp_customize->add_setting('visa_consulting_service_body_font_weight',array(
		'default' => '',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
 	));
 	$wp_customize->add_control('visa_consulting_service_body_font_weight',array(
		'type' => 'select',
		'label' => __('Body Font Weight','visa-consulting-service'),
		'section' => 'visa_consulting_service_typography',
		'choices' => array(
		   '100' => __('100','visa-consulting-service'),
         '200' => __('200','visa-consulting-service'),
         '300' => __('300','visa-consulting-service'),
         '400' => __('400','visa-consulting-service'),
         '500' => __('500','visa-consulting-service'),
         '600' => __('600','visa-consulting-service'),
         '700' => __('700','visa-consulting-service'),
         '800' => __('800','visa-consulting-service'),
         '900' => __('900','visa-consulting-service'),
		),
	) );	

	// This is Paragraph Color picker setting
	$wp_customize->add_setting('visa_consulting_service_paragraph_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_paragraph_color', array(
		'label'    => __('Paragraph Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_typography',
		'settings' => 'visa_consulting_service_paragraph_color',
	)));

	//This is Paragraph FontFamily picker setting
	$wp_customize->add_setting('visa_consulting_service_paragraph_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices',
	));
	$wp_customize->add_control(	'visa_consulting_service_paragraph_font_family', array(
		'section' => 'visa_consulting_service_typography',
		'label'   => __('Paragraph Fonts', 'visa-consulting-service'),
		'type'    => 'select',
		'choices' => $visa_consulting_service_font_array,
	));

	$wp_customize->add_setting('visa_consulting_service_paragraph_font_size', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('visa_consulting_service_paragraph_font_size', array(
		'label'   => __('Paragraph Font Size', 'visa-consulting-service'),
		'section' => 'visa_consulting_service_typography',
		'setting' => 'visa_consulting_service_paragraph_font_size',
		'type'    => 'text',
	));

	$wp_customize->add_setting('visa_consulting_service_paragraph_font_weight',array(
		'default' => '',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
 	));
 	$wp_customize->add_control('visa_consulting_service_paragraph_font_weight',array(
		'type' => 'select',
		'label' => __('Paragraph Font Weight','visa-consulting-service'),
		'section' => 'visa_consulting_service_typography',
		'choices' => array(
		   '100' => __('100','visa-consulting-service'),
         '200' => __('200','visa-consulting-service'),
         '300' => __('300','visa-consulting-service'),
         '400' => __('400','visa-consulting-service'),
         '500' => __('500','visa-consulting-service'),
         '600' => __('600','visa-consulting-service'),
         '700' => __('700','visa-consulting-service'),
         '800' => __('800','visa-consulting-service'),
         '900' => __('900','visa-consulting-service'),
		),
	) );		

	// This is "a" Tag Color picker setting
	$wp_customize->add_setting('visa_consulting_service_atag_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_atag_color', array(
		'label'    => __('"a" Tag Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_typography',
		'settings' => 'visa_consulting_service_atag_color',
	)));

	//This is "a" Tag FontFamily picker setting
	$wp_customize->add_setting('visa_consulting_service_atag_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices',
	));
	$wp_customize->add_control(	'visa_consulting_service_atag_font_family', array(
		'section' => 'visa_consulting_service_typography',
		'label'   => __('"a" Tag Fonts', 'visa-consulting-service'),
		'type'    => 'select',
		'choices' => $visa_consulting_service_font_array,
	));

	// This is "a" Tag Color picker setting
	$wp_customize->add_setting('visa_consulting_service_li_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_li_color', array(
		'label'    => __('"li" Tag Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_typography',
		'settings' => 'visa_consulting_service_li_color',
	)));

	//This is "li" Tag FontFamily picker setting
	$wp_customize->add_setting('visa_consulting_service_li_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices',
	));
	$wp_customize->add_control(	'visa_consulting_service_li_font_family', array(
		'section' => 'visa_consulting_service_typography',
		'label'   => __('"li" Tag Fonts', 'visa-consulting-service'),
		'type'    => 'select',
		'choices' => $visa_consulting_service_font_array,
	));

	// This is H1 Color picker setting
	$wp_customize->add_setting('visa_consulting_service_h1_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_h1_color', array(
		'label'    => __('H1 Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_typography',
		'settings' => 'visa_consulting_service_h1_color',
	)));

	//This is H1 FontFamily picker setting
	$wp_customize->add_setting('visa_consulting_service_h1_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices',
	));
	$wp_customize->add_control('visa_consulting_service_h1_font_family', array(
		'section' => 'visa_consulting_service_typography',
		'label'   => __('H1 Fonts', 'visa-consulting-service'),
		'type'    => 'select',
		'choices' => $visa_consulting_service_font_array,
	));

	//This is H1 FontSize setting
	$wp_customize->add_setting('visa_consulting_service_h1_font_size', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('visa_consulting_service_h1_font_size', array(
		'label'   => __('H1 Font Size', 'visa-consulting-service'),
		'section' => 'visa_consulting_service_typography',
		'setting' => 'visa_consulting_service_h1_font_size',
		'type'    => 'text',
	));

	//This is H1 FontWeight setting	
	$wp_customize->add_setting('visa_consulting_service_h1_font_weight',array(
		'default' => '',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
 	));
 	$wp_customize->add_control('visa_consulting_service_h1_font_weight',array(
		'type' => 'select',
		'label' => __('H1 Font Weight','visa-consulting-service'),
		'section' => 'visa_consulting_service_typography',
		'choices' => array(
		   '100' => __('100','visa-consulting-service'),
         '200' => __('200','visa-consulting-service'),
         '300' => __('300','visa-consulting-service'),
         '400' => __('400','visa-consulting-service'),
         '500' => __('500','visa-consulting-service'),
         '600' => __('600','visa-consulting-service'),
         '700' => __('700','visa-consulting-service'),
         '800' => __('800','visa-consulting-service'),
         '900' => __('900','visa-consulting-service'),
		),
	) );		

	// This is H2 Color picker setting
	$wp_customize->add_setting('visa_consulting_service_h2_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_h2_color', array(
		'label'    => __('H2 Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_typography',
		'settings' => 'visa_consulting_service_h2_color',
	)));

	//This is H2 FontFamily picker setting
	$wp_customize->add_setting('visa_consulting_service_h2_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices',
	));
	$wp_customize->add_control(
	'visa_consulting_service_h2_font_family', array(
		'section' => 'visa_consulting_service_typography',
		'label'   => __('H2 Fonts', 'visa-consulting-service'),
		'type'    => 'select',
		'choices' => $visa_consulting_service_font_array,
	));

	//This is H2 FontSize setting
	$wp_customize->add_setting('visa_consulting_service_h2_font_size', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('visa_consulting_service_h2_font_size', array(
		'label'   => __('H2 Font Size', 'visa-consulting-service'),
		'section' => 'visa_consulting_service_typography',
		'setting' => 'visa_consulting_service_h2_font_size',
		'type'    => 'text',
	));

	//This is H2 FontWeight setting	
	$wp_customize->add_setting('visa_consulting_service_h2_font_weight',array(
		'default' => '',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
 	));
 	$wp_customize->add_control('visa_consulting_service_h2_font_weight',array(
		'type' => 'select',
		'label' => __('H2 Font Weight','visa-consulting-service'),
		'section' => 'visa_consulting_service_typography',
		'choices' => array(
		   '100' => __('100','visa-consulting-service'),
         '200' => __('200','visa-consulting-service'),
         '300' => __('300','visa-consulting-service'),
         '400' => __('400','visa-consulting-service'),
         '500' => __('500','visa-consulting-service'),
         '600' => __('600','visa-consulting-service'),
         '700' => __('700','visa-consulting-service'),
         '800' => __('800','visa-consulting-service'),
         '900' => __('900','visa-consulting-service'),
		),
	) );

	// This is H3 Color picker setting
	$wp_customize->add_setting('visa_consulting_service_h3_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_h3_color', array(
		'label'    => __('H3 Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_typography',
		'settings' => 'visa_consulting_service_h3_color',
	)));

	//This is H3 FontFamily picker setting
	$wp_customize->add_setting('visa_consulting_service_h3_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices',
	));
	$wp_customize->add_control(
	'visa_consulting_service_h3_font_family', array(
		'section' => 'visa_consulting_service_typography',
		'label'   => __('H3 Fonts', 'visa-consulting-service'),
		'type'    => 'select',
		'choices' => $visa_consulting_service_font_array,
	));

	//This is H3 FontSize setting
	$wp_customize->add_setting('visa_consulting_service_h3_font_size', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('visa_consulting_service_h3_font_size', array(
		'label'   => __('H3 Font Size', 'visa-consulting-service'),
		'section' => 'visa_consulting_service_typography',
		'setting' => 'visa_consulting_service_h3_font_size',
		'type'    => 'text',
	));

	//This is H3 FontWeight setting	
	$wp_customize->add_setting('visa_consulting_service_h3_font_weight',array(
		'default' => '',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
 	));
 	$wp_customize->add_control('visa_consulting_service_h3_font_weight',array(
		'type' => 'select',
		'label' => __('H3 Font Weight','visa-consulting-service'),
		'section' => 'visa_consulting_service_typography',
		'choices' => array(
		   '100' => __('100','visa-consulting-service'),
         '200' => __('200','visa-consulting-service'),
         '300' => __('300','visa-consulting-service'),
         '400' => __('400','visa-consulting-service'),
         '500' => __('500','visa-consulting-service'),
         '600' => __('600','visa-consulting-service'),
         '700' => __('700','visa-consulting-service'),
         '800' => __('800','visa-consulting-service'),
         '900' => __('900','visa-consulting-service'),
		),
	) );	

	// This is H4 Color picker setting
	$wp_customize->add_setting('visa_consulting_service_h4_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_h4_color', array(
		'label'    => __('H4 Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_typography',
		'settings' => 'visa_consulting_service_h4_color',
	)));

	//This is H4 FontFamily picker setting
	$wp_customize->add_setting('visa_consulting_service_h4_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices',
	));
	$wp_customize->add_control('visa_consulting_service_h4_font_family', array(
		'section' => 'visa_consulting_service_typography',
		'label'   => __('H4 Fonts', 'visa-consulting-service'),
		'type'    => 'select',
		'choices' => $visa_consulting_service_font_array,
	));

	//This is H4 FontSize setting
	$wp_customize->add_setting('visa_consulting_service_h4_font_size', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('visa_consulting_service_h4_font_size', array(
		'label'   => __('H4 Font Size', 'visa-consulting-service'),
		'section' => 'visa_consulting_service_typography',
		'setting' => 'visa_consulting_service_h4_font_size',
		'type'    => 'text',
	));

	//This is H4 FontWeight setting	
	$wp_customize->add_setting('visa_consulting_service_h4_font_weight',array(
		'default' => '',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
 	));
 	$wp_customize->add_control('visa_consulting_service_h4_font_weight',array(
		'type' => 'select',
		'label' => __('H4 Font Weight','visa-consulting-service'),
		'section' => 'visa_consulting_service_typography',
		'choices' => array(
		   '100' => __('100','visa-consulting-service'),
         '200' => __('200','visa-consulting-service'),
         '300' => __('300','visa-consulting-service'),
         '400' => __('400','visa-consulting-service'),
         '500' => __('500','visa-consulting-service'),
         '600' => __('600','visa-consulting-service'),
         '700' => __('700','visa-consulting-service'),
         '800' => __('800','visa-consulting-service'),
         '900' => __('900','visa-consulting-service'),
		),
	) );	

	// This is H5 Color picker setting
	$wp_customize->add_setting('visa_consulting_service_h5_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_h5_color', array(
		'label'    => __('H5 Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_typography',
		'settings' => 'visa_consulting_service_h5_color',
	)));

	//This is H5 FontFamily picker setting
	$wp_customize->add_setting('visa_consulting_service_h5_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices',
	));
	$wp_customize->add_control('visa_consulting_service_h5_font_family', array(
		'section' => 'visa_consulting_service_typography',
		'label'   => __('H5 Fonts', 'visa-consulting-service'),
		'type'    => 'select',
		'choices' => $visa_consulting_service_font_array,
	));

	//This is H5 FontSize setting
	$wp_customize->add_setting('visa_consulting_service_h5_font_size', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('visa_consulting_service_h5_font_size', array(
		'label'   => __('H5 Font Size', 'visa-consulting-service'),
		'section' => 'visa_consulting_service_typography',
		'setting' => 'visa_consulting_service_h5_font_size',
		'type'    => 'text',
	));

	//This is H5 FontWeight setting	
	$wp_customize->add_setting('visa_consulting_service_h5_font_weight',array(
		'default' => '',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
 	));
 	$wp_customize->add_control('visa_consulting_service_h5_font_weight',array(
		'type' => 'select',
		'label' => __('H5 Font Weight','visa-consulting-service'),
		'section' => 'visa_consulting_service_typography',
		'choices' => array(
		   '100' => __('100','visa-consulting-service'),
         '200' => __('200','visa-consulting-service'),
         '300' => __('300','visa-consulting-service'),
         '400' => __('400','visa-consulting-service'),
         '500' => __('500','visa-consulting-service'),
         '600' => __('600','visa-consulting-service'),
         '700' => __('700','visa-consulting-service'),
         '800' => __('800','visa-consulting-service'),
         '900' => __('900','visa-consulting-service'),
		),
	) );	

	// This is H6 Color picker setting
	$wp_customize->add_setting('visa_consulting_service_h6_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_h6_color', array(
		'label'    => __('H6 Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_typography',
		'settings' => 'visa_consulting_service_h6_color',
	)));

	//This is H6 FontFamily picker setting
	$wp_customize->add_setting('visa_consulting_service_h6_font_family', array(
		'default'           => '',
		'capability'        => 'edit_theme_options',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices',
	));
	$wp_customize->add_control('visa_consulting_service_h6_font_family', array(
		'section' => 'visa_consulting_service_typography',
		'label'   => __('H6 Fonts', 'visa-consulting-service'),
		'type'    => 'select',
		'choices' => $visa_consulting_service_font_array,
	));

	//This is H6 FontSize setting
	$wp_customize->add_setting('visa_consulting_service_h6_font_size', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('visa_consulting_service_h6_font_size', array(
		'label'   => __('H6 Font Size', 'visa-consulting-service'),
		'section' => 'visa_consulting_service_typography',
		'setting' => 'visa_consulting_service_h6_font_size',
		'type'    => 'text',
	));

	//This is H6 FontWeight setting	
	$wp_customize->add_setting('visa_consulting_service_h6_font_weight',array(
		'default' => '',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
 	));
 	$wp_customize->add_control('visa_consulting_service_h6_font_weight',array(
		'type' => 'select',
		'label' => __('H6 Font Weight','visa-consulting-service'),
		'section' => 'visa_consulting_service_typography',
		'choices' => array(
		   '100' => __('100','visa-consulting-service'),
         '200' => __('200','visa-consulting-service'),
         '300' => __('300','visa-consulting-service'),
         '400' => __('400','visa-consulting-service'),
         '500' => __('500','visa-consulting-service'),
         '600' => __('600','visa-consulting-service'),
         '700' => __('700','visa-consulting-service'),
         '800' => __('800','visa-consulting-service'),
         '900' => __('900','visa-consulting-service'),
		),
	) );	

 	//Header Section
	$wp_customize->add_section('visa_consulting_service_header_section',array(
		'title'	=> __('Header','visa-consulting-service'),
		'description'	=> __('Add Header here','visa-consulting-service'),
		'priority'	=> null,
		'panel' => 'visa_consulting_service_panel_id',
	));

	$wp_customize->add_setting('visa_consulting_service_header_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_header_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_header_section'
	));

	$wp_customize->add_setting('visa_consulting_service_topbar_hide',array(
		'default' => false,
		'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	));
	$wp_customize->add_control('visa_consulting_service_topbar_hide',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Topbar','visa-consulting-service'),
		'section' => 'visa_consulting_service_header_section',
	));

 	$wp_customize->add_setting('visa_consulting_service_topbar_text',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_topbar_text',array(
		'label'	=> __('Topbar Text','visa-consulting-service'),
		'section'	=> 'visa_consulting_service_header_section',
		'type'	=> 'text'
	));

	$wp_customize->add_setting('visa_consulting_service_facebook_url',array(
		'default' => '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('visa_consulting_service_facebook_url',array(
		'type' => 'url',
		'label' => __('Add Facebook URL','visa-consulting-service'),
		'section' => 'visa_consulting_service_header_section',
	));

	$wp_customize->add_setting('visa_consulting_service_facebook_icon',array(
		'default'	=> 'fab fa-facebook-f',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
        $wp_customize,'visa_consulting_service_facebook_icon',array(
		'label'	=> __('Choose Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_header_section',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('visa_consulting_service_twitter_url',array(
		'default' => '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('visa_consulting_service_twitter_url',array(
		'type' => 'url',
		'label' => __('Add Twitter URL','visa-consulting-service'),
		'section' => 'visa_consulting_service_header_section',
	));

	$wp_customize->add_setting('visa_consulting_service_twitter_icon',array(
		'default'	=> 'fa-brands fa-x-twitter',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
        $wp_customize,'visa_consulting_service_twitter_icon',array(
		'label'	=> __('Choose Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_header_section',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('visa_consulting_service_instagram_url',array(
		'default' => '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('visa_consulting_service_instagram_url',array(
		'type' => 'url',
		'label' => __('Add Instagram URL','visa-consulting-service'),
		'section' => 'visa_consulting_service_header_section',
	));

	$wp_customize->add_setting('visa_consulting_service_instagram_icon',array(
		'default'	=> 'fab fa-instagram',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
        $wp_customize,'visa_consulting_service_instagram_icon',array(
		'label'	=> __('Choose Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_header_section',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('visa_consulting_service_search_icon',array(
		'default'	=> 'fas fa-search',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
        $wp_customize,'visa_consulting_service_search_icon',array(
		'label'	=> __('Choose Search Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_header_section',
		'type'		=> 'icon'
	)));

 	//Menu Section
	$wp_customize->add_section('visa_consulting_service_menu_section',array(
		'title'	=> __('Menu Settings','visa-consulting-service'),
		'priority'	=> null,
		'panel' => 'visa_consulting_service_panel_id',
	));

	$wp_customize->add_setting('visa_consulting_service_menu_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_menu_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_menu_section'
	));

	$wp_customize->add_setting('visa_consulting_service_menu_font_size_option',array(
		'default'=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize,'visa_consulting_service_menu_font_size_option',array(
		'label'	=> __('Menu Font Size','visa-consulting-service'),
		'section'=> 'visa_consulting_service_menu_section',
		'input_attrs' => array(
         'step' => 1,
			'min'  => 0,
			'max'  => 50,
     	),
	)));

	$wp_customize->add_setting('visa_consulting_service_menu_padding',array(
		'default'=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize,'visa_consulting_service_menu_padding',array(
		'label'	=> __('Main Menu Padding','visa-consulting-service'),
		'section'=> 'visa_consulting_service_menu_section',
		'input_attrs' => array(
         	'step' => 1,
			'min'  => 0,
			'max'  => 50,
        ),
	)));

	$wp_customize->add_setting('visa_consulting_service_font_weight_option_menu',array(
		'default' => '600',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
 	));
 	$wp_customize->add_control('visa_consulting_service_font_weight_option_menu',array(
		'type' => 'select',
		'label' => __('Menu Font Weight','visa-consulting-service'),
		'section' => 'visa_consulting_service_menu_section',
		'choices' => array(
			'100' => __('100','visa-consulting-service'),
			'200' => __('200','visa-consulting-service'),
			'300' => __('300','visa-consulting-service'),
			'400' => __('400','visa-consulting-service'),
			'500' => __('500','visa-consulting-service'),
			'600' => __('600','visa-consulting-service'),
			'700' => __('700','visa-consulting-service'),
			'800' => __('800','visa-consulting-service'),
			'900' => __('900','visa-consulting-service'),
		),
	) );

	$wp_customize->add_setting('visa_consulting_service_menu_text_tranform',array(
		'default' => 'Capitalize',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
 	));
 	$wp_customize->add_control('visa_consulting_service_menu_text_tranform',array(
		'type' => 'select',
		'label' => __('Menu Text Transform','visa-consulting-service'),
		'section' => 'visa_consulting_service_menu_section',
		'choices' => array(
		   'Uppercase' => __('Uppercase','visa-consulting-service'),
		   'Lowercase' => __('Lowercase','visa-consulting-service'),
		   'Capitalize' => __('Capitalize','visa-consulting-service'),
		),
	) );

	$wp_customize->add_setting('visa_consulting_service_menus_item_style',array(
        'default' => '',
        'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_menus_item_style',array(
      'type' => 'select',
		'label' => __('Menu Item Hover Style','visa-consulting-service'),
		'section' => 'visa_consulting_service_menu_section',
		'choices' => array(
         'None' => __('None','visa-consulting-service'),
         'Zoom In' => __('Zoom In','visa-consulting-service'),
      ),
	));

	$wp_customize->add_setting('visa_consulting_service_sub_menu_hover_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_sub_menu_hover_color', array(
		'label'    => __('Submenu Hover Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_menu_section',
		'settings' => 'visa_consulting_service_sub_menu_hover_color',
	)));

	$wp_customize->add_setting('visa_consulting_service_menu_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_menu_color', array(
		'label'    => __('Menu Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_menu_section',
		'settings' => 'visa_consulting_service_menu_color',
	)));

	$wp_customize->add_setting('visa_consulting_service_sub_menu_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_sub_menu_color', array(
		'label'    => __('Submenu Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_menu_section',
		'settings' => 'visa_consulting_service_sub_menu_color',
	)));

	$wp_customize->add_setting('visa_consulting_service_menu_hover_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_menu_hover_color', array(
		'label'    => __('Menu Hover Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_menu_section',
		'settings' => 'visa_consulting_service_menu_hover_color',
	)));

	//Banner Section
	$wp_customize->add_section( 'visa_consulting_service_banner_section' , array(
    	'title'      => __( 'Banner Section', 'visa-consulting-service' ),
		'priority'   => null,
		'panel' => 'visa_consulting_service_panel_id'
	) );

	$wp_customize->add_setting('visa_consulting_service_banner_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_banner_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_banner_section'
	));

	$wp_customize->add_setting('visa_consulting_service_banner_hide',array(
		'default' => false,
		'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	));
	$wp_customize->add_control('visa_consulting_service_banner_hide',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Banner','visa-consulting-service'),
		'section' => 'visa_consulting_service_banner_section',
	));

	$wp_customize->add_setting('visa_consulting_service_banner_sub_title',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_banner_sub_title',array(
		'label'	=> __('Banner Sub-Title','visa-consulting-service'),
		'section'	=> 'visa_consulting_service_banner_section',
		'input_attrs' => array(
        'placeholder' => __( 'Welcome To Visa Consulting WordPress Theme', 'visa-consulting-service' ),
      ),
		'type'	=> 'text'
	));

 	$wp_customize->add_setting('visa_consulting_service_banner_title',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_banner_title',array(
		'label'	=> __('Banner Title','visa-consulting-service'),
		'section'	=> 'visa_consulting_service_banner_section',
		'input_attrs' => array(
        'placeholder' => __( 'Top Tips for a Successful Visa Interview', 'visa-consulting-service' ),
      ),
		'type'	=> 'text'
	));

 	$wp_customize->add_setting('visa_consulting_service_banner_desc_text',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_banner_desc_text',array(
		'label'	=> __('Banner Content','visa-consulting-service'),
		'section'	=> 'visa_consulting_service_banner_section',
		'type'	=> 'text'
	));

	$wp_customize->add_setting('visa_consulting_service_banner_btn_text1',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
 	));
 	$wp_customize->add_control('visa_consulting_service_banner_btn_text1',array(
		'type' => 'text',
		'label' => __('Add Button Text','visa-consulting-service'),
		'input_attrs' => array(
        'placeholder' => __( 'Explore More', 'visa-consulting-service' ),
      ),
		'section' => 'visa_consulting_service_banner_section',
	) );

	$wp_customize->add_setting('visa_consulting_service_banner_btn_url1',array(
		'default' => '',
		'sanitize_callback' => 'esc_url_raw'
 	));
 	$wp_customize->add_control('visa_consulting_service_banner_btn_url1',array(
		'type' => 'text',
		'label' => __('Add Button URL','visa-consulting-service'),
		'input_attrs' => array(
        'placeholder' => __( 'www.example-info.com', 'visa-consulting-service' ),
      ),
		'section' => 'visa_consulting_service_banner_section',
	) );

	$wp_customize->add_setting('visa_consulting_service_banner_btn_text2',array(
		'default' => '',
		'sanitize_callback' => 'sanitize_text_field'
 	));
 	$wp_customize->add_control('visa_consulting_service_banner_btn_text2',array(
		'type' => 'text',
		'label' => __('Add Button Text','visa-consulting-service'),
		'input_attrs' => array(
        'placeholder' => __( 'Get In Tech', 'visa-consulting-service' ),
      ),
		'section' => 'visa_consulting_service_banner_section',
	) );

	$wp_customize->add_setting('visa_consulting_service_banner_btn_url2',array(
		'default' => '',
		'sanitize_callback' => 'esc_url_raw'
 	));
 	$wp_customize->add_control('visa_consulting_service_banner_btn_url2',array(
		'type' => 'text',
		'label' => __('Add Button URL','visa-consulting-service'),
		'input_attrs' => array(
        'placeholder' => __( 'www.example-info.com', 'visa-consulting-service' ),
      ),
		'section' => 'visa_consulting_service_banner_section',
	) );

	$wp_customize->add_setting('visa_consulting_service_banner_right_image',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize,'visa_consulting_service_banner_right_image',array(
      'label' => __('Banner Image','visa-consulting-service'),
		'description' => __('Use a transparent image with a size of 380px × 600px.','visa-consulting-service'),
      'section' => 'visa_consulting_service_banner_section'
	)));

	for ( $visa_consulting_service_i = 1; $visa_consulting_service_i <= 5; $visa_consulting_service_i++ ) {
		$wp_customize->add_setting('visa_consulting_service_banner_country_image' .$visa_consulting_service_i,array(
			'default'	=> '',
			'sanitize_callback'	=> 'esc_url_raw',
		));
		$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize,'visa_consulting_service_banner_country_image' .$visa_consulting_service_i,array(
		'label' => __('Country Image','visa-consulting-service'),
			'description' => __('Image Size (75px × 75px).','visa-consulting-service'),
		'section' => 'visa_consulting_service_banner_section'
		)));
	}

	$wp_customize->add_setting('visa_consulting_service_banner_bg_first_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_banner_bg_first_color', array(
		'label'    => __('Banner Background Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_banner_section',
	)));

	$wp_customize->add_setting('visa_consulting_service_banner_bg_second_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_banner_bg_second_color', array(
		'label'    => __('Banner Background Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_banner_section',
	)));

	$wp_customize->add_setting('visa_consulting_service_banner_bg_image',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize,'visa_consulting_service_banner_bg_image',array(
		'label' => __('Banner Background Image','visa-consulting-service'),
		'section' => 'visa_consulting_service_banner_section'
	)));

	//Visa Section
  	$wp_customize->add_section('visa_consulting_service_visa_section',array(
		'title' => __('Visa Section','visa-consulting-service'),
		'description' => '',
		'priority'  => null,
		'panel' => 'visa_consulting_service_panel_id',
	));

	$wp_customize->add_setting('visa_consulting_service_visa_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_visa_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_visa_section'
	));

 	$visa_consulting_service_categories = get_categories();
	$visa_consulting_service_cat_post = array();
	$visa_consulting_service_cat_post[]= 'select';
	$visa_consulting_service_i = 0;	
	foreach($visa_consulting_service_categories as $visa_consulting_service_category){
		if($visa_consulting_service_i==0){
			$visa_consulting_service_default = $visa_consulting_service_category->slug;
			$visa_consulting_service_i++;
		}
		$visa_consulting_service_cat_post[$visa_consulting_service_category->slug] = $visa_consulting_service_category->name;
	}

	$wp_customize->add_setting('visa_consulting_service_select_category',array(
		'default'	=> 'select',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices',
	));
	$wp_customize->add_control('visa_consulting_service_select_category',array(
		'type'    => 'select',
		'choices' => $visa_consulting_service_cat_post,
		'label' => __('Select Category to Display Posts','visa-consulting-service'),
		'section' => 'visa_consulting_service_visa_section',
	));

	//layout setting
	$wp_customize->add_section( 'visa_consulting_service_option', array(
    	'title'      => __( 'Layout Settings', 'visa-consulting-service' ),
    	'panel'    => 'visa_consulting_service_panel_id',
	) );

	$wp_customize->add_setting('visa_consulting_service_layout_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_layout_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_option'
	));

	$wp_customize->add_setting('visa_consulting_service_preloader',array(
       'default' => false,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
   ));
    $wp_customize->add_control('visa_consulting_service_preloader',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Preloader','visa-consulting-service'),
       'section' => 'visa_consulting_service_option'
   ));

   $wp_customize->add_setting('visa_consulting_service_preloader_type',array(
     	'default' => 'First Preloader Type',
     	'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_preloader_type',array(
      'type' => 'radio',
      'label' => __('Preloader Types','visa-consulting-service'),
      'section' => 'visa_consulting_service_option',
      'choices' => array(
         'First Preloader Type' => __('First Preloader Type','visa-consulting-service'),
         'Second Preloader Type' => __('Second Preloader Type','visa-consulting-service'),
      ),
	) );

	$wp_customize->add_setting('visa_consulting_service_preloader_bg_color_option', array(
		'default'           => '#1D3041',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_preloader_bg_color_option', array(
		'label'    => __('Preloader Background Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_option',
	)));

	$wp_customize->add_setting('visa_consulting_service_preloader_icon_color_option', array(
		'default'           => '#fff',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_preloader_icon_color_option', array(
		'label'    => __('Preloader Icon Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_option',
	)));

	$wp_customize->add_setting('visa_consulting_service_preloader_bg_img',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize,'visa_consulting_service_preloader_bg_img',array(
        'label' => __('Preloader Background Image','visa-consulting-service'),
        'section' => 'visa_consulting_service_option'
	)));	

	$wp_customize->add_setting('visa_consulting_service_width_layout_options',array(
		'default' => 'Default',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_width_layout_options',array(
		'type' => 'radio',
		'label' => __('Container Box','visa-consulting-service'),
		'description' => __('Here you can change the Width layout. ','visa-consulting-service'),
		'section' => 'visa_consulting_service_option',
		'choices' => array(
		   'Default' => __('Default','visa-consulting-service'),
		   'Container Layout' => __('Container Layout','visa-consulting-service'),
		   'Box Layout' => __('Box Layout','visa-consulting-service'),
		),
	) );

	// Add page sidebar
	$wp_customize->add_setting('visa_consulting_service_page_sidebar',array(
        'default' => 'One Column',
        'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	) );
	$wp_customize->add_control('visa_consulting_service_page_sidebar', array(
        'type' => 'select',
        'label' => __('Page Sidebar Layout','visa-consulting-service'),
        'section' => 'visa_consulting_service_option',
        'choices' => array(
            'One Column' => __('One Column','visa-consulting-service'),
            'Left Sidebar' => __('Left Sidebar','visa-consulting-service'),
            'Right Sidebar' => __('Right Sidebar','visa-consulting-service')
        ),
	)   );

	// Add Settings and Controls for Layout
	$wp_customize->add_setting('visa_consulting_service_layout_options',array(
        'default' => 'Right Sidebar',
        'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	) );
	$wp_customize->add_control('visa_consulting_service_layout_options', array(
        'type' => 'select',
        'label' => __('Post Sidebar Layout','visa-consulting-service'),
        'section' => 'visa_consulting_service_option',
        'choices' => array(
            'One Column' => __('One Column','visa-consulting-service'),
            'Three Columns' => __('Three Columns','visa-consulting-service'),
            'Four Columns' => __('Four Columns','visa-consulting-service'),
            'Grid Layout' => __('Grid Layout','visa-consulting-service'),
            'Left Sidebar' => __('Left Sidebar','visa-consulting-service'),
            'Right Sidebar' => __('Right Sidebar','visa-consulting-service')
        ),
	)   );

	$wp_customize->add_setting('visa_consulting_service_sidebar_size',array(
        'default' => 'Sidebar 1/3',
        'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_sidebar_size',array(
        'type' => 'radio',
        'label' => __('Sidebar Size Option','visa-consulting-service'),
        'section' => 'visa_consulting_service_option',
        'choices' => array(
            'Sidebar 1/3' => __('Sidebar 1/3','visa-consulting-service'),
            'Sidebar 1/4' => __('Sidebar 1/4','visa-consulting-service'),
        ),
	) );
	
	//Global Color
	$wp_customize->add_section('visa_consulting_service_global_color', array(
		'title'    => __('Theme Color Option', 'visa-consulting-service'),
		'panel'    => 'visa_consulting_service_panel_id',
	));

	$wp_customize->add_setting('visa_consulting_service_global_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_global_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_global_color'
	));

	$wp_customize->add_setting('visa_consulting_service_global_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_global_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_global_color'
	));

	$wp_customize->add_setting('visa_consulting_service_first_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_first_color', array(
		'label'    => __('Highlight Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_global_color',
		'settings' => 'visa_consulting_service_first_color',
	)));

	$wp_customize->add_setting('visa_consulting_service_second_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_second_color', array(
		'label'    => __('Highlight Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_global_color',
		'settings' => 'visa_consulting_service_second_color',
	)));

	//Blog Post Settings
	$wp_customize->add_section('visa_consulting_service_post_settings', array(
		'title'    => __('Post General Settings', 'visa-consulting-service'),
		'panel'    => 'visa_consulting_service_panel_id',
	));

	$wp_customize->add_setting('visa_consulting_service_post_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_post_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_post_settings'
	));

	$wp_customize->add_setting('visa_consulting_service_post_layouts',array(
		'default' => 'Layout 2',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_post_layouts', array(
		'type' => 'select',
		'label' => __('Post Layouts','visa-consulting-service'),
		'description' => __('Here you can change the 3 different layouts of post','visa-consulting-service'),
		'section' => 'visa_consulting_service_post_settings',
		'choices' => array(
		   'Layout 1' => __('Layouts 1','visa-consulting-service'),
		   'Layout 2' => __('Layouts 2','visa-consulting-service'),
		   'Layout 3' => __('Layouts 3','visa-consulting-service'),
	)));

   $wp_customize->add_setting('visa_consulting_service_post_block_option',array(
        'default' => 'By Block',
        'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_post_block_option',array(
        'type' => 'select',
        'label' => __('Blog Post Shown','visa-consulting-service'),
        'section' => 'visa_consulting_service_post_settings',
        'choices' => array(
            'By Block' => __('By Block','visa-consulting-service'),
            'By Without Block' => __('By Without Block','visa-consulting-service'),
        ),
	) );

	$wp_customize->add_setting('visa_consulting_service_metafields_date',array(
		'default' => true,
		'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	));
	$wp_customize->add_control('visa_consulting_service_metafields_date',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Date','visa-consulting-service'),
		'section' => 'visa_consulting_service_post_settings'
	));

	$wp_customize->add_setting('visa_consulting_service_post_date_icon',array(
		'default'	=> 'far fa-calendar-alt',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
        $wp_customize,'visa_consulting_service_post_date_icon',array(
		'label'	=> __('Post Date Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_post_settings',
		'type'		=> 'icon'
	)));

   $wp_customize->add_setting('visa_consulting_service_metafields_author',array(
      'default' => true,
      'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
   ));
   $wp_customize->add_control('visa_consulting_service_metafields_author',array(
      'type' => 'checkbox',
      'label' => __('Enable / Disable Author','visa-consulting-service'),
      'section' => 'visa_consulting_service_post_settings'
   ));

   $wp_customize->add_setting('visa_consulting_service_post_author_icon',array(
		'default'	=> 'fas fa-user',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
        $wp_customize,'visa_consulting_service_post_author_icon',array(
		'label'	=> __('Post Author Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_post_settings',
		'type'		=> 'icon'
	)));

    $wp_customize->add_setting('visa_consulting_service_metafields_comment',array(
       'default' => true,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
    ));
    $wp_customize->add_control('visa_consulting_service_metafields_comment',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Comments','visa-consulting-service'),
       'section' => 'visa_consulting_service_post_settings'
    ));

    $wp_customize->add_setting('visa_consulting_service_post_comment_icon',array(
		'default'	=> 'fas fa-comments',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
        $wp_customize,'visa_consulting_service_post_comment_icon',array(
		'label'	=> __('Post Comment Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_post_settings',
		'type'		=> 'icon'
	)));

    $wp_customize->add_setting('visa_consulting_service_metafields_time',array(
       'default' => true,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
    ));
    $wp_customize->add_control('visa_consulting_service_metafields_time',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Time','visa-consulting-service'),
       'section' => 'visa_consulting_service_post_settings'
    ));

    $wp_customize->add_setting('visa_consulting_service_post_time_icon',array(
		'default'	=> 'fas fa-clock',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
        $wp_customize,'visa_consulting_service_post_time_icon',array(
		'label'	=> __('Post Time Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_post_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('visa_consulting_service_post_featured_image',array(
       'default' => 'Image',
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_choices'
    ));
    $wp_customize->add_control('visa_consulting_service_post_featured_image',array(
       'type' => 'select',
       'label'	=> __('Post Image Options','visa-consulting-service'),
       'choices' => array(
            'Image' => __('Image','visa-consulting-service'),
            'Color' => __('Color','visa-consulting-service'),
            'None' => __('None','visa-consulting-service'),
        ),
      	'section'	=> 'visa_consulting_service_post_settings',
    ));

    $wp_customize->add_setting('visa_consulting_service_post_featured_color', array(
		'default'           => '#1D3041',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_post_featured_color', array(
		'label'    => __('Post Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_post_settings',
		'settings' => 'visa_consulting_service_post_featured_color',
		'active_callback' => 'visa_consulting_service_post_color_enabled'
	)));

	$wp_customize->add_setting( 'visa_consulting_service_custom_post_color_width',array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_custom_post_color_width',	array(
		'label' => esc_html__( 'Color Post Custom Width','visa-consulting-service' ),
		'section' => 'visa_consulting_service_post_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 500,
			'step' => 1,
		),
		'active_callback' => 'visa_consulting_service_show_post_color'
	)));

	$wp_customize->add_setting( 'visa_consulting_service_custom_post_color_height',array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_custom_post_color_height',array(
		'label' => esc_html__( 'Color Post Custom Height','visa-consulting-service' ),
		'section' => 'visa_consulting_service_post_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 350,
			'step' => 1,
		),
		'active_callback' => 'visa_consulting_service_show_post_color'
	)));

	$wp_customize->add_setting('visa_consulting_service_post_featured_image_dimention',array(
       'default' => 'Default',
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_choices'
    ));
    $wp_customize->add_control('visa_consulting_service_post_featured_image_dimention',array(
       'type' => 'select',
       'label'	=> __('Post Featured Image Dimention','visa-consulting-service'),
       'choices' => array(
            'Default' => __('Default','visa-consulting-service'),
            'Custom' => __('Custom','visa-consulting-service'),
        ),
      	'section'	=> 'visa_consulting_service_post_settings',
      	'active_callback' => 'visa_consulting_service_enable_post_featured_image'
    ));

    $wp_customize->add_setting( 'visa_consulting_service_post_featured_image_custom_width',array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_post_featured_image_custom_width',	array(
		'label' => esc_html__( 'Post Featured Image Custom Width','visa-consulting-service' ),
		'section' => 'visa_consulting_service_post_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 500,
			'step' => 1,
		),
		'active_callback' => 'visa_consulting_service_enable_post_image_custom_dimention'
	)));

	$wp_customize->add_setting( 'visa_consulting_service_post_featured_image_custom_height',array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_post_featured_image_custom_height',	array(
		'label' => esc_html__( 'Post Featured Image Custom Height','visa-consulting-service' ),
		'section' => 'visa_consulting_service_post_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 350,
			'step' => 1,
		),
		'active_callback' => 'visa_consulting_service_enable_post_image_custom_dimention'
	)));

	$wp_customize->add_setting( 'visa_consulting_service_image_border_radius', array(
		'default'=> 0,
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize,  'visa_consulting_service_image_border_radius', array(
		'label'       => esc_html__( 'Featured Image Border Radius','visa-consulting-service' ),
		'section'     => 'visa_consulting_service_post_settings',
		'type'        => 'number',
		'input_attrs' => array(
			'step'             => 1,
			'min'              => 0,
			'max'              => 50,
		),
	)) );

	$wp_customize->add_setting( 'visa_consulting_service_image_box_shadow',array(
		'default' => 0,
		'type'                 => 'theme_mod',
		'transport' 		   => 'refresh',
		'sanitize_callback'    => 'absint',
		'sanitize_js_callback' => 'absint',
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize,  'visa_consulting_service_image_box_shadow',array(
		'label' => esc_html__( 'Featured Image Shadow','visa-consulting-service' ),
		'section' => 'visa_consulting_service_post_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
		'type'		=> 'range'
	)));

	$wp_customize->add_setting('visa_consulting_service_show_first_caps',array(
      'default' => false,
      'sanitize_callback' => 'visa_consulting_service_sanitize_checkbox',
    ));
	$wp_customize->add_control( 'visa_consulting_service_show_first_caps',array(
		'label' => esc_html__('First Cap (First Capital Letter)', 'visa-consulting-service'),
		'type' => 'checkbox',
		'section' => 'visa_consulting_service_post_settings',
	));

    //Post excerpt
	$wp_customize->add_setting( 'visa_consulting_service_post_excerpt_number', array(
		'default'              => 30,
		'type'                 => 'theme_mod',
		'transport' 		   => 'refresh',
		'sanitize_callback'    => 'absint',
		'sanitize_js_callback' => 'absint',
	) );
	$wp_customize->add_control( 'visa_consulting_service_post_excerpt_number', array(
		'label'       => esc_html__( 'Blog Post Content Limit','visa-consulting-service' ),
		'section'     => 'visa_consulting_service_post_settings',
		'type'        => 'number',
		'settings'    => 'visa_consulting_service_post_excerpt_number',
		'input_attrs' => array(
			'step'             => 2,
			'min'              => 0,
			'max'              => 50,
		),
	) );

	$wp_customize->add_setting('visa_consulting_service_content_settings',array(
        'default' =>'Excerpt',
        'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_content_settings',array(
        'type' => 'radio',
        'label' => __('Content Settings','visa-consulting-service'),
        'section' => 'visa_consulting_service_post_settings',
        'choices' => array(
            'Excerpt' => __('Excerpt','visa-consulting-service'),
            'Content' => __('Content','visa-consulting-service'),
        ),
	) );

	$wp_customize->add_setting( 'visa_consulting_service_post_discription_suffix', array(
		'default'   => __('[...]','visa-consulting-service'),
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'visa_consulting_service_post_discription_suffix', array(
		'label'       => esc_html__( 'Post Excerpt Suffix','visa-consulting-service' ),
		'section'     => 'visa_consulting_service_post_settings',
		'type'        => 'text',
		'settings'    => 'visa_consulting_service_post_discription_suffix',
	) );

	$wp_customize->add_setting( 'visa_consulting_service_blog_post_meta_seperator', array(
		'default'   => '|',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'visa_consulting_service_blog_post_meta_seperator', array(
		'label'       => esc_html__( 'Meta Box Separator','visa-consulting-service' ),
		'section'     => 'visa_consulting_service_post_settings',
		'description' => __('Here you can add the seperator for meta box. e.g. "|",  ",", "/", etc. ','visa-consulting-service'),
		'type'        => 'text',
		'settings'    => 'visa_consulting_service_blog_post_meta_seperator',
	) );

	$wp_customize->add_setting('visa_consulting_service_enable_post_pagination',array(
       'default' => true,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
   	));
   	$wp_customize->add_control('visa_consulting_service_enable_post_pagination',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Blog Page Pagination','visa-consulting-service'),
       'section' => 'visa_consulting_service_post_settings'
   	));

   	$wp_customize->add_setting( 'visa_consulting_service_post_pagination_position', array(
        'default'			=>  'Bottom',
        'sanitize_callback'	=> 'visa_consulting_service_sanitize_choices'
   	));
   	$wp_customize->add_control( 'visa_consulting_service_post_pagination_position', array(
        'section' => 'visa_consulting_service_post_settings',
        'type' => 'select',
        'label' => __( 'Post Pagination Position', 'visa-consulting-service' ),
        'choices'		=> array(
            'Top'  => __( 'Top', 'visa-consulting-service' ),
            'Bottom' => __( 'Bottom', 'visa-consulting-service' ),
            'Both Top & Bottom' => __( 'Both Top & Bottom', 'visa-consulting-service' ),
   	)));

	$wp_customize->add_setting('visa_consulting_service_post_pagination_option',array(
		'default' => 'Left',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_post_pagination_option',array(
		'type' => 'select',
		'label' => __('Post Pagination Alignment','visa-consulting-service'),
		'section' => 'visa_consulting_service_post_settings',
		'choices' => array(
			'Center' => __('Center','visa-consulting-service'),
			'Left' => __('Left','visa-consulting-service'),
			'Right' => __('Right','visa-consulting-service'),
		),
	) );

	$wp_customize->add_setting( 'visa_consulting_service_pagination_settings', array(
        'default'			=> 'Numeric Pagination',
        'sanitize_callback'	=> 'visa_consulting_service_sanitize_choices'
   	));
   	$wp_customize->add_control( 'visa_consulting_service_pagination_settings', array(
        'section' => 'visa_consulting_service_post_settings',
        'type' => 'radio',
        'label' => __( 'Post Pagination', 'visa-consulting-service' ),
        'choices'		=> array(
            'Numeric Pagination'  => __( 'Numeric Pagination', 'visa-consulting-service' ),
            'next-prev' => __( 'Next / Previous', 'visa-consulting-service' ),
   	)));

	//Button Settings
	$wp_customize->add_section('visa_consulting_service_button_settings', array(
		'title'    => __('Post Button Settings', 'visa-consulting-service'),
		'panel'    => 'visa_consulting_service_panel_id',
	));

	$wp_customize->add_setting('visa_consulting_service_button_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_button_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_button_settings'
	));

	$wp_customize->add_setting('visa_consulting_service_button_text',array(
		'default'=> __('Read More','visa-consulting-service'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_button_text',array(
		'label'	=> __('Add Button Text','visa-consulting-service'),
		'section'=> 'visa_consulting_service_button_settings',
		'type'=> 'text'
	));

	$wp_customize->add_setting('visa_consulting_service_btn_font_size_option',array(
		'default'=> 14,
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize,'visa_consulting_service_btn_font_size_option',array(
		'label'	=> __('Button Font Size','visa-consulting-service'),
		'section'=> 'visa_consulting_service_button_settings',
		'input_attrs' => array(
         'step' => 1,
			'min'  => 0,
			'max'  => 50,
     	),
	)));

	$wp_customize->add_setting('visa_consulting_service_button_text_tranform',array(
		'default' => 'Capitalize',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
 	));
 	$wp_customize->add_control('visa_consulting_service_button_text_tranform',array(
		'type' => 'select',
		'label' => __('Button Text Transform','visa-consulting-service'),
		'section' => 'visa_consulting_service_button_settings',
		'choices' => array(
		   'Uppercase' => __('Uppercase','visa-consulting-service'),
		   'Lowercase' => __('Lowercase','visa-consulting-service'),
		   'Capitalize' => __('Capitalize','visa-consulting-service'),
		),
	) );

	$wp_customize->add_setting('visa_consulting_service_button_font_weight',array(
		'default' => '700',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
 	));
 	$wp_customize->add_control('visa_consulting_service_button_font_weight',array(
		'type' => 'select',
		'label' => __('Button Font Weight','visa-consulting-service'),
		'section' => 'visa_consulting_service_button_settings',
		'choices' => array(
			'100' => __('100','visa-consulting-service'),
			'200' => __('200','visa-consulting-service'),
			'300' => __('300','visa-consulting-service'),
			'400' => __('400','visa-consulting-service'),
			'500' => __('500','visa-consulting-service'),
			'600' => __('600','visa-consulting-service'),
			'700' => __('700','visa-consulting-service'),
			'800' => __('800','visa-consulting-service'),
			'900' => __('900','visa-consulting-service'),
		),
	) );

	$wp_customize->add_setting( 'visa_consulting_service_post_button_padding_top',array(
		'default' => '',
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control( new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_post_button_padding_top',	array(
		'label' => esc_html__( 'Button Top Bottom Padding (px)','visa-consulting-service' ),
		'section' => 'visa_consulting_service_button_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'visa_consulting_service_post_button_padding_right',array(
		'default' => '',
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control( new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_post_button_padding_right',	array(
		'label' => esc_html__( 'Button Right Left Padding (px)','visa-consulting-service' ),
		'section' => 'visa_consulting_service_button_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	// button letter spacing
	$wp_customize->add_setting( 'visa_consulting_service_button_letter_spacing',array(
		'default' => '',
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control( new  Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_button_letter_spacing', array(
		'label'  =>  esc_html__('Button Letter Spacing (px)','visa-consulting-service'),
		'section'  => 'visa_consulting_service_button_settings',
		'input_attrs' => array(
		   'min' => 0,
		   'max' => 50,
		   'step' => 1,
		)
 	)));		

	// Button Shape
	$wp_customize->add_setting('visa_consulting_service_btn_shape',array(
		'default'=> 'Square',
		'sanitize_callback'	=> 'visa_consulting_service_sanitize_choices',
	));
	$wp_customize->add_control('visa_consulting_service_btn_shape',array(
		'label'	=> __('Button Shape','visa-consulting-service'),
		'section'=> 'visa_consulting_service_button_settings',
		'type' => 'select',
		'choices' => array(
			'Square' => __('Square','visa-consulting-service'),
			'Round' => __('Round','visa-consulting-service'),
			'Pill' => __('Pill','visa-consulting-service'),
		),
	));	

   //Single Post Settings
	$wp_customize->add_section('visa_consulting_service_single_post_settings', array(
		'title'    => __('Single Post Settings', 'visa-consulting-service'),
		'panel'    => 'visa_consulting_service_panel_id',
	));

	$wp_customize->add_setting('visa_consulting_service_single_post_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_single_post_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_single_post_settings'
	));

	$wp_customize->add_setting('visa_consulting_service_single_post_date',array(
       'default' => true,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
   ));
   $wp_customize->add_control('visa_consulting_service_single_post_date',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Date','visa-consulting-service'),
       'section' => 'visa_consulting_service_single_post_settings'
   ));

   $wp_customize->add_setting('visa_consulting_service_single_post_date_icon',array(
		'default'	=> 'far fa-calendar-alt',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
        $wp_customize,'visa_consulting_service_single_post_date_icon',array(
		'label'	=> __('Single Post Date Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_single_post_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('visa_consulting_service_single_post_author',array(
       'default' => true,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
   ));
   $wp_customize->add_control('visa_consulting_service_single_post_author',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Author','visa-consulting-service'),
       'section' => 'visa_consulting_service_single_post_settings'
   ));

   $wp_customize->add_setting('visa_consulting_service_single_post_author_icon',array(
		'default'	=> 'fas fa-user',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
      $wp_customize,'visa_consulting_service_single_post_author_icon',array(
		'label'	=> __('Single Post Author Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_single_post_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('visa_consulting_service_single_post_comment',array(
		'default' => true,
		'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	));
	$wp_customize->add_control('visa_consulting_service_single_post_comment',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Comments','visa-consulting-service'),
		'section' => 'visa_consulting_service_single_post_settings'
	));

 	$wp_customize->add_setting('visa_consulting_service_single_post_comment_icon',array(
		'default'	=> 'fas fa-comments',
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer( $wp_customize, 'visa_consulting_service_single_post_comment_icon', array(
		'label'	=> __('Single Post Comment Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_single_post_settings',
		'type'		=> 'icon'
	)));

   $wp_customize->add_setting('visa_consulting_service_single_post_time',array(
       'default' => true,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
   ));
   $wp_customize->add_control('visa_consulting_service_single_post_time',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Time','visa-consulting-service'),
       'section' => 'visa_consulting_service_single_post_settings',
   ));

   $wp_customize->add_setting('visa_consulting_service_single_post_time_icon',array(
		'default'	=> 'fas fa-clock',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
        $wp_customize,'visa_consulting_service_single_post_time_icon',array(
		'label'	=> __('Single Post Time Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_single_post_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('visa_consulting_service_post_comment_enable',array(
       'default' => true,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
   ));
   $wp_customize->add_control('visa_consulting_service_post_comment_enable',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable post comment','visa-consulting-service'),
       'section' => 'visa_consulting_service_single_post_settings',
   ));

	$wp_customize->add_setting('visa_consulting_service_single_post_featured_image',array(
       'default' => true,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
   ));
   $wp_customize->add_control('visa_consulting_service_single_post_featured_image',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Featured image','visa-consulting-service'),
       'section' => 'visa_consulting_service_single_post_settings',
   ));

   $wp_customize->add_setting('visa_consulting_service_single_post_featured_image_dimention',array(
		'default' => 'Default',
		'sanitize_callback'	=> 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_single_post_featured_image_dimention',array(
		'type' => 'select',
		'label'	=> __('Single Post Featured Image Dimention','visa-consulting-service'),
		'choices' => array(
			'Default' => __('Default','visa-consulting-service'),
			'Custom' => __('Custom','visa-consulting-service'),
		),
		'section'	=> 'visa_consulting_service_single_post_settings',
	));

	$wp_customize->add_setting( 'visa_consulting_service_single_post_featured_image_custom_width',array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_single_post_featured_image_custom_width',	array(
		'label' => esc_html__( 'Single Post Featured Image Custom Width','visa-consulting-service' ),
		'section' => 'visa_consulting_service_single_post_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 800,
			'step' => 1,
		),
		'active_callback' => 'visa_consulting_service_enable_single_post_image_custom_dimention'
	)));

	$wp_customize->add_setting( 'visa_consulting_service_single_post_featured_image_custom_height',array(
		'default' => '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_single_post_featured_image_custom_height',	array(
		'label' => esc_html__( 'Single Post Featured Image Custom Height','visa-consulting-service' ),
		'section' => 'visa_consulting_service_single_post_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 800,
			'step' => 1,
		),
		'active_callback' => 'visa_consulting_service_enable_single_post_image_custom_dimention'
	)));

	$wp_customize->add_setting('visa_consulting_service_show_hide_single_post_categories',array(
			'default' => true,
			'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
   ));
   $wp_customize->add_control('visa_consulting_service_show_hide_single_post_categories',array(
			'type' => 'checkbox',
			'label' => __('Single Post Categories','visa-consulting-service'),
			'section' => 'visa_consulting_service_single_post_settings'
   ));

	$wp_customize->add_setting('visa_consulting_service_single_post_tags',array(
      'default' => true,
      'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
   ));
   $wp_customize->add_control('visa_consulting_service_single_post_tags',array(
      'type' => 'checkbox',
      'label' => __('Enable / Disable Tags','visa-consulting-service'),
      'section' => 'visa_consulting_service_single_post_settings'
   ));

	$wp_customize->add_setting('visa_consulting_service_single_post_layout',array(
        'default' => 'Right Sidebar',
        'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	) );
	$wp_customize->add_control('visa_consulting_service_single_post_layout', array(
        'type' => 'select',
        'label' => __('Select different Single post sidebar layout','visa-consulting-service'),
        'section' => 'visa_consulting_service_single_post_settings',
        'choices' => array(
            'One Column' => __('One Column','visa-consulting-service'),
            'Left Sidebar' => __('Left Sidebar','visa-consulting-service'),
            'Right Sidebar' => __('Right Sidebar','visa-consulting-service')
        ),
	)   );

	$wp_customize->add_setting( 'visa_consulting_service_single_post_meta_seperator', array(
		'default'   => '|',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'visa_consulting_service_single_post_meta_seperator', array(
		'label'       => esc_html__( 'Single Post Meta Box Seperator','visa-consulting-service' ),
		'section'     => 'visa_consulting_service_single_post_settings',
		'description' => __('Here you can add the seperator for meta box. e.g. "|",  ",", "/", etc. ','visa-consulting-service'),
		'type'        => 'text',
		'settings'    => 'visa_consulting_service_single_post_meta_seperator',
	) );

	$wp_customize->add_setting( 'visa_consulting_service_comment_form_width',array(
		'default' => 100,
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control( new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_comment_form_width',	array(
		'label' => esc_html__( 'Comment Form Width','visa-consulting-service' ),
		'section' => 'visa_consulting_service_single_post_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 100,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting('visa_consulting_service_title_comment_form',array(
       'default' => __('Leave a Reply','visa-consulting-service'),
       'sanitize_callback'	=> 'sanitize_text_field'
    ));
    $wp_customize->add_control('visa_consulting_service_title_comment_form',array(
       'type' => 'text',
       'label' => __('Comment Form Heading Text','visa-consulting-service'),
       'section' => 'visa_consulting_service_single_post_settings'
    ));

    $wp_customize->add_setting('visa_consulting_service_comment_form_button_content',array(
       'default' => __('Post Comment','visa-consulting-service'),
       'sanitize_callback'	=> 'sanitize_text_field'
    ));
    $wp_customize->add_control('visa_consulting_service_comment_form_button_content',array(
       'type' => 'text',
       'label' => __('Comment Form Button Text','visa-consulting-service'),
       'section' => 'visa_consulting_service_single_post_settings'
    ));

	$wp_customize->add_setting('visa_consulting_service_enable_single_post_pagination',array(
       'default' => true,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
   ));
   $wp_customize->add_control('visa_consulting_service_enable_single_post_pagination',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Single Post Pagination','visa-consulting-service'),
       'section' => 'visa_consulting_service_single_post_settings'
   ));

   $wp_customize->add_setting('visa_consulting_service_prev_text',array(
       'default' => 'Previous page',
       'sanitize_callback'	=> 'sanitize_text_field'
   ));
   $wp_customize->add_control('visa_consulting_service_prev_text',array(
       'type' => 'text',
       'label' => __('Previous Navigation Text','visa-consulting-service'),
       'section' => 'visa_consulting_service_single_post_settings'
   ));

   $wp_customize->add_setting('visa_consulting_service_next_text',array(
       'default' => 'Next page',
       'sanitize_callback'	=> 'sanitize_text_field'
   ));
   $wp_customize->add_control('visa_consulting_service_next_text',array(
       'type' => 'text',
       'label' => __('Next Navigation Text','visa-consulting-service'),
       'section' => 'visa_consulting_service_single_post_settings'
   ));

	//Grid Post Settings
	$wp_customize->add_section('visa_consulting_service_grid_settings', array(
		'title'    => __('Grid Post Settings', 'visa-consulting-service'),
		'panel'    => 'visa_consulting_service_panel_id',
	));

	$wp_customize->add_setting('visa_consulting_service_grid_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_grid_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_grid_settings'
	));

	$wp_customize->add_setting('visa_consulting_service_grid_post_date',array(
	'default' => true,
	'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	));
	$wp_customize->add_control('visa_consulting_service_grid_post_date',array(
	'type' => 'checkbox',
	'label' => __('Enable / Disable Date','visa-consulting-service'),
	'section' => 'visa_consulting_service_grid_settings',
	));

	$wp_customize->add_setting('visa_consulting_service_grid_post_date_icon',array(
		'default'	=> 'far fa-calendar-alt',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
		$wp_customize,'visa_consulting_service_grid_post_date_icon',array(
		'label'	=> __('Post Date Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_grid_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('visa_consulting_service_grid_post_author',array(
	'default' => true,
	'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	));
	$wp_customize->add_control('visa_consulting_service_grid_post_author',array(
	'type' => 'checkbox',
	'label' => __('Enable / Disable Author','visa-consulting-service'),
	'section' => 'visa_consulting_service_grid_settings',
	));

	$wp_customize->add_setting('visa_consulting_service_grid_post_author_icon',array(
		'default'	=> 'fas fa-user',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
		$wp_customize,'visa_consulting_service_grid_post_author_icon',array(
		'label'	=> __('Post Author Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_grid_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('visa_consulting_service_grid_post_comment',array(
	'default' => true,
	'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	));
	$wp_customize->add_control('visa_consulting_service_grid_post_comment',array(
	'type' => 'checkbox',
	'label' => __('Enable / Disable Comment','visa-consulting-service'),
	'section' => 'visa_consulting_service_grid_settings',
	));

	$wp_customize->add_setting('visa_consulting_service_grid_post_comment_icon',array(
		'default'	=> 'fas fa-comments',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
		$wp_customize,'visa_consulting_service_grid_post_comment_icon',array(
		'label'	=> __('Post Comment Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_grid_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('visa_consulting_service_grid_post_time',array(
	'default' => true,
	'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	));
	$wp_customize->add_control('visa_consulting_service_grid_post_time',array(
	'type' => 'checkbox',
	'label' => __('Enable / Disable Time','visa-consulting-service'),
	'section' => 'visa_consulting_service_grid_settings',
	));

	$wp_customize->add_setting('visa_consulting_service_grid_post_time_icon',array(
		'default'	=> 'fas fa-clock',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
		$wp_customize,'visa_consulting_service_grid_post_time_icon',array(
		'label'	=> __('Post Time Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_grid_settings',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting( 'visa_consulting_service_grid_post_meta_seperator', array(
		'default'   => '|',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control( 'visa_consulting_service_grid_post_meta_seperator', array(
		'label'       => esc_html__( 'Meta Box','visa-consulting-service' ),
		'section'     => 'visa_consulting_service_grid_settings',
		'description' => __('Here you can add the seperator for meta box. e.g. "|",  ",", "/", etc. ','visa-consulting-service'),
		'type'        => 'text',
		'settings'    => 'visa_consulting_service_grid_post_meta_seperator',
	));

	$wp_customize->add_setting( 'visa_consulting_service_grid_image_border_radius', array(
		'default'=> 0,
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize,  'visa_consulting_service_grid_image_border_radius', array(
		'label'       => esc_html__( 'Image Border Radius','visa-consulting-service' ),
		'section'     => 'visa_consulting_service_grid_settings',
		'type'        => 'number',
		'input_attrs' => array(
			'step'             => 1,
			'min'              => 0,
			'max'              => 50,
		),
	)) );

	$wp_customize->add_setting( 'visa_consulting_service_grid_image_box_shadow',array(
		'default' => 0,
		'type'                 => 'theme_mod',
		'transport' 		   => 'refresh',
		'sanitize_callback'    => 'absint',
		'sanitize_js_callback' => 'absint',
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize,  'visa_consulting_service_grid_image_box_shadow',array(
		'label' => esc_html__( 'Image Shadow','visa-consulting-service' ),
		'section' => 'visa_consulting_service_grid_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
		'type'		=> 'range'
	)));

	$wp_customize->add_setting('visa_consulting_service_grid_post_content',array(
    	'default'   => 'Post Excerpt',
     	'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_grid_post_content',array(
		'type' => 'radio',
		'label' => __('Grid Post Content Settings','visa-consulting-service'),
		'section' => 'visa_consulting_service_grid_settings',
		'choices' => array(
		   'None' => __('None','visa-consulting-service'),
		   'Post Excerpt' => __('Post Excerpt','visa-consulting-service'),
		   'Post Content' => __('Post Content','visa-consulting-service'),
		),
	) );

	$wp_customize->add_setting( 'visa_consulting_service_grid_post_excerpt_number', array(
		'default'              => 30,
		'type'                 => 'theme_mod',
		'transport' 		   => 'refresh',
		'sanitize_callback'    => 'absint',
		'sanitize_js_callback' => 'absint',
	));
	$wp_customize->add_control( 'visa_consulting_service_grid_post_excerpt_number', array(
		'label'       => esc_html__( 'Grid Post Content Limit','visa-consulting-service' ),
		'section'     => 'visa_consulting_service_grid_settings',
		'type'        => 'number',
		'settings'    => 'visa_consulting_service_grid_post_excerpt_number',
		'input_attrs' => array(
			'step'             => 2,
			'min'              => 0,
			'max'              => 50,
		),
	));

	$wp_customize->add_setting( 'visa_consulting_service_grid_excerpt_suffix', array(
		'default'   => __('[...]','visa-consulting-service'),
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'visa_consulting_service_grid_excerpt_suffix', array(
		'label'       => esc_html__( 'Grid Post Excerpt Suffix','visa-consulting-service' ),
		'section'     => 'visa_consulting_service_grid_settings',
		'type'        => 'text',
		'settings'    => 'visa_consulting_service_grid_excerpt_suffix',
	) );

	$wp_customize->add_setting('visa_consulting_service_grid_post_block_option',array(
        'default' => 'By Block',
        'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_grid_post_block_option',array(
        'type' => 'select',
        'label' => __('Blog Post Shown','visa-consulting-service'),
        'section' => 'visa_consulting_service_grid_settings',
        'choices' => array(
            'By Block' => __('By Block','visa-consulting-service'),
            'By Without Block' => __('By Without Block','visa-consulting-service'),
        ),
	) );

	$wp_customize->add_setting('visa_consulting_service_grid_columns',array(
		'default'           => '3',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices',
		'transport'         => 'refresh',
	));
	$wp_customize->add_control('visa_consulting_service_grid_columns',array(
		'type'        => 'radio',
		'label'       => __('Grid Post Columns', 'visa-consulting-service'),
		'section'     => 'visa_consulting_service_grid_settings',
		'choices' => array(
		   '3'     => __('Three', 'visa-consulting-service'),
		   '4'     => __('Four', 'visa-consulting-service')
		),
	));

	//Related Post Settings
	$wp_customize->add_section('visa_consulting_service_related_settings', array(
		'title'    => __('Related Post Settings', 'visa-consulting-service'),
		'panel'    => 'visa_consulting_service_panel_id',
	));

	$wp_customize->add_setting('visa_consulting_service_related_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_related_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_related_settings'
	));

	$wp_customize->add_setting( 'visa_consulting_service_related_enable_disable',array(
		'default' => true,
      	'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
    ) );
    $wp_customize->add_control('visa_consulting_service_related_enable_disable',array(
    	'type' => 'checkbox',
        'label' => __( 'Enable / Disable Related Post','visa-consulting-service' ),
        'section' => 'visa_consulting_service_related_settings'
    ));

	$wp_customize->add_setting('visa_consulting_service_related_metafields_date',array(
		'default' => true,
		'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	));
	$wp_customize->add_control('visa_consulting_service_related_metafields_date',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Date','visa-consulting-service'),
		'section' => 'visa_consulting_service_related_settings'
	));

    $wp_customize->add_setting('visa_consulting_service_related_metafields_author',array(
       'default' => true,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
    ));
    $wp_customize->add_control('visa_consulting_service_related_metafields_author',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Author','visa-consulting-service'),
       'section' => 'visa_consulting_service_related_settings'
    ));

    $wp_customize->add_setting('visa_consulting_service_related_metafields_comment',array(
       'default' => true,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
    ));
    $wp_customize->add_control('visa_consulting_service_related_metafields_comment',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Comments','visa-consulting-service'),
       'section' => 'visa_consulting_service_related_settings'
    ));

    $wp_customize->add_setting('visa_consulting_service_related_metafields_time',array(
       'default' => true,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
    ));
    $wp_customize->add_control('visa_consulting_service_related_metafields_time',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Time','visa-consulting-service'),
       'section' => 'visa_consulting_service_related_settings'
    ));

	$wp_customize->add_setting( 'visa_consulting_service_related_post_meta_seperator', array(
		'default'   => '|',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'visa_consulting_service_related_post_meta_seperator', array(
		'label'       => esc_html__( 'Meta Box Separator','visa-consulting-service' ),
		'section'     => 'visa_consulting_service_related_settings',
		'description' => __('Here you can add the seperator for meta box. e.g. "|",  ",", "/", etc. ','visa-consulting-service'),
		'type'        => 'text',
		'settings'    => 'visa_consulting_service_related_post_meta_seperator',
	) );

    $wp_customize->add_setting('visa_consulting_service_related_title',array(
		'default'	=> 'Related Posts',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_related_title',array(
		'label'	=> __('Add Section Title','visa-consulting-service'),
		'section'	=> 'visa_consulting_service_related_settings',
		'type'		=> 'text'
	));

	$wp_customize->add_setting( 'visa_consulting_service_related_posts_count_number', array(
		'default'              => 3,
		'type'                 => 'theme_mod',
		'transport' 		   => 'refresh',
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'visa_consulting_service_related_posts_count_number', array(
		'label'       => esc_html__( 'Related Post Count','visa-consulting-service' ),
		'section'     => 'visa_consulting_service_related_settings',
		'type'        => 'number',
		'input_attrs' => array(
			'step'             => 1,
			'min'              => 0,
			'max'              => 10,
		),
	) );

	$wp_customize->add_setting('visa_consulting_service_related_posts_taxanomies',array(
        'default' => 'categories',
        'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_related_posts_taxanomies',array(
        'type' => 'radio',
        'label' => __('Post Taxonomies','visa-consulting-service'),
        'section' => 'visa_consulting_service_related_settings',
        'choices' => array(
            'categories' => __('Categories','visa-consulting-service'),
            'tags' => __('Tags','visa-consulting-service'),
        ),
	) );

	$wp_customize->add_setting( 'visa_consulting_service_related_post_excerpt_number',array(
		'default' => 15,
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));

	$wp_customize->add_control( new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_related_post_excerpt_number',	array(
		'label' => esc_html__( 'Content Limit','visa-consulting-service' ),
		'section' => 'visa_consulting_service_related_settings',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'visa_consulting_service_related_post_discription_suffix', array(
		'default'   => __('[...]','visa-consulting-service'),
		'sanitize_callback'	=> 'sanitize_text_field'
	) );
	$wp_customize->add_control( 'visa_consulting_service_related_post_discription_suffix', array(
		'label'       => esc_html__( 'Post Excerpt Suffix','visa-consulting-service' ),
		'section'     => 'visa_consulting_service_related_settings',
		'type'        => 'text',
		'settings'    => 'visa_consulting_service_related_post_discription_suffix',
	) );

	$wp_customize->add_setting('visa_consulting_service_related_post_featured_image',array(
		'default' => true,
		'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	));
	$wp_customize->add_control('visa_consulting_service_related_post_featured_image',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Featured image','visa-consulting-service'),
		'section' => 'visa_consulting_service_related_settings',
	)); 

	//Responsive Media Settings
	$wp_customize->add_section('visa_consulting_service_responsive_media',array(
		'title'	=> __('Responsive Media','visa-consulting-service'),
		'panel' => 'visa_consulting_service_panel_id',
	));

	$wp_customize->add_setting('visa_consulting_service_responsive_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_responsive_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_responsive_media'
	));

	$wp_customize->add_setting('visa_consulting_service_responsive_menu_open_icon',array(
		'default'	=> 'fas fa-bars',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
        $wp_customize,'visa_consulting_service_responsive_menu_open_icon',array(
		'label'	=> __('Responsive Open Menu Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_responsive_media',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('visa_consulting_service_responsive_menu_close_icon',array(
		'default'	=> 'fas fa-times',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
        $wp_customize,'visa_consulting_service_responsive_menu_close_icon',array(
		'label'	=> __('Responsive Close Menu Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_responsive_media',
		'type'		=> 'icon'
	)));

	// site toggle button color
	$wp_customize->add_setting('visa_consulting_service_toggle_button_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_toggle_button_color', array(
		'label'    => __('Toggle Button Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_responsive_media',
		'settings' => 'visa_consulting_service_toggle_button_color',
	)));

	$wp_customize->add_setting('visa_consulting_service_display_post_date',array(
       'default' => true,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
    ));
    $wp_customize->add_control('visa_consulting_service_display_post_date',array(
       'type' => 'checkbox',
       'label' => __('Display Post Date','visa-consulting-service'),
       'section' => 'visa_consulting_service_responsive_media'
    ));

    $wp_customize->add_setting('visa_consulting_service_display_post_author',array(
       'default' => true,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
    ));
    $wp_customize->add_control('visa_consulting_service_display_post_author',array(
       'type' => 'checkbox',
       'label' => __('Display Post Author','visa-consulting-service'),
       'section' => 'visa_consulting_service_responsive_media'
    ));

    $wp_customize->add_setting('visa_consulting_service_display_post_comment',array(
       'default' => true,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
    ));
    $wp_customize->add_control('visa_consulting_service_display_post_comment',array(
       'type' => 'checkbox',
       'label' => __('Display Post Comment','visa-consulting-service'),
       'section' => 'visa_consulting_service_responsive_media'
    ));

	$wp_customize->add_setting('visa_consulting_service_display_post_time',array(
		'default' => true,
		'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	 ));
	 $wp_customize->add_control('visa_consulting_service_display_post_time',array(
		'type' => 'checkbox',
		'label' => __('Display Post Time','visa-consulting-service'),
		'section' => 'visa_consulting_service_responsive_media'
	 ));

	$wp_customize->add_setting('visa_consulting_service_display_sidebar',array(
       'default' => true,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
    ));
    $wp_customize->add_control('visa_consulting_service_display_sidebar',array(
       'type' => 'checkbox',
       'label' => __('Display Sidebar','visa-consulting-service'),
       'section' => 'visa_consulting_service_responsive_media'
    ));

    $wp_customize->add_setting('visa_consulting_service_display_preloader',array(
       'default' => false,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
    ));
    $wp_customize->add_control('visa_consulting_service_display_preloader',array(
       'type' => 'checkbox',
       'label' => __('Display Preloader','visa-consulting-service'),
       'section' => 'visa_consulting_service_responsive_media'
    ));

	$wp_customize->add_setting('visa_consulting_service_display_scroll',array(
		'default' => true,
		'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	));
	$wp_customize->add_control('visa_consulting_service_display_scroll',array(
     	'type' => 'checkbox',
      	'label' => __('Display Scroll To Top','visa-consulting-service'),
      	'section' => 'visa_consulting_service_responsive_media',
	));

    //404 Page Setting
	$wp_customize->add_section('visa_consulting_service_page_not_found',array(
		'title'	=> __('404 Page Not Found / No Result','visa-consulting-service'),
		'panel' => 'visa_consulting_service_panel_id',
	));

	$wp_customize->add_setting('visa_consulting_service_page_not_found_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_page_not_found_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_page_not_found'
	));

	$wp_customize->add_setting('visa_consulting_service_page_not_found_heading',array(
		'default'=> __('404 Not Found','visa-consulting-service'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_page_not_found_heading',array(
		'label'	=> __('404 Heading','visa-consulting-service'),
		'section'=> 'visa_consulting_service_page_not_found',
		'type'=> 'text'
	));

	$wp_customize->add_setting('visa_consulting_service_page_not_found_text',array(
		'default'=> __('Looks like you have taken a wrong turn. Dont worry it happens to the best of us.','visa-consulting-service'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_page_not_found_text',array(
		'label'	=> __('404 Content','visa-consulting-service'),
		'section'=> 'visa_consulting_service_page_not_found',
		'type'=> 'text'
	));

	$wp_customize->add_setting('visa_consulting_service_page_not_found_button',array(
		'default'=>  __('Back to Home Page','visa-consulting-service'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_page_not_found_button',array(
		'label'	=> __('404 Button','visa-consulting-service'),
		'section'=> 'visa_consulting_service_page_not_found',
		'type'=> 'text'
	));

	$wp_customize->add_setting('visa_consulting_service_no_search_result_heading',array(
		'default'=> __('Nothing Found','visa-consulting-service'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));

	$wp_customize->add_control('visa_consulting_service_no_search_result_heading',array(
		'label'	=> __('No Search Results Heading','visa-consulting-service'),
		'description'=>__('The search page heading display when no results are found.','visa-consulting-service'),
		'section'=> 'visa_consulting_service_page_not_found',
		'type'=> 'text'
	));

	$wp_customize->add_setting('visa_consulting_service_no_search_result_text',array(
		'default'=> __('Sorry, but nothing matched your search terms. Please try again with some different keywords.','visa-consulting-service'),
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_no_search_result_text',array(
		'label'	=> __('No Search Results Text','visa-consulting-service'),
		'description'=>__('The search page text display when no results are found.','visa-consulting-service'),
		'section'=> 'visa_consulting_service_page_not_found',
		'type'=> 'text'
	));

	//Woocommerce Section
	$wp_customize->add_section( 'visa_consulting_service_woocommerce_section' , array(
    	'title'      => __( 'Woocommerce Settings', 'visa-consulting-service' ),
    	'description'=>__('The below settings are apply on woocommerce pages.','visa-consulting-service'),
		'priority'   => null,
		'panel' => 'visa_consulting_service_panel_id'
	) );

	$wp_customize->add_setting('visa_consulting_service_woocommerce_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_woocommerce_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_woocommerce_section'
	));

	/**
	 * Product Columns
	 */
	$wp_customize->add_setting( 'visa_consulting_service_per_columns' , array(
		'default'           => 4,
		'transport'         => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices',
	) );
	$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'visa_consulting_service_per_columns', array(
		'label'    => __( 'Product per columns', 'visa-consulting-service' ),
		'section'  => 'visa_consulting_service_woocommerce_section',
		'type'     => 'select',
		'choices'  => array(
			'2' => '2',
			'3' => '3',
			'4' => '4',
			'5' => '5',
		),
	) ) );

	$wp_customize->add_setting('visa_consulting_service_product_per_page',array(
		'default'	=> 12,
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_product_per_page',array(
		'label'	=> __('Product per page','visa-consulting-service'),
		'section'	=> 'visa_consulting_service_woocommerce_section',
		'type'		=> 'number'
	));

	$wp_customize->add_setting('visa_consulting_service_shop_sidebar_enable',array(
       'default' => false,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
    ));
    $wp_customize->add_control('visa_consulting_service_shop_sidebar_enable',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable shop page sidebar','visa-consulting-service'),
       'section' => 'visa_consulting_service_woocommerce_section',
    ));

   // shop page sidebar alignment
   $wp_customize->add_setting('visa_consulting_service_shop_page_layout', array(
		'default'           => 'Right Sidebar',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices',
	));
	$wp_customize->add_control('visa_consulting_service_shop_page_layout',array(
		'type'           => 'radio',
		'label'          => __('Shop Page Layout', 'visa-consulting-service'),
		'section'        => 'visa_consulting_service_woocommerce_section',
		'choices'        => array(
			'Left Sidebar'  => __('Left Sidebar', 'visa-consulting-service'),
			'Right Sidebar' => __('Right Sidebar', 'visa-consulting-service'),
		),
	));

	$wp_customize->add_setting('visa_consulting_service_product_page_sidebar_enable',array(
		'default' => false,
		'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	));
	$wp_customize->add_control('visa_consulting_service_product_page_sidebar_enable',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable single product page sidebar','visa-consulting-service'),
		'section' => 'visa_consulting_service_woocommerce_section',
	));

   // single product page sidebar alignment
   $wp_customize->add_setting('visa_consulting_service_single_product_page_layout', array(
		'default'           => 'Right Sidebar',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices',
	));
	$wp_customize->add_control('visa_consulting_service_single_product_page_layout',array(
		'type'           => 'radio',
		'label'          => __('Single Product Page Layout', 'visa-consulting-service'),
		'section'        => 'visa_consulting_service_woocommerce_section',
		'choices'        => array(
			'Left Sidebar'  => __('Left Sidebar', 'visa-consulting-service'),
			'Right Sidebar' => __('Right Sidebar', 'visa-consulting-service'),
		),
	));

    $wp_customize->add_setting('visa_consulting_service_related_product_enable',array(
       'default' => true,
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
    ));
    $wp_customize->add_control('visa_consulting_service_related_product_enable',array(
       'type' => 'checkbox',
       'label' => __('Enable / Disable Related product','visa-consulting-service'),
       'section' => 'visa_consulting_service_woocommerce_section',
    ));

    $wp_customize->add_setting( 'visa_consulting_service_woo_product_sale_border_radius',array(
		'default' => 3,
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_woo_product_sale_border_radius', array(
        'label'  => __('Woocommerce Product Sale Border Radius','visa-consulting-service'),
        'section'  => 'visa_consulting_service_woocommerce_section',
        'type'        => 'number',
        'input_attrs' => array(
        	'step'=> 1,
            'min' => 0,
            'max' => 50,
        )
    )));

    $wp_customize->add_setting('visa_consulting_service_wooproduct_sale_font_size',array(
		'default'=> 14,
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_wooproduct_sale_font_size',array(
		'label'	=> __('Woocommerce Product Sale Font Size','visa-consulting-service'),
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
		'section'=> 'visa_consulting_service_woocommerce_section',
	)));

    $wp_customize->add_setting('visa_consulting_service_woo_product_sale_top_bottom_padding',array(
		'default'=> 0,
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_woo_product_sale_top_bottom_padding',array(
		'label'	=> __('Woocommerce Product Sale Top Bottom Padding ','visa-consulting-service'),
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
		'section'=> 'visa_consulting_service_woocommerce_section',
		'type'=> 'number'
	)));

	$wp_customize->add_setting('visa_consulting_service_woo_product_sale_left_right_padding',array(
		'default'=> 0,
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_woo_product_sale_left_right_padding',array(
		'label'	=> __('Woocommerce Product Sale Left Right Padding','visa-consulting-service'),
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
		'section'=> 'visa_consulting_service_woocommerce_section',
		'type'=> 'number'
	)));

	$wp_customize->add_setting('visa_consulting_service_woo_product_sale_position',array(
        'default' => 'Left',
        'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_woo_product_sale_position',array(
        'type' => 'select',
        'label' => __('Woocommerce Product Sale Position','visa-consulting-service'),
        'section' => 'visa_consulting_service_woocommerce_section',
        'choices' => array(
            'Right' => __('Right','visa-consulting-service'),
            'Left' => __('Left','visa-consulting-service'),
        ),
	));

	$wp_customize->add_setting( 'visa_consulting_service_woocommerce_button_padding_top',array(
		'default' => 12,
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control( new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_woocommerce_button_padding_top',	array(
		'label' => esc_html__( 'Button Top Bottom Padding (px)','visa-consulting-service' ),
		'section' => 'visa_consulting_service_woocommerce_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'visa_consulting_service_woocommerce_button_padding_right',array(
		'default' => 15,
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control( new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_woocommerce_button_padding_right',	array(
		'label' => esc_html__( 'Button Right Left Padding (px)','visa-consulting-service' ),
		'section' => 'visa_consulting_service_woocommerce_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'visa_consulting_service_woocommerce_button_border_radius',array(
		'default' => 3,
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control( new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_woocommerce_button_border_radius',array(
		'label' => esc_html__( 'Button Border Radius (px)','visa-consulting-service' ),
		'section' => 'visa_consulting_service_woocommerce_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

   $wp_customize->add_setting('visa_consulting_service_woocommerce_product_border_enable',array(
      'default' => false,
      'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
   ));
   $wp_customize->add_control('visa_consulting_service_woocommerce_product_border_enable',array(
      'type' => 'checkbox',
      'label' => __('Enable / Disable product border','visa-consulting-service'),
      'section' => 'visa_consulting_service_woocommerce_section',
   ));

	$wp_customize->add_setting( 'visa_consulting_service_woocommerce_product_padding_top',array(
		'default' => 0,
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control( new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_woocommerce_product_padding_top',	array(
		'label' => esc_html__( 'Product Top Bottom Padding (px)','visa-consulting-service' ),
		'section' => 'visa_consulting_service_woocommerce_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'visa_consulting_service_woocommerce_product_padding_right',array(
		'default' => 0,
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control( new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_woocommerce_product_padding_right',	array(
		'label' => esc_html__( 'Product Right Left Padding (px)','visa-consulting-service' ),
		'section' => 'visa_consulting_service_woocommerce_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'visa_consulting_service_woocommerce_product_border_radius',array(
		'default' => 10,
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control( new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_woocommerce_product_border_radius',array(
		'label' => esc_html__( 'Product Border Radius (px)','visa-consulting-service' ),
		'section' => 'visa_consulting_service_woocommerce_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'visa_consulting_service_woocommerce_product_box_shadow',array(
		'default' => '',
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control( new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_woocommerce_product_box_shadow',array(
		'label' => esc_html__( 'Product Box Shadow (px)','visa-consulting-service' ),
		'section' => 'visa_consulting_service_woocommerce_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting('visa_consulting_service_wooproducts_nav',array(
       'default' => 'Yes',
       'sanitize_callback'	=> 'visa_consulting_service_sanitize_choices'
    ));
    $wp_customize->add_control('visa_consulting_service_wooproducts_nav',array(
       'type' => 'select',
       'label' => __('Shop Page Products Navigation','visa-consulting-service'),
       'choices' => array(
            'Yes' => __('Yes','visa-consulting-service'),
            'No' => __('No','visa-consulting-service'),
        ),
       'section' => 'visa_consulting_service_woocommerce_section',
    ));

	//footer text
	$wp_customize->add_section('visa_consulting_service_footer_section',array(
		'title'	=> __('Footer Text','visa-consulting-service'),
		'panel' => 'visa_consulting_service_panel_id'
	));

	$wp_customize->add_setting('visa_consulting_service_footer_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_footer_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_footer_section'
	));
	
	$wp_customize->add_setting('visa_consulting_service_footer_hide',array(
		'default' => true,
		'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	));
	$wp_customize->add_control('visa_consulting_service_footer_hide',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Footer','visa-consulting-service'),
		'section' => 'visa_consulting_service_footer_section',
	));	

  	$wp_customize->add_setting('visa_consulting_service_footer_template',array(
      'default'	=> esc_html('visa_consulting_service-footer-one'),
      'sanitize_callback'	=> 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_footer_template',array(
		'label'	=> esc_html__('Footer style','visa-consulting-service'),
		'section'	=> 'visa_consulting_service_footer_section',
		'setting'	=> 'visa_consulting_service_footer_template',
		'type' => 'select',
		'choices' => array(
          'visa_consulting_service-footer-one' => esc_html__('Style 1', 'visa-consulting-service'),
          'visa_consulting_service-footer-two' => esc_html__('Style 2', 'visa-consulting-service'),
          'visa_consulting_service-footer-three' => esc_html__('Style 3', 'visa-consulting-service'),
          'visa_consulting_service-footer-four' => esc_html__('Style 4', 'visa-consulting-service'),
          'visa_consulting_service-footer-five' => esc_html__('Style 5', 'visa-consulting-service'),
          )
	));		

	$wp_customize->add_setting('visa_consulting_service_footer_bg_color', array(
		'default'           => '#1D3041',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_footer_bg_color', array(
		'label'    => __('Footer Background Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_footer_section',
	)));

	$wp_customize->add_setting('visa_consulting_service_footer_bg_image',array(
		'default'	=> '',
		'sanitize_callback'	=> 'esc_url_raw',
	));
	$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize,'visa_consulting_service_footer_bg_image',array(
		'label' => __('Footer Background Image','visa-consulting-service'),
		'section' => 'visa_consulting_service_footer_section'
	)));
	
	$wp_customize->add_setting('visa_consulting_service_footer_attatchment',array(
		'default'=> 'scroll',
		'sanitize_callback'	=> 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_footer_attatchment',array(
		'type' => 'select',
		'label'	=> __('Footer Background Attatchment','visa-consulting-service'),
		'choices' => array(
            'fixed' => __('fixed','visa-consulting-service'),
            'scroll' => __('scroll','visa-consulting-service'),
        ),
		'section'=> 'visa_consulting_service_footer_section',
	));

	$wp_customize->add_setting('visa_consulting_service_footer_img_position',array(
		'default' => 'center center',
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	  ));
	  $wp_customize->add_control('visa_consulting_service_footer_img_position',array(
		  'type' => 'select',
		  'label' => __('Footer Image Position','visa-consulting-service'),
		  'section' => 'visa_consulting_service_footer_section',
		  'choices' 	=> array(
			  'left top' 		=> esc_html__( 'Top Left', 'visa-consulting-service' ),
			  'center top'   => esc_html__( 'Top', 'visa-consulting-service' ),
			  'right top'   => esc_html__( 'Top Right', 'visa-consulting-service' ),
			  'left center'   => esc_html__( 'Left', 'visa-consulting-service' ),
			  'center center'   => esc_html__( 'Center', 'visa-consulting-service' ),
			  'right center'   => esc_html__( 'Right', 'visa-consulting-service' ),
			  'left bottom'   => esc_html__( 'Bottom Left', 'visa-consulting-service' ),
			  'center bottom'   => esc_html__( 'Bottom', 'visa-consulting-service' ),
			  'right bottom'   => esc_html__( 'Bottom Right', 'visa-consulting-service' ),
		  ),
	  ));		

	$wp_customize->add_setting('visa_consulting_service_footer_widget_areas',array(
		'default'           => 4,
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices',
	));
	$wp_customize->add_control('visa_consulting_service_footer_widget_areas',array(
		'type'        => 'radio',
		'label'       => __('Footer widget area', 'visa-consulting-service'),
		'section'     => 'visa_consulting_service_footer_section',
		'description' => __('Select the number of widget areas you want in the footer. After that, go to Appearance > Widgets and add your widgets.', 'visa-consulting-service'),
		'choices' => array(
		   '1'     => __('One', 'visa-consulting-service'),
		   '2'     => __('Two', 'visa-consulting-service'),
		   '3'     => __('Three', 'visa-consulting-service'),
		   '4'     => __('Four', 'visa-consulting-service')
		),
	));

	$wp_customize->add_setting('visa_consulting_service_footer_heading',array(
	    'default' => 'Left',
	    'transport' => 'refresh',
	    'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_footer_heading',array(
	    'type' => 'select',
	    'label' => __('Footer Heading Alignment','visa-consulting-service'),
	    'section' => 'visa_consulting_service_footer_section',
	    'choices' => array(
	    	'Left' => __('Left','visa-consulting-service'),
	        'Center' => __('Center','visa-consulting-service'),
	        'Right' => __('Right','visa-consulting-service')
	    ),
	) );

	$wp_customize->add_setting('visa_consulting_service_footer_heading_font_weight',array(
		'default' => '',
		'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
 	));
 	$wp_customize->add_control('visa_consulting_service_footer_heading_font_weight',array(
		'type' => 'select',
		'label' => __('Footer Heading Font Weight','visa-consulting-service'),
		'section' => 'visa_consulting_service_footer_section',
		'choices' => array(
			'100' => __('100','visa-consulting-service'),
			'200' => __('200','visa-consulting-service'),
			'300' => __('300','visa-consulting-service'),
			'400' => __('400','visa-consulting-service'),
			'500' => __('500','visa-consulting-service'),
			'600' => __('600','visa-consulting-service'),
			'700' => __('700','visa-consulting-service'),
			'800' => __('800','visa-consulting-service'),
			'900' => __('900','visa-consulting-service'),
		),
	) );

	$wp_customize->add_setting('visa_consulting_service_footer_heading_letter_spacing',array(
		'default'=> 1,
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_footer_heading_letter_spacing',array(
		'label'	=> __('Footer Heading Letter Spacing','visa-consulting-service'),
  		'type'        => 'number',
		'input_attrs' => array(
			'step'             => 1,
			'min'              => 1,
			'max'              => 50,
	),
		'section'=> 'visa_consulting_service_footer_section',
	));		

	$wp_customize->add_setting('visa_consulting_service_footer_content',array(
	    'default' => 'Left',
	    'transport' => 'refresh',
	    'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_footer_content',array(
	    'type' => 'select',
	    'label' => __('Footer Content Alignment','visa-consulting-service'),
	    'section' => 'visa_consulting_service_footer_section',
	    'choices' => array(
	    	'Left' => __('Left','visa-consulting-service'),
	        'Center' => __('Center','visa-consulting-service'),
	        'Right' => __('Right','visa-consulting-service')
	    ),
	) );

	$wp_customize->add_setting('visa_consulting_service_footer_heading_font_size',array(
		'default'=> 25,
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_footer_heading_font_size',array(
		'label' => esc_html__( 'Footer Heading Font Size','visa-consulting-service' ),
		'section'=> 'visa_consulting_service_footer_section',
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
	)));

	$wp_customize->add_setting('visa_consulting_service_footer_padding',array(
		'default'=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize,'visa_consulting_service_footer_padding',array(
		'label'	=> __('Footer Widget Padding','visa-consulting-service'),
		'section'=> 'visa_consulting_service_footer_section',
		'input_attrs' => array(
         'step' => 1,
			'min'  => 0,
			'max'  => 100,
      ),
	)));

	$wp_customize->add_setting('visa_consulting_service_hide_show_scroll',array(
		'default' => true,
		'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	));
	$wp_customize->add_control('visa_consulting_service_hide_show_scroll',array(
     	'type' => 'checkbox',
      	'label' => __('Enable / Disable Back To Top','visa-consulting-service'),
      	'section' => 'visa_consulting_service_footer_section',
	));

	$wp_customize->add_setting('visa_consulting_service_back_to_top_icon',array(
		'default'	=> 'fas fa-long-arrow-alt-up',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
        $wp_customize,'visa_consulting_service_back_to_top_icon',array(
		'label'	=> __('Back to Top Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_footer_section',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('visa_consulting_service_scroll_icon_font_size',array(
		'default'=> 22,
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_scroll_icon_font_size',array(
		'label'	=> __('Back To Top Icon Font Size','visa-consulting-service'),
		'section'=> 'visa_consulting_service_footer_section',
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
	)));

	$wp_customize->add_setting('visa_consulting_service_scroll_icon_color', array(
		'default'           => '#fff',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_scroll_icon_color', array(
		'label'    => __('Back to Top Icon Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_footer_section',
	)));

	$wp_customize->add_setting('visa_consulting_service_scroll_icon_hover_color', array(
		'default'           => '#fff',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_scroll_icon_hover_color', array(
		'label'    => __('Back to Top Icon Hover Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_footer_section',
	)));

	$wp_customize->add_setting('visa_consulting_service_scroll_icon_background', array(
		'default'           => '#1D3041',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_scroll_icon_background', array(
		'label'    => __('Back to Top Background Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_footer_section',
	)));

	$wp_customize->add_setting('visa_consulting_service_scroll_icon_background_hover', array(
		'default'           => '#1D3041',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_scroll_icon_background_hover', array(
		'label'    => __('Back to Top Background Hover Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_footer_section',
	)));

	$wp_customize->add_setting('visa_consulting_service_footer_options',array(
        'default' => 'Right align',
        'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_footer_options',array(
        'type' => 'radio',
        'label' => __('Back To Top Alignment','visa-consulting-service'),
        'section' => 'visa_consulting_service_footer_section',
        'choices' => array(
            'Left align' => __('Left Align','visa-consulting-service'),
            'Right align' => __('Right Align','visa-consulting-service'),
            'Center align' => __('Center Align','visa-consulting-service'),
        ),
	) );

	$wp_customize->add_setting( 'visa_consulting_service_top_bottom_scroll_padding',array(
		'default' => 7,
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control( new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_top_bottom_scroll_padding',	array(
		'label' => esc_html__( 'Top Bottom Scroll Padding (px)','visa-consulting-service' ),
		'section' => 'visa_consulting_service_footer_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'visa_consulting_service_left_right_scroll_padding',array(
		'default' => 17,
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control( new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_left_right_scroll_padding',	array(
		'label' => esc_html__( 'Left Right Scroll Padding (px)','visa-consulting-service' ),
		'section' => 'visa_consulting_service_footer_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting( 'visa_consulting_service_back_to_top_border_radius',array(
		'default' => 5,
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control( new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_back_to_top_border_radius', array(
		'label' => esc_html__( 'Back to Top Border Radius (px)','visa-consulting-service' ),
		'section' => 'visa_consulting_service_footer_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting('visa_consulting_service_copyright_hide',array(
		'default' => true,
		'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	));
	$wp_customize->add_control('visa_consulting_service_copyright_hide',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Copyright','visa-consulting-service'),
		'section' => 'visa_consulting_service_footer_section',
	));	

	$wp_customize->add_setting('visa_consulting_service_footer_copy',array(
		'default'	=> '',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_footer_copy',array(
		'label'	=> __('Copyright Text','visa-consulting-service'),
		'section'	=> 'visa_consulting_service_footer_section',
		'description'	=> __('Add some text for footer like copyright etc.','visa-consulting-service'),
		'type'		=> 'text'
	));

	$wp_customize->add_setting('visa_consulting_service_footer_text_align',array(
        'default' => 'center',
        'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_footer_text_align',array(
        'type' => 'radio',
        'label' => __('Copyright Text Alignment ','visa-consulting-service'),
        'section' => 'visa_consulting_service_footer_section',
        'choices' => array(
            'left' => __('Left Align','visa-consulting-service'),
            'right' => __('Right Align','visa-consulting-service'),
            'center' => __('Center Align','visa-consulting-service'),
        ),
	) );

	$wp_customize->add_setting('visa_consulting_service_copyright_text_font_size',array(
		'default'=> 15,
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_copyright_text_font_size',array(
		'label' => esc_html__( 'Copyright Font Size (px)','visa-consulting-service' ),
		'section'=> 'visa_consulting_service_footer_section',
		'input_attrs' => array(
            'step'             => 1,
			'min'              => 0,
			'max'              => 50,
        ),
	)));

	$wp_customize->add_setting( 'visa_consulting_service_footer_text_padding',array(
		'default' => 20,
		'transport' => 'refresh',
		'sanitize_callback' => 'visa_consulting_service_sanitize_integer'
	));
	$wp_customize->add_control( new Visa_Consulting_Service_Custom_Control( $wp_customize, 'visa_consulting_service_footer_text_padding',	array(
		'label' => esc_html__( 'Copyright Text Padding (px)','visa-consulting-service' ),
		'section' => 'visa_consulting_service_footer_section',
		'input_attrs' => array(
			'min' => 0,
			'max' => 50,
			'step' => 1,
		),
	)));

	$wp_customize->add_setting('visa_consulting_service_copyright_text_color', array(
		'default'           => '#000000ff',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_copyright_text_color', array(
		'label'    => __('Copyright Text Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_footer_section',
	)));

	$wp_customize->add_setting('visa_consulting_service_copyright_text_hover_color', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_copyright_text_hover_color', array(
		'label'    => __('Copyright Text Hover Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_footer_section',
	)));	

	$wp_customize->add_setting('visa_consulting_service_copyright_text_background', array(
		'default'           => '#F5F2FD',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_copyright_text_background', array(
		'label'    => __('Copyright background Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_footer_section',
	)));

	// Sticky Copyright Setting
	$wp_customize->add_setting('visa_consulting_service_copyright_sticky', array(
		'default'           => false,
		'sanitize_callback' => 'absint',
	));

	$wp_customize->add_control('visa_consulting_service_copyright_sticky', array(
		'type'    => 'checkbox',
		'label'   => __('Enable/Disable Sticky Footer Copyright', 'visa-consulting-service'),
		'section' => 'visa_consulting_service_footer_section',
	));

	//Footer Social Icons
	$wp_customize->add_section('visa_consulting_service_footer_social_icons',array(
		'title'	=> __('Footer Social Icons','visa-consulting-service'),
		'priority'	=> null,
		'panel' => 'visa_consulting_service_panel_id',
	));

	$wp_customize->add_setting('visa_consulting_service_footer_social_icons_premium_info',array(
		'sanitize_callback' => 'sanitize_text_field'
	));
	$wp_customize->add_control('visa_consulting_service_footer_social_icons_premium_info',array(
		'type'=> 'hidden',
		'label' => __('Premium Features','visa-consulting-service'),
		'description' => "<ul><li>". esc_html__('Please explore our premium theme for additional settings and features.','visa-consulting-service') ."</li><li>". esc_html__('And so on...','visa-consulting-service') ."</li></ul><a target='_blank' href='". esc_url(VISA_CONSULTING_SERVICE_BUY_PRO) ." '>". esc_html__('Upgrade to Pro','visa-consulting-service') ."</a>",
		'section'=> 'visa_consulting_service_footer_social_icons'
	));

	$wp_customize->add_setting('visa_consulting_service_footer_social_hide',array(
		'default' => false,
		'sanitize_callback'	=> 'visa_consulting_service_sanitize_checkbox'
	));
	$wp_customize->add_control('visa_consulting_service_footer_social_hide',array(
		'type' => 'checkbox',
		'label' => __('Enable / Disable Footer Icons','visa-consulting-service'),
		'section' => 'visa_consulting_service_footer_social_icons',
	));	

	$wp_customize->add_setting('visa_consulting_service_footer_facebook_url',array(
		'default' => '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('visa_consulting_service_footer_facebook_url',array(
		'type' => 'url',
		'label' => __('Add Facebook URL','visa-consulting-service'),
		'section' => 'visa_consulting_service_footer_social_icons',
	));

	$wp_customize->add_setting('visa_consulting_service_footer_facebook_icon',array(
		'default'	=> 'fab fa-facebook-f',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
        $wp_customize,'visa_consulting_service_footer_facebook_icon',array(
		'label'	=> __('Choose Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_footer_social_icons',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('visa_consulting_service_footer_instagram_url',array(
		'default' => '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('visa_consulting_service_footer_instagram_url',array(
		'type' => 'url',
		'label' => __('Add Instagram URL','visa-consulting-service'),
		'section' => 'visa_consulting_service_footer_social_icons',
	));

	$wp_customize->add_setting('visa_consulting_service_footer_instagram_icon',array(
		'default'	=> 'fab fa-instagram',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
        $wp_customize,'visa_consulting_service_footer_instagram_icon',array(
		'label'	=> __('Choose Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_footer_social_icons',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('visa_consulting_service_footer_twitter_url',array(
		'default' => '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('visa_consulting_service_footer_twitter_url',array(
		'type' => 'url',
		'label' => __('Add Twitter URL','visa-consulting-service'),
		'section' => 'visa_consulting_service_footer_social_icons',
	));

	$wp_customize->add_setting('visa_consulting_service_footer_twitter_icon',array(
		'default'	=> 'fab fa-twitter',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
        $wp_customize,'visa_consulting_service_footer_twitter_icon',array(
		'label'	=> __('Choose Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_footer_social_icons',
		'type'		=> 'icon'
	)));

	$wp_customize->add_setting('visa_consulting_service_footer_linkedin_url',array(
		'default' => '',
		'sanitize_callback'	=> 'esc_url_raw'
	));
	$wp_customize->add_control('visa_consulting_service_footer_linkedin_url',array(
		'type' => 'url',
		'label' => __('Add LinkedIn URL','visa-consulting-service'),
		'section' => 'visa_consulting_service_footer_social_icons',
	));

	$wp_customize->add_setting('visa_consulting_service_footer_linkedin_icon',array(
		'default'	=> 'fa-brands fa-linkedin-in',
		'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control(new Visa_Consulting_Service_Icon_Changer(
        $wp_customize,'visa_consulting_service_footer_linkedin_icon',array(
		'label'	=> __('Choose Icon','visa-consulting-service'),
		'transport' => 'refresh',
		'section'	=> 'visa_consulting_service_footer_social_icons',
		'type'		=> 'icon'
	)));	

	$wp_customize->add_setting('visa_consulting_service_footer_social_icons_size', array(
		'default'           => '',
		'sanitize_callback' => 'sanitize_text_field',
	));
	$wp_customize->add_control('visa_consulting_service_footer_social_icons_size', array(
		'label'   => __('Icon Font Size', 'visa-consulting-service'),
		'section' => 'visa_consulting_service_footer_social_icons',
		'setting' => 'visa_consulting_service_footer_social_icons_size',
		'type'    => 'text',
	));

	$wp_customize->add_setting('visa_consulting_service_footer_icon_alignment',array(
        'default' => 'center',
        'sanitize_callback' => 'visa_consulting_service_sanitize_choices'
	));
	$wp_customize->add_control('visa_consulting_service_footer_icon_alignment',array(
        'type' => 'radio',
        'label' => __('Icon Alignment ','visa-consulting-service'),
        'section' => 'visa_consulting_service_footer_social_icons',
        'choices' => array(
            'left' => __('Left Align','visa-consulting-service'),
            'right' => __('Right Align','visa-consulting-service'),
            'center' => __('Center Align','visa-consulting-service'),
        ),
	) );	

	$wp_customize->add_setting('visa_consulting_service_footer_icon_color_option', array(
		'default'           => '#fff',
		'sanitize_callback' => 'sanitize_hex_color',
	));
	$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'visa_consulting_service_footer_icon_color_option', array(
		'label'    => __('Icon Color', 'visa-consulting-service'),
		'section'  => 'visa_consulting_service_footer_social_icons',
	)));
}
add_action( 'customize_register', 'visa_consulting_service_customize_register' );

/**
 * Singleton class for handling the theme's customizer integration.
 *
 * @since  1.0.0
 * @access public
 */
final class Visa_Consulting_Service_Customize {

	/**
	 * Returns the instance.
	 *
	 * @since  1.0.0
	 * @access public
	 * @return object
	 */
	public static function get_instance() {

		static $instance = null;

		if ( is_null( $instance ) ) {
			$instance = new self;
			$instance->setup_actions();
		}

		return $instance;
	}

	/**
	 * Constructor method.
	 *
	 * @since  1.0.0
	 * @access private
	 * @return void
	 */
	private function __construct() {}

	/**
	 * Sets up initial actions.
	 *
	 * @since  1.0.0
	 * @access private
	 * @return void
	 */
	private function setup_actions() {

		// Register panels, sections, settings, controls, and partials.
		add_action( 'customize_register', array( $this, 'sections' ) );

		// Register scripts and styles for the controls.
		add_action( 'customize_controls_enqueue_scripts', array( $this, 'enqueue_control_scripts' ), 0 );
	}

	/**
	 * Sets up the customizer sections.
	 *
	 * @since  1.0.0
	 * @access public
	 * @param  object  $manager
	 * @return void
	 */
	public function sections( $manager ) {

		// Load custom sections.
		load_template( trailingslashit( get_template_directory() ) . '/inc/section-pro.php' );

		// Register custom section types.
		$manager->register_section_type( 'Visa_Consulting_Service_Customize_Section_Pro' );

		// Register sections.
		$manager->add_section(
			new Visa_Consulting_Service_Customize_Section_Pro(
				$manager,
				'visa_consulting_service_example_1',
				array(
					'title'   =>  esc_html__( 'Visa Consulting Service Pro', 'visa-consulting-service' ),
					'pro_text' => esc_html__( 'Get Pro', 'visa-consulting-service' ),
					'pro_url'  => esc_url( 'https://www.buywptemplates.com/products/immigration-wordpress-theme' ),
					'priority'   => 9
				)
			)
		);
	}

	/**
	 * Loads theme customizer CSS.
	 *
	 * @since  1.0.0
	 * @access public
	 * @return void
	 */
	public function enqueue_control_scripts() {

		wp_enqueue_script( 'visa-consulting-service-customize-controls', trailingslashit( esc_url(get_template_directory_uri()) ) . '/js/customize-controls.js', array( 'customize-controls' ) );

		wp_enqueue_style( 'visa-consulting-service-customize-controls', trailingslashit( esc_url(get_template_directory_uri()) ) . '/css/customize-controls.css' );
	}

	function visa_consulting_service_sanitize_choices( $input ) {
		$valid = array(
			'1'     => __('One', 'visa-consulting-service'),
			'2'     => __('Two', 'visa-consulting-service'),
			'3'     => __('Three', 'visa-consulting-service'),
			'4'     => __('Four', 'visa-consulting-service')
		);
		if ( array_key_exists( $input, $valid ) ) {
			return $input;
		} else {
	  		return '';
		}
	}

}

// Doing this customizer thang!
Visa_Consulting_Service_Customize::get_instance();