@extends('layout') @section('title') {{ $seo_setting->seo_title }} @endsection @section('front-content')
@php function getAnimationDuration($index) { $durations = [500, 700, 900]; return $durations[$index % 3]; } $currentLang = session()->get('front_lang'); $contactUsContent = getContent('main_demo_hero.content', true); $keyFeaturesContent = getContent('key_feature.content', true); $aboutUsContent = getContent('main_demo_about_us.content', true); $serviceContent = getContent('main_demo_service_section.content', true); $serviceSuccessContent = getContent('main_demo_service_success_section.content', true); $testimonialContent = getContent('main_demo_testimonial_section.content', true); $blogContent = getContent('main_demo_blog_section.content', true); $expertTeamContent = getContent('expert_feature_section.content', true); @endphp
{{ getTranslatedValue($contactUsContent, 'heading', $currentLang) }}

{{ getTranslatedValue($contactUsContent, 'description', $currentLang) }}

{{ getTranslatedValue($contactUsContent, 'small_description', $currentLang) }}

Hero Image
{{ getTranslatedValue($keyFeaturesContent, 'heading_1', $currentLang) }}

{{ getTranslatedValue($keyFeaturesContent,'description_1', $currentLang) }}

{{ getTranslatedValue($keyFeaturesContent, 'heading_2', $currentLang) }}

{{ getTranslatedValue($keyFeaturesContent,'description_2', $currentLang) }}

Icon
{{ getTranslatedValue($keyFeaturesContent, 'heading_3', $currentLang) }}

{{ getTranslatedValue($keyFeaturesContent,'description_3', $currentLang) }}

{{ getTranslatedValue($aboutUsContent, 'heading', $currentLang) }}

{{ getTranslatedValue($aboutUsContent, 'sub_heading', $currentLang) }}

{{ getTranslatedValue($aboutUsContent, 'description', $currentLang) }}

{{ getTranslatedValue($serviceContent, 'heading', $currentLang) }}

@foreach($listings as $listing)
Icon
{{ __($listing->translate?->title) }}

{{ $listing->translate?->short_description }}

{{ __('translate.Learn More') }}
@endforeach
Image
Image

{{ getTranslatedValue($serviceSuccessContent, 'heading', $currentLang) }}

{{ getTranslatedValue($serviceSuccessContent, 'description', $currentLang) }}

{{ getTranslatedValue($serviceSuccessContent, 'service_name_1', $currentLang) }}
{{ getTranslatedValue($serviceSuccessContent, 'service_name_2', $currentLang) }}
{{ getTranslatedValue($serviceSuccessContent, 'service_name_3', $currentLang) }}

{{ __('translate.Explore our recent projects') }}

@foreach($projects->take(5) as $index => $project) {{-- For all projects except the last one --}} @if(!$loop->last)
image

{{ $project->translate?->title }}

@if($project->category && $project->category->translate) {{ $project->category->translate->name }} @elseif($project->category) {{ $project->category->name }} @endif

@endif @endforeach {{-- For the last project only --}} @if($projects->isNotEmpty()) @php $lastProject = $projects->last(); // Get the last project @endphp

{{ $lastProject->translate?->title }}

@if($lastProject->category && $lastProject->category->translate) {{ $lastProject->category->translate->name }} @elseif($lastProject->category) {{ $lastProject->category->name }} @endif

@endif

{{ getTranslatedValue($expertTeamContent, 'heading', $currentLang) }}

@foreach($teams->take(4) as $team)
{{ $team->translate->name }}

{{ $team->translate->designation }}

@endforeach

{{ getTranslatedValue($testimonialContent, 'heading', $currentLang) }}

@foreach($testimonials as $testimonial)

“ {{ \Illuminate\Support\Str::limit($testimonial->translate?->comment, 250) }} ”

    @for($i = 0; $i < $testimonial->rating; $i++)
  • @endfor
{{ $testimonial->translate?->name }}
{{ $testimonial->translate?->designation }}
@endforeach

{{ getTranslatedValue($blogContent, 'heading', $currentLang) }}

@include('frontend.templates.layouts.main_demo_cta') @endsection