<?php
/**
 * Benefits Section block template.
 *
 * @param array $block The block settings and attributes.
 */

$title_1 = get_field('title_1');
$text_1 = get_field('text_1');

$title_2 = get_field('title_2');
$text_2 = get_field('text_2');

$title_3 = get_field('title_3');
$text_3 = get_field('text_3');
?>

<div class="delivery__wrapper">
    <div class="container delivery__container">
        <div class="delivery__item">
            <div class="item__header">
                <img
                    class="header__image"
                    src="https://staging.glucofit.co/wp-content/uploads/2024/11/planet.svg"
                    alt="header__image"
                >
                <span class="header__title"><?php echo esc_html($title_1); ?></span>
            </div>
            <span class="item__subtitle"><?php echo esc_html($text_1); ?></span>
        </div>
        <div class="delivery__item">
            <div class="item__header">
                <img
                    class="header__image"
                    src="https://staging.glucofit.co/wp-content/uploads/2024/11/check.svg"
                    alt="header__image"
                >
                <span class="header__title"><?php echo esc_html($title_2); ?></span>
            </div>
            <span class="item__subtitle"><?php echo esc_html($text_2); ?></span>
        </div>
        <div class="delivery__item">
            <div class="item__header">
                <img
                    class="header__image"
                    src="https://staging.glucofit.co/wp-content/uploads/2024/11/eu.svg"
                    alt="header__image"
                >
                <span class="header__title"><?php echo esc_html($title_3); ?></span>
            </div>
            <span class="item__subtitle"><?php echo esc_html($text_3); ?></span>
        </div>
    </div>
</div>
