<?php

namespace XIMSAPLUGIN\Element;

use Elementor\Controls_Manager;
use Elementor\Controls_Stack;
use Elementor\Group_Control_Typography;
use Elementor\Scheme_Typography;
use Elementor\Scheme_Color;
use Elementor\Group_Control_Border;
use Elementor\Repeater;
use Elementor\Widget_Base;
use Elementor\Utils;
use Elementor\Group_Control_Text_Shadow;
use Elementor\Group_Control_Background;
use Elementor\Plugin;

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.

class dgi_about_widget extends Widget_Base {

	/**
	 * Get widget name.
	 *
	 * Retrieve Elementor widget name.
	 *
	 * @since 1.0.0
	 * @access public
	 *
	 * @return string Widget name.
	 */
	public function get_name() {
		return 'dgi-about-content';
	}

	/**
	 * Get widget title.
	 *
	 * Retrieve Elementor widget title.
	 *
	 * @since 1.0.0
	 * @access public
	 *
	 * @return string Widget title.
	 */
	public function get_title() {
		return esc_html__( 'Digital Agency About', 'ximsa' );
	}

	/**
	 * Get widget icon.
	 *
	 * Retrieve Elementor widget icon.
	 *
	 * @since 1.0.0
	 * @access public
	 *
	 * @return string Widget icon.
	 */
	public function get_icon() {
		return 'gl-custom-icon';
	}

	/**
	 * Get widget categories.
	 *
	 * Retrieve the list of categories the Elementor widget belongs to.
	 *
	 * @since 1.0.0
	 * @access public
	 *
	 * @return array Widget categories.
	 */
	public function get_categories() {
		return [ 'ximsa' ];
	}

	/**
	 * Register Elementor widget controls.
	 *
	 * Adds different input fields to allow the user to change and customize the widget settings.
	 *
	 * @since 1.0.0
	 * @access protected
	 */


	protected function register_controls() {
        $this->start_controls_section(
            'feature_content_options',
            [
                'label' => __( 'feature Content Options', 'ximsa' ),
                'tab' => Controls_Manager::TAB_CONTENT,
            ]
        );
        $this->add_control(
			'_sec_shape',
			[
				'label' => esc_html__( 'Section Shape', 'ximsa' ),
				'type' => Controls_Manager::MEDIA,
                'label_block' => true,
			]
		);
        $this->add_control(
			'about_img',
			[
				'label' => esc_html__( 'About Image', 'ximsa' ),
				'type' => Controls_Manager::MEDIA,
                'label_block' => true,
			]
		);
        $this->add_control(
			'about_img_shape',
			[
				'label' => esc_html__( 'About Image Shape', 'ximsa' ),
				'type' => Controls_Manager::MEDIA,
                'label_block' => true,
			]
		);
        $this->add_control(
			'about_dev',
			[
				'label' => esc_html__( 'About Development Image', 'ximsa' ),
				'type' => Controls_Manager::MEDIA,
                'label_block' => true,
			]
		);
        $this->add_control(
			'about_progress',
			[
				'label' => esc_html__( 'About Progress Image', 'ximsa' ),
				'type' => Controls_Manager::MEDIA,
                'label_block' => true,
			]
		);
        $this->add_control(
			'fs_sub_title',
			[
				'label' => esc_html__( 'Feature Sub Title', 'ximsa' ),
				'type' => Controls_Manager::TEXTAREA,
                'label_block' => true,
                'default' => esc_html__( 'Instant Bank Payment', 'ximsa' ),
				'placeholder' => esc_html__( 'Type feature Sub Title Here', 'ximsa' ),
			]
		);
        $this->add_control(
			'fs_title',
			[
				'label' => esc_html__( 'Feature Title', 'ximsa' ),
				'type' => Controls_Manager::TEXTAREA,
                'label_block' => true,
                'default' => esc_html__( 'Faster payments, lower fees', 'ximsa' ),
				'placeholder' => esc_html__( 'Type feature Title Here', 'ximsa' ),
			]
		);
        $this->add_control(
			'fs_txt',
			[
				'label' => esc_html__( 'Feature Description', 'ximsa' ),
				'type' => Controls_Manager::TEXTAREA,
                'label_block' => true,
			]
		);

        $repeater = new \Elementor\Repeater();

        $repeater->add_control(
			'title',
			[
				'label' => esc_html__( 'Title', 'ximsa' ),
				'type' => Controls_Manager::TEXT,
				'default' => esc_html__( 'Business is the Best Plan', 'ximsa' ),
				'placeholder' => esc_html__( 'Type List Item Here', 'ximsa' ),
                'label_block' => true,
			]
		);

        $this->add_control(
			'listitems',
			[
				'label' => esc_html__( 'feature List Item', 'ximsa' ),
				'type' => Controls_Manager::REPEATER,
				'fields' => $repeater->get_controls(),
				'title_field' => '{{{ title }}}',
			]
		);

        $this->add_control(
            'btn_control',
            [
                'type'      => Controls_Manager::HEADING,
                'label'     => esc_html__( 'Button Info', 'ximsa' ),
                'separator' => 'before',
            ]
        );
        $this->add_control(
			'btn_label',
			[
				'label' => esc_html__( 'Button Label', 'ximsa' ),
				'type' => Controls_Manager::TEXT,
                'label_block' => true,
			]
		);

        $this->add_control(
			'btn_link',
			[
				'label' => esc_html__( 'Button Link', 'ximsa' ),
				'type' => Controls_Manager::URL,
                'label_block' => true,
			]
		);
        $repeater = new \Elementor\Repeater();

        $repeater->add_control(
			'icons',
			[
				'label' => esc_html__( 'ICONS', 'ximsa' ),
				'type' => Controls_Manager::ICONS,
			]
		);
        $repeater->add_control(
			'number',
			[
				'label' => esc_html__( 'Number', 'ximsa' ),
				'type' => Controls_Manager::TEXT,
			]
		);
        $repeater->add_control(
			'symbole',
			[
				'label' => esc_html__( 'Symbole', 'ximsa' ),
				'type' => Controls_Manager::TEXT,
			]
		);
        $repeater->add_control(
			'title',
			[
				'label' => esc_html__( 'Title', 'ximsa' ),
				'type' => Controls_Manager::TEXT,
				'default' => esc_html__( 'Business is the Best Plan', 'ximsa' ),
				'placeholder' => esc_html__( 'Type List Item Here', 'ximsa' ),
                'label_block' => true,
			]
		);

        $this->add_control(
			'fanfacts',
			[
				'label' => esc_html__( 'Fanfact Item', 'ximsa' ),
				'type' => Controls_Manager::REPEATER,
				'fields' => $repeater->get_controls(),
				'title_field' => '{{{ title }}}',
			]
		);
        $this->add_control(
			'counter_bg',
			[
				'label' => esc_html__( 'Counter BG', 'ximsa' ),
				'type' => Controls_Manager::MEDIA,
			]
		);
        $this->add_control(
			'ct_btn_label',
			[
				'label' => esc_html__( 'Counter Button', 'ximsa' ),
				'type' => Controls_Manager::TEXT,
			]
		);
        $this->add_control(
			'ct_btn_link',
			[
				'label' => esc_html__( 'Button URL', 'ximsa' ),
				'type' => Controls_Manager::URL,
			]
		);
		$this->end_controls_section();

        $this->start_controls_section(
            'feature_settings_style',
            [
                'label' => __( 'feature Settings', 'ximsa' ),
                'tab' => Controls_Manager::TAB_STYLE,
            ]
        );

        $this->add_control(
            'se__sub_title_style',
            [
                'type'      => Controls_Manager::HEADING,
                'label'     => esc_html__( 'Sub Title Style', 'ximsa' ),
                'separator' => 'before',
            ]
        );
        $this->add_group_control(
			Group_Control_Background::get_type(),
			[
				'name' => 'sub_bgbackground',
				'label' => esc_html__( 'Background', 'ximsa' ),
				'types' => [ 'gradient' ],
				'selector' => '{{WRAPPER}} .xis-dia-section-title span',
			]
		);
        $this->add_group_control(
            Group_Control_Typography::get_type(),
            [
                'name'           => 'se_sth_typography',
                'label'          => esc_html__( 'Sub Typography', 'ximsa' ),
                'selector'       => '{{WRAPPER}} .xis-dia-section-title span',
                'fields_options' => [
                    'typography' => [
                        'default' => 'custom',
                    ],
                ],
            ]
        );
        $this->add_control(
            'se_title_style',
            [
                'type'      => Controls_Manager::HEADING,
                'label'     => esc_html__( 'Title Style', 'ximsa' ),
                'separator' => 'before',
            ]
        );
        $this->add_control(
            'se_ht_color',
            [
                'label'     => esc_html__( 'Heading Color', 'ximsa' ),
                'type'      => Controls_Manager::COLOR,
                'selectors' => [
                    '{{WRAPPER}} .xis-dia-section-title h2' => 'color: {{VALUE}} ',
                ],
            ]
        );
        $this->add_group_control(
            Group_Control_Typography::get_type(),
            [
                'name'           => 'se_th_typography',
                'label'          => esc_html__( 'Typography', 'ximsa' ),
                'selector'       => '{{WRAPPER}} .xis-dia-section-title h2',
                'fields_options' => [
                    'typography' => [
                        'default' => 'custom',
                    ],
                ],
            ]
        );
        $this->add_control(
            'se_desc_style',
            [
                'type'      => Controls_Manager::HEADING,
                'label'     => esc_html__( 'Desc Style', 'ximsa' ),
                'separator' => 'before',
            ]
        );
        $this->add_control(
            'se_decs_color',
            [
                'label'     => esc_html__( 'Desc Color', 'ximsa' ),
                'type'      => Controls_Manager::COLOR,
                'selectors' => [
                    '{{WRAPPER}} .xis-dia-about-text-content p' => 'color: {{VALUE}} ',
                ],
            ]
        );
        $this->add_group_control(
            Group_Control_Typography::get_type(),
            [
                'name'           => 'se_desc_typography',
                'label'          => esc_html__( 'Typography', 'ximsa' ),
                'selector'       => '{{WRAPPER}} .xis-dia-about-text-content p',
                'fields_options' => [
                    'typography' => [
                        'default' => 'custom',
                    ],
                ],
            ]
        );

        $this->add_control(
            'fs_list_style',
            [
                'type'      => Controls_Manager::HEADING,
                'label'     => esc_html__( 'feature List Style', 'ximsa' ),
                'separator' => 'before',
            ]
        );
        $this->add_control(
            'fs_list_cl',
            [
                'label'     => esc_html__( 'List Txt Color', 'ximsa' ),
                'type'      => Controls_Manager::COLOR,
                'selectors' => [
                    '{{WRAPPER}} .xis-dia-about-text-content .xis-dia-about-list li' => 'color: {{VALUE}} ',
                ],
            ]
        );
        $this->add_control(
            'ab_list_bg',
            [
                'label'     => esc_html__( 'List Dot BG Color', 'ximsa' ),
                'type'      => Controls_Manager::COLOR,
                'selectors' => [
                    '{{WRAPPER}} .xis-dia-about-text-content .xis-dia-about-list li:before' => 'background-color: {{VALUE}} ',
                ],
            ]
        );
        $this->add_group_control(
            Group_Control_Typography::get_type(),
            [
                'name'           => 'ab_list_typography',
                'label'          => esc_html__( 'Typography', 'ximsa' ),
                'selector'       => '{{WRAPPER}} .xis-dia-about-text-content .xis-dia-about-list li',
                'fields_options' => [
                    'typography' => [
                        'default' => 'custom',
                    ],
                ],
            ]
        );
        $this->add_control(
            'fnf_title_st',
            [
                'type'      => Controls_Manager::HEADING,
                'label'     => esc_html__( 'Fanfact Title Style', 'ximsa' ),
                'separator' => 'before',
            ]
        );
        $this->add_control(
            'fnf_title_cl',
            [
                'label'     => esc_html__( 'Fanfact Title Color', 'ximsa' ),
                'type'      => Controls_Manager::COLOR,
                'selectors' => [
                    '{{WRAPPER}} .xis-dia-counter-inner-item .xis-innner-text p' => 'color: {{VALUE}} ',
                ],
            ]
        );
        $this->add_group_control(
            Group_Control_Typography::get_type(),
            [
                'name'           => 'fnf_titl_typography',
                'label'          => esc_html__( 'Typography', 'ximsa' ),
                'selector'       => '{{WRAPPER}} .xis-dia-counter-inner-item .xis-innner-text p',
                'fields_options' => [
                    'typography' => [
                        'default' => 'custom',
                    ],
                ],
            ]
        );
        $this->add_control(
            'fnf_no_st',
            [
                'type'      => Controls_Manager::HEADING,
                'label'     => esc_html__( 'Fanfact NUmber Style', 'ximsa' ),
                'separator' => 'before',
            ]
        );
        $this->add_control(
            'fnf_no_cl',
            [
                'label'     => esc_html__( 'Fanfact Number Color', 'ximsa' ),
                'type'      => Controls_Manager::COLOR,
                'selectors' => [
                    '{{WRAPPER}} .xis-dia-counter-inner-item .xis-innner-text h3 span' => 'color: {{VALUE}} ',
                ],
            ]
        );
        $this->add_control(
            'fnf_symb_cl',
            [
                'label'     => esc_html__( 'Fanfact Symbole Color', 'ximsa' ),
                'type'      => Controls_Manager::COLOR,
                'selectors' => [
                    '{{WRAPPER}} .xis-dia-counter-inner-item .xis-innner-text h3' => 'color: {{VALUE}} ',
                ],
            ]
        );
        $this->add_group_control(
            Group_Control_Typography::get_type(),
            [
                'name'           => 'fnf_no_typography',
                'label'          => esc_html__( 'Typography', 'ximsa' ),
                'selector'       => '{{WRAPPER}} .xis-dia-counter-inner-item .xis-innner-text h3',
                'fields_options' => [
                    'typography' => [
                        'default' => 'custom',
                    ],
                ],
            ]
        );
        $this->add_control(
            'fnf_icon_st',
            [
                'type'      => Controls_Manager::HEADING,
                'label'     => esc_html__( 'Fanfact Icon Style', 'ximsa' ),
                'separator' => 'before',
            ]
        );
        $this->add_group_control(
			\Elementor\Group_Control_Background::get_type(),
			[
				'name' => 'icon-clbackground',
				'label' => esc_html__( 'Background', 'ximsa' ),
				'types' => [ 'gradient' ],
				'selector' => '{{WRAPPER}} .xis-dia-counter-inner-item .xis-innner-icon i',
			]
		);
        $this->add_group_control(
			\Elementor\Group_Control_Background::get_type(),
			[
				'name' => 'icon-bg-background',
				'label' => esc_html__( 'Background', 'ximsa' ),
				'types' => [ 'gradient' ],
				'selector' => '{{WRAPPER}} .xis-dia-counter-inner-item .xis-innner-icon:before',
			]
		);
        $this->add_control(
            'fnf_bg_st',
            [
                'type'      => Controls_Manager::HEADING,
                'label'     => esc_html__( 'Fanfact Background Style', 'ximsa' ),
                'separator' => 'before',
            ]
        );
        $this->add_group_control(
			\Elementor\Group_Control_Background::get_type(),
			[
				'name' => 'fnf_sec-clbackground',
				'label' => esc_html__( 'Background', 'ximsa' ),
				'types' => [ 'classic' ],
				'selector' => '{{WRAPPER}} .xis-dia-about-counter-content',
			]
		);

		$this->end_controls_section();
        $this->start_controls_section(
            'button__content',
            [
                'label' => __( 'Slider Button Style', 'ximsa' ),
                'tab'   => \Elementor\Controls_Manager::TAB_STYLE,
            ]
        );
        $this->add_group_control(
            \Elementor\Group_Control_Typography::get_type(),
            [
                'name'           => 'btn_typography',
                'label'          => esc_html__( 'Typography', 'ximsa' ),
                'selector'       => '
                    {{WRAPPER}} .xis-dia-btn a, .xis-dia-btn-2 a
                ',
                'fields_options' => [
                    'typography' => [
                        'default' => 'custom',
                    ],
                ],
            ]
        );
        $this->add_control(
			'btnwidth',
			[
				'label' => esc_html__( 'Width', 'ximsa' ),
				'type' => Controls_Manager::SLIDER,
				'size_units' => [ 'px', '%' ],
				'range' => [
					'px' => [
						'min' => 0,
						'max' => 1000,
						'step' => 5,
					],
					'%' => [
						'min' => 0,
						'max' => 100,
					],
				],
				'selectors' => [
					'{{WRAPPER}} .xis-dia-btn a, .xis-dia-btn-2 a' => 'width: {{SIZE}}{{UNIT}};',
				],
			]
		);
        $this->add_control(
			'btnheight',
			[
				'label' => esc_html__( 'Height', 'ximsa' ),
				'type' => Controls_Manager::SLIDER,
				'size_units' => [ 'px', '%' ],
				'range' => [
					'px' => [
						'min' => 0,
						'max' => 1000,
						'step' => 5,
					],
					'%' => [
						'min' => 0,
						'max' => 100,
					],
				],
				'selectors' => [
					'{{WRAPPER}} .xis-dia-btn a, .xis-dia-btn-2 a' => 'height: {{SIZE}}{{UNIT}};',
				],
			]
		);
        $this->start_controls_tabs( '_banner_button_1' );
        $this->start_controls_tab(
            '_glow-extension_btn__banner_normal',
            [
                'label' => esc_html__( 'Normal', 'glow-extension-extension' ),
            ]
        );
        $this->add_control(
            'btn__color',
            [
                'label'     => esc_html__( 'Color', 'glow-extension-extension' ),
                'type'      => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                    '{{WRAPPER}} .xis-dia-btn a, .xis-dia-btn-2 a' => 'color: {{VALUE}}',
                ],
            ]
        );
        $this->add_group_control(
            \Elementor\Group_Control_Background::get_type(),
            [
                'name'     => 'btn_bg_color',
                'label'    => __( 'Background', 'glow-extension-extension' ),
                'types'    => ['classic', 'gradient'],
                'exclude'  => ['image'],
                'selector' => '
                    {{WRAPPER}} .xis-dia-btn a, .xis-dia-btn-2 a
                ',
            ]
        );
        $this->add_responsive_control(
            'btn_border_radious',
            [
                'label'      => esc_html__( 'Border Radius', 'glow-extension-extension' ),
                'type'       => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => ['px', '%'],
                'selectors'  => [
                    '{{WRAPPER}} .xis-dia-btn a, .xis-dia-btn-2 a' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );

        $this->end_controls_tab();
        $this->start_controls_tab(
            '_glow-extension_btn_hover',
            [
                'label' => esc_html__( 'Hover', 'glow-extension-extension' ),
            ]
        );
        $this->add_control(
            'btn__hover_color',
            [
                'label'     => esc_html__( 'Color', 'glow-extension-extension' ),
                'type'      => \Elementor\Controls_Manager::COLOR,
                'selectors' => [
                    '{{WRAPPER}} .xis-dia-btn a, .xis-dia-btn-2 a:hover' => 'color: {{VALUE}}',
                ],
            ]
        );
        $this->add_group_control(
            \Elementor\Group_Control_Background::get_type(),
            [
                'name'     => 'btn_hover_bg_color',
                'label'    => __( 'Background', 'glow-extension-extension' ),
                'types'    => ['classic', 'gradient'],
                'exclude'  => ['image'],
                'selector' => '
                    {{WRAPPER}} .xis-dia-btn a, .xis-dia-btn-2 a:hover
                ',
            ]
        );
        $this->add_responsive_control(
            'btn_hover_border_radious',
            [
                'label'      => esc_html__( 'Border Radius', 'glow-extension-extension' ),
                'type'       => \Elementor\Controls_Manager::DIMENSIONS,
                'size_units' => ['px', '%'],
                'selectors'  => [
                    '{{WRAPPER}} .xis-dia-btn a, .xis-dia-btn-2 a:hover' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
                ],
            ]
        );
        $this->end_controls_tab();
        $this->end_controls_tabs();
        $this->end_controls_section();
	}



	protected function render() {


		$settings = $this->get_settings_for_display(); ?>
		<!-- Start of About section
        ============================================= -->
        <section id="xis-dia-about" class="xis-dia-about-section position-relative">
            <span class="xis-dia-side-shape1 position-absolute"><img src="<?php echo esc_url($settings['_sec_shape']['url']);?>" alt=""></span>
            <div class="container">
                <div class="xis-dia-about-content position-relative">
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="xis-dia-about-img-wrapper">
                                <div class="xis-dia-about-img1 position-relative" data-parallax='{"x" : -30}'>
                                    <img src="<?php echo esc_url($settings['about_img']['url']);?>" alt="">
                                </div>
                                <div class="xis-dia-about-img2 position-absolute" data-parallax='{"x" : 30}'>
                                    <img src="<?php echo esc_url($settings['about_img_shape']['url']);?>" alt="">
                                </div>
                                <div class="xis-dia-about-img3 position-absolute wow fadeInLeft" data-wow-delay="100ms" data-wow-duration="1500ms">
                                    <img src="<?php echo esc_url($settings['about_dev']['url']);?>" alt="">
                                </div>
                                <div class="xis-dia-about-img4 position-absolute wow fadeInRight" data-wow-delay="300ms" data-wow-duration="1500ms">
                                    <img src="<?php echo esc_url($settings['about_progress']['url']);?>" alt="">
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="xis-dia-about-text-wrapper">
                                <div class="xis-dia-section-title xis-dia-headline wow fadeInUp" data-wow-delay="100ms" data-wow-duration="1500ms">
                                    <span><?php echo esc_html($settings['fs_sub_title']);?></span>
                                    <h2><?php echo __($settings['fs_title']);?></h2>
                                </div>
                                <div class="xis-dia-about-text-content pera-content ul-li-block wow fadeInUp" data-wow-delay="300ms" data-wow-duration="1500ms">
                                    <p><?php echo __($settings['fs_txt']);?></p>
                                    <div class="xis-dia-about-list">
                                        <?php if(!empty( $settings['listitems'] )) : ?>
                                        <ul>
                                            <?php foreach($settings['listitems'] as $item):?>
                                                <li><?php echo esc_html($item['title']);?></li>
                                            <?php endforeach;?>
                                        </ul>
                                        <?php endif;?>
                                        <?php if(!empty( $settings['btn_label'] )) : ?>
                                        <div class="xis-dia-btn">
                                            <a class="d-flex justify-content-center align-items-center text-uppercase" href="<?php echo esc_html($settings['btn_link']['url']);?>"><?php echo esc_html($settings['btn_label']);?> <i class="far fa-arrow-right"></i></a>
                                        </div>
                                        <?php endif;?>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <?php if(!empty($settings['fanfacts'])):?>
                <div class="xis-dia-about-counter-wrapper d-flex justify-content-end">
                    <div class="xis-dia-about-counter-content d-flex justify-content-between align-items-center" data-background="<?php echo esc_url($settings['counter_bg']['url']);?>">
                        <?php foreach($settings['fanfacts'] as $item):?>
                        <div class="xis-dia-counter-inner-item position-relative">
                            <div class="xis-innner-item">
                                <div class="xis-innner-icon d-flex align-items-center justify-content-center">
                                    <?php \Elementor\Icons_Manager::render_icon( $item['icons'], [ 'aria-hidden' => 'true' ] ); ?>
                                </div>
                                <div class="xis-innner-text xis-dia-headline pera-content">
                                    <h3><span class="odometer" data-count="<?php echo esc_attr($item['number']);?>"></span><?php echo esc_html($item['symbole']);?></h3>
                                    <p><?php echo esc_html($item['title']);?></p>
                                </div>
                            </div>
                        </div>
                        <?php endforeach;?>
                        <div class="xis-dia-counter-inner-item position-relative">
                            <div class="xis-dia-btn-2">
                                <a class="d-flex justify-content-center align-items-center" href="<?php echo esc_html($settings['ct_btn_link']['url']);?>"><i class="far fa-arrow-right"></i> <?php echo esc_html($settings['ct_btn_label']);?></a>
                            </div>
                        </div>
                    </div>
                </div>
                <?php endif;?>
            </div>
        </section>
    <!-- End of About section
        ============================================= -->
		<?php
      }



}
