<div class="col-md-4 mt-4">
    <div class="card m-3 h-100">
        <div class="display-6 card-header bg-dark text-white text-center">
            {{ $type }}
        </div>
        <div class="card-body text-center text-align-center">
            {{ $description ?? '' }}
        </div>
        @if($startDate ?? null)
            <div class="bg-primary card-footer text-white text-center text-align-center">
                 Course start: {{ $startDate->format('d M Y') }}
            </div>
        @endif
        <div class="card-footer text-center display-6">
            £{{ $price }}
        </div>
    </div>
</div>
