<?php
// Register Logo Widget
pxl_add_custom_widget(
    array(
        'name' => 'pxl_contact_box',
        'title' => esc_html__('Case Contact Box', 'solarva' ),
        'icon' => 'eicon-call-to-action',
        'categories' => array('pxltheme-core'),
        'params' => array(
            'sections' => array(
                array(
                    'name' => 'section_layout',
                    'label' => esc_html__('Layout', 'solarva'),
                    'tab' => \Elementor\Controls_Manager::TAB_LAYOUT,
                    'controls' => array(
                        array(
                            'name' => 'layout',
                            'label' => esc_html__('Templates', 'solarva'),
                            'type' => 'layoutcontrol',
                            'default' => '1',
                            'options' => array(
                                '1' => array(
                                    'label' => esc_html__('Layout 1', 'solarva'),
                                    'image' => get_template_directory_uri() . '/elements/assets/img/pxl_contact_box/layout1.jpg',
                                ),
                                '2' => array(
                                    'label' => esc_html__('Layout 2', 'solarva'),
                                    'image' => get_template_directory_uri() . '/elements/assets/img/pxl_contact_box/layout2.jpg',
                                ),
                                '3' => array(
                                    'label' => esc_html__('Layout 3', 'solarva'),
                                    'image' => get_template_directory_uri() . '/elements/assets/img/pxl_contact_box/layout3.jpg',
                                ),
                            ),
                        ),
                    ),
                ),
                array(
                    'name' => 'section_content',
                    'label' => esc_html__('Content', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_CONTENT,
                    'controls' => array(
                        array(
                            'name' => 'title',
                            'label' => esc_html__('Title', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::TEXT,
                            'label_block' => true,
                            'condition' => [
                                'layout' => ['2'],
                            ],
                        ),
                        array(
                            'name' => 'message',
                            'label' => esc_html__('Message', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::TEXT,
                            'label_block' => true,
                            'condition' => [
                                'layout!' => '3',
                            ],
                        ),
                        array(
                            'name' => 'info',
                            'label' => esc_html__('Info', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::TEXT,
                            'label_block' => true,
                            'condition' => [
                                'layout!' => '3',
                            ],
                        ),
                        array(
                            'name' => 'link',
                            'label' => esc_html__('Link', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::URL,
                            'condition' => [
                                'layout!' => '3',
                            ],
                        ),
                        array(
                            'name' => 'pxl_icon',
                            'label' => esc_html__('Icon', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::ICONS,
                            'fa4compatibility' => 'icon',
                            'condition' => [
                                'layout!' => '3',
                            ],
                        ),
                        array(
                            'name' => 'featured',
                            'label' => esc_html__('Featured', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::MEDIA,
                            'condition' => [
                                'layout' => ['2'],
                            ],
                        ),
                        array(
                            'name' => 'items',
                            'label' => esc_html__('Items', 'solarva'),
                            'type' => \Elementor\Controls_Manager::REPEATER,
                            'condition' => [
                                'layout' => '3',
                            ],
                            'controls' => array(
                                array(
                                    'name' => 'item_image',
                                    'label' => esc_html__('Image', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::MEDIA,
                                ),
                                array(
                                    'name' => 'item_title',
                                    'label' => esc_html__('Title', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::TEXT,
                                    'label_block' => true,
                                ),
                                array(
                                    'name' => 'item_icon',
                                    'label' => esc_html__('Icon', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::ICONS,
                                    'fa4compatibility' => 'icon',
                                    'description' => 'Hide when using common icon',
                                ),

                                array(
                                    'name' => 'item_info1_h',
                                    'label' => esc_html__('INFO 1', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::HEADING,
                                ),
                                array(
                                    'name' => 'item_info',
                                    'label' => esc_html__('Info', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::TEXT,
                                    'label_block' => true,
                                ),
                                array(
                                    'name' => 'item_link',
                                    'label' => esc_html__('Link', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::URL,
                                ),
                                array(
                                    'name' => 'item_info2_h',
                                    'label' => esc_html__('INFO 2', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::HEADING,
                                ),
                                array(
                                    'name' => 'item_info2',
                                    'label' => esc_html__('Info', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::TEXT,
                                    'label_block' => true,
                                ),
                                array(
                                    'name' => 'item_link2',
                                    'label' => esc_html__('Link', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::URL,
                                ),
                            ),
                            'title_field' => '{{{ item_title }}}',
                        ),
                    ),
                ),
                array(
                    'name' => 'section_content_cube',
                    'label' => esc_html__('Cube', 'solarva'),
                    'tab' => \Elementor\Controls_Manager::TAB_CONTENT,
                    'condition' => [
                        'layout' => '1',
                    ],
                    'controls' => array(
                        array(
                            'name' => 'cubes',
                            'label' => esc_html__('Cubes', 'solarva'),
                            'type' => \Elementor\Controls_Manager::REPEATER,
                            'controls' => array(
                                array(
                                    'name' => 'cube_position',
                                    'label' => esc_html__('Position', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::SELECT,
                                    'default' => 'pxl-position-tl',
                                    'options' => [
                                        'pxl-position-tl' => esc_html__('Top Left', 'solarva' ),
                                        'pxl-position-tr' => esc_html__('Top Right', 'solarva' ),
                                        'pxl-position-bl' => esc_html__('Bottom Left', 'solarva' ),
                                        'pxl-position-br' => esc_html__('Bottom Right', 'solarva' ),
                                    ],
                                ),
                                array(
                                    'name' => 'cube_effect',
                                    'label' => esc_html__('Effect', 'solarva' ),
                                    'type' => \Elementor\Controls_Manager::SELECT,
                                    'default' => '',
                                    'options' => [
                                        '' => esc_html__('None', 'solarva' ),
                                        'spin' => esc_html__('Spin', 'solarva' ),
                                    ],
                                ),
                            ),
                        ),
                    ),
                ),
                array(
                    'name' => 'section_style',
                    'label' => esc_html__('General', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls' => array(
                        array(
                            'name' => 'normal',
                            'label' => esc_html__('NORMAL', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),
                        array(
                            'name' => 'style_l1',
                            'label' => esc_html__('Layout Style', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SELECT,
                            'default' => 'pxl-call-sp1',
                            'options' => array(
                                'pxl-call-sp1' => esc_html__('Style 1', 'solarva'),
                                'pxl-call-sp2' => esc_html__('Style 2', 'solarva'),
                                'pxl-call-sp3' => esc_html__('Style 3', 'solarva'),
                                'pxl-call-sp4' => esc_html__('Style 4', 'solarva'),
                                'pxl-call-sp5' => esc_html__('Style 5', 'solarva'),
                            ),
                            'condition' => [
                                'layout' => '1',
                            ],
                        ),
                        array(
                            'name' => 'flex_dir',
                            'label' => esc_html__('Flex Direction', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::CHOOSE,
                            'options' => [
                                'row' =>  [
                                    'title' => esc_html__('Row', 'solarva'),
                                    'icon' => 'eicon-arrow-right',
                                ],
                                'column' =>  [
                                    'title' => esc_html__('Column', 'solarva'),
                                    'icon' => 'eicon-arrow-down',
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner' => 'flex-direction: {{VALUE}}'
                            ],
                        ),
                        array(
                            'name' => 'background_color',
                            'label' => esc_html__('Background Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner' => 'background-color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'justify_content',
                            'label' => esc_html__('Justify Content', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::CHOOSE,
                            'options' => [
                                'start' =>  [
                                    'title' => esc_html__('Start', 'solarva'),
                                    'icon' => 'eicon-justify-start-h',
                                ],
                                'center' =>  [
                                    'title' => esc_html__('Center', 'solarva'),
                                    'icon' => 'eicon-justify-center-h',
                                ],
                                'end' =>  [
                                    'title' => esc_html__('End', 'solarva'),
                                    'icon' => 'eicon-justify-end-h',
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner' => 'justify-content: {{VALUE}}'
                            ],
                        ),
                        array(
                            'name' => 'align_items_v',
                            'label' => esc_html__('Align Items', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::CHOOSE,
                            'options' => [
                                'start' =>  [
                                    'title' => esc_html__('Start', 'solarva'),
                                    'icon' => 'eicon-align-start-v',
                                ],
                                'center' =>  [
                                    'title' => esc_html__('Center', 'solarva'),
                                    'icon' => 'eicon-align-center-v',
                                ],
                                'end' =>  [
                                    'title' => esc_html__('End', 'solarva'),
                                    'icon' => 'eicon-align-end-v',
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner' => 'align-items: {{VALUE}};'
                            ],
                        ),

                        array(
                            'name' => 'gap',
                            'label' => esc_html__('Gap', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner' => 'gap: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'max_width',
                            'label' => esc_html__('Max Width', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner' => 'max-width: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name'         => 'border',
                            'label' => esc_html__( 'Border', 'solarva' ),
                            'type'         => \Elementor\Group_Control_Border::get_type(),
                            'control_type' => 'group',
                            'selector'     => '{{WRAPPER}} .pxl-contact-box .pxl-item--inner',
                        ),
                        array(
                            'name' => 'height',
                            'label' => esc_html__('Height', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner img' => 'min-height: {{SIZE}}{{UNIT}};',
                            ],
                            'condition' => [
                                'layout' => ['2', '3'],
                            ],
                        ),
                        array(
                            'name' => 'padding_inner',
                            'label' => esc_html__( 'Padding', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box:not(.pxl-contact-box2) .pxl-item--inner, 
                                {{WRAPPER}} .pxl-contact-box.pxl-contact-box2 .pxl-item--content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'border_radius',
                            'label' => esc_html__( 'Border Radius', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'hidden_s1400',
                            'label' => esc_html__('Hide Content Screen <= 1400', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::SWITCHER,
                            'default' => '',
                            'condition' => [
                                'layout' => '1',
                            ],
                        ),

                        array(
                            'name' => 'divider7',
                            'type' => \Elementor\Controls_Manager::DIVIDER,
                            'condition' => [
                                'layout' => '3',
                            ],
                        ),
                        array(
                            'name' => 'list_normal',
                            'label' => esc_html__('LIST', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                            'condition' => [
                                'layout' => '3',
                            ],
                        ),
                        array(
                            'name' => 'list_justify_content',
                            'label' => esc_html__('Justify Content', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::CHOOSE,
                            'label_block' => true,
                            'options' => [
                                'start' =>  [
                                    'title' => esc_html__('Start', 'solarva'),
                                    'icon' => 'eicon-justify-start-v',
                                ],
                                'center' =>  [
                                    'title' => esc_html__('Center', 'solarva'),
                                    'icon' => 'eicon-justify-center-v',
                                ],
                                'end' =>  [
                                    'title' => esc_html__('End', 'solarva'),
                                    'icon' => 'eicon-justify-end-v',
                                ],
                                'space-around' =>  [
                                    'title' => esc_html__('Space Around', 'solarva'),
                                    'icon' => 'eicon-justify-space-around-v',
                                ],
                                'space-evenly' =>  [
                                    'title' => esc_html__('Space Evenly', 'solarva'),
                                    'icon' => 'eicon-justify-space-evenly-v',
                                ],
                                'space-between' =>  [
                                    'title' => esc_html__('Space Between', 'solarva'),
                                    'icon' => 'eicon-justify-space-between-v',
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box.pxl-contact-box3 .pxl-item--list' => 'justify-content: {{VALUE}}'
                            ],
                            'condition' => [
                                'layout' => '3',
                            ],
                        ),
                        array(
                            'name' => 'list_height',
                            'label' => esc_html__('Gap', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box.pxl-contact-box3 .pxl-item--list' => 'gap: {{SIZE}}{{UNIT}};',
                            ],
                            'condition' => [
                                'layout' => '3',
                            ],
                        ),
                        array(
                            'name' => 'list_padding',
                            'label' => esc_html__( 'Padding', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box.pxl-contact-box3 .pxl-item--list' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                            'condition' => [
                                'layout' => '3',
                            ],
                        ),
                        array(
                            'name' => 'list_margin',
                            'label' => esc_html__( 'Margin', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box.pxl-contact-box3 .pxl-item--list .pxl-item--single' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                            'condition' => [
                                'layout' => '3',
                            ],
                        ),

                        array(
                            'name' => 'divider5',
                            'type' => \Elementor\Controls_Manager::DIVIDER,
                            'condition' => [
                                'layout' => '2',
                            ],
                        ),
                        array(
                            'name' => 'block_normal',
                            'label' => esc_html__('BLOCK', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                            'condition' => [
                                'layout' => '2',
                            ],
                        ),
                        array(
                            'name' => 'block_background_color',
                            'label' => esc_html__('Background Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--block' => 'background-color: {{VALUE}};',
                            ],
                            'condition' => [
                                'layout' => '2',
                            ],
                        ),
                        array(
                            'name' => 'block_layer_background_color',
                            'label' => esc_html__('Layer Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--block:before' => 'background-color: {{VALUE}};',
                            ],
                            'condition' => [
                                'layout' => '2',
                            ],
                        ),
                        array(
                            'name'         => 'block_box_shadow',
                            'label' => esc_html__( 'Box Shadow', 'solarva' ),
                            'type'         => \Elementor\Group_Control_Box_Shadow::get_type(),
                            'control_type' => 'group',
                            'selector'     => '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--block',
                            'condition' => [
                                'layout' => '2',
                            ],
                        ),
                        array(
                            'name' => 'block_max_width',
                            'label' => esc_html__('Max Width', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--block' => 'max-width: {{SIZE}}{{UNIT}};',
                            ],
                            'condition' => [
                                'layout' => '2',
                            ],
                        ),
                        array(
                            'name' => 'block_padding_inner',
                            'label' => esc_html__( 'Padding', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--block' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                            'condition' => [
                                'layout' => '2',
                            ],
                        ),
                        array(
                            'name' => 'block_border_radius',
                            'label' => esc_html__( 'Border Radius', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--block' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                            'condition' => [
                                'layout' => '2',
                            ],
                        ),

                        
                        array(
                            'name' => 'divider6',
                            'type' => \Elementor\Controls_Manager::DIVIDER,
                            'condition' => [
                                'layout' => '2',
                            ],
                        ),
                        array(
                            'name' => 'shape_normal',
                            'label' => esc_html__('SHAPE', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                            'condition' => [
                                'layout' => '2',
                            ],
                        ),

                        array(
                            'name' => 'shape1_color',
                            'label' => esc_html__('Shape1 Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box.pxl-contact-box2 .pxl-item--shape.pxl-item--shape1 path' => 'fill: {{VALUE}};',
                            ],
                            'condition' => [
                                'layout' => '2',
                            ],
                        ),
                        array(
                            'name' => 'shape2_color',
                            'label' => esc_html__('Shape2 Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box.pxl-contact-box2 .pxl-item--shape.pxl-item--shape2 path' => 'fill: {{VALUE}};',
                            ],
                            'condition' => [
                                'layout' => '2',
                            ],
                        ),
                    ),
                ),
                array(
                    'name' => 'tab_style_img',
                    'label' => esc_html__('Image', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                    'condition' => [
                        'layout' => '3',
                    ],
                    'controls' => array(
                        array(
                            'name' => 'background_position',
                            'label' => esc_html__('Background Position', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SELECT,
                            'control_type' => 'responsive',
                            'options' => [
                                'left top' => esc_html__('Left Top', 'solarva'),
                                'left center' => esc_html__('Left Center', 'solarva'),
                                'left bottom' => esc_html__('Left Bottom', 'solarva'),
                                'center top' => esc_html__('Center Top', 'solarva'),
                                'center center' => esc_html__('Center Center', 'solarva'),
                                'center bottom' => esc_html__('Center Bottom', 'solarva'),
                                'right top' => esc_html__('Right Top', 'solarva'),
                                'right center' => esc_html__('Right Center', 'solarva'),
                                'right bottom' => esc_html__('Right Bottom', 'solarva'),
                            ],
                            'default' => 'center center',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box.pxl-contact-box3 .pxl-image--list .pxl-item--image' => 'background-position: {{VALUE}}',
                            ],
                        ),
                        array(
                            'name' => 'background_size',
                            'label' => esc_html__('Background Size', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SELECT,
                            'control_type' => 'responsive',
                            'options' => [
                                '' => esc_html__('Default', 'solarva'),
                                'auto' => esc_html__('Auto', 'solarva'),
                                'cover' => esc_html__('Cover', 'solarva'),
                                'contain' => esc_html__('Contain', 'solarva'),
                            ],
                            'default' => '',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box.pxl-contact-box3 .pxl-image--list .pxl-item--image' => 'background-size: {{VALUE}}',
                            ],
                        ),
                        array(
                            'name' => 'image_height',
                            'label' => esc_html__('Min Height', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box.pxl-contact-box3 .pxl-image--list' => 'min-height: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'image_width',
                            'label' => esc_html__('Max Width', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box.pxl-contact-box3 .pxl-image--list' => 'max-width: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                    ),
                ),
                array(
                    'name' => 'section_style_title',
                    'label' => esc_html__('Title', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                    'condition' => [
                        'layout' => '2',
                    ],
                    'controls' => array( 
                        array(
                            'name' => 'title_normal_options',
                            'label' => esc_html__( 'NORMAL', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),    
                        array(
                            'name' => 'title_color',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--title' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'title_typography',
                            'label' => esc_html__('Typography', 'solarva' ),
                            'type' => \Elementor\Group_Control_Typography::get_type(),
                            'control_type' => 'group', 
                            'selector' => '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--title',
                        ),
                        array(
                            'name' => 'title_spacing_bottom',
                            'label' => esc_html__('Spacing Bottom', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--title' => 'margin-bottom: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                    ),
                ),
                array(
                    'name' => 'section_style_icon',
                    'label' => esc_html__('Icon', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls' => array(   
                        array(
                            'name' => 'icon_normal_options',
                            'label' => esc_html__( 'NORMAL', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),    
                        array(
                            'name' => 'icon_color',
                            'label' => esc_html__( 'Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--icon' => 'color: {{VALUE}}',
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--icon svg path, 
                                {{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--icon svg rect' => 'fill: {{VALUE}}',
                            ],
                        ),
                        array(
                            'name' => 'icon_bg_color',
                            'label' => esc_html__( 'Background Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--icon' => 'background-color: {{VALUE}}',
                            ],
                        ),
                        array(
                            'name' => 'icon_box_border',
                            'label' => esc_html__('Border', 'solarva'),
                            'type' => \Elementor\Group_Control_Border::get_type(),
                            'control_type' => 'group',
                            'selector' => '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--icon',
                        ),
                        array(
                            'name' => 'icon_size',
                            'label' => esc_html__('Font Size', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'control_type' => 'responsive',
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--icon' => 'font-size: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'icon_box_size',
                            'label' => esc_html__('Box Size', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'control_type' => 'responsive',
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--icon' => '--size: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'icon_border_radius',
                            'label' => esc_html__( 'Border Radius', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::DIMENSIONS,
                            'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--icon' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'divider2',
                            'type' => \Elementor\Controls_Manager::DIVIDER,
                        ),
                        array(
                            'name' => 'svg_options',
                            'label' => esc_html__( 'SVG', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),
                        array(
                            'name' => 'svg_width',
                            'label' => esc_html__('Width', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'control_type' => 'responsive',
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--icon svg' => 'width: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                        array(
                            'name' => 'svg_height',
                            'label' => esc_html__('Height', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'control_type' => 'responsive',
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--icon svg' => 'height: {{SIZE}}{{UNIT}};',
                            ],
                        ),

                        array(
                            'name' => 'divider3',
                            'type' => \Elementor\Controls_Manager::DIVIDER,
                        ),
                        array(
                            'name' => 'icon_effect_options',
                            'label' => esc_html__( 'EFFECT', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),
                        array(
                            'name' => 'icon_animate',
                            'label' => esc_html__('Effect', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::SELECT,
                            'default' => '',
                            'options' => [
                                '' => esc_html__('None', 'solarva' ),
                                'pxl-ring-phone' => esc_html__('Ring', 'solarva' ),
                            ],
                        ),
                        array(
                            'name' => 'icon_animate_delay',
                            'label' => esc_html__('Delay', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::NUMBER,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--icon i, 
                                {{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--icon svg' => 'animation-delay: {{VALUE}}ms;',
                            ],
                        ),
                    ),
                ),
                array(
                    'name' => 'section_style_message',
                    'label' => esc_html__('Mesage', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls' => array(   
                        array(
                            'name' => 'message_color',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--message' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'message_typography',
                            'label' => esc_html__('Typography', 'solarva' ),
                            'type' => \Elementor\Group_Control_Typography::get_type(),
                            'control_type' => 'group', 
                            'selector' => '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--message',
                        ),
                        array(
                            'name' => 'message_spacing_bottom',
                            'label' => esc_html__('Spacing Bottom', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--message' => 'margin-bottom: {{SIZE}}{{UNIT}};',
                            ],
                        ),
                    ),
                ),
                array(
                    'name' => 'section_style_info',
                    'label' => esc_html__('Info', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                    'controls' => array( 
                        array(
                            'name' => 'info_normal',
                            'label' => esc_html__( 'NORMAL', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),    
                        array(
                            'name' => 'info_color',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--info' => 'color: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'info_typography',
                            'label' => esc_html__('Typography', 'solarva' ),
                            'type' => \Elementor\Group_Control_Typography::get_type(),
                            'control_type' => 'group', 
                            'selector' => '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--info',
                        ),
                        array(
                            'name' => 'divider1',
                            'type' => \Elementor\Controls_Manager::DIVIDER,
                        ),    
                        array(
                            'name' => 'info_hover',
                            'label' => esc_html__( 'HOVER', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::HEADING,
                            'separator' => 'after',
                        ),    
                        array(
                            'name' => 'info_color_hover',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--inner .pxl-item--info:hover' => 'color: {{VALUE}};',
                            ],
                        ),
                    ),
                ),
                array(
                    'name' => 'tab_style_cube',
                    'label' => esc_html__('Cubes', 'solarva' ),
                    'tab' => \Elementor\Controls_Manager::TAB_STYLE,
                    'condition' => [
                        'layout' => '1',
                    ],
                    'controls' => array(
                        array(
                            'name' => 'cube_color',
                            'label' => esc_html__('Color', 'solarva' ),
                            'type' => \Elementor\Controls_Manager::COLOR,
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--container .pxl-item--cube rect' => 'fill: {{VALUE}};',
                            ],
                        ),
                        array(
                            'name' => 'cube_size',
                            'label' => esc_html__('Size', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SLIDER,
                            'size_units' => ['px', '%', 'rem', 'em', 'custom'],
                            'range' => [
                                'px' => [
                                    'min' => 0,
                                    'max' => 1000,
                                ],
                            ],
                            'control_type' => 'responsive',
                            'selectors' => [
                                '{{WRAPPER}} .pxl-contact-box .pxl-item--container .pxl-item--cube' => 'width: {{SIZE}}{{UNIT}};height: {{SIZE}}{{UNIT}}',
                            ],
                        ),
                        [
                            'name' => 'cube_hidden_xs', 
                            'label' => esc_html__('Screen < 576px', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SWITCHER,
                            'default' => '',
                        ],
                        [
                            'name' => 'cube_hidden_sm', 
                            'label' => esc_html__('Screen ≥ 576px and ≤ 767', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SWITCHER,
                            'default' => '',
                        ],
                        [
                            'name' => 'cube_hidden_md', 
                            'label' => esc_html__('Screen ≥ 768px and ≤ 991', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SWITCHER,
                            'default' => '',
                        ],
                        [
                            'name' => 'cube_hidden_lg', 
                            'label' => esc_html__('Screen ≥ 992px and ≤ 1199', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SWITCHER,
                            'default' => '',
                        ],
                        [
                            'name' => 'cube_hidden_xl', 
                            'label' => esc_html__(' Screen ≥ 1200px and ≤ 1399', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SWITCHER,
                            'default' => '',
                        ],
                        [
                            'name' => 'cube_hidden_xxl', 
                            'label' => esc_html__(' Screen ≥ 1400px', 'solarva'),
                            'type' => \Elementor\Controls_Manager::SWITCHER,
                            'default' => '',
                        ],
                    ),
                ),
                solarva_widget_animation_settings(),
            ),
        ),
    ),
    solarva_get_class_widget_path()
);