@if(isset($profile) && $profile && $profile->completed && isset($scholarship->match_score) && $scholarship->match_score !== null)
{{ $scholarship->match_score }}%
Match Score
@if($scholarship->match_score >= 80)
Excellent Match - Highly recommended for your profile
@elseif($scholarship->match_score >= 60)
Good Match - Review details to confirm fit
@else
Moderate Match - Review eligibility carefully
@endif
@if(isset($matchBreakdown) && !empty($matchBreakdown))
See why this matches you
@endif
@endif
@if($scholarship->university)
University:
{{ $scholarship->university }}
@endif
@if($scholarship->country)
Country:
{{ $scholarship->country }}
@endif
@if($scholarship->degree_level)
Degree Level:
{{ ucfirst($scholarship->degree_level) }}
@endif
@if($scholarship->fields_of_study && count($scholarship->fields_of_study) > 0)
Fields of Study:
@foreach($scholarship->fields_of_study as $field)
{{ $field }}
@endforeach
@endif
@if($scholarship->deadline)
Application Deadline:
{{ \Carbon\Carbon::parse($scholarship->deadline)->format('F d, Y') }}
@endif
@if($scholarship->course_starts)
Course Starts:
{{ \Carbon\Carbon::parse($scholarship->course_starts)->format('F d, Y') }}
@endif
@if($scholarship->funding_type)
Funding Type:
{{ str_replace('_', ' ', ucfirst($scholarship->funding_type)) }}
@endif
@if($scholarship->funding_amount)
Funding Amount:
{{ $scholarship->currency ?? 'USD' }} {{ number_format($scholarship->funding_amount, 2) }}
@endif
@if($scholarship->description)
Description
{!! nl2br(e($scholarship->description)) !!}
@endif
@if($scholarship->eligibility)
Eligibility
{!! nl2br(e($scholarship->eligibility)) !!}
@endif
@if($scholarship->benefits)
Benefits
{!! nl2br(e($scholarship->benefits)) !!}
@endif