<?php
/**
 * MegaVolt Electrician: Customizer
 *
 * @subpackage MegaVolt Electrician
 * @since 1.0
 */

use WPTRT\Customize\Section\Luzuk_MegaVoltElectrician_Button;

add_action( 'customize_register', function( $manager ) {

	$manager->register_section_type( Luzuk_MegaVoltElectrician_Button::class );

	$manager->add_section(
		new Luzuk_MegaVoltElectrician_Button( $manager, 'luzuk_megavoltelectrician_pro', [
			'title' => __( 'MegaVolt Electrician Pro', 'megavolt-electrician' ),
			'priority' => 0,
			'button_text' => __( 'Go Pro', 'megavolt-electrician' ),
			'button_url'  => esc_url( 'https://www.luzuk.com/products/wordpress-electrician-theme/', 'megavolt-electrician')
		] )
	);

} );


// Load the JS and CSS.
add_action( 'customize_controls_enqueue_scripts', function() {

	$version = wp_get_theme()->get( 'Version' );

	wp_enqueue_script(
		'megavoltelectrician-customize-section-button',
		get_theme_file_uri( 'vendor/wptrt/customize-section-button/public/js/customize-controls.js' ),
		[ 'customize-controls' ],
		$version,
		true
	);

	wp_enqueue_style(
		'megavoltelectrician-customize-section-button',
		get_theme_file_uri( 'vendor/wptrt/customize-section-button/public/css/customize-controls.css' ),
		[ 'customize-controls' ],
 		$version
	);

} );

function luzuk_megavoltelectrician_customize_register( $wp_customize ) {

	$wp_customize->add_setting('luzuk_megavoltelectrician_logo_size',array(
		'sanitize_callback'	=> 'luzuk_megavoltelectrician_sanitize_float'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_logo_size',array(
		'type' => 'range',
		'label' => __('Logo Size','megavolt-electrician'),
		'section' => 'title_tagline'
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_logo_padding',array(
		'sanitize_callback'	=> 'esc_html'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_logo_padding',array(
		'label' => __('Logo Margin','megavolt-electrician'),
		'section' => 'title_tagline'
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_logo_top_padding',array(
		'default' => '',
		'sanitize_callback'	=> 'luzuk_megavoltelectrician_sanitize_float'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_logo_top_padding',array(
		'type' => 'number',
		'description' => __('Top','megavolt-electrician'),
		'section' => 'title_tagline',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_logo_bottom_padding',array(
		'default' => '',
		'sanitize_callback'	=> 'luzuk_megavoltelectrician_sanitize_float'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_logo_bottom_padding',array(
		'type' => 'number',
		'description' => __('Bottom','megavolt-electrician'),
		'section' => 'title_tagline',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_logo_left_padding',array(
		'default' => '',
		'sanitize_callback'	=> 'luzuk_megavoltelectrician_sanitize_float'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_logo_left_padding',array(
		'type' => 'number',
		'description' => __('Left','megavolt-electrician'),
		'section' => 'title_tagline',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_logo_right_padding',array(
		'default' => '',
		'sanitize_callback'	=> 'luzuk_megavoltelectrician_sanitize_float'
 	));
 	$wp_customize->add_control('luzuk_megavoltelectrician_logo_right_padding',array(
		'type' => 'number',
		'description' => __('Right','megavolt-electrician'),
		'section' => 'title_tagline',
    ));

	$wp_customize->add_setting('luzuk_megavoltelectrician_show_site_title',array(
		'default' => true,
		'sanitize_callback'	=> 'luzuk_megavoltelectrician_sanitize_checkbox'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_show_site_title',array(
		'type' => 'checkbox',
		'label' => __('Show / Hide Site Title','megavolt-electrician'),
		'section' => 'title_tagline'
	));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_site_title_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_site_title_color', array(
		'label' => 'Title Color',
		'section' => 'title_tagline',
	)));

	$wp_customize->add_setting('luzuk_megavoltelectrician_show_tagline',array(
		'default' => true,
		'sanitize_callback'	=> 'luzuk_megavoltelectrician_sanitize_checkbox'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_show_tagline',array(
		'type' => 'checkbox',
		'label' => __('Show / Hide Site Tagline','megavolt-electrician'),
		'section' => 'title_tagline'
	));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_site_tagline_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_site_tagline_color', array(
		'label' => 'Tagline Color',
		'section' => 'title_tagline',
	)));

	$wp_customize->add_panel( 'luzuk_megavoltelectrician_panel_id', array(
		'priority' => 10,
		'capability' => 'edit_theme_options',
		'theme_supports' => '',
		'title' => __( 'Theme Settings', 'megavolt-electrician' ),
		'description' => __( 'Description of what this panel does.', 'megavolt-electrician' ),
	) );

	$wp_customize->add_section( 'luzuk_megavoltelectrician_theme_options_section', array(
    	'title'      => __( 'General Settings', 'megavolt-electrician' ),
		'priority'   => 30,
		'panel' => 'luzuk_megavoltelectrician_panel_id'
	) );

	$wp_customize->add_setting('luzuk_megavoltelectrician_theme_options',array(
		'default' => 'One Column',
		'sanitize_callback' => 'luzuk_megavoltelectrician_sanitize_choices'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_theme_options',array(
		'type' => 'select',
		'label' => __('Blog Page Sidebar Layout','megavolt-electrician'),
		'section' => 'luzuk_megavoltelectrician_theme_options_section',
		'choices' => array(
		   'Left Sidebar' => __('Left Sidebar','megavolt-electrician'),
		   'Right Sidebar' => __('Right Sidebar','megavolt-electrician'),
		   'One Column' => __('One Column','megavolt-electrician')
		),
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_single_post_sidebar',array(
		'default' => 'Right Sidebar',
		'sanitize_callback' => 'luzuk_megavoltelectrician_sanitize_choices'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_single_post_sidebar',array(
        'type' => 'select',
        'label' => __('Single Post Sidebar Layout','megavolt-electrician'),
        'section' => 'luzuk_megavoltelectrician_theme_options_section',
        'choices' => array(
            'Left Sidebar' => __('Left Sidebar','megavolt-electrician'),
            'Right Sidebar' => __('Right Sidebar','megavolt-electrician'),
            'One Column' => __('One Column','megavolt-electrician')
        ),
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_page_sidebar',array(
		'default' => 'One Column',
		'sanitize_callback' => 'luzuk_megavoltelectrician_sanitize_choices'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_page_sidebar',array(
        'type' => 'select',
        'label' => __('Page Sidebar Layout','megavolt-electrician'),
        'section' => 'luzuk_megavoltelectrician_theme_options_section',
        'choices' => array(
            'Left Sidebar' => __('Left Sidebar','megavolt-electrician'),
            'Right Sidebar' => __('Right Sidebar','megavolt-electrician'),
            'One Column' => __('One Column','megavolt-electrician')
        ),
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_archive_page_sidebar',array(
		'default' => 'One Column',
		'sanitize_callback' => 'luzuk_megavoltelectrician_sanitize_choices'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_archive_page_sidebar',array(
        'type' => 'select',
        'label' => __('Archive & Search Page Sidebar Layout','megavolt-electrician'),
        'section' => 'luzuk_megavoltelectrician_theme_options_section',
        'choices' => array(
            'Left Sidebar' => __('Left Sidebar','megavolt-electrician'),
            'Right Sidebar' => __('Right Sidebar','megavolt-electrician'),
            'One Column' => __('One Column','megavolt-electrician')
        ),
	));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_boxfull_width', array(
		'default'           => 'Full Width',
		'sanitize_callback' => 'luzuk_megavoltelectrician_sanitize_choices'
	));
	
	$wp_customize->add_control( 'luzuk_megavoltelectrician_boxfull_width', array(
		'label'    => __( 'Section Width', 'megavolt-electrician' ),
		'section'  => 'luzuk_megavoltelectrician_theme_options_section',
		'type'     => 'select',
		'choices'  => array(
			'container'  => __('Box Width', 'megavolt-electrician'),
			'container-fluid' => __('Full Width', 'megavolt-electrician'),
			'none' => __('None', 'megavolt-electrician')
		),
	));

	
 
	//Header
	$wp_customize->add_section( 'luzuk_megavoltelectrician_header' , array(
    	'title'    => __( 'Header Settings', 'megavolt-electrician' ),
		'priority' => null,
		'panel' => 'luzuk_megavoltelectrician_panel_id'
	) );

	$wp_customize->add_setting('luzuk_megavoltelectrician_header_addressheading',array(
		'default' => 'Office Address',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_header_addressheading',array(
	   	'type' => 'text',
	   	'label' => __('Address Heading','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_header',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_header_address',array(
		'default' => 'Envanto HQ, Australia',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_header_address',array(
	   	'type' => 'text',
	   	'label' => __('Address Text','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_header',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_header_phnheading',array(
		'default' => 'Phone',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_header_phnheading',array(
	   	'type' => 'text',
	   	'label' => __('Phone Number Heading','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_header',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_header_phoneno',array(
		'default' => '(00) 111-222-1111',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_header_phoneno',array(
	   	'type' => 'text',
	   	'label' => __('Phone Number','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_header',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_header_mailheading',array(
		'default' => 'E-Mail',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_header_mailheading',array(
	   	'type' => 'text',
	   	'label' => __('Mail Heading','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_header',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_header_mail',array(
		'default' => 'info@example.com',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_header_mail',array(
	   	'type' => 'text',
	   	'label' => __('Mail Text','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_header',
	));


	$wp_customize->add_setting( 'luzuk_megavoltelectrician_headertopbg_col', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_headertopbg_col', array(
		'label' => 'Top Head BG Color',
		'section' => 'luzuk_megavoltelectrician_header',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_headerbottombg_col', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_headerbottombg_col', array(
		'label' => 'Bottom Head BG Color',
		'section' => 'luzuk_megavoltelectrician_header',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_headertophedtext_col', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_headertophedtext_col', array(
		'label' => 'Top Head Text Color',
		'section' => 'luzuk_megavoltelectrician_header',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_headertophedicon_col', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_headertophedicon_col', array(
		'label' => 'Top Head Icon Color',
		'section' => 'luzuk_megavoltelectrician_header',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_headertophediconbg_col', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_headertophediconbg_col', array(
		'label' => 'Top Head Icon BG Color',
		'section' => 'luzuk_megavoltelectrician_header',
	)));


	$wp_customize->add_setting( 'luzuk_megavoltelectrician_menu_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_menu_color', array(
		'label' => 'Menu Color',
		'section' => 'luzuk_megavoltelectrician_header',
	)));

	
	$wp_customize->add_setting( 'luzuk_megavoltelectrician_brd_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_brd_color', array(
		'label' => 'Menu Border Color',
		'section' => 'luzuk_megavoltelectrician_header',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_menuhover_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_menuhover_color', array(
		'label' => 'Menu Active & Hover Color',
		'section' => 'luzuk_megavoltelectrician_header',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_submenu_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_submenu_color', array(
		'label' => 'Submenu Text Color',
		'section' => 'luzuk_megavoltelectrician_header',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_submenubg_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_submenubg_color', array(
		'label' => 'Submenu BG Color',
		'section' => 'luzuk_megavoltelectrician_header',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_menubg_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_menubg_color', array(
		'label' => 'Bottom Header BG Color',
		'section' => 'luzuk_megavoltelectrician_header',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_searchbox_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_searchbox_color', array(
		'label' => 'Search Box Color',
		'section' => 'luzuk_megavoltelectrician_header',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_searchicon_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_searchicon_color', array(
		'label' => 'Search Box Icon Color',
		'section' => 'luzuk_megavoltelectrician_header',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_searchiconbg_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_searchiconbg_color', array(
		'label' => 'Search Box Icon BG Color',
		'section' => 'luzuk_megavoltelectrician_header',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_headercarticon_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_headercarticon_color', array(
		'label' => 'Cart Icon Color',
		'section' => 'luzuk_megavoltelectrician_header',
	)));

	
	//home page slider
	$wp_customize->add_section( 'luzuk_megavoltelectrician_slider_section' , array(
    	'title'    => __( 'Slider Settings', 'megavolt-electrician' ),
		'description'=> __('<b>Note :</b> Please Add Image in 1500*600 Ratio.','megavolt-electrician'),
		'priority' => null,
		'panel' => 'luzuk_megavoltelectrician_panel_id'
	) );

	$wp_customize->add_setting('luzuk_megavoltelectrician_slider_hide_show',array(
    	'default' => false,
    	'sanitize_callback'	=> 'luzuk_megavoltelectrician_sanitize_checkbox'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_slider_hide_show',array(
	   	'type' => 'checkbox',
	   	'label' => __('Show / Hide Slider','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_slider_section',
	));

	for ( $count = 1; $count <= 4; $count++ ) {
		$wp_customize->add_setting( 'luzuk_megavoltelectrician_slider' . $count, array(
			'default'           => '',
			'sanitize_callback' => 'luzuk_megavoltelectrician_sanitize_dropdown_pages'
		));
		$wp_customize->add_control( 'luzuk_megavoltelectrician_slider' . $count, array(
			'label' => __('Select A Page', 'megavolt-electrician' ),
			'section' => 'luzuk_megavoltelectrician_slider_section',
			'type' => 'dropdown-pages'
		));
	}

	$wp_customize->add_setting('luzuk_megavoltelectrician_slider_excerpt_length',array(
		'default' => '15',
		'sanitize_callback'	=> 'luzuk_megavoltelectrician_sanitize_float'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_slider_excerpt_length',array(
		'type' => 'number',
		'label' => __('Description Excerpt Length','megavolt-electrician'),
		'section' => 'luzuk_megavoltelectrician_slider_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_slider_font_size',array(
		'default' => '',
		'sanitize_callback'	=> 'luzuk_megavoltelectrician_sanitize_float'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_slider_font_size',array(
		'type' => 'number',
		'label' => __('Title Font Size','megavolt-electrician'),
		'section' => 'luzuk_megavoltelectrician_slider_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_slider_text_font_size',array(
		'default' => '',
		'sanitize_callback'	=> 'luzuk_megavoltelectrician_sanitize_float'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_slider_text_font_size',array(
		'type' => 'number',
		'label' => __('Text Font Size','megavolt-electrician'),
		'section' => 'luzuk_megavoltelectrician_slider_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_sliderbtnlink',array(
    	'default' => '#',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_sliderbtnlink',array(
	   	'type' => 'url',
	   	'label' => __('Slider Button Link','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_slider_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_slider_opacity',array(
		'default' => '',
		'sanitize_callback'	=> 'luzuk_megavoltelectrician_sanitize_float'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_slider_opacity',array(
		'type' => 'range',
		'label' => __('Image Opacity','megavolt-electrician'),
		'section' => 'luzuk_megavoltelectrician_slider_section',
		'input_attrs' => array(
			'min'  => 0,
			'max'  => 1,
			'step' => 0.1,
		),
	));
	
	$wp_customize->add_setting( 'luzuk_megavoltelectrician_slider_title_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_slider_title_color', array(
		'label' => 'Title Color',
		'section' => 'luzuk_megavoltelectrician_slider_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_slider_description_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_slider_description_color', array(
		'label' => 'Description Color',
		'section' => 'luzuk_megavoltelectrician_slider_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_slider_btntext_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_slider_btntext_color', array(
		'label' => 'Button Text Color',
		'section' => 'luzuk_megavoltelectrician_slider_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_slider_btnicon_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_slider_btnicon_color', array(
		'label' => 'Button Icon Color',
		'section' => 'luzuk_megavoltelectrician_slider_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_slider_btniconbg_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_slider_btniconbg_color', array(
		'label' => 'Button Icon BG Color',
		'section' => 'luzuk_megavoltelectrician_slider_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_slider_btnbg_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_slider_btnbg_color', array(
		'label' => 'Button BG Color',
		'section' => 'luzuk_megavoltelectrician_slider_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_slider_btnbghrv_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_slider_btnbghrv_color', array(
		'label' => 'Button BG Hover Color',
		'section' => 'luzuk_megavoltelectrician_slider_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_slider_contentbg_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_slider_contentbg_color', array(
		'label' => 'Content BG Color',
		'section' => 'luzuk_megavoltelectrician_slider_section',
	)));


	// feature Section
	$wp_customize->add_section('luzuk_megavoltelectrician_feature_section',array(
		'title'	=> __('Feature Settings','megavolt-electrician'),
		'description'=> __('<b>Note :</b> This section will appear below the Slider.','megavolt-electrician'),
		'panel' => 'luzuk_megavoltelectrician_panel_id',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_feature_hideshow',array(
		'default' => true,
		'sanitize_callback'	=> 'luzuk_megavoltelectrician_sanitize_checkbox'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_feature_hideshow',array(
		'type' => 'checkbox',
		'label' => __('Show / Hide Feature Section','megavolt-electrician'),
		'section' => 'luzuk_megavoltelectrician_feature_section'
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_feature_heading_subheading',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_feature_heading_subheading',array(
	   	'type' => 'text',
	   	'label' => __('Sub Heading','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_feature_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_feature_heading_heading',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_feature_heading_heading',array(
	   	'type' => 'text',
	   	'label' => __('Heading','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_feature_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_feature_heading_description',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_feature_heading_description',array(
	   	'type' => 'text',
	   	'label' => __('Description','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_feature_section',
	));

	
	$wp_customize->add_setting('luzuk_megavoltelectrician_feature_heading_btntext',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_feature_heading_btntext',array(
	   	'type' => 'text',
	   	'label' => __('Button Text','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_feature_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_feature_heading_btnlink',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_feature_heading_btnlink',array(
	   	'type' => 'text',
	   	'label' => __('Button Link','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_feature_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_feature_list1text',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_feature_list1text',array(
	   	'type' => 'text',
	   	'label' => __('List 1 Text','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_feature_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_feature_list2text',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_feature_list2text',array(
	   	'type' => 'text',
	   	'label' => __('List 2 Text','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_feature_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_feature_list3text',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_feature_list3text',array(
	   	'type' => 'text',
	   	'label' => __('List 3 Text','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_feature_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_feature_list4text',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_feature_list4text',array(
	   	'type' => 'text',
	   	'label' => __('List 4 Text','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_feature_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_feature_list5text',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_feature_list5text',array(
	   	'type' => 'text',
	   	'label' => __('List 5 Text','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_feature_section',
	));


	$pages = get_pages(); // Retrieve pages
	$page_options = array(); // Initialize page options array
	foreach ($pages as $page) {
		$page_options[$page->ID] = $page->post_title; // Store page ID and title in options array
	}

	$wp_customize->add_setting('luzuk_megavoltelectrician_featurepage_setting_1', array(
		'default'            => '',
		'sanitize_callback'  => 'absint', // Use absint to ensure the value is an integer
	));

	$wp_customize->add_control('luzuk_megavoltelectrician_featurepage_setting_1', array(
		'label'    => __('Select Page 1', 'megavolt-electrician'),
		'section'  => 'luzuk_megavoltelectrician_feature_section', 
		'type'     => 'dropdown-pages',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_featurepage_setting_icon1',array(
    	'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_featurepage_setting_icon1',array(
	   	'type' => 'text',
	   	'label' => __('Icon 1','megavolt-electrician'),
		'description'    => __('fa-solid fa-scissors', 'megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_feature_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_featurepage_setting_2', array(
		'default'            => '',
		'sanitize_callback'  => 'absint', // Use absint to ensure the value is an integer
	));

	$wp_customize->add_control('luzuk_megavoltelectrician_featurepage_setting_2', array(
		'label'    => __('Select Page 2', 'megavolt-electrician'),
		'section'  => 'luzuk_megavoltelectrician_feature_section', 
		'type'     => 'dropdown-pages',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_featurepage_setting_icon2',array(
    	'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_featurepage_setting_icon2',array(
	   	'type' => 'text',
	   	'label' => __('Icon 2','megavolt-electrician'),
		'description'    => __('fa-solid fa-scissors', 'megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_feature_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_featurepage_setting_3', array(
		'default'            => '',
		'sanitize_callback'  => 'absint', // Use absint to ensure the value is an integer
	));

	$wp_customize->add_control('luzuk_megavoltelectrician_featurepage_setting_3', array(
		'label'    => __('Select Page 3', 'megavolt-electrician'),
		'section'  => 'luzuk_megavoltelectrician_feature_section', 
		'type'     => 'dropdown-pages',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_featurepage_setting_icon3',array(
    	'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_featurepage_setting_icon3',array(
	   	'type' => 'text',
	   	'label' => __('Icon 3','megavolt-electrician'),
		'description'    => __('fa-solid fa-scissors', 'megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_feature_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_featurepage_setting_4', array(
		'default'            => '',
		'sanitize_callback'  => 'absint', // Use absint to ensure the value is an integer
	));

	$wp_customize->add_control('luzuk_megavoltelectrician_featurepage_setting_4', array(
		'label'    => __('Select Page 4', 'megavolt-electrician'),
		'section'  => 'luzuk_megavoltelectrician_feature_section', 
		'type'     => 'dropdown-pages',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_featurepage_setting_icon4',array(
    	'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_featurepage_setting_icon4',array(
	   	'type' => 'text',
	   	'label' => __('Icon 4','megavolt-electrician'),
		'description'    => __('fa-solid fa-scissors', 'megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_feature_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_featurepage_setting_5', array(
		'default'            => '',
		'sanitize_callback'  => 'absint', // Use absint to ensure the value is an integer
	));

	$wp_customize->add_control('luzuk_megavoltelectrician_featurepage_setting_5', array(
		'label'    => __('Select Page 5', 'megavolt-electrician'),
		'section'  => 'luzuk_megavoltelectrician_feature_section', 
		'type'     => 'dropdown-pages',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_featurepage_setting_icon5',array(
    	'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_featurepage_setting_icon5',array(
	   	'type' => 'text',
	   	'label' => __('Icon 5','megavolt-electrician'),
		'description'    => __('fa-solid fa-scissors', 'megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_feature_section',
	));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_feature_subheading_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_feature_subheading_color', array(
		'label' => 'Sub Heading Color',
		'section' => 'luzuk_megavoltelectrician_feature_section',
	)));
	
	$wp_customize->add_setting( 'luzuk_megavoltelectrician_feature_heading_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_feature_heading_color', array(
		'label' => 'Heading Color',
		'section' => 'luzuk_megavoltelectrician_feature_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_feature_description_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_feature_description_color', array(
		'label' => 'Description Color',
		'section' => 'luzuk_megavoltelectrician_feature_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_feature_btntext_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_feature_btntext_color', array(
		'label' => 'Button Text Color',
		'section' => 'luzuk_megavoltelectrician_feature_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_feature_btnbg_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_feature_btnbg_color', array(
		'label' => 'Button BG Color',
		'section' => 'luzuk_megavoltelectrician_feature_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_feature_listtext_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_feature_listtext_color', array(
		'label' => 'List Text Color',
		'section' => 'luzuk_megavoltelectrician_feature_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_feature_listhoverbg_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_feature_listhoverbg_color', array(
		'label' => 'List Text Hover Color',
		'section' => 'luzuk_megavoltelectrician_feature_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_feature_slideicon_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_feature_slideicon_color', array(
		'label' => 'Slide Icon Color',
		'section' => 'luzuk_megavoltelectrician_feature_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_feature_slidedescription_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_feature_slidedescription_color', array(
		'label' => 'Slide Description Color',
		'section' => 'luzuk_megavoltelectrician_feature_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_feature_slidenum_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_feature_slidenum_color', array(
		'label' => 'Slide Number Color',
		'section' => 'luzuk_megavoltelectrician_feature_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_feature_slidenumbg_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_feature_slidenumbg_color', array(
		'label' => 'Slide Number BG Color',
		'section' => 'luzuk_megavoltelectrician_feature_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_feature_slidebg_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_feature_slidebg_color', array(
		'label' => 'Slide BG Color',
		'section' => 'luzuk_megavoltelectrician_feature_section',
	)));

	
	// aboutus Section
	$wp_customize->add_section('luzuk_megavoltelectrician_aboutus_section',array(
		'title'	=> __('Aboutus Settings','megavolt-electrician'),
		'description'=> __('<b>Note :</b> This section will appear below the Banner.','megavolt-electrician'),
		'panel' => 'luzuk_megavoltelectrician_panel_id',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_aboutus_hideshow',array(
		'default' => true,
		'sanitize_callback'	=> 'luzuk_megavoltelectrician_sanitize_checkbox'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_aboutus_hideshow',array(
		'type' => 'checkbox',
		'label' => __('Show / Hide Aboutus Section','megavolt-electrician'),
		'section' => 'luzuk_megavoltelectrician_aboutus_section'
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_aboutusubheading',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_aboutusubheading',array(
	   	'type' => 'text',
	   	'label' => __('Sub Heading','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_aboutus_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_aboutusheading',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_aboutusheading',array(
	   	'type' => 'text',
	   	'label' => __('Heading','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_aboutus_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_aboutushastag',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_aboutushastag',array(
	   	'type' => 'text',
	   	'label' => __('Hastag Text','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_aboutus_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_aboutustitle',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_aboutustitle',array(
	   	'type' => 'text',
	   	'label' => __('Title','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_aboutus_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_aboutus_box1icon',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_aboutus_box1icon',array(
	   	'type' => 'text',
	   	'label' => __('Box 1 Icon','megavolt-electrician'),
		'description' => __('Add Like "fa fa-cog"','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_aboutus_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_aboutus_box1title',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_aboutus_box1title',array(
	   	'type' => 'text',
	   	'label' => __('Box 1 Title','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_aboutus_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_aboutus_box2icon',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_aboutus_box2icon',array(
	   	'type' => 'text',
	   	'label' => __('Box 2 Icon','megavolt-electrician'),
		'description' => __('Add Like "fa fa-cog"','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_aboutus_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_aboutus_box2title',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_aboutus_box2title',array(
	   	'type' => 'text',
	   	'label' => __('Box 2 Title','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_aboutus_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_aboutus_box3icon',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_aboutus_box3icon',array(
	   	'type' => 'text',
	   	'label' => __('Box 3 Icon','megavolt-electrician'),
		'description' => __('Add Like "fa fa-cog"','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_aboutus_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_aboutus_box3title',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_aboutus_box3title',array(
	   	'type' => 'text',
	   	'label' => __('Box 3 Title','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_aboutus_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_aboutus_box4icon',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_aboutus_box4icon',array(
	   	'type' => 'text',
	   	'label' => __('Box 4 Icon','megavolt-electrician'),
		'description' => __('Add Like "fa fa-cog"','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_aboutus_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_aboutus_box4title',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_aboutus_box4title',array(
	   	'type' => 'text',
	   	'label' => __('Box 4 Title','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_aboutus_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_aboutusdescription',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_aboutusdescription',array(
	   	'type' => 'text',
	   	'label' => __('Description','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_aboutus_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_aboutusyearofexperiencenum',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_aboutusyearofexperiencenum',array(
	   	'type' => 'text',
	   	'label' => __('Year Of Experience Number','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_aboutus_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_aboutusyearofexperiencetext',array(
		'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_aboutusyearofexperiencetext',array(
	   	'type' => 'text',
	   	'label' => __('Year Of Experience Text','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_aboutus_section',
	));

	$wp_customize->add_setting(
    	'luzuk_megavoltelectrician_aboutus_image1',
	    array(
	        'sanitize_callback' => 'esc_url_raw'
	    )
	);
	$wp_customize->add_control(
	    new WP_Customize_Image_Control(
	        $wp_customize,
	        'luzuk_megavoltelectrician_aboutus_image1',
	        array(
			    'label'   		=> __('Image1','megavolt-electrician'),
				'description'   		=> __('Image size 425*285','megavolt-electrician'),
	            'section' => 'luzuk_megavoltelectrician_aboutus_section',
	            'settings' => 'luzuk_megavoltelectrician_aboutus_image1',
	        )
	    )
	);

	$wp_customize->add_setting(
    	'luzuk_megavoltelectrician_aboutus_image2',
	    array(
	        'sanitize_callback' => 'esc_url_raw'
	    )
	);
	$wp_customize->add_control(
	    new WP_Customize_Image_Control(
	        $wp_customize,
	        'luzuk_megavoltelectrician_aboutus_image2',
	        array(
			    'label'   		=> __('Image2','megavolt-electrician'),
				'description'   		=> __('Image size 425*285','megavolt-electrician'),
	            'section' => 'luzuk_megavoltelectrician_aboutus_section',
	            'settings' => 'luzuk_megavoltelectrician_aboutus_image2',
	        )
	    )
	);

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_aboutustitle_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_aboutustitle_color', array(
		'label' => 'SubHeading Color',
		'section' => 'luzuk_megavoltelectrician_aboutus_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_aboutusbgtitle_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_aboutusbgtitle_color', array(
		'label' => 'BG SubHeading Color',
		'section' => 'luzuk_megavoltelectrician_aboutus_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_aboutusheading_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_aboutusheading_color', array(
		'label' => 'Heading Color',
		'section' => 'luzuk_megavoltelectrician_aboutus_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_aboutushastag_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_aboutushastag_color', array(
		'label' => 'Hastag Color',
		'section' => 'luzuk_megavoltelectrician_aboutus_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_aboutustitle_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_aboutustitle_color', array(
		'label' => 'Title Color',
		'section' => 'luzuk_megavoltelectrician_aboutus_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_aboutusboxicon_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_aboutusboxicon_color', array(
		'label' => 'Box Icon Color',
		'section' => 'luzuk_megavoltelectrician_aboutus_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_aboutusboxtitle_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_aboutusboxtitle_color', array(
		'label' => 'Box Title Color',
		'section' => 'luzuk_megavoltelectrician_aboutus_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_aboutusboxbg_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_aboutusboxbg_color', array(
		'label' => 'Box BG Color',
		'section' => 'luzuk_megavoltelectrician_aboutus_section',
	)));
	
	$wp_customize->add_setting( 'luzuk_megavoltelectrician_aboutusdescription_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_aboutusdescription_color', array(
		'label' => 'Description Color',
		'section' => 'luzuk_megavoltelectrician_aboutus_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_aboutusyearexprencie_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_aboutusyearexprencie_color', array(
		'label' => 'Year Of Experience Text Color',
		'section' => 'luzuk_megavoltelectrician_aboutus_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_aboutusyearexprenciebg_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_aboutusyearexprenciebg_color', array(
		'label' => 'Year Of Experience BG 1 Color',
		'section' => 'luzuk_megavoltelectrician_aboutus_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_aboutusyearexprenciebg2_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_aboutusyearexprenciebg2_color', array(
		'label' => 'Year Of Experience BG 2 Color',
		'section' => 'luzuk_megavoltelectrician_aboutus_section',
	)));


	// services Section
	$wp_customize->add_section('luzuk_megavoltelectrician_services_section',array(
		'title'	=> __('Services Settings','megavolt-electrician'),
		'description'=> __('<b>Note :</b> This section will appear below the Aboutus.','megavolt-electrician'),
		'panel' => 'luzuk_megavoltelectrician_panel_id',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_services_hideshow',array(
		'default' => true,
		'sanitize_callback'	=> 'luzuk_megavoltelectrician_sanitize_checkbox'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_services_hideshow',array(
		'type' => 'checkbox',
		'label' => __('Show / Hide Services Section','megavolt-electrician'),
		'section' => 'luzuk_megavoltelectrician_services_section'
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_servicesheading',array(
    	'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_servicesheading',array(
	   	'type' => 'text',
	   	'label' => __('Heading','megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_services_section',
	));

	$pages = get_pages(); // Retrieve pages
	$page_options = array(); // Initialize page options array
	foreach ($pages as $page) {
		$page_options[$page->ID] = $page->post_title; // Store page ID and title in options array
	}

	$wp_customize->add_setting('luzuk_megavoltelectrician_page_setting_1', array(
		'default'            => '',
		'sanitize_callback'  => 'absint', // Use absint to ensure the value is an integer
	));

	$wp_customize->add_control('luzuk_megavoltelectrician_page_setting_1', array(
		'label'    => __('Select Page 1', 'megavolt-electrician'),
		'section'  => 'luzuk_megavoltelectrician_services_section', 
		'type'     => 'dropdown-pages',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_page_setting_icon1',array(
    	'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_page_setting_icon1',array(
	   	'type' => 'text',
	   	'label' => __('Icon 1','megavolt-electrician'),
		'description'    => __('fa-solid fa-scissors', 'megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_services_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_page_setting_2', array(
		'default'            => '',
		'sanitize_callback'  => 'absint', // Use absint to ensure the value is an integer
	));

	$wp_customize->add_control('luzuk_megavoltelectrician_page_setting_2', array(
		'label'    => __('Select Page 2', 'megavolt-electrician'),
		'section'  => 'luzuk_megavoltelectrician_services_section', 
		'type'     => 'dropdown-pages',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_page_setting_icon2',array(
    	'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_page_setting_icon2',array(
	   	'type' => 'text',
	   	'label' => __('Icon 2','megavolt-electrician'),
		'description'    => __('fa-solid fa-scissors', 'megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_services_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_page_setting_3', array(
		'default'            => '',
		'sanitize_callback'  => 'absint', // Use absint to ensure the value is an integer
	));

	$wp_customize->add_control('luzuk_megavoltelectrician_page_setting_3', array(
		'label'    => __('Select Page 3', 'megavolt-electrician'),
		'section'  => 'luzuk_megavoltelectrician_services_section', 
		'type'     => 'dropdown-pages',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_page_setting_icon3',array(
    	'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_page_setting_icon3',array(
	   	'type' => 'text',
	   	'label' => __('Icon 3','megavolt-electrician'),
		'description'    => __('fa-solid fa-scissors', 'megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_services_section',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_page_setting_4', array(
		'default'            => '',
		'sanitize_callback'  => 'absint', // Use absint to ensure the value is an integer
	));

	$wp_customize->add_control('luzuk_megavoltelectrician_page_setting_4', array(
		'label'    => __('Select Page 4', 'megavolt-electrician'),
		'section'  => 'luzuk_megavoltelectrician_services_section', 
		'type'     => 'dropdown-pages',
	));

	$wp_customize->add_setting('luzuk_megavoltelectrician_page_setting_icon4',array(
    	'default' => '',
    	'sanitize_callback'	=> 'sanitize_text_field'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_page_setting_icon4',array(
	   	'type' => 'text',
	   	'label' => __('Icon 4','megavolt-electrician'),
		'description'    => __('fa-solid fa-scissors', 'megavolt-electrician'),
	   	'section' => 'luzuk_megavoltelectrician_services_section',
	));
	
	$wp_customize->add_setting( 'luzuk_megavoltelectrician_services_heading_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_services_heading_color', array(
		'label' => 'Heading Color',
		'section' => 'luzuk_megavoltelectrician_services_section',
	)));


	$wp_customize->add_setting( 'luzuk_megavoltelectrician_services_title_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_services_title_color', array(
		'label' => 'BG Heading Color',
		'section' => 'luzuk_megavoltelectrician_services_section',
	)));


	$wp_customize->add_setting( 'luzuk_megavoltelectrician_services_boxicon_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_services_boxicon_color', array(
		'label' => 'Box Icon Color',
		'section' => 'luzuk_megavoltelectrician_services_section',
	)));


	$wp_customize->add_setting( 'luzuk_megavoltelectrician_services_boxtitle_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_services_boxtitle_color', array(
		'label' => 'Box Title Color',
		'section' => 'luzuk_megavoltelectrician_services_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_services_boxtitlebrd_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_services_boxtitlebrd_color', array(
		'label' => 'Box Title Border Color',
		'section' => 'luzuk_megavoltelectrician_services_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_services_boxdescription_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_services_boxdescription_color', array(
		'label' => 'Box Description Color',
		'section' => 'luzuk_megavoltelectrician_services_section',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_services_boxbg_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_services_boxbg_color', array(
		'label' => 'Box BG Color',
		'section' => 'luzuk_megavoltelectrician_services_section',
	)));
	
	
	//Footer
    $wp_customize->add_section( 'luzuk_megavoltelectrician_footer', array(
    	'title'  => __( 'Footer Settings', 'megavolt-electrician' ),
		'priority' => null,
		'panel' => 'luzuk_megavoltelectrician_panel_id'
	) );

	$wp_customize->add_setting('luzuk_megavoltelectrician_show_back_totop',array(
       'default' => true,
       'sanitize_callback'	=> 'luzuk_megavoltelectrician_sanitize_checkbox'
    ));
    $wp_customize->add_control('luzuk_megavoltelectrician_show_back_totop',array(
       'type' => 'checkbox',
       'label' => __('Show / Hide Back to Top','megavolt-electrician'),
       'section' => 'luzuk_megavoltelectrician_footer'
    ));

    $wp_customize->add_setting('luzuk_megavoltelectrician_footer_copy',array(
		'default' => 'MegaVolt Electrician WordPress Theme By Luzuk',
		'sanitize_callback'	=> 'sanitize_text_field'
	));	
	$wp_customize->add_control('luzuk_megavoltelectrician_footer_copy',array(
		'label'	=> __('Copyright Text','megavolt-electrician'),
		'section' => 'luzuk_megavoltelectrician_footer',
		'setting' => 'luzuk_megavoltelectrician_footer_copy',
		'type' => 'text'
	));
	
	$wp_customize->add_setting('luzuk_megavoltelectrician_footer_copy_font_size',array(
		'default' => '',
		'sanitize_callback'	=> 'luzuk_megavoltelectrician_sanitize_float'
	));
	$wp_customize->add_control('luzuk_megavoltelectrician_footer_copy_font_size',array(
		'type' => 'number',
		'label' => __('Copyright Font Size','megavolt-electrician'),
		'section' => 'luzuk_megavoltelectrician_footer',
	));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_footerwidgettitle_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_footerwidgettitle_color', array(
		'label' => 'Widegts Title Color',
		'section' => 'luzuk_megavoltelectrician_footer',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_footertext_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_footertext_color', array(
		'label' => 'Text Color',
		'section' => 'luzuk_megavoltelectrician_footer',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_footericon_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_footericon_color', array(
		'label' => 'Icon Color',
		'section' => 'luzuk_megavoltelectrician_footer',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_footeractivemenu_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_footeractivemenu_color', array(
		'label' => 'Active Menu Color',
		'section' => 'luzuk_megavoltelectrician_footer',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_footerbg_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_footerbg_color', array(
		'label' => 'BG Color',
		'section' => 'luzuk_megavoltelectrician_footer',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_footercopyright_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_footercopyright_color', array(
		'label' => 'Copyright Color',
		'section' => 'luzuk_megavoltelectrician_footer',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_footercopyrightbg_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_footercopyrightbg_color', array(
		'label' => 'Copyright BG Color',
		'section' => 'luzuk_megavoltelectrician_footer',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_footerscrolltotoptext_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_footerscrolltotoptext_color', array(
		'label' => 'Scroll To Top Text Color',
		'section' => 'luzuk_megavoltelectrician_footer',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_footerscrolltotopbg_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_footerscrolltotopbg_color', array(
		'label' => 'Scroll To Top BG Color',
		'section' => 'luzuk_megavoltelectrician_footer',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_footerscrolltotoptexthover_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_footerscrolltotoptexthover_color', array(
		'label' => 'Scroll To Top Text Hover Color',
		'section' => 'luzuk_megavoltelectrician_footer',
	)));

	$wp_customize->add_setting( 'luzuk_megavoltelectrician_footerscrolltotophover_color', array(
		'default' => '',
		'sanitize_callback' => 'sanitize_hex_color'
	));
	$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'luzuk_megavoltelectrician_footerscrolltotophover_color', array(
		'label' => 'Scroll To Top Hover Color',
		'section' => 'luzuk_megavoltelectrician_footer',
	)));




	

	$wp_customize->get_setting( 'blogname' )->transport          = 'postMessage';
	$wp_customize->get_setting( 'blogdescription' )->transport   = 'postMessage';
	$wp_customize->get_setting( 'header_textcolor' )->transport  = 'postMessage';

	$wp_customize->selective_refresh->add_partial( 'blogname', array(
		'selector' => '.site-title a',
		'render_callback' => 'luzuk_megavoltelectrician_customize_partial_blogname',
	) );
	$wp_customize->selective_refresh->add_partial( 'blogdescription', array(
		'selector' => '.site-description',
		'render_callback' => 'luzuk_megavoltelectrician_customize_partial_blogdescription',
	) );
}
add_action( 'customize_register', 'luzuk_megavoltelectrician_customize_register' );

function luzuk_megavoltelectrician_customize_partial_blogname() {
	bloginfo( 'name' );
}

function luzuk_megavoltelectrician_customize_partial_blogdescription() {
	bloginfo( 'description' );
}

if (class_exists('WP_Customize_Control')) {

   	class Luzuk_MegaVoltElectrician_Fontawesome_Icon_Chooser extends WP_Customize_Control {

      	public $type = 'icon';

      	public function render_content() { ?>
	     	<label>
	            <span class="customize-control-title">
	               <?php echo esc_html($this->label); ?>
	            </span>

	            <?php if ($this->description) { ?>
	                <span class="description customize-control-description">
	                   <?php echo wp_kses_post($this->description); ?>
	                </span>
	            <?php } ?>

	            <div class="megavoltelectrician-selected-icon">
	                <i class="fa <?php echo esc_attr($this->value()); ?>"></i>
	                <span><i class="fa fa-angle-down"></i></span>
	            </div>

	            <ul class="megavoltelectrician-icon-list clearfix">
	                <?php
	                $luzuk_megavoltelectrician_font_awesome_icon_array = luzuk_megavoltelectrician_font_awesome_icon_array();
	                foreach ($luzuk_megavoltelectrician_font_awesome_icon_array as $luzuk_megavoltelectrician_font_awesome_icon) {
	                   $icon_class = $this->value() == $luzuk_megavoltelectrician_font_awesome_icon ? 'icon-active' : '';
	                   echo '<li class=' . esc_attr($icon_class) . '><i class="' . esc_attr($luzuk_megavoltelectrician_font_awesome_icon) . '"></i></li>';
	                }
	                ?>
	            </ul>
	            <input type="hidden" value="<?php $this->value(); ?>" <?php $this->link(); ?> />
	        </label>
	        <?php
      	}
  	}
}
function luzuk_megavoltelectrician_customizer_script() {
   wp_enqueue_style( 'font-awesome-1', esc_url(get_template_directory_uri()).'/assets/css/fontawesome-all.css');
}
add_action( 'customize_controls_enqueue_scripts', 'luzuk_megavoltelectrician_customizer_script' );