@extends($activeTemplate . 'layouts.frontend')
@section('content')
    <section class="breadcrumb-area">
        <div class="container">
            <div class="breadcrumb-area-content">
                <h3 class="breadcrumb-area-title">
                    @lang('Pick Your Department')
                </h3>
                <p class="breadcrumb-area-desc mt-3">
                    @lang('This will help us route your ticket to the right team for faster resolution.')
                </p>
            </div>
        </div>
    </section>



    <section class="my-120">
        <div class="container">
            <div class="row gy-4">
                @foreach ($departments as $department)
                    <div class="col-xxl-4 col-md-6">
                        <a href="{{ route('user.ticket.open', $department->slug) }}" class="select-card">
                            <div class="select-card__content">
                                <h5 class="select-card__title">{{ __($department->name) }}</h5>
                                <span class="select-card__desc">{{ __($department->description) }}</span>
                            </div>
                            <span class="select-card__button"><i class="fas fa-chevron-right"></i></span>
                        </a>
                    </div>
                @endforeach
            </div>
        </div>
    </section>
@endsection
