<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

            <!-- Google tag (gtag.js) -->
        <script async src="https://www.googletagmanager.com/gtag/js?id=G-D2WXD7MZLF"></script>
        <script>
            window.dataLayer = window.dataLayer || [];
            function gtag() { dataLayer.push(arguments); }
            gtag('js', new Date());
            gtag('config', 'G-D2WXD7MZLF');
        </script>
        <title>System Error - PK Automations</title>
    <meta name="description"
        content="PK Automations - Your trusted partner in electronics, automation, and innovation in Kenya.">

    
    <!-- Canonical Link -->
    <link rel="canonical" href="https://pkautomations.co.ke/sitemap.xml">

    <!-- Open Graph / Facebook -->
    <meta property="og:type" content="website">
    <meta property="og:url" content="https://pkautomations.co.ke/sitemap.xml">
    <meta property="og:title" content="System Error | PK Automations">
    <meta property="og:description" content="Your trusted partner in electronics, automation, and innovation.">
    <meta property="og:image" content="https://pkautomations.co.ke/assets/images/logo3.png">

    <!-- Twitter -->
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:url" content="https://pkautomations.co.ke/sitemap.xml">
    <meta name="twitter:title" content="System Error | PK Automations">
    <meta name="twitter:description" content="Your trusted partner in electronics, automation, and innovation.">
    <meta name="twitter:image" content="https://pkautomations.co.ke/assets/images/logo3.png">

    <!-- Google Fonts - Outfit & Plus Jakarta Sans -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link
        href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap"
        rel="stylesheet">

    <!-- Bootstrap CSS (absolute path) -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- Font Awesome (absolute path) -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">

    <!-- Custom CSS (absolute path) -->
    <link rel="stylesheet" href="https://pkautomations.co.ke/assets/css/style.css?v=1778689580">
    <link rel="stylesheet" href="https://pkautomations.co.ke/assets/css/toast.css">

    <!-- Favicons -->
    <link rel="icon" type="image/png" href="https://pkautomations.co.ke/assets/images/favicon.png?v=8">
    <link rel="apple-touch-icon" href="https://pkautomations.co.ke/assets/images/favicon.png?v=8">

    <!-- Preload Primary Logo for Instant Rendering -->
    <link rel="preload" as="image" href="https://pkautomations.co.ke/assets/images/logo3.png" fetchpriority="high">

    <script>
        window.csrfToken = '21c6b699d36fa2a79e9c2cef124b642f51ec7b065b7261d3bd04a309f6fc8ccf';
        window.SITE_URL = 'https://pkautomations.co.ke';
    </script>

    <!-- Global Structured Data -->
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "LocalBusiness",
      "name": "PK Automations",
      "image": "https://pkautomations.co.ke/assets/images/logo3.png",
      "@id": "https://pkautomations.co.ke",
      "url": "https://pkautomations.co.ke",
      "telephone": "+254712345678",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "Limuru Road",
        "addressLocality": "Limuru",
        "addressRegion": "Kiambu",
        "postalCode": "00217",
        "addressCountry": "KE"
      },
      "geo": {
        "@type": "GeoCoordinates",
        "latitude": -1.107,
        "longitude": 36.641
      },
      "openingHoursSpecification": {
        "@type": "OpeningHoursSpecification",
        "dayOfWeek": [
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday",
          "Saturday"
        ],
        "opens": "08:00",
        "closes": "18:00"
      },
      "sameAs": [
        "https://www.facebook.com/pkautomations",
        "https://twitter.com/pkautomations",
        "https://www.instagram.com/pkautomations"
      ]
    }
    </script>
    </head>

<body>
    <style>
        .custom-nav-logo {
            height: 85px;
            width: auto;
            max-width: none;
            margin: -12px 0 -12px -5px;
            transform-origin: left center;
        }
        /* Mobile Specific Overrides */
        @media (max-width: 991.98px) {
            .custom-nav-logo {
                transform: scale(1.35); /* Unconditionally inflate visual footprint on small devices by 35% */
            }
        }
    </style>
    
    <!-- Navigation -->
    <nav class="navbar navbar-expand-lg navbar-light bg-white sticky-top shadow-sm py-2">
        <div class="container-fluid px-2 px-lg-5">
            <!-- Brand Logo -->
            <a class="navbar-brand me-0 py-0" href="https://pkautomations.co.ke/index">
                <img src="https://pkautomations.co.ke/assets/images/logo3.png" alt="PK Automations" fetchpriority="high" decoding="async" class="custom-nav-logo">
            </a>

            <!-- Mobile Action Icons (Visible on Mobile, Hidden on LG) -->
            <div class="d-flex d-lg-none align-items-center gap-2 ms-auto me-2">
                <button id="darkModeToggleMobile" class="nav-icon-link" style="font-size: 1.2rem; padding: 0.4rem;">
                    <i class="far fa-moon"></i>
                </button>
                <a href="https://pkautomations.co.ke/cart.php" class="nav-icon-link nav-cart position-relative"
                    style="font-size: 1.2rem; padding: 0.4rem;">
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
                        stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
                        style="width: 20px; height: 20px;">
                        <circle cx="8" cy="21" r="1" />
                        <circle cx="19" cy="21" r="1" />
                        <path d="M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12" />
                    </svg>
                                        <span class="nav-badge"
                        style="background-color: #00E676; display: none;">
                        0                    </span>
                </a>
                <a href="https://pkautomations.co.ke/favorites.php" class="nav-icon-link nav-favorites position-relative"
                    style="font-size: 1.2rem; padding: 0.4rem;">
                    <i class="far fa-heart"></i>
                                        <span class="nav-badge"
                        style="background-color: #00E676; display: none;">
                        0                    </span>
                </a>
            </div>

            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon" style="width: 1.2rem; height: 1.2rem;"></span>
            </button>

            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav mx-auto">
                    <li class="nav-item">
                        <a class="nav-link "
                            href="https://pkautomations.co.ke/index.php">Home</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link "
                            href="https://pkautomations.co.ke/shop.php">Shop</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link "
                            href="https://pkautomations.co.ke/services.php">Services</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link "
                            href="https://pkautomations.co.ke/tutorials.php">Tutorials</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link "
                            href="https://pkautomations.co.ke/student_hub.php">Student Hub</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link "
                            href="https://pkautomations.co.ke/about.php">About</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link "
                            href="https://pkautomations.co.ke/contact.php">Contact</a>
                    </li>

                    <!-- Mobile-only Account Links -->
                    <li class="nav-item d-lg-none border-top mt-2 pt-2">
                                                    <a class="nav-link text-primary-custom fw-bold" href="https://pkautomations.co.ke/login.php">
                                <i class="fas fa-sign-in-alt me-2"></i> Login / Register
                            </a>
                                            </li>
                </ul>

                <!-- Desktop Action Icons (Hidden on Mobile) -->
                <div class="d-none d-lg-flex align-items-center gap-4 ms-4">
                    <button id="darkModeToggle" class="nav-icon-link" title="Toggle Dark Mode">
                        <i class="far fa-moon"></i>
                    </button>
                    <a href="https://pkautomations.co.ke/cart.php" class="nav-icon-link nav-cart position-relative"
                        title="Cart">
                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
                            stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                            <circle cx="8" cy="21" r="1" />
                            <circle cx="19" cy="21" r="1" />
                            <path
                                d="M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12" />
                        </svg>
                                                <span class="nav-badge"
                            style="background-color: var(--accent-color); display: none;">
                            0                        </span>
                    </a>
                    <a href="https://pkautomations.co.ke/favorites.php" class="nav-icon-link nav-favorites position-relative"
                        title="Favorites">
                        <i class="far fa-heart"></i>
                                                <span class="nav-badge"
                            style="background-color: var(--accent-color); display: none;">
                            0                        </span>
                    </a>

                                            <a href="https://pkautomations.co.ke/login.php" class="btn btn-outline-primary shadow-sm"
                            style="border-radius: 20px; padding: 0.4rem 1.5rem; font-weight: 500;">Login</a>
                                    </div>
            </div>
        </div>
    </nav>

    <!-- Removed flash message and toast logic -->

<section class="section-padding d-flex align-items-center justify-content-center" style="min-height: 70vh;">
    <div class="container text-center">
        <div class="error-content" style="max-width: 600px; margin: 0 auto;">
            <i class="fas fa-exclamation-triangle text-warning mb-4" style="font-size: 5rem;"></i>
            <h1 class="display-4 fw-bold mb-3">Something Went Wrong</h1>
            <p class="lead text-muted mb-5">We've encountered an unexpected error. Our technical team has been notified
                and is working to resolve it.</p>

            <div class="d-flex justify-content-center gap-3">
                <a href="index.php" class="btn btn-primary btn-lg rounded-pill px-5">
                    <i class="fas fa-home me-2"></i>Return Home
                </a>
                <a href="contact.php" class="btn btn-outline-secondary btn-lg rounded-pill px-5">
                    <i class="fas fa-envelope me-2"></i>Contact Support
                </a>
            </div>
        </div>
    </div>
</section>

<!-- Toast Container -->
<!-- Toast Container Removed (Handled by JS) -->
<!-- Footer -->
<footer class="footer-premium text-white pt-5 mt-2" style="background-color: #050510;">
    <div class="container pb-4">
        <div class="row gy-4">
            <div class="col-lg-4 col-md-6 mb-4">
                <div class="footer-brand mb-4">
                    <img src="https://pkautomations.co.ke/assets/images/logo3.png" alt="PK Automations"
                        style="height: 60px; width: auto; filter: brightness(0) invert(1);">
                </div>
                <p class="text-light opacity-75 pe-lg-5"
                    style="font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.8;">
                    Your trusted partner in electronics, automation, and innovation. Quality products and expert
                    services since 2025.
                </p>
                <div class="social-links mt-4">
                    <a href="https://wa.me/254112961056" target="_blank" class="social-circle"><i class="fab fa-whatsapp"></i></a>
                    <a href="https://vm.tiktok.com/ZS984dVxAck1d-B5USG/" target="_blank" class="social-circle"><i class="fab fa-tiktok"></i></a>
                    <a href="https://youtube.com/@pkautomations?si=yTn-smQ9eyjMwPXn" target="_blank" class="social-circle"><i class="fab fa-youtube"></i></a>
                </div>
            </div>
            <div class="col-lg-2 col-md-6 mb-4">
                <h6 class="fw-bold text-uppercase mb-4" style="font-family: 'Outfit', sans-serif; letter-spacing: 1px;">
                    Quick Links</h6>
                <ul class="list-unstyled">
                    <li class="mb-3"><a href="https://pkautomations.co.ke/index" class="footer-link">Home</a></li>
                    <li class="mb-3"><a href="https://pkautomations.co.ke/shop" class="footer-link">Shop</a></li>
                    <li class="mb-3"><a href="https://pkautomations.co.ke/services" class="footer-link">Services</a>
                    </li>
                    <li class="mb-3"><a href="https://pkautomations.co.ke/about" class="footer-link">About Us</a></li>
                    <li class="mb-3"><a href="https://pkautomations.co.ke/contact" class="footer-link">Contact</a></li>
                </ul>
            </div>
            <div class="col-lg-3 col-md-6 mb-4">
                <h6 class="fw-bold text-uppercase mb-4" style="font-family: 'Outfit', sans-serif; letter-spacing: 1px;">
                    Our Services</h6>
                <ul class="list-unstyled">
                    <li class="mb-3"><a href="https://pkautomations.co.ke/services" class="footer-link">Electrical
                            Installation</a></li>
                    <li class="mb-3"><a href="https://pkautomations.co.ke/services" class="footer-link">IoT
                            Solutions</a></li>
                    <li class="mb-3"><a href="https://pkautomations.co.ke/services" class="footer-link">Web
                            Development</a></li>
                    <li class="mb-3"><a href="https://pkautomations.co.ke/student_hub" class="footer-link">Student
                            Support</a></li>
                    <li class="mb-3"><a href="https://pkautomations.co.ke/tutorials" class="footer-link">Tutorials</a>
                    </li>
                </ul>
            </div>
            <div class="col-lg-3 col-md-6 mb-4">
                <h6 class="fw-bold text-uppercase mb-4" style="font-family: 'Outfit', sans-serif; letter-spacing: 1px;">
                    Contact Info</h6>
                <ul class="list-unstyled">
                    <li class="mb-4 d-flex align-items-center">
                        <span class="footer-contact-icon"><i class="fas fa-map-marker-alt"></i></span>
                        <span class="text-light opacity-75"
                            style="font-family: 'Plus Jakarta Sans', sans-serif;">Limuru, Kenya</span>
                    </li>
                    <li class="mb-4 d-flex align-items-center">
                        <span class="footer-contact-icon"><i class="fas fa-phone"></i></span>
                        <span class="text-light opacity-75" style="font-family: 'Plus Jakarta Sans', sans-serif;">+254
                            112 961 056</span>
                    </li>
                    <li class="mb-4 d-flex align-items-center">
                        <span class="footer-contact-icon"><i class="fas fa-envelope"></i></span>
                        <span class="text-light opacity-75"
                            style="font-family: 'Plus Jakarta Sans', sans-serif;">info@pkautomations.co.ke</span>
                    </li>
                    <li class="mb-4 d-flex align-items-center">
                        <span class="footer-contact-icon"><i class="fas fa-clock"></i></span>
                        <span class="text-light opacity-75"
                            style="font-family: 'Plus Jakarta Sans', sans-serif;">Mon-Fri: 8AM-6PM</span>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div class="footer-bottom py-4" style="background: rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.05);">
        <div class="container">
            <div class="row">
                <div class="col-12 text-center">
                    <p class="mb-0 text-light opacity-50 small" style="font-family: 'Plus Jakarta Sans', sans-serif;">
                        &copy; 2026 PK Automations. All rights reserved.
                    </p>
                </div>
            </div>
        </div>
    </div>
</footer>

<!-- Unique Scroll to Top Button to avoid duplicates -->
<a href="#" id="back-to-top-pk" class="back-to-top-pk">
    <i class="fas fa-arrow-up"></i>
</a>

<!-- Floating WhatsApp Button -->
<a href="https://wa.me/254112961056" class="whatsapp-float" target="_blank">
    <i class="fab fa-whatsapp"></i>
    <span class="whatsapp-label">Chat with us</span>
</a>

<!-- Removed toast container and flash message logic -->

<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>

<!-- Custom JS -->
<script src="https://pkautomations.co.ke/assets/js/script.js?v=1783712110"></script>
</body>

</html>
