<x-main-inner-page 
    category="Conference" title="Upcoming Conferences 2026" 
    subtitle="Explore GARI's international academic conferences scheduled for 2026. Submit your research and connect with global scholars."
>

@php
$events = [
    [
        'title'    => '10th International Conference on Business, Management & Economics',
        'location' => 'Colombo, Sri Lanka',
        'date'     => 'Mar 28–29, 2026',
        'deadline' => 'Jan 31, 2026',
        'image'    => 'https://images.unsplash.com/photo-1540575467063-178a50c2df87?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80',
        'slug'     => 'business-management-economics-spain-2026',
        'theme'    => 'Resilient Economies for a Sustainable Future',
        'attendees'=> '400+', 'papers' => '140+',
    ],
    [
        'title'    => 'Conference London — International Research Summit',
        'location' => 'London, UK',
        'date'     => 'Oct 15–17, 2026',
        'deadline' => 'Aug 10, 2026',
        'image'    => 'https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80',
        'slug'     => null,
        'theme'    => 'Bridging Research and Innovation',
        'attendees'=> '350+', 'papers' => '120+',
    ],
    [
        'title'    => '5th International Conference on Ayurveda & Traditional Medicine',
        'location' => 'Colombo, Sri Lanka',
        'date'     => 'Dec 10–12, 2026',
        'deadline' => 'Oct 5, 2026',
        'image'    => 'https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80',
        'slug'     => null,
        'theme'    => 'Integrating Traditional Healing in Modern Healthcare',
        'attendees'=> '280+', 'papers' => '95+',
    ],
    [
        'title'    => '3rd International Climate Summit on Environment & Ecology',
        'location' => 'Colombo, Sri Lanka',
        'date'     => 'Nov 5–7, 2026',
        'deadline' => 'Sep 1, 2026',
        'image'    => 'https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80',
        'slug'     => null,
        'theme'    => 'Climate Action & Net Zero Goals',
        'attendees'=> '300+', 'papers' => '105+',
    ],
    [
        'title'    => '9th International Conference on Health Sciences & Medicine',
        'location' => 'Dubai, UAE',
        'date'     => 'Apr 22–23, 2026',
        'deadline' => 'Feb 28, 2026',
        'image'    => 'https://images.unsplash.com/photo-1551190822-a9333d879b1f?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80',
        'slug'     => null,
        'theme'    => 'Precision Medicine & Global Health Equity',
        'attendees'=> '320+', 'papers' => '115+',
    ],
    [
        'title'    => '6th International Conference on Education, Learning & Development',
        'location' => 'Singapore',
        'date'     => 'Jun 18–19, 2026',
        'deadline' => 'Apr 15, 2026',
        'image'    => 'https://images.unsplash.com/photo-1524178232363-1fb2b075b655?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80',
        'slug'     => null,
        'theme'    => 'Education 4.0 — Learning for Life',
        'attendees'=> '360+', 'papers' => '130+',
    ],
    [
        'title'    => '7th International Conference on Social Sciences & Humanities',
        'location' => 'Vienna, Austria',
        'date'     => 'Sep 10–11, 2026',
        'deadline' => 'Jul 5, 2026',
        'image'    => 'https://images.unsplash.com/photo-1544531586-fde5298cdd40?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80',
        'slug'     => null,
        'theme'    => 'Human Experience in a Digital Society',
        'attendees'=> '290+', 'papers' => '100+',
    ],
    [
        'title'    => '5th International Conference on Engineering, Science & Technology',
        'location' => 'Kuala Lumpur, Malaysia',
        'date'     => 'Aug 6–7, 2026',
        'deadline' => 'Jun 1, 2026',
        'image'    => 'https://images.unsplash.com/photo-1581092160562-40aa08e78837?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80',
        'slug'     => null,
        'theme'    => "Engineering Tomorrow's Infrastructure",
        'attendees'=> '310+', 'papers' => '108+',
    ],
];
@endphp

{{-- Section Header --}}
<div class="flex flex-col md:flex-row items-start md:items-end justify-between mb-14 gap-6">
    <div>
        <span class="text-brand-600 text-xs font-bold uppercase tracking-widest mb-2 block">2026 Events</span>
        <h2 class="text-3xl font-bold text-slate-900">Upcoming Conferences</h2>
        <p class="text-slate-500 mt-2 max-w-xl">Join thousands of academics and professionals at our premier 2026 international events.</p>
    </div>
    <div class="flex items-center gap-2 text-sm text-slate-500 bg-white border border-slate-200 px-4 py-2.5 rounded-xl shadow-sm shrink-0">
        <i class="fas fa-calendar-check text-brand-500"></i>
        <span class="font-medium">{{ count($events) }} Events in 2026</span>
    </div>
</div>

{{-- Conference Cards Grid --}}
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8">
    @foreach($events as $conf)
        <x-conference-card :conference="$conf" />
    @endforeach
</div>

</x-main-inner-page>