
<?php $__env->startSection('title'); ?>
    <title><?php echo e($seo_text->seo_title); ?></title>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('meta'); ?>
    <meta name="description" content="<?php echo e($seo_text->seo_description); ?>">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('user-content'); ?>


<style>
    .wsus__single_team_img {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.partner-img {
  width: 100%;
  height: auto;
  object-fit: contain; /* ensures the image fits entirely */
  display: block;
  background-color: #f8f8f8; /* optional for padding space */
  padding: 5px; /* optional small padding to avoid touching edges */
}


</style>
<!--=====BANNER START=====-->
<section class="wsus__banner">
    <div class="row banner_slider">
        <?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="col-xl-12">
                <div class="wsus__banner_single" style="background: url(<?php echo e(asset($slider->image)); ?>);">
                <div class="container banner_content">
                    <div class="row">
                    <div class="col-xl-5">
                        <div class="wsus__banner_text">
                        <a href="javascript:;"><?php echo e($slider->translated_title); ?></a>
                        </div>
                    </div>
                    </div>
                </div>
                </div>
            </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>

    <div class="container wsus__for_search">
      <div class="wsus__banner_search">
        <h4><?php echo e(__('user.Find Your Property')); ?></h4>
        <ul class="nav nav-pills" id="pills-tab" role="tablist">
          <li class="nav-item" role="presentation">
            <button class="nav-link active" id="pills-home-tab" data-bs-toggle="pill" data-bs-target="#pills-home" type="button" role="tab" aria-controls="pills-home" aria-selected="true"><?php echo e(__('user.Any')); ?></button>
          </li>
          <li class="nav-item" role="presentation">
            <button class="nav-link" id="pills-profile-tab" data-bs-toggle="pill" data-bs-target="#pills-profile" type="button" role="tab" aria-controls="pills-profile" aria-selected="false"><?php echo e(__('user.Sell')); ?></button>
          </li>
          <li class="nav-item" role="presentation">
            <button class="nav-link" id="pills-contact-tab" data-bs-toggle="pill" data-bs-target="#pills-contact" type="button" role="tab" aria-controls="pills-contact" aria-selected="false"><?php echo e(__('user.Rent')); ?></button>
          </li>
        </ul>
        <div class="tab-content" id="pills-tabContent">
          <div class="tab-pane fade show active" id="pills-home" role="tabpanel" aria-labelledby="pills-home-tab">
            <form method="GET" action="<?php echo e(route('search-property')); ?>">
              <div class="wsus__serach_single">
                <select class="select_2" name="city_id">
                    <option value=""><?php echo e(__('user.Select Location')); ?></option>
                    <?php $__currentLoopData = $cities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $city_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <option value="<?php echo e($city_item->id); ?>"><?php echo e($city_item->translated_name); ?></option>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </select>
              </div>
              <div class="wsus__serach_single">
                <select class="select_2" name="property_type">
                    <option value=""><?php echo e(__('user.Property Type')); ?></option>
                    <?php $__currentLoopData = $propertyTypes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $property_type_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <option value="<?php echo e($property_type_item->id); ?>"><?php echo e($property_type_item->translated_type); ?></option>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </select>
              </div>
              
              
              

              <div class="wsus__serach_single">
                <input type="text" placeholder="<?php echo e(__('user.Property Id')); ?>" name="property_id">
              </div>





              <input type="hidden" name="page_type" value="list_view">
                <input type="hidden" name="purpose_type" value="">
              <div class="wsus__serach_single">
                <input type="text" placeholder="<?php echo e(__('user.Type Here ...')); ?>" name="search">
                <button class="common_btn" type="submit"><?php echo e(__('user.Search Property')); ?></button>
              </div>
            </form>
          </div>
          <div class="tab-pane fade" id="pills-profile" role="tabpanel" aria-labelledby="pills-profile-tab">
            <form method="GET" action="<?php echo e(route('search-property')); ?>">
                <div class="wsus__serach_single">
                  <select class="select_2" name="city_id">
                      <option value=""><?php echo e(__('user.Select Location')); ?></option>
                      <?php $__currentLoopData = $cities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $city_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                      <option value="<?php echo e($city_item->id); ?>"><?php echo e($city_item->translated_name); ?></option>
                      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                  </select>
                </div>
                <div class="wsus__serach_single">
                  <select class="select_2" name="property_type">
                    <option value=""><?php echo e(__('user.Property Type')); ?></option>
                      <?php $__currentLoopData = $propertyTypes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $property_type_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                          <option value="<?php echo e($property_type_item->id); ?>"><?php echo e($property_type_item->translated_type); ?></option>
                      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                  </select>
                </div>

                <div class="wsus__serach_single">
                    <select class="select_2" name="price_range">
                        <option value=""><?php echo e(__('user.Price Range')); ?></option>
                        <?php
                            $min_price = $minimum_price;
                        ?>
                        <?php for($i = 1; $i <= 10; $i++): ?>
                            <?php
                                $max_price = $minimum_price + ($mod_price * $i)
                            ?>
                            <option value="<?php echo e($min_price.':'.$max_price); ?>"><?php echo e($currency.$min_price); ?> - <?php echo e($currency.$max_price); ?></option>
                            <?php
                                $min_price = $max_price + 1;
                            ?>
                        <?php endfor; ?>
                    </select>
                  </div>

                  <div class="wsus__serach_single">
                    <select class="select_2" name="number_of_room">
                        <option value=""><?php echo e(__('user.Number Of Rooms')); ?></option>
                        <?php for($i = 1; $i <= $max_number_of_room; $i++): ?>
                            <option value="<?php echo e($i); ?>"><?php echo e($i); ?></option>
                        <?php endfor; ?>
                    </select>
                  </div>

                  <div class="wsus__serach_single">
                    <input type="text" placeholder="<?php echo e(__('user.Property Id')); ?>" name="property_id">
                  </div>

                <input type="hidden" name="page_type" value="list_view">
                <input type="hidden" name="purpose_type" value="1">
                <div class="wsus__serach_single">
                  <input type="text" placeholder="<?php echo e(__('user.Type')); ?>" name="search">
                  <button class="common_btn" type="submit"><?php echo e(__('user.Search Property')); ?></button>
                </div>
            </form>
          </div>
          <div class="tab-pane fade" id="pills-contact" role="tabpanel" aria-labelledby="pills-contact-tab">
            <form method="GET" action="<?php echo e(route('search-property')); ?>">
                <div class="wsus__serach_single">
                  <select class="select_2" name="city_id">
                      <option value=""><?php echo e(__('user.Select Location')); ?></option>
                      <?php $__currentLoopData = $cities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $city_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                      <option value="<?php echo e($city_item->id); ?>"><?php echo e($city_item->translated_name); ?></option>
                      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                  </select>
                </div>
                <div class="wsus__serach_single">
                  <select class="select_2" name="property_type">
                    <option value=""><?php echo e(__('user.Property Type')); ?></option>
                      <?php $__currentLoopData = $propertyTypes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $property_type_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                          <option value="<?php echo e($property_type_item->id); ?>"><?php echo e($property_type_item->translated_type); ?></option>
                      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                  </select>
                </div>

                <div class="wsus__serach_single">
                    <select class="select_2" name="price_range">
                        <option value=""><?php echo e(__('user.Price Range')); ?></option>
                        <?php
                            $min_price = $minimum_price;
                        ?>
                        <?php for($i = 1; $i <= 10; $i++): ?>
                            <?php
                                $max_price = $minimum_price + ($mod_price * $i)
                            ?>
                            <option value="<?php echo e($min_price.':'.$max_price); ?>"><?php echo e($currency.$min_price); ?> - <?php echo e($currency.$max_price); ?></option>
                            <?php
                                $min_price = $max_price + 1;
                            ?>
                        <?php endfor; ?>
                    </select>
                  </div>

                  <div class="wsus__serach_single">
                    <select class="select_2" name="number_of_room">
                        <option value=""><?php echo e(__('user.Number Of Rooms')); ?></option>
                        <?php for($i = 1; $i <= $max_number_of_room; $i++): ?>
                            <option value="<?php echo e($i); ?>"><?php echo e($i); ?></option>
                        <?php endfor; ?>
                    </select>
                  </div>

                  <div class="wsus__serach_single">
                    <input type="text" placeholder="<?php echo e(__('user.Property Id')); ?>" name="property_id">
                  </div>


                <input type="hidden" name="page_type" value="list_view">
                <input type="hidden" name="purpose_type" value="2">
                <div class="wsus__serach_single">
                  <input type="text" placeholder="<?php echo e(__('user.Type')); ?>" name="search">
                  <button class="common_btn" type="submit"><?php echo e(__('user.Search Property')); ?></button>
                </div>
            </form>
          </div>

        </div>
      </div>
    </div>

  </section>
  <!--=====BANNER END=====-->



  <?php if($about_us->about_visibility): ?>
   <!--=====ABOUT START=====-->
   <section class="wsus__about mt_100 xs_mt_75">
    <div class="container">
      <div class="row">
        <div class="col-xl-5 col-lg-5">
          <div class="wsus__about_img">
            <img src="<?php echo e(asset($about_us->about_us->image)); ?>" alt="about images" class="img-fluid w-100">
          </div>
        </div>
        <div class="col-xl-7 col-lg-7">
          <div class="wsus__about_counter">
            <div class="row">
              <div class="col-12">
                <div class="wsus__section_heading mb_40 mt_30">
                  <h2><?php echo e(__('user.About Us')); ?></h2>
                </div>
              </div>
              <div class="col-12">
                <div class="about_small"> <?php echo clean($about_us->about_us->translated_about_us); ?> <a href="<?php echo e(route('about.us')); ?>"><?php echo e(__('user.Read More')); ?></a>
              </div>
              </div>

              <?php $__currentLoopData = $about_us->overviews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $overview): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="col-xl-6 col-md-6">
                    <div class="wsus__about_counter_single text-center">
                    <div class="wsus__about_counter_icon">
                        <i class="<?php echo e($overview->icon); ?>"></i>
                    </div>
                    <div class="wsus__about_counter_text">
                        <h3 class="counter m-0"><?php echo e($overview->qty); ?></h3>
                        <p><?php echo e($overview->translated_name); ?></p>
                    </div>
                    </div>
                </div>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
          </div>
        </div>
      </div>
      </div>
    </div>
  </section>
  <!--=====ABOUT END=====-->
  <?php endif; ?>
  
  
  
 <?php if($partners->partner_visibility): ?>
<section class="wsus__agents mt_90 mb_90 xs_mt_65">
  <div class="container">
    <div class="row">
      <div class="col-12">
        <div class="wsus__section_heading text-center mb_15">
          <h2><?php echo e($partners->title); ?></h2>
          <span><?php echo e($partners->description); ?></span>
        </div>
      </div>
    </div>

    <div class="row">
      <?php $__currentLoopData = $partners->partners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
      <div class="col-xl-3 col-sm-6 col-lg-4">
        <div class="wsus__single_team">
          <div class="wsus__single_team_img">
            <img 
              src="<?php echo e(asset($item->image)); ?>" 
              alt="team image" 
              class="img-fluid w-100 partner-img"
            >
            <ul class="team_link">
              <?php if($item->first_icon && $item->first_link): ?>
              <li><a href="<?php echo e($item->first_link); ?>"><i class="<?php echo e($item->first_icon); ?>"></i></a></li>
              <?php endif; ?>

              <?php if($item->second_icon && $item->second_link): ?>
              <li><a href="<?php echo e($item->second_link); ?>"><i class="<?php echo e($item->second_icon); ?>"></i></a></li>
              <?php endif; ?>

              <?php if($item->third_icon && $item->third_link): ?>
              <li><a href="<?php echo e($item->third_link); ?>"><i class="<?php echo e($item->third_icon); ?>"></i></a></li>
              <?php endif; ?>

              <?php if($item->four_icon && $item->four_link): ?>
              <li><a href="<?php echo e($item->four_link); ?>"><i class="<?php echo e($item->four_icon); ?>"></i></a></li>
              <?php endif; ?>
            </ul>
          </div>
          <h4><?php echo e($item->translated_name); ?></h4>
          <p><?php echo e($item->translated_designation); ?></p>
        </div>
      </div>
      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
  </div>
</section>
<?php endif; ?>

  



  <?php if($top_properties->top_visibility): ?>
    <!--=====NEW PROPERTIES END=====-->
    <section class="wsus__new_properties pt_90 xs_pt_65 pb_75 xs_pb_50 mt_100 xs_mt_75">
        <div class="container">
          <div class="row">
            <div class="col-12">
              <div class="wsus__section_heading text-center mb_60">
                <h2><?php echo e($top_properties->title); ?></h2>
                <span><?php echo e($top_properties->description); ?></span>
              </div>
            </div>
          </div>
          <div class="row">
            <?php $__currentLoopData = $top_properties->top_properties; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $top_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="col-xl-4 col-md-6">
                <div class="wsus__single_property">
                  <div class="wsus__single_property_img">
                    <img src="<?php echo e(asset($top_item->thumbnail_image)); ?>" alt="properties" class="img-fluid w-100">

                      <?php if($top_item->property_purpose_id==1): ?>
                      <span class="sale"><?php echo e($top_item->propertyPurpose->translated_custom_purpose); ?></span>

                      <?php elseif($top_item->property_purpose_id==2): ?>
                      <span class="sale"><?php echo e($top_item->propertyPurpose->translated_custom_purpose); ?></span>
                      <?php endif; ?>

                      <?php if($top_item->urgent_property==1): ?>
                          <span class="rent"><?php echo e(__('user.Urgent')); ?></span>
                      <?php endif; ?>

                  </div>
                  <div class="wsus__single_property_text">
                      <?php if($top_item->property_purpose_id==1): ?>
                          <span class="tk"><?php echo e($currency); ?><?php echo e($top_item->price); ?></span>
                      <?php elseif($top_item->property_purpose_id==2): ?>
                      <span class="tk"><?php echo e($currency); ?><?php echo e($top_item->price); ?> /
                          <?php if($top_item->period=='Daily'): ?>
                          <span><?php echo e(__('user.Daily')); ?></span>
                          <?php elseif($top_item->period=='Monthly'): ?>
                          <span><?php echo e(__('user.Monthly')); ?></span>
                          <?php elseif($top_item->period=='Yearly'): ?>
                          <span><?php echo e(__('user.Yearly')); ?></span>
                          <?php endif; ?>
                      </span>
                      <?php endif; ?>

                      <a href="<?php echo e(route('property.details',$top_item->slug)); ?>" class="title w-100"><?php echo e($top_item->translated_title); ?></a>
                      <ul class="d-flex flex-wrap justify-content-between">
                          <li><i class="fal fa-bed"></i> <?php echo e($top_item->number_of_bedroom); ?> <?php echo e(__('user.Bed')); ?></li>
                          <li><i class="fal fa-shower"></i> <?php echo e($top_item->number_of_bathroom); ?> <?php echo e(__('user.Bath')); ?></li>
                          <li><i class="fal fa-draw-square"></i> <?php echo e($top_item->area); ?> <?php echo e(__('user.Sqft')); ?></li>
                      </ul>
                      <div class="wsus__single_property_footer d-flex justify-content-between align-items-center">
                        <a href="<?php echo e(route('search-property',['page_type' => 'list_view','property_type' => $top_item->propertyType->id])); ?>" class="category"><?php echo e($top_item->propertyType->translated_type); ?></a>

                      <?php
                          $total_review=$top_item->reviews->where('status',1)->count();
                          if($total_review > 0){
                              $avg_sum=$top_item->reviews->where('status',1)->sum('avarage_rating');

                              $avg=$avg_sum/$total_review;
                              $intAvg=intval($avg);
                              $nextVal=$intAvg+1;
                              $reviewPoint=$intAvg;
                              $halfReview=false;
                              if($intAvg < $avg && $avg < $nextVal){
                                  $reviewPoint= $intAvg + 0.5;
                                  $halfReview=true;
                              }
                          }
                      ?>

                      <?php if($total_review > 0): ?>
                        <span class="rating"><?php echo e(sprintf("%.1f", $reviewPoint)); ?>


                          <?php for($i = 1; $i <=5; $i++): ?>
                              <?php if($i <= $reviewPoint): ?>
                                  <i class="fas fa-star"></i>
                              <?php elseif($i> $reviewPoint ): ?>
                                  <?php if($halfReview==true): ?>
                                  <i class="fas fa-star-half-alt"></i>
                                      <?php
                                          $halfReview=false
                                      ?>
                                  <?php else: ?>
                                  <i class="fal fa-star"></i>
                                  <?php endif; ?>
                              <?php endif; ?>
                          <?php endfor; ?>
                        </span>
                      <?php else: ?>
                          <span class="rating">0.0
                              <?php for($i = 1; $i <=5; $i++): ?>
                              <i class="fal fa-star"></i>
                              <?php endfor; ?>
                          </span>
                      <?php endif; ?>
                      </div>
                  </div>
                </div>
              </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
          </div>
        </div>
      </section>
      <!--=====NEW PROPERTIES END=====-->
<?php endif; ?>



<?php if($featured_properties->featured_visibility): ?>
    <section class="wsus__popular_properties mt_90 xs_mt_65">
    <div class="container">
        <div class="row">
        <div class="col-12">
            <div class="wsus__section_heading text-center mb_60">
            <h2><?php echo e($featured_properties->title); ?></h2>
            <span><?php echo e($featured_properties->description); ?></span>
            </div>
        </div>
        </div>
        <div class="row">
        <?php $__currentLoopData = $featured_properties->featured_properties; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $featured_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="col-xl-4 col-md-6">
            <div class="wsus__popular_properties_single">
                <img src="<?php echo e(asset($featured_item->thumbnail_image)); ?>" alt="popular properties">
                <a href="<?php echo e(route('property.details',$featured_item->slug)); ?>" class="wsus__popular_text">
                <h4><?php echo e($featured_item->translated_title); ?></h4>
                <ul class="d-flex flex-wrap mt-3">
                    <li><i class="fal fa-bed"></i> <?php echo e($featured_item->number_of_bedroom); ?> <?php echo e(__('user.Bed')); ?></li>
                    <li><i class="fal fa-shower"></i> <?php echo e($featured_item->number_of_bathroom); ?> <?php echo e(__('user.Bath')); ?></li>
                    <li><i class="fal fa-draw-square"></i> <?php echo e($featured_item->area); ?> <?php echo e(__('user.Sqft')); ?></li>
                </ul>
                </a>
            </div>
            </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>
    </section>
<?php endif; ?>


<?php if($urgent_properties->urgent_visibility): ?>


        <!--=====TOP PROPERTIES START=====-->
  <section class="wsus__top_properties mt_75 xs_mt_50 pt_90 xs_pt_65 pb_75 xs_pb_50">
    <div class="container">
      <div class="row">
        <div class="col-12">
          <div class="wsus__section_heading text-center mb_60">
            <h2><?php echo e($urgent_properties->title); ?></h2>
            <span><?php echo e($urgent_properties->description); ?></span>
          </div>
        </div>
      </div>
      <div class="row">
        <?php $__currentLoopData = $urgent_properties->urgent_properties; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $urgent_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="col-xl-4 col-sm-6 col-lg-4">
                <div class="wsus__top_properties_item">
                    <div class="row">
                    <div class="col-xl-6">
                        <div class="wsus__top_properties_img">
                        <img src="<?php echo e(asset($urgent_item->thumbnail_image)); ?>" alt="top properties" class="ifg-fluid w-100">
                        </div>
                    </div>
                    <div class="col-xl-6">
                        <div class="wsus__top_properties_text">
                        <a href="<?php echo e(route('property.details',$urgent_item->slug)); ?>"><?php echo e($urgent_item->translated_title); ?></a>

                            <?php if($urgent_item->property_purpose_id==1): ?>
                                <p><?php echo e($currency); ?><?php echo e($urgent_item->price); ?></p>
                            <?php elseif($urgent_item->property_purpose_id==2): ?>
                            <p><?php echo e($currency); ?><?php echo e($urgent_item->price); ?> /
                                <?php if($urgent_item->period=='Daily'): ?>
                                <span><?php echo e(__('user.Daily')); ?></span>
                                <?php elseif($urgent_item->period=='Monthly'): ?>
                                <span><?php echo e(__('user.Monthly')); ?></span>
                                <?php elseif($urgent_item->period=='Yearly'): ?>
                                <span><?php echo e(__('user.Yearly')); ?></span>
                                <?php endif; ?>
                            </p>
                            <?php endif; ?>
                        </div>
                    </div>
                    </div>
                </div>
            </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
      </div>
    </div>
  </section>
  <!--=====TOP PROPERTIES END=====-->
  <?php endif; ?>


  <?php if($services->service_visibility): ?>
  <section class="wsus__services" style="background: url(<?php echo e(asset($services->image)); ?>);">
    <div class="wsus__services_overlay pt_100 xs_pt_75 pb_75 xs_pb_50">
      <div class="container">
        <div class="row">
          <div class="col-xl-5 col-lg-4">
            <div class="wsus__services_heading">
              <div class="wsus__section_heading">
                <h2 class="text-white"><?php echo e($services->title); ?></h2>
                <span class="text-white"><?php echo e($services->description); ?></span>
              </div>
            </div>
          </div>
          <div class="col-xl-7 col-lg-8">
            <div class="row">
                <?php $__currentLoopData = $services->services; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $service_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="col-xl-6 col-md-6">
                        <div class="wsus__single_service">
                        <i class="<?php echo e($service_item->icon); ?>"></i>
                        <h4><?php echo e($service_item->translated_title); ?></h4>
                        <p><?php echo e($service_item->translated_description); ?></p>
                        <span><i class="fas fa-flower"></i></span>
                        </div>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>
  <?php endif; ?>







  <?php if($blogs->blog_visibility): ?>
  <section class="wsus__blog mt_90 xs_mt_70">
    <div class="container">
      <div class="row">
        <div class="col-12">
          <div class="wsus__section_heading text-center mb_60">
            <h2><?php echo e($blogs->title); ?></h2>
            <span><?php echo e($blogs->description); ?></span>
          </div>
        </div>
      </div>
      <div class="row">
        <?php
            $colorId=1;
        ?>
        <?php $__currentLoopData = $blogs->blogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $blog_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php
            if($index %4 ==0){
                $colorId=1;
            }

            $color="";
            if($colorId==1){
                $color="";
            }else if($colorId==2){
                $color="oreangr";
            }else if($colorId==3){
                $color="gren";
            }else if($colorId==4){
                $color="blur";
            }
        ?>
        <div class="col-xl-4 col-md-6">
          <div class="wsus__single_blog">
            <div class="wsus__blog_img">
              <img src="<?php echo e(asset($blog_item->image)); ?>" alt="blog items" class="img-fluid w-100">
              <span class="category <?php echo e($color); ?>"><?php echo e($blog_item->category->translated_name); ?></span>
            </div>
            <div class="wsus__blog_text">
              <p class="blog_date">
                <span><?php echo e($blog_item->created_at->format('d')); ?></span>
                <span><?php echo e($blog_item->created_at->format('m')); ?></span>
                <span><?php echo e($blog_item->created_at->format('Y')); ?></span>
              </p>
              <span class="comment"><i class="fal fa-comment-dots"></i> <?php echo e($blog_item->totalComment); ?></span>
              <div class="wsus__blog_header d-flex flex-wrap align-items-center justify-content-between">
                <div class="blog_header_images d-flex flex-wrap align-items-center w-100">
                  <img src="<?php echo e($blog_item->admin ? url($blog_item->admin->image) : url($default_profile_image)); ?>" alt="bloger" class="img-fluid img-thumbnail">
                  <span><?php echo e($blog_item->admin ? $blog_item->admin->name : ''); ?></span>
                </div>
              </div>
              <a href="<?php echo e(route('blog.details',$blog_item->slug)); ?>" class="blog_title"><?php echo e($blog_item->translated_title); ?></a>
              <p><?php echo e($blog_item->translated_short_description); ?></p>
            </div>
          </div>
        </div>
        <?php
            $colorId ++;
        ?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
      </div>
    </div>
  </section>
  <?php endif; ?>


  <?php if($testimonials->testimonial_visibility): ?>
  <section class="wsus__testimonial mt_75 xs_mt_50 pt_90 xs_pt_65 pb_85 xs_pb_100" style="background: url(<?php echo e(asset('user/images/bg_shape.jpg')); ?>);">
    <div class="container">
      <div class="row justify-content-between align-content-center">
        <div class="col-xl-4 col-lg-4">
          <div class="wsus__section_heading d-flex align-content-center justify-content-center flex-column">
            <h2><?php echo e($testimonials->title); ?></h2>
            <span><?php echo e($testimonials->description); ?></span>
          </div>
        </div>
        <div class="col-xl-7 col-lg-8">
          <div class="row testi_slider">
            <?php $__currentLoopData = $testimonials->testimonials; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $testimonial_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="col-12">
              <div class="wsus__testi_item">
                <div class="row">
                  <div class="col-xl-5 col-md-5">
                    <div class="wsus__testi_img d-flex justify-content-center align-items-center">
                      <i class="fal fa-flower top_icon"></i>
                      <img src="<?php echo e(asset($testimonial_item->image)); ?>" alt="Clients" class="img-fluid img-thumbnail">
                      <i class="fas fa-flower bottom_icon"></i>
                    </div>
                  </div>
                  <div class="col-xl-7 col-md-7">
                    <div class="wsus__testi_text">
                      <h2><?php echo e($testimonial_item->translated_name); ?></h2>
                      <h5><?php echo e($testimonial_item->translated_designation); ?></h5>
                      <p><i class="fal fa-quote-right"></i> <?php echo e($testimonial_item->translated_comment); ?></p>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
          </div>
        </div>
      </div>
    </div>
  </section>
  <?php endif; ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/fwvrhhfw/topriserealtors.com/resources/views/index.blade.php ENDPATH**/ ?>