{{--  <section class="bg-dark-2 products">
        <div class="container">
            <div class="row g-4">
                <div class="col-lg-6 offset-lg-3 text-center">
                    <div class="subtitle wow fadeInUp mb-3">{{ $category->{'name_' . $lang} }}</div>
                    <h2 class="wow fadeInUp" data-wow-delay=".2s">{{ $category->{'name_' . $lang} }}</h2>
                </div>
                <div class="Products-carousel owl-carousel owl-theme wow fadeInUp" id="testimonial-carousel">
                    @foreach($category->projects as $project)
                        <div class="item wow fadeInRight" data-wow-delay=".6s">
                            <div class="relative overflow-hidden">
                                <div class="text-center py-3 prod-content position-relative">
                                    <img src="{{ url('uploads/projects/source/' , $project->image) }}" alt="image">
                                    <div class="product-hover-action">
                                        <ul>
                                            <li>
                                                <a href="#" title="Quick View" data-bs-toggle="modal" data-bs-target="#quick_view_modal_{{ $project->id }}" tabindex="0">
                                                    <i class="far fa-eye"></i>
                                                </a>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="content w-100 h-100 bg-dark">
                                    <h4>{{ $project->{'name_' . $lang} }}</h4>
                                    <a class="btn-main fx-slide" href="{{ LaravelLocalization::localizeUrl('project/' . $project->{'link_' . $lang}) }}">
                                        <span>{{ trans('home.View Details') }}</span>
                                    </a>
                                </div>
                            </div>
                        </div>
                    @endforeach
                </div>
            </div>
        </div>
    </section> --}}

    <section class="trending-style black-120-bg py-128 inside">
            <div class="container">
                <div class="row">
                @foreach($category->projects as $project)
                    <div class="col-sm-12 col-md-6 col-lg-4">
                        <div class="card">
                            <div class="row wow fadeInLeft delay-0-1s animated" style="visibility: visible; animation-name: fadeInLeft;">
                                <a href="{{ LaravelLocalization::localizeUrl('project/' . $project->{'link_' . $lang}) }}"><img src="{{ url('uploads/projects/source/' , $project->image) }}" alt="Apartment"></a>
                            </div>                        
                            <div class="trending-style-content">
                                <a href="{{ LaravelLocalization::localizeUrl('project/' . $project->{'link_' . $lang}) }}"><h4>{{ $project->{'name_' . $lang} }}</h4></a>
                                <p class="description">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quo, tempora.</p>
                                <div class="button-rm-hr">
                                    <a href="{{ LaravelLocalization::localizeUrl('project/' . $project->{'link_' . $lang}) }}">{{ trans('home.View Details') }}</a>  
                                    <i class="fa fa-solid fa-arrow-right"></i>
                                </div>
                            </div>
                        </div>
                    </div>
                @endforeach
                </div>                 
            </div>           
        </section>
