<?php
/**
 *
 * @package     productive-forms
 * @author      productiveminds.com
 * @copyright   productiveminds.com
 */

if ( ! defined( 'ABSPATH' ) ) {
    die();
}


if ( ! class_exists( 'Productive_Forms_Customiser_Header_Contact_Section' ) ) { 
    
    /**
     * Productive_Forms_Customiser_Header_Contact_Section
     * Theme Customiser Class
     */
    class Productive_Forms_Customiser_Header_Contact_Section extends Productive_Forms_Customiser_Common {
        
        /**
         * Register the customizer
         *
         * @param WP_Customize_Manager $wp_customise param.
         */
        public static function register( $wp_customise ) {
            
            $panel = 'productive_forms_plugin_customizers';
            $get_template = get_template();
            if ( strpos( $get_template, 'productive-business') !== false ) {
                $panel = 'productive_business_theme_options';
            } else if ( strpos( $get_template, 'productive-ecommerce') !== false ) {
                $panel = 'productive_ecommerce_theme_options';
            } else if ( strpos( $get_template, 'stockist') !== false ) {
                $panel = 'productive_stockist_theme_options';
            }
            
            $wp_customise->add_section(
                'productive_forms_header_contact_section_options',
                array(
                    'title' => esc_html__( 'Header Contact Section Options', 'productive-forms' ),
                    'description' => '',
                    'panel' => $panel,
                    'priority' => 60,
                    'capability' => 'edit_theme_options',
                )
                );

            // add a setting for productive_forms_header_contact_section_switch_on control, below.
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_switch_on',
                array(
                    'type' => 'theme_mod',
                    'default' => false,
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'capability' => 'edit_theme_options',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_checkbox'),
                )
                );
            // add control..
            $wp_customise->add_control(
                'productive_forms_header_contact_section_switch_on',
                array(
                    'type' => 'checkbox',
                    'priority' => 10,
                    'section' => 'productive_forms_header_contact_section_options',
                    'label' => esc_html__( 'Enable Header Contact Section', 'productive-forms' ),
                    'description' => '',
                    // 'active_callback' => 'is_front_page',
                )
                );

            // add a setting for productive_forms_header_contact_section_contact_icon_position control, below.
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_contact_icon_position',
                array(
                    'type' => 'theme_mod',
                    'default' => 'left',
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'capability' => 'edit_theme_options',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_select'),
                )
            );
            $wp_customise->add_control(
                'productive_forms_header_contact_section_contact_icon_position',
                array(
                    'type' => 'select',
                    'priority' => 20,
                    'section' => 'productive_forms_header_contact_section_options',
                    'label' => esc_html__( 'Contact icons position', 'productive-forms' ),
                    'description' => '',
                    'choices' => array(
                        'left' => esc_html__( 'Left', 'productive-forms' ),
                        'right' => esc_html__( 'Right', 'productive-forms' ),
                        'center' => esc_html__( 'Center', 'productive-forms' ),
                        'hide_contact_icon' => esc_html__( 'Hide', 'productive-forms' ),
                    ),
                )
            );
            
            // add a setting for productive_forms_header_contact_section_contact_icon_copy, below.
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_contact_icon_copy',
                array(
                    'type' => 'theme_mod',
                    'default' => esc_html__( 'Any question?', 'productive-forms' ),
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'capability' => 'edit_theme_options',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_no_html'),
                )
                );
            // add control..
            $wp_customise->add_control(
                'productive_forms_header_contact_section_contact_icon_copy',
                array(
                    'type' => 'text',
                    'priority' => 30,
                    'section' => 'productive_forms_header_contact_section_options',
                    'label' => esc_html__( 'Contact icons copy', 'productive-forms' ),
                    'description' => '',
                )
                );

            // add a setting for productive_forms_header_contact_section_contact_icon_in_use control, below.
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_contact_icon_in_use',
                array(
                    'type' => 'theme_mod',
                    'default' => 'email_only',
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'capability' => 'edit_theme_options',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_select'),
                )
            );
            $wp_customise->add_control(
                'productive_forms_header_contact_section_contact_icon_in_use',
                array(
                    'type' => 'select',
                    'priority' => 40,
                    'section' => 'productive_forms_header_contact_section_options',
                    'label' => esc_html__( 'Contact icons option', 'productive-forms' ),
                    'description' => '',
                    'choices' => array(
                        'email_only' => esc_html__( 'Email only (default)', 'productive-forms' ),
                        'phone_only' => esc_html__( 'Phone only', 'productive-forms' ),
                        'whatsapp_only' => esc_html__( 'WhatsApp only', 'productive-forms' ),
                        'email_and_phone' => esc_html__( 'Email and Phone', 'productive-forms' ),
                        'email_and_whatsapp' => esc_html__( 'Email and WhatsApp', 'productive-forms' ),
                        'phone_and_whatsapp' => esc_html__( 'Phone and WhatsApp', 'productive-forms' ),
                        'all_three' => esc_html__( 'All', 'productive-forms' ),
                        'hide_contact_icon' => esc_html__( 'None', 'productive-forms' ),
                    ),
                )
            );

            // add a setting for productive_forms_header_contact_section_contact_page_position control, below.
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_contact_page_position',
                array(
                    'type' => 'theme_mod',
                    'default' => 'right',
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'capability' => 'edit_theme_options',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_select'),
                )
            );
            $wp_customise->add_control(
                'productive_forms_header_contact_section_contact_page_position',
                array(
                    'type' => 'select',
                    'priority' => 50,
                    'section' => 'productive_forms_header_contact_section_options',
                    'label' => esc_html__( 'Message us links position', 'productive-forms' ),
                    'description' => '',
                    'choices' => array(
                        'left' => esc_html__( 'Left', 'productive-forms' ),
                        'right' => esc_html__( 'Right', 'productive-forms' ),
                        'center' => esc_html__( 'Center', 'productive-forms' ),
                        'hide_contact_page' => esc_html__( 'Hide', 'productive-forms' ),
                    ),
                )
            );
            
            // add a setting for productive_forms_header_contact_section_contact_page_copy, below.
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_contact_page_copy',
                array(
                    'type' => 'theme_mod',
                    'default' => esc_html__( 'Message Us', 'productive-forms' ),
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'capability' => 'edit_theme_options',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_no_html'),
                )
                );
            // add control..
            $wp_customise->add_control(
                'productive_forms_header_contact_section_contact_page_copy',
                array(
                    'type' => 'text',
                    'priority' => 60,
                    'section' => 'productive_forms_header_contact_section_options',
                    'label' => esc_html__( 'Message us copy', 'productive-forms' ),
                    'description' => '',
                )
                );
            
            // add a setting for productive_forms_header_contact_section_social_media_icon_position control, below.
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_social_media_icon_position',
                array(
                    'type' => 'theme_mod',
                    'default' => 'center',
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'capability' => 'edit_theme_options',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_select'),
                )
            );
            $wp_customise->add_control(
                'productive_forms_header_contact_section_social_media_icon_position',
                array(
                    'type' => 'select',
                    'priority' => 70,
                    'section' => 'productive_forms_header_contact_section_options',
                    'label' => esc_html__( 'Social media icons position', 'productive-forms' ),
                    'description' => '',
                    'choices' => array(
                        'left' => esc_html__( 'Left', 'productive-forms' ),
                        'right' => esc_html__( 'Right', 'productive-forms' ),
                        'center' => esc_html__( 'Center', 'productive-forms' ),
                        'hide_social_media_icon' => esc_html__( 'Hide', 'productive-forms' ),
                    ),
                )
            );
            
            // add a setting for productive_forms_header_contact_section_social_media_icon_copy, below.
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_social_media_icon_copy',
                array(
                    'type' => 'theme_mod',
                    'default' => esc_html__( 'Follow us on:', 'productive-forms' ),
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'capability' => 'edit_theme_options',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_no_html'),
                )
                );
            // add control..
            $wp_customise->add_control(
                'productive_forms_header_contact_section_social_media_icon_copy',
                array(
                    'type' => 'text',
                    'priority' => 80,
                    'section' => 'productive_forms_header_contact_section_options',
                    'label' => esc_html__( 'Social media copy', 'productive-forms' ),
                )
                );
            
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_enable_website_1',
                array(
                    'type' => 'theme_mod',
                    'default' => '1',
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'capability' => 'edit_theme_options',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_select'),
                )
            );
            $wp_customise->add_control(
                'productive_forms_header_contact_section_enable_website_1',
                array(
                    'type' => 'select',
                    'priority' => 90,
                    'section' => 'productive_forms_header_contact_section_options',
                    'label' => esc_html__( 'Display Website 1', 'productive-forms' ),
                    'description' => '',
                    'choices' => productive_global_get_yes_or_no_options(),
                )
            );

            $wp_customise->add_setting(
                'productive_forms_header_contact_section_enable_website_2',
                array(
                    'type' => 'theme_mod',
                    'default' => '1',
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'capability' => 'edit_theme_options',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_select'),
                )
            );
            $wp_customise->add_control(
                'productive_forms_header_contact_section_enable_website_2',
                array(
                    'type' => 'select',
                    'priority' => 100,
                    'section' => 'productive_forms_header_contact_section_options',
                    'label' => esc_html__( 'Display Website 2', 'productive-forms' ),
                    'description' => '',
                    'choices' => productive_global_get_yes_or_no_options(),
                )
            );

            $wp_customise->add_setting(
                'productive_forms_header_contact_section_enable_website_3',
                array(
                    'type' => 'theme_mod',
                    'default' => '1',
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'capability' => 'edit_theme_options',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_select'),
                )
            );
            $wp_customise->add_control(
                'productive_forms_header_contact_section_enable_website_3',
                array(
                    'type' => 'select',
                    'priority' => 110,
                    'section' => 'productive_forms_header_contact_section_options',
                    'label' => esc_html__( 'Display Website 3', 'productive-forms' ),
                    'description' => '',
                    'choices' => productive_global_get_yes_or_no_options(),
                )
            );

            $wp_customise->add_setting(
                'productive_forms_header_contact_section_enable_website_4',
                array(
                    'type' => 'theme_mod',
                    'default' => '1',
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'capability' => 'edit_theme_options',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_select'),
                )
            );
            $wp_customise->add_control(
                'productive_forms_header_contact_section_enable_website_4',
                array(
                    'type' => 'select',
                    'priority' => 120,
                    'section' => 'productive_forms_header_contact_section_options',
                    'label' => esc_html__( 'Display Website 4', 'productive-forms' ),
                    'description' => '',
                    'choices' => productive_global_get_yes_or_no_options(),
                )
            );
            
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_enable_website_5',
                array(
                    'type' => 'theme_mod',
                    'default' => '1',
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'capability' => 'edit_theme_options',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_select'),
                )
            );
            $wp_customise->add_control(
                'productive_forms_header_contact_section_enable_website_5',
                array(
                    'type' => 'select',
                    'priority' => 130,
                    'section' => 'productive_forms_header_contact_section_options',
                    'label' => esc_html__( 'Display Website 5', 'productive-forms' ),
                    'description' => '',
                    'choices' => productive_global_get_yes_or_no_options(),
                )
            );

            $wp_customise->add_setting(
                'productive_forms_header_contact_section_use_official_sm_colours',
                array(
                    'type' => 'theme_mod',
                    'default' => 'brand_color_around_white_icon',
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'capability' => 'edit_theme_options',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_select'),
                )
            );
            $wp_customise->add_control(
                'productive_forms_header_contact_section_use_official_sm_colours',
                array(
                    'type' => 'select',
                    'priority' => 140,
                    'section' => 'productive_forms_header_contact_section_options',
                    'label' => esc_html__( 'Social media icons style', 'productive-forms' ),
                    'description' => '',
                    'choices' => productive_global_add_social_media_icons_style_options( 1 ),
                )
            );
            
            // add a setting for productive_forms_header_contact_section_icon_size control, below.
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_icon_size',
                array(
                    'type' => 'theme_mod',
                    'default' => 16,
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'capability' => 'edit_theme_options',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_absint'),
                )
            );
            $wp_customise->add_control(
                'productive_forms_header_contact_section_icon_size',
                array(
                    'type' => 'number',
                    'priority' => 170,
                    'section' => 'productive_forms_header_contact_section_options',
                    'label' => esc_html__( 'Icons size (px)', 'productive-forms' ),
                    'description' => '',
                    'input_attrs' => array(
                        'min' => 10,
                        'max' => 100,
                        'step' => 1,
                    ),
                )
            );

            // add a setting for productive_forms_header_contact_section_icon_color control, below.
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_icon_color',
                array(
                    'type' => 'theme_mod',
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'default' => '#ea3b06',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_color'),
                )
                );
            
            $wp_customise->add_control(
                new WP_Customize_Color_Control(
                    $wp_customise,
                    'productive_forms_header_contact_section_icon_color',
                    array(
                        'priority' => 180,
                        'label' => esc_html__( 'Icons color', 'productive-forms' ),
                        'section' => 'productive_forms_header_contact_section_options',
                    )
                    )
                );

            // add a setting for productive_forms_header_contact_section_text_color control, below.
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_text_color',
                array(
                    'type' => 'theme_mod',
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'default'              => '#3a465e',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_color'),
                )
                );

            $wp_customise->add_control(
                new WP_Customize_Color_Control(
                    $wp_customise,
                    'productive_forms_header_contact_section_text_color',
                    array(
                        'priority' => 190,
                        'label' => esc_html__( 'Content color', 'productive-forms' ),
                        'section' => 'productive_forms_header_contact_section_options',
                    )
                    )
                );

            // add a setting for productive_forms_header_contact_section_hyperlink_color control, below.
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_hyperlink_color',
                array(
                    'type' => 'theme_mod',
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'default'              => '#0a47bb',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_color'),
                )
                );

            $wp_customise->add_control(
                new WP_Customize_Color_Control(
                    $wp_customise,
                    'productive_forms_header_contact_section_hyperlink_color',
                    array(
                        'priority' => 200,
                        'label' => esc_html__( 'Links color', 'productive-forms' ),
                        'section' => 'productive_forms_header_contact_section_options',
                    )
                    )
                );

            // add a setting for productive_forms_header_contact_section_hyperlink_color_hover control, below.
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_hyperlink_color_hover',
                array(
                    'type' => 'theme_mod',
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'default'              => '#2a3b55',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_color'),
                )
                );

            $wp_customise->add_control(
                new WP_Customize_Color_Control(
                    $wp_customise,
                    'productive_forms_header_contact_section_hyperlink_color_hover',
                    array(
                        'priority' => 210,
                        'label' => esc_html__( 'Links color (on Hover)', 'productive-forms' ),
                        'section' => 'productive_forms_header_contact_section_options',
                    )
                    )
                );

            // add a setting for productive_forms_header_contact_section_alignment control, below.
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_alignment',
                array(
                    'type' => 'theme_mod',
                    'default' => 'justify-content-space-between',
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'capability' => 'edit_theme_options',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_select'),
                )
            );
            $wp_customise->add_control(
                'productive_forms_header_contact_section_alignment',
                array(
                    'type' => 'select',
                    'priority' => 220,
                    'section' => 'productive_forms_header_contact_section_options',
                    'label' => esc_html__( 'Alignment', 'productive-forms' ),
                    'description' => '',
                    'choices' => array(
                        'justify-content-flex-start' => esc_html__( 'All on the Left', 'productive-forms' ),
                        'justify-content-flex-end' => esc_html__( 'All on the Right', 'productive-forms' ),
                        'justify-content-center' => esc_html__( 'All at Center', 'productive-forms' ),
                        'justify-content-space-between' => esc_html__( 'Justify evenly', 'productive-forms' ),
                        'justify-content-space-around' => esc_html__( 'Justify (with equal spaces)', 'productive-forms' ),
                    ),
                )
            );

            // add a setting for productive_forms_header_contact_section_border_color control, below.
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_border_color',
                array(
                    'type' => 'theme_mod',
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'default'   => '#bfdaef',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_color'),
                )
                );

            $wp_customise->add_control(
                new WP_Customize_Color_Control(
                    $wp_customise,
                    'productive_forms_header_contact_section_border_color',
                    array(
                        'priority' => 230,
                        'label' => esc_html__( 'Bottom border color', 'productive-forms' ),
                        'section' => 'productive_forms_header_contact_section_options',
                    )
                    )
                );

            // add a setting for productive_forms_header_contact_section_bg_color control, below.
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_bg_color',
                array(
                    'type' => 'theme_mod',
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'default'              => '#f4f8f9',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_color'),
                )
                );

            $wp_customise->add_control(
                new WP_Customize_Color_Control(
                    $wp_customise,
                    'productive_forms_header_contact_section_bg_color',
                    array(
                        'priority' => 240,
                        'label' => esc_html__( 'Section background color', 'productive-forms' ),
                        'section' => 'productive_forms_header_contact_section_options',
                    )
                    )
                );

            // add a setting for productive_forms_header_contact_section_bg_image control, below.
            $wp_customise->add_setting(
                'productive_forms_header_contact_section_bg_image',
                array(
                    'type' => 'theme_mod',
                    'default' => false,
                    'theme_supports' => '',
                    'transport' => 'refresh',
                    'capability' => 'edit_theme_options',
                    'sanitize_callback' => array(__CLASS__, 'productive_forms_sanitize_image'),
                )
                );
            // add control..
            $wp_customise->add_control(
                new WP_Customize_Media_Control(
                    $wp_customise,
                    'productive_forms_header_contact_section_bg_image',
                        array(
                            'priority' => 250,
                            'section' => 'productive_forms_header_contact_section_options',
                            'label' => esc_html__( 'Section background image', 'productive-forms' ),
                            'description' => esc_html__( 'If set, the image overrides the background color.', 'productive-forms' ),
                        )
                    )
                );
            
        }
        
    } // End of class.
    
    // add hook for the class.
    add_action( 'customize_register', array( 'Productive_Forms_Customiser_Header_Contact_Section', 'register' ) );
    
} // End of if class exists



/**
 * Method productive_forms_header_contact_section_switch_on.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_switch_on( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_switch_on', false );
}

/**
 * Method productive_forms_header_contact_section_contact_icon_position.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_contact_icon_position( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_contact_icon_position', 'left' );
}

/**
 * Method productive_forms_header_contact_section_social_media_icon_position.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_social_media_icon_position( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_social_media_icon_position', 'center' );
}

/**
 * Method productive_forms_header_contact_section_contact_page_position.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_contact_page_position( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_contact_page_position', 'right' );
}

/**
 * Method productive_forms_header_contact_section_contact_icon_copy.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_contact_icon_copy( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_contact_icon_copy', esc_html__( 'Any question?', 'productive-forms' ) );
}

/**
 * Method productive_forms_header_contact_section_contact_icon_in_use.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_contact_icon_in_use( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_contact_icon_in_use', 'email_only' );
}

/**
 * Method productive_forms_header_contact_section_social_media_icon_copy.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_social_media_icon_copy( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_social_media_icon_copy', esc_html__( 'Follow us on:', 'productive-forms' ) );
}

/**
 * Method productive_forms_header_contact_section_contact_page_copy.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_contact_page_copy( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_contact_page_copy', esc_html__( 'Message Us', 'productive-forms' ) );
}

/**
 * Method productive_forms_header_contact_section_use_official_sm_colours.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_use_official_sm_colours( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_use_official_sm_colours', 'brand_color_around_white_icon' );
}

/**
 * Method productive_forms_header_contact_section_enable_website_1.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_enable_website_1( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_enable_website_1', '1' );
}

/**
 * Method productive_forms_header_contact_section_enable_website_2.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_enable_website_2( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_enable_website_2', '1' );
}

/**
 * Method productive_forms_header_contact_section_enable_website_3.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_enable_website_3( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_enable_website_3', '1' );
}

/**
 * Method productive_forms_header_contact_section_enable_website_4.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_enable_website_4( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_enable_website_4', '1' );
}

/**
 * Method productive_forms_header_contact_section_enable_website_5.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_enable_website_5( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_enable_website_5', '1' );
}

/**
 * 
 * Method productive_forms_header_contact_section_icon_size.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_icon_size( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_icon_size', 16 );
}

/**
 * Method productive_forms_header_contact_section_icon_color.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_icon_color( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_icon_color', '#ea3b06' );
}

/**
 * Method productive_forms_header_contact_section_text_color.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_text_color( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_text_color', '#3a465e' );
}

/**
 * Method productive_forms_header_contact_section_hyperlink_color.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_hyperlink_color( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_hyperlink_color', '#0a47bb' );
}

/**
 * Method productive_forms_header_contact_section_hyperlink_color_hover.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_hyperlink_color_hover( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_hyperlink_color_hover', '#2a3b55' );
}

/**
 * Method productive_forms_header_contact_section_alignment.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_alignment( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_alignment', 'justify-content-space-between' );
}

/**
 * Method productive_forms_header_contact_section_border_color.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_border_color( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_border_color', '#bfdaef' );
}

/**
 * Method productive_forms_header_contact_section_bg_color.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_bg_color( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_bg_color', '#f4f8f9' );
}

/**
 * Method productive_forms_header_contact_section_bg_image.
 *
 * @param string $class ''.
 */
function productive_forms_header_contact_section_bg_image( $class = '' ) {
    return get_theme_mod( 'productive_forms_header_contact_section_bg_image', false );
}
