<?php
/**
 * medical-coach Theme Customizer.
 *
 * @package medical-coach
 */

/**
 * Add postMessage support for site title and description for the Theme Customizer.
 *
 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
 */
function medical_coach_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', 'medical_coach_customize_register' );

if ( ! defined( 'MEDICAL_COACH_BUY_NOW_1' ) ) {
define('MEDICAL_COACH_BUY_NOW_1',__('https://www.mishkatwp.com/themes/medical-coach-wordpress-theme/','medical-coach'));
}

if ( ! defined( 'MEDICAL_COACH_BUNDLE_1' ) ) {
define('MEDICAL_COACH_BUNDLE_1',__('https://www.mishkatwp.com/themes/wordpress-theme-bundle/','medical-coach'));
}

if ( class_exists("Kirki")){

	/* Logo */

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

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

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

	/* Logo End */

	/* Typography Section */

	new \Kirki\Section(
		'medical_coach_theme_typography_section',
		[
			'title'       => esc_html__( 'Theme Typography', 'medical-coach' ),
			'description' => esc_html__( 'Here you can customize Heading or other body text font settings', 'medical-coach' ),
			'priority'    => 30,
		]
	);

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

	Kirki::add_field( 'global', array(
		'type'        => 'typography',
		'settings'    => 'medical_coach_all_headings_typography',
		'label'       => esc_html__( 'Heading Typography',  'medical-coach' ),
		'description' => esc_html__( 'Select the typography options for your heading.',  'medical-coach' ),
		'section'     => 'medical_coach_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'    => 'medical_coach_body_content_typography',
		'section'     => 'medical_coach_theme_typography_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Body Content',  'medical-coach' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'global', array(
		'type'        => 'typography',
		'settings'    => 'medical_coach_body_content_typography',
		'label'       => esc_html__( 'Content Typography',  'medical-coach' ),
		'description' => esc_html__( 'Select the typography options for your content.',  'medical-coach' ),
		'section'     => 'medical_coach_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', 'medical-coach' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( MEDICAL_COACH_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'medical-coach' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( MEDICAL_COACH_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'medical-coach' ) . '</a>',
        'type'        => 'custom',
        'priority'    => 100,
        'section'     => 'medical_coach_theme_typography_section',
    ] );

    /* End Typography */

        /* Woocommerce Section */

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

	new \Kirki\Field\Select(
		[
			'settings'    => 'medical_coach_product_sidebar_position',
			'label'       => esc_html__( 'Sidebar Option', 'medical-coach' ),
			'section'     => 'medical_coach_theme_product_sidebar',
			'default'     => 'right',
			'choices'     => [
				'left' => esc_html__( 'Left Sidebar', 'medical-coach' ),
				'right' => esc_html__( 'Right Sidebar', 'medical-coach' ),
				'none' => esc_html__( 'No Sidebar', 'medical-coach' ),
			],
		]
	);

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

    /* Woocommerce Section End */

    /* Global Color Section */

	new \Kirki\Section(
		'medical_coach_theme_color_section',
		[
			'title'       => esc_html__( 'Theme Colors Option', 'medical-coach' ),
			'description' => esc_html__( 'Here you can change your theme color', 'medical-coach' ),
			'priority'    => 30,
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'medical_coach_theme_color_1',
		'label'       => __( 'Select Your First Color', 'medical-coach' ),
		'section'     => 'medical_coach_theme_color_section',
		'default'     => '#5170ca',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'medical_coach_theme_color_2',
		'label'       => __( 'Select Your Second Color', 'medical-coach' ),
		'section'     => 'medical_coach_theme_color_section',
		'default'     => '#2b2c53',
	] );
	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'medical_coach_theme_color_3',
		'label'       => __( 'Select Your Third Color', 'medical-coach' ),
		'section'     => 'medical_coach_theme_color_section',
		'default'     => '#4cd4ca',
	] );
		

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

    /* Global Color End */

     /* Breadcrumb Section */

	new \Kirki\Section(
		'medical_coach_breadcrumb_section',
		[
			'title'       => esc_html__( 'Theme Breadcrumb Option', 'medical-coach' ),
			'description' => esc_html__( 'The breadcrumbs for your theme can be included here.', 'medical-coach' ),
			'priority'    => 30,
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_breadcrumb_setting',
			'label'       => esc_html__( 'Enable Breadcrumbs Option', 'medical-coach' ),
			'section'     => 'medical_coach_breadcrumb_section',
			'default'     => true,
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);


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

    /* Breadcrumb section End */

	// PANEL
	Kirki::add_panel( 'medical_coach_panel_id_5', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Animations', 'medical-coach' ),
	) );

	// ANIMATION SECTION
	Kirki::add_section( 'medical_coach_section_animation', array(
	    'title'          => esc_html__( 'Animations', 'medical-coach' ),
	    'priority'       => 2,
	) );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'medical_coach_animation_enabled',
		'label'       => esc_html__( 'Turn To Show Animation', 'medical-coach' ),
		'section'     => 'medical_coach_section_animation',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'medical-coach' ),
			'off' => esc_html__( 'Disable', 'medical-coach' ),
		],
	] );

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

	/* Social Icon */

	new \Kirki\Section(
		'medical_coach_top_header_section',
		[
			'title'       => esc_html__( 'Header Social Icon', 'medical-coach' ),
			'description' => esc_html__( 'Here you can add social links.', 'medical-coach' ),
			'priority'    => 30,
		]
	);

	new \Kirki\Field\URL(
		[
			'settings' => 'medical_coach_top_twitter_link',
			'label'    => esc_html__( 'Add Twitter Link', 'medical-coach' ),
			'section'  => 'medical_coach_top_header_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	new \Kirki\Field\URL(
		[
			'settings' => 'medical_coach_top_linkdin_link',
			'label'    => esc_html__( 'Add Linkdin Link', 'medical-coach' ),
			'section'  => 'medical_coach_top_header_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	new \Kirki\Field\URL(
		[
			'settings' => 'medical_coach_top_youtube_link',
			'label'    => esc_html__( 'Add Youtube Link', 'medical-coach' ),
			'section'  => 'medical_coach_top_header_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	new \Kirki\Field\URL(
		[
			'settings' => 'medical_coach_top_facebook_link',
			'label'    => esc_html__( 'Add Facebook Link', 'medical-coach' ),
			'section'  => 'medical_coach_top_header_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	new \Kirki\Field\URL(
		[
			'settings' => 'medical_coach_top_instagram_link',
			'label'    => esc_html__( 'Add Instagram Link', 'medical-coach' ),
			'section'  => 'medical_coach_top_header_section',
			'default'  => '',
			'priority' => 10,
		]
	);

    //Home page Setting Panel
	new \Kirki\Panel(
		'medical_coach_home_page_section',
		[
			'priority'    => 10,
			'title'       => esc_html__( 'Home Page Sections', 'medical-coach' ),
			'priority'    => 20,
		]
	);

	/* Header */

	new \Kirki\Section(
		'medical_coach_header_button_section',
		[
			'title'       => esc_html__( 'Header', 'medical-coach' ),
			'description' => esc_html__( 'Here you can add header button text and link.', 'medical-coach' ),
			'panel'		  => 'medical_coach_home_page_section',
			'priority'    => 30,
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'medical_coach_header_announcement_text',
			'label'    => esc_html__( 'Add Announcement Text', 'medical-coach' ),
			'section'  => 'medical_coach_header_button_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'medical_coach_header_phone_number',
			'label'    => esc_html__( 'Add Phone Number', 'medical-coach' ),
			'section'  => 'medical_coach_header_button_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'medical_coach_header_clock_time',
			'label'    => esc_html__( 'Add Opening Day & Time', 'medical-coach' ),
			'section'  => 'medical_coach_header_button_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'medical_coach_header_clock_closed',
			'label'    => esc_html__( 'Add Sunday Opening Time', 'medical-coach' ),
			'section'  => 'medical_coach_header_button_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'medical_coach_header_location_text',
			'label'    => esc_html__( 'Add Address', 'medical-coach' ),
			'section'  => 'medical_coach_header_button_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'medical_coach_header_location_ectra_text',
			'label'    => esc_html__( 'Add City & Country Name', 'medical-coach' ),
			'section'  => 'medical_coach_header_button_section',
			'default'  => '',
			'priority' => 10,
		]
	);
	
	new \Kirki\Field\Text(
		[
			'settings' => 'medical_coach_header_appointment_text',
			'label'    => esc_html__( 'Add Appointment Text', 'medical-coach' ),
			'section'  => 'medical_coach_header_button_section',
			'default'  => '',
			'priority' => 10,
		]
	);

	new \Kirki\Field\URL(
		[
			'settings' => 'medical_coach_header_appointment_link',
			'label'    => esc_html__( 'Add Appointment Link', 'medical-coach' ),
			'section'  => 'medical_coach_header_button_section',
			'default'  => '',
			'priority' => 10,
		]
	);

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

	/* Home Slider */

	new \Kirki\Section(
		'medical_coach_home_slider_section',
		[
			'title'       => esc_html__( 'Home Slider', 'medical-coach' ),
			'description' => esc_html__( 'Here you can add slider image, title and text.', 'medical-coach' ),
			'panel'		  => 'medical_coach_home_page_section',
			'priority'    => 30,
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_slide_on_off',
			'label'       => esc_html__( 'Slider On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_home_slider_section',
			'default'     => 'off',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

	new \Kirki\Field\Number(
		[
			'settings' => 'medical_coach_slide_count',
			'label'    => esc_html__( 'Slider Number Control', 'medical-coach' ),
			'section'  => 'medical_coach_home_slider_section',
			'default'  => '',
			'choices'  => [
				'min'  => 1,
				'max'  => 3,
				'step' => 1,
			],
		]
	);

	$medical_coach_slide_count = get_theme_mod('medical_coach_slide_count');

	for ($i=1; $i <= $medical_coach_slide_count; $i++) { 
		
		new \Kirki\Field\Image(
			[
				'settings'    => 'medical_coach_slider_image'.$i,
				'label'       => esc_html__( 'Slider Image 0', 'medical-coach' ).$i,
				'section'     => 'medical_coach_home_slider_section',
				'default'     => '',
			]
		);

		new \Kirki\Field\Text(
			[
				'settings' => 'medical_coach_slider_short_heading'.$i,
				'label'    => esc_html__( 'Short Heading 0', 'medical-coach' ).$i,
				'section'  => 'medical_coach_home_slider_section',
			]
		);

		new \Kirki\Field\Text(
			[
				'settings' => 'medical_coach_slider_heading'.$i,
				'label'    => esc_html__( 'Main Heading 0', 'medical-coach' ).$i,
				'section'  => 'medical_coach_home_slider_section',
			]
		);

		new \Kirki\Field\Text(
			[
				'settings' => 'medical_coach_button_text'.$i,
				'label'    => esc_html__( 'Button Text 0', 'medical-coach' ).$i,
				'section'  => 'medical_coach_home_slider_section',
			]
		);

		new \Kirki\Field\URL(
			[
				'settings' => 'medical_coach_button_link'.$i,
				'label'    => esc_html__( 'Button Url 0', 'medical-coach' ).$i,
				'section'  => 'medical_coach_home_slider_section',
				'default'  => '',
			]
		);
	}

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Slides', 'medical-coach' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( MEDICAL_COACH_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'medical-coach' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( MEDICAL_COACH_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'medical-coach' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'medical_coach_home_slider_section',
    ] );

	/* Home Features */

	new \Kirki\Section(
		'medical_coach_home_features_section',
		[
			'title'       => esc_html__( 'Home Features', 'medical-coach' ),
			'description' => esc_html__( 'Here you can add features icon and title.', 'medical-coach' ),
			'panel'		  => 'medical_coach_home_page_section',
			'priority'    => 30,
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_features_on_off',
			'label'       => esc_html__( 'Features On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_home_features_section',
			'default'     => 'off',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'medical_coach_features_title',
			'label'    => esc_html__( 'Main Title', 'medical-coach' ),
			'section'  => 'medical_coach_home_features_section',
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'medical_coach_features_sub_title',
			'label'    => esc_html__( 'Sub Title', 'medical-coach' ),
			'section'  => 'medical_coach_home_features_section',
		]
	);

	new \Kirki\Field\Number(
		[
			'settings' => 'medical_coach_features_count',
			'label'    => esc_html__( 'Features Number Control', 'medical-coach' ),
			'section'  => 'medical_coach_home_features_section',
			'default'  => '',
			'choices'  => [
				'min'  => 0,
				'max'  => 8,
				'step' => 1,
			],
		]
	);

	$medical_coach_features_count = get_theme_mod('medical_coach_features_count');

	for ($i=1; $i <= $medical_coach_features_count; $i++) { 
		
		new \Kirki\Field\Text(
			[
				'settings' => 'medical_coach_features_icon'.$i,
				'label'    => esc_html__( 'Icon 0', 'medical-coach' ).$i,
				'description' => esc_html__( 'Click on the link to select icon https://icons.getbootstrap.com/', 'medical-coach' ),
				'section'  => 'medical_coach_home_features_section',
			]
		);

		new \Kirki\Field\Text(
			[
				'settings' => 'medical_coach_features_heading'.$i,
				'label'    => esc_html__( 'Main Heading 0', 'medical-coach' ).$i,
				'section'  => 'medical_coach_home_features_section',
			]
		);

		new \Kirki\Field\Text(
			[
				'settings' => 'medical_coach_features_content'.$i,
				'label'    => esc_html__( 'Main Content 0', 'medical-coach' ).$i,
				'section'  => 'medical_coach_home_features_section',
			]
		);

		new \Kirki\Field\Text(
			[
				'settings' => 'medical_coach_features_btn_text'.$i,
				'label'    => esc_html__( 'Button Text 0', 'medical-coach' ).$i,
				'section'  => 'medical_coach_home_features_section',
			]
		);

		new \Kirki\Field\URL(
			[
				'settings' => 'medical_coach_features_btn_link'.$i,
				'label'    => esc_html__( 'Button Url 0', 'medical-coach' ).$i,
				'section'  => 'medical_coach_home_features_section',
				'default'  => '',
			]
		);
		
	}

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Buy Our Premium Theme For More Features', 'medical-coach' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( MEDICAL_COACH_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'medical-coach' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( MEDICAL_COACH_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'medical-coach' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'medical_coach_home_features_section',
    ] );

	 /* Pro appointment */

    new \Kirki\Section(
		'medical_coach_appointment_section',
		[
			'title'       => esc_html__( 'Appointment Section', 'medical-coach' ),
			'panel'       => 'medical_coach_home_page_section',
			'priority'    => 30,
		]
	);

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

    /* Pro appointment end */

   	/* Pro choose */

    new \Kirki\Section(
		'medical_coach_choose_section',
		[
			'title'       => esc_html__( 'Why Choose Us Section', 'medical-coach' ),
			'panel'       => 'medical_coach_home_page_section',
			'priority'    => 30,
		]
	);

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

    /* Pro statistics end */

    new \Kirki\Section(
		'medical_coach_statistics_section',
		[
			'title'       => esc_html__( 'Statistics Section', 'medical-coach' ),
			'panel'       => 'medical_coach_home_page_section',
			'priority'    => 30,
		]
	);

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

    /* Pro statistics end */

    /* Pro services start */

    new \Kirki\Section(
		'medical_coach_services_section',
		[
			'title'       => esc_html__( 'Services Section', 'medical-coach' ),
			'panel'       => 'medical_coach_home_page_section',
			'priority'    => 30,
		]
	);

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

    /* Pro services end */

    /* Pro team start */

    new \Kirki\Section(
		'medical_coach_team_section',
		[
			'title'       => esc_html__( 'Team Section', 'medical-coach' ),
			'panel'       => 'medical_coach_home_page_section',
			'priority'    => 30,
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Details for the Premium Theme', 'medical-coach' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( MEDICAL_COACH_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'medical-coach' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( MEDICAL_COACH_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'medical-coach' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'medical_coach_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>', 'medical-coach' ),
    ] );

    /* Pro team end */

     /* Pro award start */

    new \Kirki\Section(
		'medical_coach_award_section',
		[
			'title'       => esc_html__( 'Award Section', 'medical-coach' ),
			'panel'       => 'medical_coach_home_page_section',
			'priority'    => 30,
		]
	);

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

    /* Pro award end */

     /* Pro recent news start */

    new \Kirki\Section(
		'medical_coach_recent_section',
		[
			'title'       => esc_html__( 'Recent News Section', 'medical-coach' ),
			'panel'       => 'medical_coach_home_page_section',
			'priority'    => 30,
		]
	);

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

    /* Pro recent news end */

     /* Pro faq start */

    new \Kirki\Section(
		'medical_coach_faq_section',
		[
			'title'       => esc_html__( 'FAQs Section', 'medical-coach' ),
			'panel'       => 'medical_coach_home_page_section',
			'priority'    => 30,
		]
	);

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

    /* Pro faq news end */

     /* Pro location start */

    new \Kirki\Section(
		'medical_coach_location_section',
		[
			'title'       => esc_html__( 'Location Section', 'medical-coach' ),
			'panel'       => 'medical_coach_home_page_section',
			'priority'    => 30,
		]
	);

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

    /* Pro location news end */

	/* Footer */

	new \Kirki\Section(
		'medical_coach_footer_section',
		[
			'title'       => esc_html__( 'Footer', 'medical-coach' ),
			'panel'		  => 'medical_coach_home_page_section',
			'priority'    => 30,
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_footer_widgets_on_off',
			'label'       => esc_html__( 'Footer Widgets On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_footer_section',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_copyright_on_off',
			'label'       => esc_html__( 'Footer Copyright On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_footer_section',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'medical_coach_copyright_content_text',
			'label'    => esc_html__( 'Copyright Text', 'medical-coach' ),
			'section'  => 'medical_coach_footer_section',
		]
	);

	new \Kirki\Field\Select(
	[
		'settings'    => 'medical_coach_copyright_alignment',
		'label'       => esc_html__( 'Copyright Text Alignment', 'medical-coach' ),
		'section'     => 'medical_coach_footer_section',
		'default'     => 'Center',
		'choices'     => [
			'Left' => esc_html__( 'Left Align', 'medical-coach' ),
			'Center' => esc_html__( 'Center Align', 'medical-coach' ),
			'Right' => esc_html__( 'Right Align', 'medical-coach' ),
		],
	]
);

	new \Kirki\Field\Image(
	[
		'settings'    => 'medical_coach_footer_background_image',
		'label'       => esc_html__( 'Select Your Appropriate Image for footer background', 'medical-coach' ),
		'section'     => 'medical_coach_footer_section',
		'default'     => '',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'medical_coach_footer_background_color',
		'label'       => __( 'Select Your Appropriate Color for footer background', 'medical-coach' ),
		'section'     => 'medical_coach_footer_section',
		'default'     => 'var(--second-color)',
	] );

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

    //Post & Pages Setting Panel
	new \Kirki\Panel(
		'medical_coach_post_pages_section',
		[
			'priority'    => 11,
			'title'       => esc_html__( 'Post & Pages Settings', 'medical-coach' ),
		]
	);

	/* Banner Options */

	new \Kirki\Section(
		'medical_coach_banner_options',
		[
			'title'       => esc_html__( 'Banner Image Settings', 'medical-coach' ),
			'priority'    => 30,
			'panel'		  => 'medical_coach_post_pages_section',
		]
	);

	new \Kirki\Field\Image(
		[
			'settings'    => 'medical_coach_custom_fallback_img',
			'label'       => esc_html__( 'Featured Header Image Banner Background', 'medical-coach' ),
			'section'     => 'medical_coach_banner_options',
			'default'     => '',
		]
	);

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

	/* Single Post Options */

	new \Kirki\Section(
		'medical_coach_single_post_options',
		[
			'title'       => esc_html__( 'Single Post Options', 'medical-coach' ),
			'priority'    => 30,
			'panel'		  => 'medical_coach_post_pages_section',
		]
	);
    
    
	/* Single Post Content Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_single_post_content_on_off',
			'label'       => esc_html__( 'Single Post Content On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_single_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

	/* Single Post Meta Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_single_meta_on_off',
			'label'       => esc_html__( 'Single Post Meta On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_single_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

	/* Single Post Feature Image Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_single_post_image_on_off',
			'label'       => esc_html__( 'Single Post Feature Image On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_single_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

	/* Single Post Pagination Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_single_post_pagination_on_off',
			'label'       => esc_html__( 'Single Post Pagination On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_single_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

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

	/* Single Page Options */
		new \Kirki\Section(
		'medical_coach_single_page_options',
		[
			'title'       => esc_html__( 'Page Sidebar Options', 'medical-coach' ),
			'priority'    => 30,
			'panel'		  => 'medical_coach_post_pages_section',
		]
	);

	new \Kirki\Field\Radio(
	[
		'settings'    => 'medical_coach_single_page_sidebar_option',
		'label'       => esc_html__( 'Page Sidebar Settings', 'medical-coach' ),
		'section'     => 'medical_coach_single_page_options',
		'default'     => 'right',
		'priority'    => 10,
		'choices'     => [
			'right'   => esc_html__( 'Page With Right Sidebar', 'medical-coach' ),
			'left' => esc_html__( 'Page With Left Sidebar', 'medical-coach' ),
			'none'  => esc_html__( 'Page With No Sidebar', 'medical-coach' ),

		],
	]
);

	Kirki::add_field( 'theme_config_id', [
		'label'    => esc_html__( 'Details for the Premium Theme', 'medical-coach' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( MEDICAL_COACH_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'medical-coach' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( MEDICAL_COACH_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'medical-coach' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'medical_coach_single_page_options',
        'description' => __( '<p>a. Add more FAQs Effortlessly </p><p>b. Easily change the color of specific text elements </p><p>c. Buy Our Premium Theme For FAQs Section
        	</p>', 'medical-coach' ),
    ] );
	/* Single Page Options End*/

	/* Post Options */

	new \Kirki\Section(
		'medical_coach_post_options',
		[
			'title'       => esc_html__( 'Post Options', 'medical-coach' ),
			'priority'    => 30,
			'panel'		  => 'medical_coach_post_pages_section',
		]
	);
    
    /* Post Image Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_post_image_on_off',
			'label'       => esc_html__( 'Post Image On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

	/* Post Heading Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_post_heading_on_off',
			'label'       => esc_html__( 'Post Heading On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

	/* Post Content Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_post_content_on_off',
			'label'       => esc_html__( 'Post Content On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

	/* Post Date Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_post_date_on_off',
			'label'       => esc_html__( 'Post Date On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

	/* Post Comments Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_post_comment_on_off',
			'label'       => esc_html__( 'Post Comments On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

	/* Post Author Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_post_author_on_off',
			'label'       => esc_html__( 'Post Author On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

	/* Post Categories Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_post_categories_on_off',
			'label'       => esc_html__( 'Post Categories On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_post_options',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

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

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

	/* Post Options End */

	/* Post Options */

	new \Kirki\Section(
		'medical_coach_post_layouts_section',
		[
			'title'       => esc_html__( 'Post Layout Options', 'medical-coach' ),
			'priority'    => 30,
			'panel'		  => 'medical_coach_post_pages_section',
		]
	);

	new \Kirki\Field\Radio_Image(
		[
			'settings'    => 'medical_coach_post_layout',
			'label'       => esc_html__( 'Blog Layout', 'medical-coach' ),
			'section'     => 'medical_coach_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__( 'Details for the Premium Theme', 'medical-coach' ),
		'default'  => 
	        '<a class="premium_info_btn" target="_blank" href="' . esc_url( MEDICAL_COACH_BUY_NOW_1 ) . '">' . __( 'Buy Pro', 'medical-coach' ) . '</a>' .
	        '<a class="premium_info_btn bundle" target="_blank" href="' . esc_url( MEDICAL_COACH_BUNDLE_1 ) . '">' . __( 'Buy All Themes In Single Package', 'medical-coach' ) . '</a>',
        'type'        => 'custom',
        'section'     => 'medical_coach_post_layouts_section',
        'description' => __( '<p>a. Add more FAQs Effortlessly </p><p>b. Easily change the color of specific text elements </p><p>c. Buy Our Premium Theme For FAQs Section
        	</p>', 'medical-coach' ),
    ] );

	/* Post Options End */

	/* Related Post Options */

	new \Kirki\Section(
		'medical_coach_related_post_section',
		[
			'title'       => esc_html__( 'Related Post Options', 'medical-coach' ),
			'priority'    => 30,
			'panel'		  => 'medical_coach_post_pages_section',
		]
	);

    /* Post Image Option End */
	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_enable_related_post_thumbnail',
			'label'       => esc_html__( 'Related Post Image On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_related_post_section',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

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

	/* Related Post Options End */

	/* 404 Page */

	new \Kirki\Section(
		'medical_coach_404_page_section',
		[
			'title'       => esc_html__( '404 Page', 'medical-coach' ),
			'description' => esc_html__( 'Here you can add 404 Page information.', 'medical-coach' ),
			'priority'    => 30,
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'medical_coach_404_page_heading',
			'label'    => esc_html__( 'Add Heading', 'medical-coach' ),
			'section'  => 'medical_coach_404_page_section',
			'default'  => esc_html__( '404', 'medical-coach' ),
			'priority' => 10,
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'medical_coach_404_page_content',
			'label'    => esc_html__( 'Add Content', 'medical-coach' ),
			'section'  => 'medical_coach_404_page_section',
			'default'  => esc_html__( 'Ops! Something happened...', 'medical-coach' ),
			'priority' => 10,
		]
	);

	new \Kirki\Field\Text(
		[
			'settings' => 'medical_coach_404_page_button',
			'label'    => esc_html__( 'Add Button', 'medical-coach' ),
			'section'  => 'medical_coach_404_page_section',
			'default'  => esc_html__( 'Home', 'medical-coach' ),
			'priority' => 10,
		]
	);

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

	/* 404 Page End */

	/* General Options */

	new \Kirki\Section(
		'medical_coach_general_options_section',
		[
			'title'       => esc_html__( 'General Options', 'medical-coach' ),
			'priority'    => 10,
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_sticky_header_setting',
			'label'       => esc_html__( 'Show Hide Sticky Header', 'medical-coach' ),
			'section'     => 'medical_coach_general_options_section',
			'default'     => 'off',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_preloader_setting',
			'label'       => esc_html__( 'Preloader On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_general_options_section',
			'default'     => 'off',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

	new \Kirki\Field\Select(
	[
		'settings'    => 'medical_coach_preloader_type',
		'label'       => esc_html__( 'Preloader Type', 'medical-coach' ),
		'section'     => 'medical_coach_general_options_section',
		'default'     => 'load',
		'placeholder' => esc_html__( 'Choose an option', 'medical-coach' ),
		'choices'     => [
			'load' => esc_html__( 'Load', 'medical-coach' ),
			'time' => esc_html__( 'Time', 'medical-coach' ),
		],
	] );

	new \Kirki\Field\Checkbox_Switch(
		[
			'settings'    => 'medical_coach_scroll_to_top_setting',
			'label'       => esc_html__( 'Scroll To Top On / Off', 'medical-coach' ),
			'section'     => 'medical_coach_general_options_section',
			'default'     => 'on',
			'choices'     => [
				'on'  => esc_html__( 'Enable', 'medical-coach' ),
				'off' => esc_html__( 'Disable', 'medical-coach' ),
			],
		]
	);

		new \Kirki\Field\Select(
	[
		'settings'    => 'medical_coach_scroll_to_top_type',
		'label'       => esc_html__( 'Scroll To Top Type', 'medical-coach' ),
		'section'     => 'medical_coach_general_options_section',
		'default' => 'advance-scroll',
		'placeholder' => esc_html__( 'Choose an option', 'medical-coach' ),
		'choices'     => [
			'advance-scroll' => __('Type 1','medical-coach'),
            'simple-scroll' => __('Type 2','medical-coach'),
		],
	] );

		new \Kirki\Field\Select(
	[
		'settings'    => 'medical_coach_scroll_top_alignment',
		'label'       => esc_html__( 'Scroll Top Alignment', 'medical-coach' ),
		'section'     => 'medical_coach_general_options_section',
		'default'     => 'Right',
		'choices'     => [
			'Left' => esc_html__( 'Left Align', 'medical-coach' ),
			'Center' => esc_html__( 'Center Align', 'medical-coach' ),
			'Right' => esc_html__( 'Right Align', 'medical-coach' ),
		],
	]
);

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'medical_coach_container_width',
		'label'       => esc_html__( 'Theme Container Width', 'medical-coach' ),
		'section'     => 'medical_coach_general_options_section',
		'default'     => 100,
		'choices'     => [
			'min'  => 50,
			'max'  => 100,
			'step' => 1,
		],
	] );

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

	/* General Options End */

}