@extends('website_builder.construction_theme.layout') @section('no_cta')@endsection @section('title', 'Contact Us - ' . ($agency->site_title ?? 'BuildCraft Construction')) @section('content') @php $agency = $agency ?? $interior ?? null; $isContactFormAllowed = isset($agency) && method_exists($agency, 'isFeatureEnabled') ? $agency->isFeatureEnabled('contact_form', $customer ?? null) : true; $isMapAllowed = isset($agency) && method_exists($agency, 'isFeatureEnabled') ? $agency->isFeatureEnabled('map_section', $customer ?? null) : true; $subdomainParam = isset($subdomain) && $subdomain ? $subdomain : null; $homeUrl = $subdomainParam ? route('website-builder.subdomain.site', ['subdomain' => $subdomainParam]) : route('website-builder.templates.construction'); $aboutUrl = $subdomainParam ? route('website-builder.subdomain.about', ['subdomain' => $subdomainParam]) : route('website-builder.templates.construction.about'); $contactUrl = $subdomainParam ? route('website-builder.subdomain.contact', ['subdomain' => $subdomainParam]) : route('website-builder.templates.construction.contact'); $heroBannerBg = asset('assets/website_builder/Templates/Construction_agency/construction_herobanner.png'); $footerCtaBg = asset('assets/website_builder/Templates/Construction_agency/construction_footercta.png'); @endphp
{{ $agency->contact_badge ?? 'Contact Us' }}

{!! nl2br(e($agency->contact_title ?? "Let’s Build Your\nNext Project Together!")) !!}

{{ $agency->contact_subtitle ?? "Have questions about our construction, engineering, or renovation services? We're available to assist you." }}

@php $bullets = !empty($agency->contact_bullets_data) && is_array($agency->contact_bullets_data) ? $agency->contact_bullets_data : [ ['title' => $agency->contact_bullet_1_title ?? 'Quick Response', 'text' => $agency->contact_bullet_1_text ?? 'We reply to all project inquiries within hours.'], ['title' => $agency->contact_bullet_2_title ?? '24/7 Site Support', 'text' => $agency->contact_bullet_2_text ?? 'Our project management team is ready to help round the clock.'], ['title' => $agency->contact_bullet_3_title ?? 'Transparent Pricing', 'text' => $agency->contact_bullet_3_text ?? 'Guaranteed upfront estimates with zero hidden costs.'], ]; $bulletIcons = ['fa-regular fa-clock', 'fa-solid fa-headset', 'fa-solid fa-shield-halved', 'fa-solid fa-building', 'fa-solid fa-hammer']; @endphp @foreach($bullets as $bi => $bullet)
{{ $bullet['title'] ?? '' }}
{{ $bullet['text'] ?? ($bullet['desc'] ?? '') }}
@endforeach
{{ $agency->contact_form_title ?? 'Send Us a Message' }}
{{ $agency->contact_form_subtitle ?? 'Fill out the form below and our BuildCraft team will assist you immediately.' }}
@if(!$isContactFormAllowed) @endif @if(session('success')) @endif @if(session('error')) @endif @php try { $submitUrl = route('website-builder.templates.construction.contact.submit'); } catch (\Throwable $e) { $submitUrl = route('website-builder.templates.digital_agency.contact.submit'); } @endphp
@csrf
@php $adminSettings = \App\Models\WebsiteBuilder\WbLandingSetting::getSettings(); if (!empty($agency->recaptcha_site_key)) { $recaptchaSiteKey = trim($agency->recaptcha_site_key); $enableRecaptcha = true; } else { $recaptchaSiteKey = trim($adminSettings->recaptcha_site_key ?? ''); $enableRecaptcha = (($adminSettings->enable_recaptcha ?? '1') == '1'); } @endphp @if($enableRecaptcha && !empty($recaptchaSiteKey))
@else
@endif
Our Location
{{ $agency->address ?? '123 Construction Avenue, New York, NY 10001' }}
Call Us
{{ $agency->phone ?? '+1 (234) 567-890' }}
Support Available
Email Us
{{ $agency->email ?? 'info@buildcraft.com' }}
Working Hours
{!! nl2br(e($agency->working_hours ?? "Monday – Saturday\n8:00 AM – 6:00 PM")) !!}
@if($isMapAllowed)
@endif
{{ $agency->faqs_badge ?? 'FAQS' }}

{!! nl2br(e($agency->faqs_title ?? 'Frequently Asked Questions')) !!}

@php $faqs = $agency->faqs_data ?? [ ['q' => 'How quickly can you provide a project cost estimate?', 'a' => 'Our project estimation team reviews architectural plans and provides detailed cost breakdowns within 24–48 hours.'], ['q' => 'Do you handle both commercial and residential projects?', 'a' => 'Yes! We specialize in residential housing, commercial offices, industrial complexes, and civil infrastructure.'], ['q' => 'Are your construction projects fully insured and compliant?', 'a' => 'Absolute zero-hazard site compliance with complete liability insurance and safety certifications on every build.'], ['q' => 'What payment structures do you accept for major builds?', 'a' => 'We offer milestone-based payment schedules transparently aligned with completion stages.'], ]; @endphp
@foreach($faqs as $fi => $f)
{{ $f['a'] }}
@endforeach
@php $contactImg = !empty($agency->contact_image) ? $agency->contact_image : ''; $contactImgUrl = !empty($contactImg) ? (str_starts_with($contactImg, 'http') ? $contactImg : asset(ltrim($contactImg, '/'))) : null; @endphp
{!! nl2br(e($agency->helpline_title ?? $agency->consultant_title ?? "Need Immediate\nConsultation?")) !!}
{{ $agency->helpline_desc ?? $agency->consultant_desc ?? 'Speak directly with our chief site engineers and project managers.' }}
{{ $agency->helpline_btn_text ?? 'Call Engineering Desk' }}
@endsection