
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>St John Ambulance - Certification System</title>
    <meta name="description" content="Professional first aid training and certification. Get certified, stay prepared, save lives with St John Ambulance." />
    <meta name="author" content="St John Ambulance Kenya" />

    <meta property="og:title" content="St John Ambulance - Certification System" />
    <meta property="og:description" content="Professional first aid training and certification. Get certified, stay prepared, save lives." />
    <meta property="og:type" content="website" />


    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:site" content="@stjohnambulance" />

    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6;
            color: #333;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #fef2f2 100%);
            position: relative;
            text-align: center;
            padding: 2rem 0;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('https://images.unsplash.com/photo-1605810230434-7631ac76ec81?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.1;
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 10;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .logo-section {
            margin-bottom: 2rem;
        }

        .logo-container {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 96px;
            height: 96px;
            background: white;
            border-radius: 50%;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            margin-bottom: 1.5rem;
            border: 4px solid #008000;
        }

        .logo-inner {
            width: 64px;
            height: 64px;
            background: #dc2626;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 1.125rem;
        }

        .main-title {
            font-size: 2.5rem;
            font-weight: bold;
            color: #111827;
            margin-bottom: 1rem;
        }

        .subtitle {
            font-size: 1.25rem;
            color: #6b7280;
            margin-bottom: 2rem;
        }

        .hero-headline {
            font-size: 2rem;
            font-weight: bold;
            color: #111827;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .hero-headline .highlight {
            color: #008000;
        }

        .hero-description {
            font-size: 1.125rem;
            color: #6b7280;
            max-width: 768px;
            margin: 0 auto 3rem auto;
            line-height: 1.6;
        }

        .cta-buttons {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            align-items: center;
            margin-bottom: 4rem;
        }

        .btn {
            padding: 1rem 2rem;
            font-size: 1.125rem;
            border-radius: 1rem;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 2px solid transparent;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            min-width: 180px;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        }

        .btn-primary {
            background: #008000;
            color: white;
            border-color: #008000;
        }

        .btn-primary:hover {
            background: #006600;
            border-color: #006600;
        }

        .btn-outline {
            background: white;
            color: #374151;
            border-color: #d1d5db;
        }

        .btn-outline:hover {
            border-color: #008000;
            color: #008000;
        }

        .btn-outline-red {
            background: white;
            color: #dc2626;
            border-color: #fca5a5;
        }

        .btn-outline-red:hover {
            border-color: #dc2626;
            color: #b91c1c;
        }

        .stats {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
        }

        .stat-item {
            padding: 1.5rem;
        }

        .stat-number {
            font-size: 1.875rem;
            font-weight: bold;
            color: #008000;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            color: #6b7280;
        }

        /* Features Section */
        .features {
            padding: 5rem 0;
            background: #f9fafb;
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-title {
            font-size: 2rem;
            font-weight: bold;
            color: #111827;
            margin-bottom: 1rem;
        }

        .section-description {
            font-size: 1.25rem;
            color: #6b7280;
            max-width: 512px;
            margin: 0 auto;
        }

        .features-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .feature-card {
            background: white;
            border-radius: 1rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .feature-image {
            height: 192px;
            background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
            position: relative;
            overflow: hidden;
        }

        .feature-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .feature-card:hover .feature-image img {
            transform: scale(1.05);
        }

        .feature-icon {
            position: absolute;
            top: 1rem;
            left: 1rem;
            width: 48px;
            height: 48px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .feature-content {
            padding: 1.5rem;
        }

        .feature-title {
            font-size: 1.25rem;
            font-weight: bold;
            color: #111827;
            margin-bottom: 0.75rem;
        }

        .feature-description {
            color: #6b7280;
            line-height: 1.6;
        }

        /* Footer */
        .footer {
            background: #111827;
            color: white;
            padding: 3rem 0;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-brand {
            grid-column: 1 / -1;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }

        .footer-logo-icon {
            width: 48px;
            height: 48px;
            background: #dc2626;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 0.75rem;
            color: white;
            font-weight: bold;
        }

        .footer-brand-text h3 {
            font-size: 1.25rem;
            font-weight: bold;
            margin-bottom: 0.25rem;
        }

        .footer-brand-text p {
            color: #9ca3af;
            font-size: 0.875rem;
        }

        .footer-description {
            color: #9ca3af;
            margin-bottom: 1rem;
            max-width: 384px;
            line-height: 1.6;
        }

        .footer-section h4 {
            font-size: 1.125rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-links a {
            color: #9ca3af;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: white;
        }

        .footer-contact {
            color: #9ca3af;
            line-height: 1.6;
        }

        .footer-contact p {
            margin-bottom: 0.5rem;
        }

        .footer-bottom {
            border-top: 1px solid #374151;
            padding-top: 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            text-align: center;
        }

        .footer-copyright {
            color: #9ca3af;
            font-size: 0.875rem;
        }

        .footer-legal {
            display: flex;
            gap: 1.5rem;
            font-size: 0.875rem;
        }

        .footer-legal a {
            color: #9ca3af;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-legal a:hover {
            color: white;
        }

        /* Responsive Design */
        @media (min-width: 640px) {
            .main-title {
                font-size: 3rem;
            }

            .subtitle {
                font-size: 1.5rem;
            }

            .hero-headline {
                font-size: 3rem;
            }

            .cta-buttons {
                flex-direction: row;
                justify-content: center;
            }

            .stats {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (min-width: 768px) {
            .main-title {
                font-size: 3.75rem;
            }

            .hero-headline {
                font-size: 3rem;
            }

            .features-grid {
                grid-template-columns: repeat(3, 1fr);
            }

            .footer-content {
                grid-template-columns: 2fr 1fr 1fr;
            }

            .footer-brand {
                grid-column: 1;
            }

            .footer-bottom {
                flex-direction: row;
                justify-content: space-between;
                text-align: left;
            }
        }

        /* Icons using CSS */
        .icon-check::before {
            content: "✓";
            color: #008000;
            font-weight: bold;
            font-size: 1.5rem;
        }

        .icon-user::before {
            content: "👤";
            font-size: 1.5rem;
        }

        .icon-arrow::before {
            content: "→";
            color: #008000;
            font-weight: bold;
            font-size: 1.5rem;
        }

        .arrow-right {
            margin-left: 0.5rem;
        }

        .arrow-right::after {
            content: "→";
            transition: transform 0.3s ease;
        }

        .btn:hover .arrow-right::after {
            transform: translateX(4px);
        }
    </style>
</head>

<body>
    <!-- Hero Section -->
    <section class="hero">
        <div class="hero-content">
            <!-- Logo -->
            <div class="logo-section">
                <img src="{{ asset('logo/StJohnCollegeLogo-03.png') }}" alt="Logo" width="250">
                <!-- <div class="logo-container">
                    <img src="{{ asset('logo/StJohnCollegeLogo-03.png') }}" alt="Logo" width="250">
                    <div class="logo-inner">
                        <span>SJAK</span>
                    </div>
                </div> -->
                <h1 class="main-title">St John Ambulance Kenya</h1>
                <p class="subtitle">Digital Certification System</p>
            </div>

            <!-- Main Headline -->
            <div>
                <h2 class="hero-headline">
                    Get Certified. Stay Prepared.
                    <span class="highlight">Save Lives.</span>
                </h2>
                <p class="hero-description">
                    Join thousands of certified first aiders who are making a difference in their communities. 
                    Professional training, recognized certifications, ongoing support.
                </p>
            </div>

            <!-- CTA Buttons -->
            <div class="cta-buttons">
                <a href="{{ route('studentRegister') }}" class="btn btn-primary">
                    Enroll Now
                    <span class="arrow-right"></span>
                </a>
                
                <a href="{{ route('GetCert') }}" class="btn btn-outline">
                    Verify Certificate
                </a>
                
                <a href="{{ route('login') }}" class="btn btn-outline-red">
                    Staff Login
                </a>
            </div>

            <!-- Trust Indicators -->
            <div class="stats">
                <div class="stat-item">
                    <div class="stat-number">50,000+</div>
                    <div class="stat-label">Certified Members</div>
                </div>
                <div class="stat-item">
                    <div class="stat-number">25+</div>
                    <div class="stat-label">Years of Excellence</div>
                </div>
                <div class="stat-item">
                    <div class="stat-number">100%</div>
                    <div class="stat-label">Nationally Recognized</div>
                </div>
            </div>
        </div>
    </section>

    <!-- Features Section -->
    <section class="features">
        <div class="container">
            <div class="section-header">
                <h2 class="section-title">
                    Why Choose St John Ambulance?
                </h2>
                <p class="section-description">
                    We're committed to providing the highest quality first aid training and certification programs.
                </p>
            </div>

            <div class="features-grid">
                <div class="feature-card">
                    <div class="feature-image">
                        <img src="https://images.unsplash.com/photo-1581090464777-f3220bbe1b8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80" 
                             alt="Professional Certification">
                        <div class="feature-icon">
                            <span class="icon-check"></span>
                        </div>
                    </div>
                    <div class="feature-content">
                        <h3 class="feature-title">Professional Certification</h3>
                        <p class="feature-description">
                            Nationally recognized first aid and CPR certifications that meet industry standards.
                        </p>
                    </div>
                </div>

                <div class="feature-card">
                    <div class="feature-image">
                        <img src="https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80" 
                             alt="Expert Training">
                        <div class="feature-icon">
                            <span class="icon-user"></span>
                        </div>
                    </div>
                    <div class="feature-content">
                        <h3 class="feature-title">Expert Training</h3>
                        <p class="feature-description">
                            Learn from qualified instructors with real-world emergency response experience.
                        </p>
                    </div>
                </div>

                <div class="feature-card">
                    <div class="feature-image">
                        <img src="https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80" 
                             alt="Ongoing Support">
                        <div class="feature-icon">
                            <span class="icon-arrow"></span>
                        </div>
                    </div>
                    <div class="feature-content">
                        <h3 class="feature-title">Ongoing Support</h3>
                        <p class="feature-description">
                            Access to refresher courses, updates, and continued professional development.
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="footer">
        <div class="container">
            <div class="footer-content">
                <!-- Brand -->
                <div class="footer-brand">
                    <div class="footer-logo">
                        <!-- <img src="{{ asset('logo/StJohnCollegeLogo-03.png') }}" alt="Logo" width="250"> -->
                        <div class="footer-logo-icon">
                            <span>SJAK</span>
                        </div>
                        <div class="footer-brand-text">
                            <h3>St John Ambulance</h3>
                            <p>Digital Certification System</p>
                        </div>
                    </div>
                    <p class="footer-description">
                        Providing professional first aid training and certification services 
                        to individuals and organizations across the nation.
                    </p>
                </div>

                <!-- Quick Links -->
                <div class="footer-section">
                    <h4>Quick Links</h4>
                    <ul class="footer-links">
                        <li><a href="#">Course Catalog</a></li>
                        <li><a href="#">Find a Course</a></li>
                        <li><a href="#">Corporate Training</a></li>
                        <li><a href="#">Resources</a></li>
                    </ul>
                </div>

                <!-- Contact Info -->
                <div class="footer-section">
                    <h4>Contact Us</h4>
                    <div class="footer-contact">
                        <p>📞 +254721 611 555 </p>
                        <p>✉️ training@stjohnkenya.org</p>
                        <p>📍 St John House, St John Lane,<br>Off Paliament Road<br> Nairobi, Kenya</p>
                    </div>
                </div>
            </div>

            <div class="footer-bottom">
                <div class="footer-copyright">
                    © 2025 St John Ambulance of Kenya. All rights reserved.
                </div>
                <div class="footer-legal">
                    <a href="#">Privacy Policy</a>
                    <a href="#">Terms of Service</a>
                    <a href="#">Accessibility</a>
                </div>
            </div>
        </div>
    </footer>
</body>
</html>
