<section class="bg-white mx-auto px-6 lg:px-20 py-16 text-black">

    <!-- ================= HEADER ================= -->
    <div class="flex justify-between items-start mb-16">
        <h2 class="text-[22px] md:text-[25px] lg:text-[28px] leading-tight font-bold">
            Bharat at the Core.<br>
            Impact at Scale.
        </h2>

        <a href="/work" class="hidden lg:inline-flex group items-center gap-2 text-[18px] font-bold">
            See All Work
            <span class="transition-transform duration-300 group-hover:translate-x-2">→</span>
        </a>
    </div>

    <!-- ================= WORK GRID (2x2 for Desktop/Tablet/Laptop) ================= -->
    <div class="grid grid-cols-1 md:grid-cols-2 gap-10">
    @foreach($works as $work)
        <x-work-card :work="$work" />
    @endforeach
</div>


    <!-- MOBILE CTA -->
    <a href="/work" class="block lg:hidden mt-10 text-[16px] font-bold border-b border-black w-fit">
        See All Work →
    </a>

</section>
