@extends('layouts.public') @section('title', 'Courses | CEPI Pakistan') @section('content')

CEPI Courses

Explore current CEPI programs and exam-preparation tracks.

Browse compulsory subjects, optional subjects, mentoring programs, and focused one-paper exam preparation paths.

@if ($courses->isNotEmpty())
@foreach ($courses as $course)
@if ($course->thumbnail) {{ $course->title }} @else
{{ $course->category->name ?? 'CEPI Course' }}
@endif
{{ $course->category->name ?? 'General' }} {{ ucfirst($course->level) }}

{{ $course->title }}

{{ \Illuminate\Support\Str::limit($course->description, 120) }}

Instructor: {{ $course->instructor->name ?? 'CEPI Faculty' }}
{{ ucfirst($course->language) }}
{{ $course->total_lectures }} lectures
{{ $course->duration_weeks ? $course->duration_weeks . ' weeks' : 'Flexible' }}
@if ($course->is_free) Free @elseif ($course->discount_price)
PKR {{ number_format((float) $course->discount_price) }} PKR {{ number_format((float) $course->price) }}
@else PKR {{ number_format((float) $course->price) }} @endif
View Course
@endforeach
{{ $courses->links() }}
@else
No courses matched your filters. Try clearing the search or category selection.
@endif
@endsection