<x-main-inner-page 
    category="Conference" title="Upcoming Conferences 2025" 
    subtitle="Discover GARI's upcoming international conferences in 2025. Join leading researchers and academics from around the world."
>

@php
$events = [
    [
        'title'    => '9th International Conference on Business, Management & Economics',
        'location' => 'Barcelona, Spain',
        'date'     => 'Jul 12–13, 2025',
        'deadline' => 'May 30, 2025',
        'image'    => 'https://images.unsplash.com/photo-1540575467063-178a50c2df87?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80',
        'slug'     => null,
        'theme'    => 'Sustainable Economics in a Post-Crisis Era',
        'attendees'=> '350+', 'papers' => '120+',
    ],
    [
        'title'    => '7th International Conference on Health & Medicine',
        'location' => 'Vienna, Austria',
        'date'     => 'Aug 8–9, 2025',
        'deadline' => 'Jun 15, 2025',
        'image'    => 'https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80',
        'slug'     => null,
        'theme'    => 'Digital Health & Translational Medicine',
        'attendees'=> '280+', 'papers' => '95+',
    ],
    [
        'title'    => '6th International Conference on Education & Distance Learning',
        'location' => 'Kuala Lumpur, Malaysia',
        'date'     => 'Sep 18–19, 2025',
        'deadline' => 'Jul 10, 2025',
        'image'    => 'https://images.unsplash.com/photo-1524178232363-1fb2b075b655?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80',
        'slug'     => null,
        'theme'    => 'Digital Transformation and Academic Agility',
        'attendees'=> '400+', 'papers' => '150+',
    ],
    [
        'title'    => '5th International Conference on Social Sciences & Humanities',
        'location' => 'Dubai, UAE',
        'date'     => 'Oct 14–15, 2025',
        'deadline' => 'Aug 20, 2025',
        'image'    => 'https://images.unsplash.com/photo-1544531586-fde5298cdd40?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80',
        'slug'     => null,
        'theme'    => 'Culture, Identity & Global Discourse',
        'attendees'=> '320+', 'papers' => '110+',
    ],
    [
        'title'    => '4th International Conference on Engineering & Technology',
        'location' => 'Singapore',
        'date'     => 'Nov 6–7, 2025',
        'deadline' => 'Sep 5, 2025',
        'image'    => 'https://images.unsplash.com/photo-1581092160562-40aa08e78837?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80',
        'slug'     => null,
        'theme'    => 'Smart Systems & Sustainable Engineering',
        'attendees'=> '290+', 'papers' => '100+',
    ],
    [
        'title'    => '3rd International Conference on Arts, Design & Creative Industries',
        'location' => 'Amsterdam, Netherlands',
        'date'     => 'Dec 3–4, 2025',
        'deadline' => 'Oct 10, 2025',
        'image'    => 'https://images.unsplash.com/photo-1492684223066-81342ee5ff30?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80',
        'slug'     => null,
        'theme'    => 'Creative Futures in a Digital Age',
        'attendees'=> '200+', 'papers' => '75+',
    ],
    [
        'title'    => '8th International Conference on Law, Politics & Governance',
        'location' => 'London, UK',
        'date'     => 'Nov 20–21, 2025',
        'deadline' => 'Sep 25, 2025',
        'image'    => 'https://images.unsplash.com/photo-1575505586569-646b2ca898fc?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80',
        'slug'     => null,
        'theme'    => 'Governance in the Age of AI',
        'attendees'=> '260+', 'papers' => '90+',
    ],
    [
        'title'    => '2nd International Conference on Environment & Sustainability',
        'location' => 'Colombo, Sri Lanka',
        'date'     => 'Dec 18–19, 2025',
        'deadline' => 'Nov 1, 2025',
        'image'    => 'https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80',
        'slug'     => null,
        'theme'    => 'Green Economies & Climate Action',
        'attendees'=> '240+', 'papers' => '85+',
    ],
];
@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">2025 Events</span>
        <h2 class="text-3xl font-bold text-slate-900">Upcoming Conferences</h2>
        <p class="text-slate-500 mt-2 max-w-xl">Discover global opportunities to network, share research, and shape the future of your discipline.</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 2025</span>
    </div>
</div>

{{-- Conference Cards Grid — same style as home page --}}
<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>