<div id="head" class="cards-1 bg-gray" style="padding-bottom: 0em !important;">
    <div class="container>
        <div class=" row">
        <div class="col-lg-12">

            <div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="carousel">
                <div class="carousel-indicators">
                    @foreach ($slide as $key => $slides)
                        @if ($key == 0)
                            <button type="button" data-bs-target="#carouselExampleIndicators"
                                data-bs-slide-to="{{ $key++ }}" class="active" aria-current="true"
                                aria-label="Slide {{ $key++ }}"></button>
                        @else
                            <button type="button" data-bs-target="#carouselExampleIndicators"
                                data-bs-slide-to="{{ $key++ }}" aria-label="Slide {{ $key++ }}"></button>
                        @endif

                    @endforeach
                </div>
                <div class="carousel-inner">
                    @foreach ($slide as $key2 => $slides)
                        @if ($key2++ == 0)
                            <div class="carousel-item active">
                                <img src="{{ asset('' . $slides['slide_img'] . '') }}" class="d-block w-100">
                            </div>
                        @else
                            <div class="carousel-item">
                                <img src="{{ asset('' . $slides['slide_img'] . '') }}" class="d-block w-100">
                            </div>
                        @endif

                    @endforeach
                </div>
                <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleIndicators"
                    data-bs-slide="prev">
                    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                    <span class="visually-hidden">Previous</span>
                </button>
                <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleIndicators"
                    data-bs-slide="next">
                    <span class="carousel-control-next-icon" aria-hidden="true"></span>
                    <span class="visually-hidden">Next</span>
                </button>
            </div>

            <!-- end of text-container -->
        </div>
        <!-- end of col -->
    </div>
    <!-- end of row -->
</div>
</div>
<!-- end of container -->
