@foreach([['500+','Success Stories'],['4.9/5','Average Rating'],['200+','Video Reviews'],['98%','Recommend Us']] as $s)
@endforeach
@php $colors = ['var(--red)','var(--navy)','#7c3aed','var(--gold)','#dc2626','#059669']; @endphp
@forelse($testimonials as $t)
@php $stars = str_repeat('★', $t->rating) . str_repeat('☆', 5 - $t->rating); @endphp
{{ $stars }}
@if($t->course)
{{ $t->course }}@endif
"{{ $t->content }}"
@if($t->photo)
 }})
@else
{{ strtoupper(substr($t->name,0,2)) }}
@endif
{{ $t->name }}
{{ $t->designation }}
@empty
{{-- Fallback when no testimonials in DB --}}
@foreach([['Rahul Sharma','Software Engineer, Tokyo','RS','N2','Soyogi didn\'t just teach me Japanese — they gave me a new life in Japan.','★★★★★'],['Priya Mehta','Student, Kyoto University','PM','N1','I cleared N1 on the first attempt. Now I\'m at Kyoto University on a scholarship.','★★★★★'],['Amit Verma','Chef, Kyoto Restaurant','AV','N3','Soyogi taught restaurant culture and kitchen etiquette too. Best decision of my life.','★★★★★']] as $i=>$t)
{{ $t[5] }}
JLPT {{ $t[3] }}
"{{ $t[4] }}"
@endforeach
@endforelse