<?php if ('layout_two' == $settings['layout_type']) : ?>
    <!-- /.main-footer copyright -->
    <div class="main-footer-two__inner">
        <div class="main-footer-two__social">
            <?php foreach ($settings['social_icons'] as $social_icon) : ?>
                <a <?php echo esc_attr(!empty($social_icon['social_url']['is_external']) ? 'target=_blank' : ' '); ?> href="<?php echo esc_url($social_icon['social_url']['url']); ?>">
                    <?php \Elementor\Icons_Manager::render_icon($social_icon['social_icon'], ['aria-hidden' => 'true'], 'i'); ?>
                </a>
            <?php endforeach; ?>
        </div>
        <p class="main-footer-two__copyright">
            <?php echo wp_kses($settings['layout_two_title'], 'ostech_allowed_tags'); ?>
        </p>
    </div><!-- /.main-footer-two__inner -->
    <!-- /.main-footer copyright -->
<?php endif; ?>