@extends('website_builder.agency_template.layout') @section('title', ($agency->site_title ?? 'DesignAGENCY') . ' — Services') @section('content') @php $subdomainParam = isset($subdomain) && $subdomain ? $subdomain : null; $contactUrl = $subdomainParam ? route('website-builder.subdomain.contact', ['subdomain' => $subdomainParam]) : route('website-builder.templates.digital_agency.contact'); $rawServices = $agency->services_data ?? null; if (is_string($rawServices)) { $dec = json_decode($rawServices, true); $rawServices = is_string($dec) ? json_decode($dec, true) : $dec; } $services = (is_array($rawServices) && count($rawServices) > 0) ? $rawServices : [ ['title' => 'Web Design & Development', 'desc' => 'Custom responsive websites engineered for high speed, conversion, and brand growth.', 'icon' => 'fa-laptop-code', 'image' => 'assets/website_builder/wb_card_agency.png'], ['title' => 'UI/UX Mobile App Design', 'desc' => 'User-centric mobile app designs with intuitive UX journeys and sleek modern UI aesthetics.', 'icon' => 'fa-mobile-screen-button', 'image' => 'assets/website_builder/wb_card_startup.png'], ['title' => 'Brand Identity & Strategy', 'desc' => 'Cohesive brand identity, logo design, style guides, and positioning strategy for startups.', 'icon' => 'fa-bullhorn', 'image' => 'assets/website_builder/wb_card_portfolio.png'], ]; @endphp
{{ !empty($agency->services_badge) ? $agency->services_badge : 'OUR SERVICES' }}

{!! nl2br(e(!empty($agency->services_title) ? $agency->services_title : "High-Impact Digital &\nTechnology Services")) !!}

{{ !empty($agency->services_subtitle) ? $agency->services_subtitle : 'We craft bespoke digital experiences, strategic marketing, and high-performance applications.' }}

Get Started Today
@foreach($services as $srv)
@if(!empty($srv['image']))
{{ $srv['title'] ?? '' }}
@endif
@php $sIcon = trim($srv['icon'] ?? 'fa-cube'); if (!preg_match('/^(fa-solid|fa-regular|fa-brands|fas|far|fab)\s+/i', $sIcon)) { $sIcon = 'fa-solid ' . $sIcon; } @endphp

{{ $srv['title'] ?? '' }}

{{ $srv['desc'] ?? $srv['description'] ?? '' }}

Inquire About Service
@endforeach
@endsection