

<div class='container-fluid  aliceblue py-3'>
    <div class='row'>
    <div class="col-xs-12 col-sm-12 col-md-12 col-xl-12 col-xxl-12 pt-5 pb-3">
        <h2 class="text-center font-weight-bolder text-red">Our Core Values</h2>
    </div>
</div>
    <div class='row'>
        <?php foreach ($viewContents as $key => $content) { ?>
            <div class="col-xs-12 col-sm-12 col-md-6 col-xl-6 col-xxl-6 now text_gaps text-dark">
                <h4><?= $content->name ?></h4>
                <p><?= $content->content ?></p>
            </div>

            <!-- Close the row and start a new one after every second item -->
            <?php if (($key + 1) % 2 == 0) { ?>
                </div><div class='row'>
            <?php } ?>
        <?php } ?>
    </div>
</div>
