<?php
/**
 * elite-security-guard Theme Customizer.
 *
 * @package elite-security-guard
 */

/**
 * Add postMessage support for site title and description for the Theme Customizer.
 *
 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
 */
function elite_security_guard_customize_register( $wp_customize ) {
	$wp_customize->get_setting( 'blogname' )->transport         = 'postMessage';
	$wp_customize->get_setting( 'blogdescription' )->transport  = 'postMessage';
	$wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';
	$wp_customize->get_setting( 'background_color' )->transport = 'postMessage';
	$wp_customize->get_setting('custom_logo')->transport = 'refresh';	
}
add_action( 'customize_register', 'elite_security_guard_customize_register' );

if ( ! defined( 'ELITE_SECURITY_GUARD_BUY_NOW_1' ) ) {
define('ELITE_SECURITY_GUARD_BUY_NOW_1',__('https://www.mishkatwp.com/themes/bodyguard-wordpress-theme/','elite-security-guard'));
}

if ( ! defined( 'ELITE_SECURITY_GUARD_BUNDLE_1' ) ) {
define('ELITE_SECURITY_GUARD_BUNDLE_1',__('https://www.mishkatwp.com/themes/WordPress-theme-bundle/','elite-security-guard'));
}


if ( class_exists("Kirki")){

	/* Logo */

	/* Logo Size limit Option End */
	new \Kirki\Field\Slider(
		[
			'settings'    => 'elite_security_guard_logo_resizer_setting',
			'label'       => esc_html__( 'Logo Size Limit', 'elite-security-guard' ),
			'section'     => 'title_tagline',
			'default'     => 70,
			'choices'     => [
				'min'  => 10,
				'max'  => 300,
				'step' => 10,
			],
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_site_title_setting',
			'label'       => esc_html__( 'Site Title On / Off', 'elite-security-guard' ),
			'section'     => 'title_tagline',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_tagline_setting',
			'label'       => esc_html__( 'Tagline On / Off', 'elite-security-guard' ),
			'section'     => 'title_tagline',
			'default'     => 'off',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'priority'    => 100,
        'section'     => 'title_tagline',
    ] );

	/* Logo End */

	/* Responsive End */

/* General Options */

	new \Kirki\Section(
		'elite_security_guard_general_options_section',
		[
			'title'       => esc_html__( 'General Options', 'elite-security-guard' ),
			'priority'    => 30,
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_preloader_setting',
			'label'       => esc_html__( 'Preloader On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_general_options_section',
			'default'     => 'off',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	new \Kirki\Field\Select(
	[
		'settings'    => 'elite_security_guard_preloader_type',
		'label'       => esc_html__( 'Preloader Type', 'elite-security-guard' ),
		'section'     => 'elite_security_guard_general_options_section',
		'default'     => 'load',
		'placeholder' => esc_html__( 'Choose an option', 'elite-security-guard' ),
		'choices'     => [
			'load' => esc_html__( 'Load', 'elite-security-guard' ),
			'time' => esc_html__( 'Time', 'elite-security-guard' ),
		],
	] );

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_scroll_to_top_setting',
			'label'       => esc_html__( 'Scroll To Top On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_general_options_section',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	new \Kirki\Field\Select(
	[
		'settings'    => 'elite_security_guard_scroll_to_top_type',
		'label'       => esc_html__( 'Scroll To Top Type', 'elite-security-guard' ),
		'section'     => 'elite_security_guard_general_options_section',
		'default' => 'advance-scroll',
		'placeholder' => esc_html__( 'Choose an option', 'elite-security-guard' ),
		'choices'     => [
			'advance-scroll' => __('Type 1','elite-security-guard'),
            'simple-scroll' => __('Type 2','elite-security-guard'),
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'elite_security_guard_scroll_top_alignment',
		'label'       => esc_html__( 'Scroll Top Alignment', 'elite-security-guard' ),
		'section'     => 'elite_security_guard_general_options_section',
		'default'     => 'Right',
		'choices'     => [
			'Left' => esc_html__( 'Left Align', 'elite-security-guard' ),
			'Center' => esc_html__( 'Center Align', 'elite-security-guard' ),
			'Right' => esc_html__( 'Right Align', 'elite-security-guard' ),
		],
	]
);

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'elite_security_guard_container_width',
		'label'       => esc_html__( 'Theme Container Width', 'elite-security-guard' ),
		'section'     => 'elite_security_guard_general_options_section',
		'default'     => 100,
		'choices'     => [
			'min'  => 50,
			'max'  => 100,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_general_options_section',
    ] );


	/* General Options End */

    /* Woocommerce Section */

	new \Kirki\Section(
		'elite_security_guard_theme_product_sidebar',
		[
			'title'       => esc_html__( 'Woocommerce Sidebars', 'elite-security-guard' ),
			'description' => esc_html__( 'Here you can change woocommerce sidebar', 'elite-security-guard' ),
			'panel' =>'woocommerce',
			'priority'    => 30,
		]
	);

	new \Kirki\Field\Select(
		[
			'settings'    => 'elite_security_guard_product_sidebar_position',
			'label'       => esc_html__( 'Sidebar Option', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_theme_product_sidebar',
			'default'     => 'right',
			'choices'     => [
				'left' => esc_html__( 'Left Sidebar', 'elite-security-guard' ),
				'right' => esc_html__( 'Right Sidebar', 'elite-security-guard' ),
				'none' => esc_html__( 'No Sidebar', 'elite-security-guard' ),
			],
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'priority'    => 100,
        'section'     => 'elite_security_guard_theme_product_sidebar',
    ] );

    /* Woocommerce Section End */


	// PANEL
	Kirki::add_panel( 'elite_security_guard_panel_id_5', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Animations', 'elite-security-guard' ),
	) );

	// ANIMATION SECTION
	Kirki::add_section( 'elite_security_guard_section_animation', array(
	    'title'          => esc_html__( 'Animations', 'elite-security-guard' ),
	    'priority'       => 2,
	) );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'elite_security_guard_animation_enabled',
		'label'       => esc_html__( 'Turn To Show Animation', 'elite-security-guard' ),
		'section'     => 'elite_security_guard_section_animation',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
			'off' => esc_html__( 'Disable', 'elite-security-guard' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'priority'    => 100,
        'section'     => 'elite_security_guard_section_animation',
    ] );



    //Home page Setting Panel
	new \Kirki\Panel(
		'elite_security_guard_home_page_section',
		[
			'priority'    => 10,
			'title'       => esc_html__( 'Home Page Sections', 'elite-security-guard' ),
		]
	);

	/*Header */

	new \Kirki\Section(
		'elite_security_guard_header_section',
		[
			'title'       => esc_html__( 'Header', 'elite-security-guard' ),
			'description' => esc_html__( 'Here you can add contact information.', 'elite-security-guard' ),
			'panel'		  => 'elite_security_guard_home_page_section',
			'priority'    => 30,
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_top_header_display_setting',
			'label'       => esc_html__( 'Header On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_header_section',
			'default'     => 'off',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_sticky_header_setting',
			'label'       => esc_html__( 'Show Hide Sticky Header', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_header_section',
			'default'     => 'off',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'elite_security_guard_header_phone_number_feild',
			'label'    => esc_html__( 'Add Phone Number', 'elite-security-guard' ),
			'section'  => 'elite_security_guard_header_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'elite_security_guard_header_email_address_feild',
			'label'    => esc_html__( 'Add Email Address', 'elite-security-guard' ),
			'section'  => 'elite_security_guard_header_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'elite_security_guard_header_address_feild',
			'label'    => esc_html__( 'Add Address', 'elite-security-guard' ),
			'section'  => 'elite_security_guard_header_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_header_section',
    ] );

	/* Header End */

	/* Social Media */

	new \Kirki\Section(
		'elite_security_guard_header_social_media_section',
		[
			'title'       => esc_html__( 'Social Media', 'elite-security-guard' ),
			'description' => esc_html__( 'Here you can add social media links.', 'elite-security-guard' ),
			'panel'		  => 'elite_security_guard_home_page_section',
			'priority'    => 30,
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_header_social_icon_display_setting',
			'label'       => esc_html__( 'Socail Icon On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_header_social_media_section',
			'default'     => 'off',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	new \Kirki\Field\Dashicons(
		[
			'settings'    => 'elite_security_guard_header_social_icon_1_feild',
			'label'       => esc_html__( 'Social Icon 1', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_header_social_media_section',
			'default'     => '',
			'priority' => 10,
			'choices'     => [
				'facebook-alt' => 'facebook-alt',
				'instagram' => 'instagram',
				'pinterest' => 'pinterest',
				'linkedin' => 'linkedin',
				'youtube' => 'youtube',
				'twitter' => 'twitter',
				'whatsapp' => 'whatsapp',
				'rss' => 'rss',
			],
		]
	);

	new \Kirki\Field\URL(
		[
			'settings' => 'elite_security_guard_header_social_link_1_feild',
			'label'    => esc_html__( 'Social Link 1', 'elite-security-guard' ),
			'section'  => 'elite_security_guard_header_social_media_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	new \Kirki\Field\Dashicons(
		[
			'settings'    => 'elite_security_guard_header_social_icon_2_feild',
			'label'       => esc_html__( 'Social Icon 1', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_header_social_media_section',
			'default'     => '',
			'priority' => 10,
			'choices'     => [
				'facebook-alt' => 'facebook-alt',
				'instagram' => 'instagram',
				'pinterest' => 'pinterest',
				'linkedin' => 'linkedin',
				'youtube' => 'youtube',
				'twitter' => 'twitter',
				'whatsapp' => 'whatsapp',
				'rss' => 'rss',
			],
		]
	);

	new \Kirki\Field\URL(
		[
			'settings' => 'elite_security_guard_header_social_link_2_feild',
			'label'    => esc_html__( 'Social Link 2', 'elite-security-guard' ),
			'section'  => 'elite_security_guard_header_social_media_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	new \Kirki\Field\Dashicons(
		[
			'settings'    => 'elite_security_guard_header_social_icon_3_feild',
			'label'       => esc_html__( 'Social Icon 3', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_header_social_media_section',
			'default'     => '',
			'priority' => 10,
			'choices'     => [
				'facebook-alt' => 'facebook-alt',
				'instagram' => 'instagram',
				'pinterest' => 'pinterest',
				'linkedin' => 'linkedin',
				'youtube' => 'youtube',
				'twitter' => 'twitter',
				'whatsapp' => 'whatsapp',
				'rss' => 'rss',
			],
		]
	);

	new \Kirki\Field\URL(
		[
			'settings' => 'elite_security_guard_header_social_link_3_feild',
			'label'    => esc_html__( 'Social Link 3', 'elite-security-guard' ),
			'section'  => 'elite_security_guard_header_social_media_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	new \Kirki\Field\Dashicons(
		[
			'settings'    => 'elite_security_guard_header_social_icon_4_feild',
			'label'       => esc_html__( 'Social Icon 4', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_header_social_media_section',
			'default'     => '',
			'priority' => 10,
			'choices'     => [
				'facebook-alt' => 'facebook-alt',
				'instagram' => 'instagram',
				'pinterest' => 'pinterest',
				'linkedin' => 'linkedin',
				'youtube' => 'youtube',
				'twitter' => 'twitter',
				'whatsapp' => 'whatsapp',
				'rss' => 'rss',
			],
		]
	);

	new \Kirki\Field\URL(
		[
			'settings' => 'elite_security_guard_header_social_link_4_feild',
			'label'    => esc_html__( 'Social Link 4', 'elite-security-guard' ),
			'section'  => 'elite_security_guard_header_social_media_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	new \Kirki\Field\Dashicons(
		[
			'settings'    => 'elite_security_guard_header_social_icon_5_feild',
			'label'       => esc_html__( 'Social Icon 5', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_header_social_media_section',
			'default'     => '',
			'priority' => 10,
			'choices'     => [
				'facebook-alt' => 'facebook-alt',
				'instagram' => 'instagram',
				'pinterest' => 'pinterest',
				'linkedin' => 'linkedin',
				'youtube' => 'youtube',
				'twitter' => 'twitter',
				'whatsapp' => 'whatsapp',
				'rss' => 'rss',
			],
		]
	);

	new \Kirki\Field\URL(
		[
			'settings' => 'elite_security_guard_header_social_link_5_feild',
			'label'    => esc_html__( 'Social Link 5', 'elite-security-guard' ),
			'section'  => 'elite_security_guard_header_social_media_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_header_social_media_section',
    ] );

	/* Social Media End */

	/* Header Button */

	new \Kirki\Section(
		'elite_security_guard_header_button_section',
		[
			'title'       => esc_html__( 'Header Button', 'elite-security-guard' ),
			'description' => esc_html__( 'Here you can add header button text and link.', 'elite-security-guard' ),
			'panel'		  => 'elite_security_guard_home_page_section',
			'priority'    => 30,
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'elite_security_guard_header_btn_text',
			'label'    => esc_html__( 'Button Text', 'elite-security-guard' ),
			'section'  => 'elite_security_guard_header_button_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	new \Kirki\Field\URL(
		[
			'settings' => 'elite_security_guard_header_btn_link',
			'label'    => esc_html__( 'Button Link', 'elite-security-guard' ),
			'section'  => 'elite_security_guard_header_button_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_header_button_section',
    ] );

	/* Header Button End */

	/* Home Slider */

	new \Kirki\Section(
		'elite_security_guard_home_slider_section',
		[
			'title'       => esc_html__( 'Home Slider', 'elite-security-guard' ),
			'description' => esc_html__( 'Here you can add slider image, title and text.', 'elite-security-guard' ),
			'panel'		  => 'elite_security_guard_home_page_section',
			'priority'    => 30,
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_slide_on_off',
			'label'       => esc_html__( 'Slider On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_home_slider_section',
			'default'     => 'off',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	new \Kirki\Field\Number(
		[
			'settings' => 'elite_security_guard_slide_count',
			'label'    => esc_html__( 'Slider Number Control', 'elite-security-guard' ),
			'section'  => 'elite_security_guard_home_slider_section',
			'default'  => '',
			'choices'  => [
				'min'  => 1,
				'max'  => 2,
				'step' => 1,
			],
		]
	);

	$slide_count = get_theme_mod('elite_security_guard_slide_count');

	for ($i=1; $i <= $slide_count; $i++) { 
		
		new \Kirki\Field\Image(
			[
				'settings'    => 'elite_security_guard_slider_image'.$i,
				'label'       => esc_html__( 'Slider Image 0', 'elite-security-guard' ).$i,
				'section'     => 'elite_security_guard_home_slider_section',
				'default'     => '',
			]
		);

		new \Kirki\Field\Text(
			[
				'settings' => 'elite_security_guard_slider_short_heading'.$i,
				'label'    => esc_html__( 'Short Heading 0', 'elite-security-guard' ).$i,
				'section'  => 'elite_security_guard_home_slider_section',
			]
		);

		new \Kirki\Field\Text(
			[
				'settings' => 'elite_security_guard_slider_heading'.$i,
				'label'    => esc_html__( 'Main Heading 0', 'elite-security-guard' ).$i,
				'section'  => 'elite_security_guard_home_slider_section',
			]
		);

		new \Kirki\Field\Text(
			[
				'settings' => 'elite_security_guard_slider_text'.$i,
				'label'    => esc_html__( 'Text 0', 'elite-security-guard' ).$i,
				'section'  => 'elite_security_guard_home_slider_section',
			]
		);

		new \Kirki\Field\Text(
			[
				'settings' => 'elite_security_guard_slider_button_text'.$i,
				'label'    => esc_html__( 'Button Text 0', 'elite-security-guard' ).$i,
				'section'  => 'elite_security_guard_home_slider_section',
			]
		);

		new \Kirki\Field\URL(
			[
				'settings' => 'elite_security_guard_slider_button_link'.$i,
				'label'    => esc_html__( 'Button Url 0', 'elite-security-guard' ).$i,
				'section'  => 'elite_security_guard_home_slider_section',
				'default'  => '',
			]
		);

	}
	
	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_home_slider_section',
    ] );
    /* Home Slider End */

    /* Home Services */

	new \Kirki\Section(
		'elite_security_guard_home_services_section',
		[
			'title'       => esc_html__( 'Home Services', 'elite-security-guard' ),
			'description' => esc_html__( 'Here you can add services image, title and text.', 'elite-security-guard' ),
			'panel'		  => 'elite_security_guard_home_page_section',
			'priority'    => 30,
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_services_on_off',
			'label'       => esc_html__( 'Services On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_home_services_section',
			'default'     => 'off',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	new \Kirki\Field\Number(
		[
			'settings' => 'elite_security_guard_services_count',
			'label'    => esc_html__( 'Services Number Control', 'elite-security-guard' ),
			'section'  => 'elite_security_guard_home_services_section',
			'default'  => '',
			'choices'  => [
				'min'  => 1	,
				'max'  => 3,
				'step' => 1,
			],
		]
	);

	$services_count = get_theme_mod('elite_security_guard_services_count');

	for ($i=1; $i <= $services_count; $i++) { 
		
		new \Kirki\Field\Image(
			[
				'settings'    => 'elite_security_guard_services_image'.$i,
				'label'       => esc_html__( 'Services Image 0', 'elite-security-guard' ).$i,
				'section'     => 'elite_security_guard_home_services_section',
				'default'     => '',
			]
		);

		new \Kirki\Field\Text(
			[
				'settings' => 'elite_security_guard_services_heading'.$i,
				'label'    => esc_html__( 'Heading 0', 'elite-security-guard' ).$i,
				'section'  => 'elite_security_guard_home_services_section',
			]
		);

		new \Kirki\Field\URL(
			[
				'settings' => 'elite_security_guard_services_heading_link'.$i,
				'label'    => esc_html__( 'Heading Url 0', 'elite-security-guard' ).$i,
				'section'  => 'elite_security_guard_home_services_section',
				'default'  => '',
			]
		);

		new \Kirki\Field\Text(
			[
				'settings' => 'elite_security_guard_services_text'.$i,
				'label'    => esc_html__( 'Text 0', 'elite-security-guard' ).$i,
				'section'  => 'elite_security_guard_home_services_section',
			]
		);		

	}

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_home_services_section',
    ] );
 
    /* Home Services End */

    /* Pro Projects */

    new \Kirki\Section(
		'elite_security_guard_projects_section',
		[
			'title'       => esc_html__( 'Projects Section', 'elite-security-guard' ),
			'panel'       => 'elite_security_guard_home_page_section',
			'priority'    => 30,
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Details for the Premium Theme', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_projects_section',
        'description' => __( '<p>a. Add more Projects Effortlessly </p><p>b. Easily change the color of specific text elements </p><p>c. Buy Our Premium Theme For Project Section
        	</p>', 'elite-security-guard' ),
    ] );

	/* Pro Projects End */

	/* Pro Our Services */

    new \Kirki\Section(
		'elite_security_guard_our_sevices_section',
		[
			'title'       => esc_html__( 'Our Services Section', 'elite-security-guard' ),
			'panel'       => 'elite_security_guard_home_page_section',
			'priority'    => 30,
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Details for the Premium Theme', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_our_sevices_section',
        'description' => __( '<p>a. Add more Our Services Effortlessly </p><p>b. Easily change the color of specific text elements </p><p>c. Buy Our Premium Theme For  Services Section</p>', 'elite-security-guard' ),
    ] );

	/* Pro Our Services End */

	/* Pro Testimonial */

    new \Kirki\Section(
		'elite_security_guard_testimonial_section',
		[
			'title'       => esc_html__( 'Testimonial Section', 'elite-security-guard' ),
			'panel'       => 'elite_security_guard_home_page_section',
			'priority'    => 30,
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Details for the Premium Theme', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_testimonial_section',
        'description' => __( '<p>a. Add more Testimonial Effortlessly </p><p>b. Easily change the color of specific text elements </p><p>c. Buy Our Premium Theme For  Testimonial Section</p>', 'elite-security-guard' ),
    ] );

	/* Pro Testimonial End */

	/* Pro Team */

    new \Kirki\Section(
		'elite_security_guard_team_section',
		[
			'title'       => esc_html__( 'Team Section', 'elite-security-guard' ),
			'panel'       => 'elite_security_guard_home_page_section',
			'priority'    => 30,
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Details for the Premium Theme', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_team_section',
        'description' => __( '<p>a. Add more Team Effortlessly </p><p>b. Easily change the color of specific text elements </p><p>c. Buy Our Premium Theme For  Team Section</p>', 'elite-security-guard' ),
    ] );

	/* Pro Team End */

	/* Pro Recent Blog */

    new \Kirki\Section(
		'elite_security_guard_recent_blog_section',
		[
			'title'       => esc_html__( 'Recent Blog Section', 'elite-security-guard' ),
			'panel'       => 'elite_security_guard_home_page_section',
			'priority'    => 30,
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Details for the Premium Theme', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_recent_blog_section',
        'description' => __( '<p>a. Add more Recent Blog Effortlessly </p><p>b. Easily change the color of specific text elements </p><p>c. Buy Our Premium Theme For  Recent Blog</p>', 'elite-security-guard' ),
    ] );

	/* Pro Recent Blog End */

	/* Pro Appointment */

    new \Kirki\Section(
		'elite_security_guard_appointment_section',
		[
			'title'       => esc_html__( 'Appointment Section', 'elite-security-guard' ),
			'panel'       => 'elite_security_guard_home_page_section',
			'priority'    => 30,
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Details for the Premium Theme', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_appointment_section',
        'description' => __( '<p>a. Add more Appointment Details </p><p>b. Easily change the color of specific text elements </p><p>c. Buy Our Premium Theme For  Appointment Section</p>', 'elite-security-guard' ),
    ] );

	/* Pro Appointment End */

	/* Pro Client */

    new \Kirki\Section(
		'elite_security_guard_client_section',
		[
			'title'       => esc_html__( 'Client Section', 'elite-security-guard' ),
			'panel'       => 'elite_security_guard_home_page_section',
			'priority'    => 30,
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Details for the Premium Theme', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_client_section',
        'description' => __( '<p>a. Add more Client Details </p><p>b. Easily change the color of specific text elements </p><p>c. Buy Our Premium Theme For  Client Section</p>', 'elite-security-guard' ),
    ] );

	/* Pro Client End */

	/* Pro Contact */

    new \Kirki\Section(
		'elite_security_guard_contact_section',
		[
			'title'       => esc_html__( 'Contact Section', 'elite-security-guard' ),
			'panel'       => 'elite_security_guard_home_page_section',
			'priority'    => 30,
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Details for the Premium Theme', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_contact_section',
        'description' => __( '<p>a. Add more Contact Details </p><p>b. Easily change the color of specific text elements </p><p>c. Buy Our Premium Theme For  Contact Section</p>', 'elite-security-guard' ),
    ] );

	/* Pro Contact End */

	/* Footer */

	new \Kirki\Section(
		'elite_security_guard_footer_section',
		[
			'title'       => esc_html__( 'Footer', 'elite-security-guard' ),
			'description' => esc_html__( 'Here you can add services image, title and text.', 'elite-security-guard' ),
			'panel'		  => 'elite_security_guard_home_page_section',
			'priority'    => 30,
		]
	);
	

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_footer_widgets_on_off',
			'label'       => esc_html__( 'Footer Widgets On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_footer_section',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_copyright_on_off',
			'label'       => esc_html__( 'Footer Copyright On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_footer_section',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'elite_security_guard_copyright_content_text',
			'label'    => esc_html__( 'Copyright Text', 'elite-security-guard' ),
			'section'  => 'elite_security_guard_footer_section',
		]
	);

	new \Kirki\Field\Select(
	[
		'settings'    => 'elite_security_guard_copyright_alignment',
		'label'       => esc_html__( 'Copyright Text Alignment', 'elite-security-guard' ),
		'section'     => 'elite_security_guard_footer_section',
		'default'     => 'Center',
		'choices'     => [
			'Left' => esc_html__( 'Left Align', 'elite-security-guard' ),
			'Center' => esc_html__( 'Center Align', 'elite-security-guard' ),
			'Right' => esc_html__( 'Right Align', 'elite-security-guard' ),
		],
	]
);

	new \Kirki\Field\Image(
	[
		'settings'    => 'elite_security_guard_footer_background_image',
		'label'       => esc_html__( 'Select Your Appropriate Image for footer background', 'elite-security-guard' ),
		'section'     => 'elite_security_guard_footer_section',
		'default'     => '',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'elite_security_guard_footer_background_color',
		'label'       => __( 'Select Your Appropriate Color for footer background', 'elite-security-guard' ),
		'section'     => 'elite_security_guard_footer_section',
		'default'     => '#242424',
	] );

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For Our Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_footer_section',
    ] );
    
    /* Footer End */

        //Home page Setting Panel
	new \Kirki\Panel(
		'elite_security_guard_additional_setting_panel',
		[
			'priority'    => 10,
			'title'       => esc_html__( 'Additional Settings', 'elite-security-guard' ),
		]
	);

	/* Typography Section */

	new \Kirki\Section(
		'elite_security_guard_theme_typography_section',
		[
			'title'       => esc_html__( 'Theme Typography', 'elite-security-guard' ),
			'description' => esc_html__( 'Here you can customize Heading or other body text font settings', 'elite-security-guard' ),
			'panel'		  => 'elite_security_guard_additional_setting_panel',
			'priority'    => 30,
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'elite_security_guard_all_headings_typography',
		'section'     => 'elite_security_guard_theme_typography_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Heading Of All Sections',  'elite-security-guard' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'global', array(
		'type'        => 'typography',
		'settings'    => 'elite_security_guard_all_headings_typography',
		'label'       => esc_html__( 'Heading Typography',  'elite-security-guard' ),
		'description' => esc_html__( 'Select the typography options for your heading.',  'elite-security-guard' ),
		'section'     => 'elite_security_guard_theme_typography_section',
		'priority'    => 10,
		'default'     => array(
			'font-family'    => '',
			'variant'        => '',
		),
		'output' => array(
			array(
				'element' => array( 'h1','h2','h3','h4','h5','h6', ),
			),
		),
	) );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'elite_security_guard_body_content_typography',
		'section'     => 'elite_security_guard_theme_typography_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Body Content',  'elite-security-guard' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'global', array(
		'type'        => 'typography',
		'settings'    => 'elite_security_guard_body_content_typography',
		'label'       => esc_html__( 'Content Typography',  'elite-security-guard' ),
		'description' => esc_html__( 'Select the typography options for your content.',  'elite-security-guard' ),
		'section'     => 'elite_security_guard_theme_typography_section',
		'priority'    => 10,
		'default'     => array(
			'font-family'    => '',
			'variant'        => '',
		),
		'output' => array(
			array(
				'element' => array( 'body', ),
			),
		),
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
	    'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
	    'type'        => 'custom',
	    'priority'    => 100,
	    'section'     => 'elite_security_guard_theme_typography_section',
	] );


    /* End Typography */

	/* Responsive Options */

	new \Kirki\Section(
		'elite_security_guard_responsive_options_section',
		[
			'title'       => esc_html__( 'Responsive Options', 'elite-security-guard' ),
			'priority'    => 30,
			'panel'		  => 'elite_security_guard_additional_setting_panel',
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_responsive_preloader_setting',
			'label'       => esc_html__( 'Preloader On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_responsive_options_section',
			'default'     => 'off',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_responsive_scroll_to_top_setting',
			'label'       => esc_html__( 'Scroll To Top On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_responsive_options_section',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_responsive_options_section',
    ] );

/* Global Color Section */

	new \Kirki\Section(
		'elite_security_guard_theme_color_section',
		[
			'title'       => esc_html__( 'Theme Colors Option', 'elite-security-guard' ),
			'description' => esc_html__( 'Here you can change your theme color', 'elite-security-guard' ),
			'panel'		  => 'elite_security_guard_additional_setting_panel',
			'priority'    => 30,
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'elite_security_guard_theme_color_1',
		'label'       => __( 'Select Your First Color', 'elite-security-guard' ),
		'section'     => 'elite_security_guard_theme_color_section',
		'default'     => '#ff974f',
	] );

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'priority'    => 100,
        'section'     => 'elite_security_guard_theme_color_section',
    ] );

    /* Global Color End */

    /* Breadcrumb Section */

	new \Kirki\Section(
		'elite_security_guard_breadcrumb_section',
		[
			'title'       => esc_html__( 'Theme Breadcrumb Option', 'elite-security-guard' ),
			'description' => esc_html__( 'The breadcrumbs for your theme can be included here.', 'elite-security-guard' ),
			'panel'		  => 'elite_security_guard_additional_setting_panel',
			'priority'    => 30,
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_breadcrumb_setting',
			'label'       => esc_html__( 'Enable Breadcrumbs Option', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_breadcrumb_section',
			'default'     => true,
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

		Kirki::add_field( 'theme_config_id', [
	    'type'        => 'text',
	    'settings'    => 'elite_security_guard_breadcrumb_separator',
	    'label'       => esc_html__( 'Breadcrumb Separator Setting', 'elite-security-guard' ),
	    'section'     => 'elite_security_guard_breadcrumb_section',
	    'default'     => ' → ',
	    'priority'    => 10,
	] );


	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'priority'    => 100,
        'section'     => 'elite_security_guard_breadcrumb_section',
    ] );

    /* Breadcrumb section End */

	/* 404 Page */

	new \Kirki\Section(
		'elite_security_guard_404_page_section',
		[
			'title'       => esc_html__( '404 Page', 'elite-security-guard' ),
			'description' => esc_html__( 'Here you can add 404 Page information.', 'elite-security-guard' ),
			'panel'		  => 'elite_security_guard_additional_setting_panel',
			'priority'    => 30,
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'elite_security_guard_404_page_heading',
			'label'    => esc_html__( 'Add Heading', 'elite-security-guard' ),
			'section'  => 'elite_security_guard_404_page_section',
			'default'  => esc_html__( '404', 'elite-security-guard' ),
			'priority' => 10,
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'elite_security_guard_404_page_content',
			'label'    => esc_html__( 'Add Content', 'elite-security-guard' ),
			'section'  => 'elite_security_guard_404_page_section',
			'default'  => esc_html__( 'Ops! Something happened...', 'elite-security-guard' ),
			'priority' => 10,
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'elite_security_guard_404_page_button',
			'label'    => esc_html__( 'Add Button', 'elite-security-guard' ),
			'section'  => 'elite_security_guard_404_page_section',
			'default'  => esc_html__( 'Home', 'elite-security-guard' ),
			'priority' => 10,
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_404_page_section',
    ] );

	/* 404 Page End */


    //Post & Pages Setting Panel
	new \Kirki\Panel(
		'elite_security_guard_post_pages_section',
		[
			'priority'    => 11,
			'title'       => esc_html__( 'Post & Pages Settings', 'elite-security-guard' ),
		]
	);

	/* Banner Options */

	new \Kirki\Section(
		'elite_security_guard_banner_options',
		[
			'title'       => esc_html__( 'Banner Image Settings', 'elite-security-guard' ),
			'priority'    => 30,
			'panel'		  => 'elite_security_guard_post_pages_section',
		]
	);

	new \Kirki\Field\Image(
		[
			'settings'    => 'elite_security_guard_custom_fallback_img',
			'label'       => esc_html__( 'Featured Header Image Banner Background', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_banner_options',
			'default'     => '',
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_banner_options',
    ] );



	/* Single Post Options */

	new \Kirki\Section(
		'elite_security_guard_single_post_options',
		[
			'title'       => esc_html__( 'Single Post Options', 'elite-security-guard' ),
			'priority'    => 30,
			'panel'		  => 'elite_security_guard_post_pages_section',
		]
	);

	/* Single Post Content Option */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_single_post_content_on_off',
			'label'       => esc_html__( 'Single Post Content On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_single_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	/* Single Post Meta Option */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_single_meta_on_off',
			'label'       => esc_html__( 'Single Post Meta On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_single_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	/* Single Post Feature Image Option */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_single_post_image_on_off',
			'label'       => esc_html__( 'Single Post Feature Image On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_single_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	/* Single Post Heading Option */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_single_post_pagination_on_off',
			'label'       => esc_html__( 'Single Post Pagination On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_single_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_single_post_options',
    ] );

	/* Single Post Options  End*/

	/* Single Page Options */
		new \Kirki\Section(
		'elite_security_guard_single_page_options',
		[
			'title'       => esc_html__( 'Page Sidebar Options', 'elite-security-guard' ),
			'priority'    => 30,
			'panel'		  => 'elite_security_guard_post_pages_section',
		]
	);

	new \Kirki\Field\Radio(
	[
		'settings'    => 'elite_security_guard_single_page_sidebar_option',
		'label'       => esc_html__( 'Page Sidebar Settings', 'elite-security-guard' ),
		'section'     => 'elite_security_guard_single_page_options',
		'default'     => 'right',
		'priority'    => 10,
		'choices'     => [
			'right'   => esc_html__( 'Page With Right Sidebar', 'elite-security-guard' ),
			'left' => esc_html__( 'Page With Left Sidebar', 'elite-security-guard' ),
			'none'  => esc_html__( 'Page With No Sidebar', 'elite-security-guard' ),

		],
	]
);

	/* Single Page Options End*/

	/* Post Options */

	new \Kirki\Section(
		'elite_security_guard_post_options',
		[
			'title'       => esc_html__( 'Post Options', 'elite-security-guard' ),
			'priority'    => 30,
			'panel'		  => 'elite_security_guard_post_pages_section',
		]
	);
    
    /* Post Image Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_post_image_on_off',
			'label'       => esc_html__( 'Post Image On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	/* Post Heading Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_post_heading_on_off',
			'label'       => esc_html__( 'Post Heading On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	/* Post Content Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_post_content_on_off',
			'label'       => esc_html__( 'Post Content On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	/* Post Date Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_post_date_on_off',
			'label'       => esc_html__( 'Post Date On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	/* Post Comments Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_post_comment_on_off',
			'label'       => esc_html__( 'Post Comments On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	/* Post Author Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_post_author_on_off',
			'label'       => esc_html__( 'Post Author On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	/* Post Categories Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_post_categories_on_off',
			'label'       => esc_html__( 'Post Categories On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

    /* Post limit Option End */
	new \Kirki\Field\Slider(
		[
			'settings'    => 'elite_security_guard_post_content_limit',
			'label'       => esc_html__( 'Post Content Limit', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_post_options',
			'default'     => 15,
			'choices'     => [
				'min'  => 0,
				'max'  => 50,
				'step' => 1,
			],
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_post_options',
    ] );

	/* Post Options End */

	/* Post Layout Options */

	new \Kirki\Section(
		'elite_security_guard_post_layouts_section',
		[
			'title'       => esc_html__( 'Post Layout Options', 'elite-security-guard' ),
			'priority'    => 30,
			'panel'		  => 'elite_security_guard_post_pages_section',
		]
	);

	new \Kirki\Field\Radio_Image(
		[
			'settings'    => 'elite_security_guard_post_layout',
			'label'       => esc_html__( 'Blog Layout', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_post_layouts_section',
			'default'     => 'two_column_right',
			'priority'    => 10,
			'choices'     => [
				'one_column'   => get_template_directory_uri().'/images/1column.png',
				'two_column_right' => get_template_directory_uri().'/images/right-sidebar.png',
				'two_column_left'  => get_template_directory_uri().'/images/left-sidebar.png',
				'three_column'  => get_template_directory_uri().'/images/3column.png',
				'four_column'  => get_template_directory_uri().'/images/4column.png',
				'grid_post'  => get_template_directory_uri().'/images/grid.png',
			],
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_post_layouts_section',
    ] );

	/* Post Layout Options End */

	/* Related Post Options */

	new \Kirki\Section(
		'elite_security_guard_related_post_section',
		[
			'title'       => esc_html__( 'Related Post Options', 'elite-security-guard' ),
			'priority'    => 30,
			'panel'		  => 'elite_security_guard_post_pages_section',
		]
	);

    /* Post Image Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'elite_security_guard_enable_related_post_thumbnail',
			'label'       => esc_html__( 'Related Post Image On / Off', 'elite-security-guard' ),
			'section'     => 'elite_security_guard_related_post_section',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'elite-security-guard' ),
				'off' => esc_html__( 'Disable', 'elite-security-guard' ),
			],
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Feature', 'elite-security-guard' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'elite-security-guard' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( ELITE_SECURITY_GUARD_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'elite-security-guard' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'elite_security_guard_related_post_section',
    ] );

	/* Related Post Options End */

}