<div class="container-fluid la_img_background">

  <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 ps-5">
        <!-- the cols in this div change the number of cards per row depending on screen size and the mb-4 adds space below cards if they spill over into the next row-->
        <div style="padding-left:120px;">
          <!-- Content Title -->
          <div class="mt-5">
            <h1 class="title-container fw-bold lh-sm blue_color pt-1">
              <?= $content->name ?>
            </h1>
          </div>
          <!-- Content Title Ends Here -->

          <!-- Contents -->
          <div class="mt-4 content-container">
            <p class="">
              Receive money from anywhere in the world through any of our fast and reliable remittance services.
            </p>
          </div>
          <!-- Contents Ends Here -->

          <!-- Contents Button -->
          <!-- Contents Button -->
          <div class="text-left mt-5">
            <a href="<?= $this->Url->build(['controller' => $menuDetails->slug, 'action' => 'details', $content->id]) ?>">
              <button type="button" class="button button-la">Learn More</button>
            </a>
          </div>
        </div>
        <!-- Other Details -->
     </div>

      <div class="col-xs-12 col-sm-12 col-md-6 col-xl-6 col-xxl-6 gx-md-0">
        <div class="lapopo_img_background">
          <img
            src="<?= $this->Url->image(sizeof($content->content_images) > 0 ? $content->content_images[0]->image_path : 'noimage.png') ?>"
            class="img-responsive img-fluid" alt="">
        </div>
      </div>

    </div>


  <?php } ?>
</div>


</div>