@extends('layouts.app')

@section('title', 'Mobile Application Development | DIGITAL STUDIO')

@section('content')
    <section class="hero hero-service-detail py-5 position-relative overflow-hidden" data-aos="fade-up">
        <div class="hero-pattern"></div>
        <div class="container py-lg-5 text-center">
            <h2 class="h5 text-primary fw-bold mb-3" data-aos="fade-up" data-aos-delay="100">Mobile Application Development
            </h2>
            <h1 class="display-4 fw-bold mb-4" data-aos="fade-up" data-aos-delay="200">
                Bespoke Mobile Application <br>
                <span class="text-gradient">Development Solutions</span>
            </h1>
            <p class="lead text-muted mx-auto mb-5" style="max-width: 800px;" data-aos="fade-up" data-aos-delay="300">
                Empower your enterprise through high-performance mobile applications tailored to your specific goals. From
                iOS to Android, we design intuitive, scalable, and feature-rich solutions that drive audience engagement and
                deliver tangible commercial results.
            </p>
            <div data-aos="fade-up" data-aos-delay="400">
                <a href="{{ route('contact') }}" class="btn btn-primary btn-lg px-5 py-3 rounded-pill">
                    Request a Bespoke Quote
                </a>
            </div>
        </div>
    </section>

    <section class="services-detail py-5" data-aos="fade-up">
        <div class="container">
            <div class="text-center mb-5">
                <h2 class="display-5 fw-bold mb-4">
                    Our Mobile Application Development <br>
                    <span class="text-gradient">Expertise</span>
                </h2>
            </div>

            <div class="row g-4">
                <!-- App Consultation -->
                <div class="col-lg-8" data-aos="fade-up" data-aos-delay="100">
                    <div class="service-card-detail p-4 bg-white border rounded-3 shadow-sm h-100">
                        <div class="row align-items-center">
                            <div class="col-md-8">
                                <h4 class="fw-bold mb-3">Mobile Application Development Consultation</h4>
                                <p class="text-muted">
                                    Possessing an application vision but uncertain how to proceed? Our specialist
                                    consultants assist in validating your vision, defining key features, and providing a
                                    clear roadmap to bring your application to life.
                                </p>
                                <a href="#" class="text-primary text-decoration-none fw-bold">Read More <i
                                        class="fas fa-arrow-right ms-1"></i></a>
                            </div>
                            <div class="col-md-4 text-center">
                                <img src="{{ asset('assets/App Service 1.png') }}" alt="App Consultation" class="img-fluid">
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-lg-4" data-aos="fade-up" data-aos-delay="200">
                    <div class="row g-4 h-100">
                        <!-- UI/UX Design -->
                        <div class="col-12">
                            <div class="service-card-detail p-4 bg-white border rounded-3 shadow-sm h-100">
                                <h4 class="fw-bold mb-3">Mobile Application UI/UX Design</h4>
                                <p class="text-muted mb-0">
                                    We craft intuitive, engaging, and user-centric application designs that ensure a
                                    seamless experience across all devices.
                                </p>
                                <a href="#" class="text-primary text-decoration-none fw-bold mt-2 d-inline-block">Read More
                                    <i class="fas fa-arrow-right ms-1"></i></a>
                            </div>
                        </div>
                        <!-- Hire Developer -->
                        <div class="col-12">
                            <div
                                class="service-card-detail p-4 bg-primary border rounded-3 shadow-sm h-100 d-flex flex-column justify-content-center">
                                <h4 class="fw-bold mb-3 text-white">Hire a Mobile Application Developer</h4>
                                <a href="{{ route('contact') }}"
                                    class="btn btn-light rounded-pill w-100 fw-bold text-primary">
                                    Get Started
                                </a>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Custom App Development -->
                <div class="col-12" data-aos="fade-up" data-aos-delay="300">
                    <div class="service-card-detail p-4 bg-white border rounded-3 shadow-sm">
                        <div class="row align-items-center">
                            <div class="col-lg-4 text-center">
                                <img src="{{ asset('assets/App service ca.png') }}" alt="Custom App Development"
                                    class="img-fluid">
                            </div>
                            <div class="col-lg-8">
                                <h4 class="fw-bold mb-3">Bespoke Mobile Application Development</h4>
                                <p class="text-muted mb-0">
                                    From inception to launch, we construct powerful mobile applications tailored to your
                                    business requirements. Whether for iOS, Android, or cross-platform, our solutions are
                                    secure, scalable, and performance-driven.
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <section class="app-types py-5 bg-primary-ultra-light" data-aos="fade-up">
        <div class="container">
            <div class="text-center mb-5">
                <h2 class="display-5 fw-bold mb-4">Types of Mobile Application <span
                        class="text-gradient">Development</span></h2>
                <p class="text-muted mx-auto" style="max-width: 800px;">
                    At DIGITAL STUDIO, we provide versatile mobile application development solutions tailored to your
                    commercial objectives. Whether you are targeting iOS, Android, or both, our specialist developers
                    deliver high-performing, scalable, and engaging applications across all platforms.
                </p>
            </div>

            <div class="row g-4">
                @php
                    $appTypes = [
                        ['icon' => 'fab fa-android', 'title' => 'Android Application Development', 'desc' => 'From a sleek UI to a powerful backend, we engineer Android applications that operate seamlessly across all devices.'],
                        ['icon' => 'fab fa-apple', 'title' => 'iOS Application Development', 'desc' => 'We develop iOS applications featuring cutting-edge design and flawless functionality.'],
                        ['icon' => 'fas fa-layer-group', 'title' => 'Cross-Platform Development', 'desc' => 'Reach a broader audience with a single codebase using Flutter or React Native.'],
                        ['icon' => 'fas fa-cloud', 'title' => 'Hybrid Application Development', 'desc' => 'We construct hybrid applications that integrate the finest web and native technologies.']
                    ];
                @endphp

                @foreach($appTypes as $index => $type)
                    <div class="col-md-6" data-aos="fade-up" data-aos-delay="{{ ($index + 1) * 100 }}">
                        <div class="type-card p-4 bg-white border rounded-3 shadow-sm h-100">
                            <div class="type-number display-6 fw-bold text-primary-ultra-light mb-3">
                                {{ sprintf('%02d', $index + 1) }}</div>
                            <div class="type-icon mb-4">
                                <i class="{{ $type['icon'] }} fa-3x text-primary"></i>
                            </div>
                            <h3 class="h4 fw-bold mb-3">{{ $type['title'] }}</h3>
                            <p class="text-muted mb-0">{{ $type['desc'] }}</p>
                        </div>
                    </div>
                @endforeach
            </div>
        </div>
    </section>

    <section class="industries py-5" data-aos="fade-up">
        <div class="container">
            <div class="text-center mb-5">
                <h2 class="display-5 fw-bold mb-4">Mobile Application Development <span class="text-primary">Industries We
                        Serve</span></h2>
                <p class="text-muted mx-auto" style="max-width: 800px;">
                    Empower your brand with mobile application design services tailored to your specific commercial
                    objectives.
                </p>
            </div>

            <div class="row g-4 justify-content-center">
                @php
                    $industries = [
                        ['icon' => 'fas fa-users-viewfinder', 'name' => 'Social Media Applications'],
                        ['icon' => 'fas fa-plane-departure', 'name' => 'Travel Applications'],
                        ['icon' => 'fas fa-shield-heart', 'name' => 'Insurance Applications'],
                        ['icon' => 'fas fa-basket-shopping', 'name' => 'eCommerce Applications'],
                        ['icon' => 'fas fa-house-laptop', 'name' => 'Real Estate Applications'],
                        ['icon' => 'fas fa-heartbeat', 'name' => 'Healthcare Applications']
                    ];
                @endphp

                @foreach($industries as $index => $industry)
                    <div class="col-6 col-md-4 col-lg-2" data-aos="zoom-in" data-aos-delay="{{ ($index + 1) * 100 }}">
                        <div class="industry-card text-center p-3">
                            <div class="industry-icon mb-3">
                                <i class="{{ $industry['icon'] }} fa-2x text-primary"></i>
                            </div>
                            <p class="small fw-bold mb-0">{{ $industry['name'] }}</p>
                        </div>
                    </div>
                @endforeach
            </div>
        </div>
    </section>

    <section class="technologies py-5 bg-primary-ultra-light" data-aos="fade-up">
        <div class="container">
            <div class="text-center mb-5">
                <h2 class="display-5 fw-bold mb-4">Technologies and <span class="text-primary">Platforms We Utilise</span>
                </h2>
                <p class="text-muted mx-auto" style="max-width: 800px;">
                    We leverage the latest technologies and platforms to create innovative and efficient mobile solutions.
                    Our expertise encompasses various tools and frameworks, ensuring your project is built upon a solid
                    foundation for success.
                </p>
            </div>

            <div class="row g-4 justify-content-center">
                @php
                    $technologies = [
                        'figma.svg' => 'Figma',
                        'illustrator.svg' => 'Adobe Illustrator',
                        'photoshop.svg' => 'Photoshop',
                        'xd.svg' => 'Adobe XD',
                        'after-effects.svg' => 'After Effects',
                        'sketch.svg' => 'Sketch',
                        'canva.svg' => 'Canva'
                    ];
                @endphp

                @foreach($technologies as $icon => $name)
                    <div class="col-4 col-md-3 col-lg-auto" data-aos="fade-up" data-aos-delay="{{ $loop->index * 50 }}">
                        <div class="tech-card p-3 bg-white border rounded-3 shadow-sm">
                            <img src="{{ asset('assets/' . $icon) }}" alt="{{ $name }}" class="img-fluid" style="height: 40px;">
                            <p class="small mt-2 mb-0 text-muted">{{ $name }}</p>
                        </div>
                    </div>
                @endforeach
            </div>
        </div>
    </section>

    <section class="why-choose-us py-5" data-aos="fade-up">
        <div class="container text-center">
            <h2 class="mb-4 text-dark"><span class="text-primary">Why</span> Partner With Us</h2>
            <p class="text-muted mb-5 mx-auto" style="max-width: 800px;">
                At DIGITAL STUDIO, we do not merely build mobile applications—we craft digital experiences that scale
                alongside your business. From inception to launch, we offer innovative, user-focused solutions underpinned
                by industry-best practices.
            </p>

            <div class="row g-4 justify-content-center">
                <div class="col-md-4" data-aos="fade-up" data-aos-delay="100">
                    <div class="feature-card h-100 p-4">
                        <div class="feature-icon mb-3">
                            <i class="fas fa-headset fa-2x text-primary"></i>
                        </div>
                        <h4 class="h6 mb-0 text-dark fw-bold">24/7 Client Assistance</h4>
                    </div>
                </div>
                <div class="col-md-4" data-aos="fade-up" data-aos-delay="200">
                    <div class="feature-card h-100 p-4">
                        <div class="feature-icon mb-3">
                            <i class="fas fa-users fa-2x text-primary"></i>
                        </div>
                        <h4 class="h6 mb-0 text-dark fw-bold">Professional specialist Team</h4>
                    </div>
                </div>
                <div class="col-md-4" data-aos="fade-up" data-aos-delay="300">
                    <div class="feature-card h-100 p-4">
                        <div class="feature-icon mb-3">
                            <i class="fas fa-award fa-2x text-primary"></i>
                        </div>
                        <h4 class="h6 mb-0 text-dark fw-bold">Assured Quality</h4>
                    </div>
                </div>
            </div>
        </div>
    </section>
@endsection

@push('styles')
    <style>
        .hero-service-detail {
            background-color: var(--background-color);
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85)),
                url("https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?auto=format&fit=crop&q=80&w=2070");
            background-size: cover;
            background-position: center;
            min-height: 50vh;
            display: flex;
            align-items: center;
            position: relative;
        }

        .hero-pattern {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm66 3c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-46-71c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm20 31c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%239929ea' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
            opacity: 1;
            pointer-events: none;
        }

        .text-gradient {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .service-card-detail {
            transition: var(--transition-smooth);
            border: 1px solid var(--border-light);
        }

        .service-card-detail:hover {
            border-color: var(--primary-color);
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .type-card {
            position: relative;
            overflow: hidden;
            transition: var(--transition-smooth);
            border: 1px solid var(--border-light);
        }

        .type-card:hover {
            border-color: var(--primary-color);
            transform: translateY(-5px);
        }

        .type-number {
            position: absolute;
            top: 1rem;
            right: 1rem;
            font-size: 4rem;
            line-height: 1;
            opacity: 0.1;
            z-index: 0;
        }

        .type-icon {
            width: 80px;
            height: 80px;
            background: var(--primary-ultra-light);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            transition: var(--transition-smooth);
            position: relative;
            z-index: 1;
        }

        .type-card:hover .type-icon {
            background: var(--primary-color);
        }

        .type-card:hover .type-icon i {
            color: white !important;
        }

        .industry-card {
            background: white;
            border-radius: 12px;
            border: 1px solid var(--primary-color);
            transition: var(--transition-smooth);
        }

        .industry-card:hover {
            transform: translateY(-3px);
        }

        .industry-icon {
            width: 60px;
            height: 60px;
            background: var(--primary-ultra-light);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            transition: var(--transition-smooth);
        }

        .industry-card:hover .industry-icon {
            background: var(--primary-color);
        }

        .industry-card:hover .industry-icon i {
            color: white !important;
        }

        .tech-card {
            width: 120px;
            height: 120px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            transition: var(--transition-smooth);
            border: 1px solid var(--border-light);
        }

        .tech-card:hover {
            border-color: var(--primary-color);
            transform: translateY(-3px);
        }

        .feature-card {
            background: white;
            border-radius: 16px;
            border: 1px solid var(--primary-color);
            transition: var(--transition-smooth);
        }

        .feature-card:hover {
            transform: translateY(-4px);
        }

        .feature-icon {
            width: 80px;
            height: 80px;
            background: var(--primary-ultra-light);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            transition: var(--transition-smooth);
        }

        .feature-card:hover .feature-icon {
            background: var(--primary-color);
        }

        .feature-card:hover .feature-icon i {
            color: white !important;
        }

        @media (max-width: 767.98px) {
            .hero-service-detail {
                min-height: auto;
                padding: 4rem 0;
            }

            .type-card {
                padding: 1.5rem;
            }

            .type-number {
                font-size: 3rem;
            }

            .tech-card {
                width: 100px;
                height: 100px;
            }
        }
    </style>
@endpush