@extends('website_builder.texigo_theme.layout')
@section('title', 'About Us - ' . ($agency->site_title ?? 'TaxiGo Mobility'))
@section('content')
@php
$subdomainParam = isset($subdomain) && $subdomain ? $subdomain : null;
$homeUrl = $subdomainParam ? route('website-builder.subdomain.site', ['subdomain' => $subdomainParam]) : route('website-builder.templates.texigo');
$aboutUrl = $subdomainParam ? route('website-builder.subdomain.about', ['subdomain' => $subdomainParam]) : route('website-builder.templates.texigo.about');
$contactUrl = $subdomainParam ? route('website-builder.subdomain.contact', ['subdomain' => $subdomainParam]) : route('website-builder.templates.texigo.contact');
$portfolioUrl = $subdomainParam ? route('website-builder.subdomain.portfolio', ['subdomain' => $subdomainParam]) : route('website-builder.templates.texigo.portfolio');
$agency = $agency ?? $interior ?? null;
@endphp
@php
$heroBannerBg = asset('assets/website_builder/Templates/Texigo_agency/herobanner_image.png');
@endphp
{{ $agency->about_badge ?? 'ABOUT US' }}
{!! nl2br(e($agency->about_hero_title ?? "More Than Rides,\nWe Move People")) !!}
{{ $agency->about_hero_subtitle ?? "We're on a mission to make every journey safer, smarter, and more comfortable. From daily commutes to special moments, TaxiGo is always with you." }}
Trusted by
Thousands of Riders
{{ $agency->story_badge ?? 'OUR STORY' }}
{!! nl2br(e($agency->story_title ?? "A Journey Driven\nBy People")) !!}
{{ $agency->story_text ?? 'TaxiGo was founded with a simple idea — to make transportation more accessible, reliable, and human.' }}
{{ $agency->founder_name ?? 'Rahul Mehta' }}
{{ $agency->founder_role ?? 'Founder & CEO' }}
{{ $agency->founder_name ?? 'Rahul Mehta' }}
{{ $agency->mission_title ?? 'Our Mission' }}
{{ $agency->mission_text ?? 'To provide safe, affordable, and convenient rides for everyone.' }}
{{ $agency->vision_title ?? 'Our Vision' }}
{{ $agency->vision_text ?? 'To be the most trusted global mobility platform connecting people.' }}
{{ $agency->values_title ?? 'Our Values' }}
@php
$valText = $agency->values_text ?? "Customer First\nSafety & Reliability\nTransparency\nInnovation";
$valItems = array_values(array_filter(array_map('trim', preg_split('/\r\n|\r|\n|,/', $valText))));
@endphp
@foreach($valItems as $vi)
{{ $vi }}
@endforeach
@php
$rawStats = $agency->stats_data ?? null;
if (is_string($rawStats)) { $dec = json_decode($rawStats, true); $rawStats = is_string($dec) ? json_decode($dec, true) : $dec; }
$stats = (is_array($rawStats) && count($rawStats) > 0)
? $rawStats
: [
['number' => '8+', 'label' => 'Years of Experience', 'icon' => 'fa-users'],
['number' => '250K+', 'label' => 'Rides Completed', 'icon' => 'fa-car'],
['number' => '98%', 'label' => 'Customer Satisfaction', 'icon' => 'fa-star'],
['number' => '50+', 'label' => 'Professional Drivers', 'icon' => 'fa-user-tie'],
];
@endphp
@foreach($stats as $i => $st)
{{ $st['number'] ?? '' }}
{{ $st['label'] ?? '' }}
@endforeach
@php
$rawTeam = $agency->team_members_data ?? null;
if (is_string($rawTeam)) { $dec = json_decode($rawTeam, true); $rawTeam = is_string($dec) ? json_decode($dec, true) : $dec; }
$team = (is_array($rawTeam) && count($rawTeam) > 0)
? $rawTeam
: [
['name' => 'Priya Sharma', 'role' => 'Chief Operating Officer', 'image' => 'https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?q=80&w=400&auto=format&fit=crop'],
['name' => 'Rahul Mehta', 'role' => 'Founder & CEO', 'image' => 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?q=80&w=400&auto=format&fit=crop'],
['name' => 'Anjali Verma', 'role' => 'Head of Customer Success', 'image' => 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?q=80&w=400&auto=format&fit=crop'],
['name' => 'Daniel Smith', 'role' => 'Head of Technology', 'image' => 'https://images.unsplash.com/photo-1500648767791-00dcc994a43e?q=80&w=400&auto=format&fit=crop'],
];
$teamCount = count($team);
@endphp
{{ $agency->team_badge ?? 'MEET OUR TEAM' }}
{!! nl2br(e($agency->team_title ?? 'The People Behind TaxiGo')) !!}
{{ $agency->team_subtitle ?? 'Our team is made up of passionate individuals who believe in building a smarter, safer, and more connected world through better mobility.' }}
@if($teamCount > 4)
@endif
@foreach($team as $tm)
@php
$tmImg = !empty($tm['image']) ? (str_starts_with($tm['image'], 'http') ? $tm['image'] : asset(ltrim($tm['image'], '/'))) : 'https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?q=80&w=400&auto=format&fit=crop';
@endphp
{{ $tm['name'] ?? '' }}
{{ $tm['role'] ?? '' }}
@endforeach
@php
$testimonials = $agency->testimonials_data ?? [
['name' => 'Emily Carter', 'role' => 'Regular Rider', 'comment' => 'TaxiGo made my daily commute so easy and stress-free. Highly recommended!', 'avatar' => 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?q=80&w=200&auto=format&fit=crop'],
['name' => 'James Walker', 'role' => 'Business Traveler', 'comment' => 'Reliable, affordable, and always on time. The best cab service in the city!', 'avatar' => 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?q=80&w=200&auto=format&fit=crop'],
['name' => 'Sophia Lee', 'role' => 'Frequent Rider', 'comment' => 'Professional drivers and excellent customer support. Truly a great experience!', 'avatar' => 'https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?q=80&w=200&auto=format&fit=crop'],
];
$testimonialsCount = count($testimonials);
@endphp
{{ $agency->testimonials_badge ?? 'WHAT OUR RIDERS SAY' }}
{!! nl2br(e($agency->testimonials_title ?? 'Stories From Our Happy Riders')) !!}
{{ $agency->testimonials_subtitle ?? 'Real experiences from people who ride with TaxiGo every day.' }}
@if($testimonialsCount > 4)
@endif
@if($testimonialsCount > 0)
@endif
@section('scripts')
@endsection
@endsection