<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="School Portal Nigeria - Empowering Primary & Secondary Schools With Next-Gen Result Management & Computer Based Testing. Manage students, teachers, classes, subjects, results and conduct online exams." />
    <meta name="keywords" content="school portal, result management, computer based testing, cbt, student management, teacher management, online exams, educational software, nigeria schools" />
    <meta name="author" content="School Portal Nigeria" />
    <meta name="robots" content="index, follow" />
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet" />
    <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
    <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet" />
    <!-- include fontawesome 6 cdn-->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" integrity="sha512-Fo3rlrZj/k7ujTnHg4CGR2D7kSs0v4LLanw2qksYuRlEzO+tcaEPQogQ0KaoGN26/zrn20ImR1DfuLWnOo7aBA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="icon" href="https://kelseywebsolutionsacademy.com.ng/assets/images/favicons/favicon-32x32.png">
    <style>
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Inter', sans-serif;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: #f9f9f9;
            color: #012237;
        }

        header {
            background-color: white;
            color: #012237;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        header img {
            height: 40px;
        }

        nav ul {
            display: flex;
            gap: 20px;
            list-style: none;
        }

        nav ul li a {
            color: #012237;
            text-decoration: none;
            font-weight: 600;
        }

        nav ul li a.active {
            color: #f16101;
            border-bottom: 2px solid #f16101;
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .bar {
            width: 25px;
            height: 3px;
            background-color: #012237;
            margin: 4px 0;
        }

        @media (max-width: 768px) {
            nav ul {
                display: none;
                flex-direction: column;
                background-color: white;
                position: absolute;
                top: 60px;
                right: 20px;
                width: 200px;
                padding: 20px;
                border-radius: 8px;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            }

            nav ul.show {
                display: flex;
            }

            .menu-toggle {
                display: flex;
            }
        }

        .hero {
            position: relative;
            color: white;
            text-align: center;
            padding: 120px 20px;
        }

        .hero::before {
            content: '';
             background: url('./bg-image.jpg') center/cover no-repeat;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /*opacity: 0.3;*/
            background-color: rgba(0, 0, 0, 0.5);
            z-index: -1;
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 20px;
        }

        .features, .testimonials, .demo-video, .tutorial-section {
            padding: 60px 20px;
            max-width: 1100px;
            margin: auto;
        }

        .features h2, .testimonials h2, .demo-video h2, .tutorial-section h2 {
            text-align: center;
            margin-bottom: 40px;
            font-size: 2.2rem;
        }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        .feature-card {
            background: white;
            border-left: 5px solid #f16101;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s;
        }

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

        .testimonial {
            background-color: white;
            padding: 20px;
            border-left: 4px solid #f16101;
            margin-bottom: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        }

        .testimonial p {
            font-style: italic;
        }

        .testimonial strong {
            display: block;
            margin-top: 10px;
            color: #012237;
        }

        .demo-video iframe {
            width: 100%;
            max-width: 800px;
            height: 450px;
            display: block;
            margin: auto;
            border-radius: 10px;
        }

        /* Tutorial Section Styles */
        .tutorial-container {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: center;
        }

        .tutorial-column {
            flex: 1;
            min-width: 280px;
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .tutorial-item {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            flex-direction: column;
            height: 100%;
            cursor: pointer;
        }

        .tutorial-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
        }

        .tutorial-item h3 {
            padding: 15px 15px 5px;
            color: #012237;
            font-size: 1.1rem; /* Reduced font size */
        }

        .tutorial-item p {
            padding: 0 15px 15px;
            color: #555;
            line-height: 1.4;
            font-size: 0.9rem; /* Reduced font size */
            flex-grow: 1;
        }

        .video-wrapper {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
            height: 0;
            overflow: hidden;
        }

        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 10;
            cursor: pointer;
        }

        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.8);
        }

        .modal-content {
            background-color: #fff;
            margin: 5% auto;
            padding: 25px;
            border-radius: 10px;
            width: 80%;
            max-width: 900px;
            position: relative;
            animation: modalopen 0.4s;
        }

        @keyframes modalopen {
            from {opacity: 0; transform: translateY(-60px);}
            to {opacity: 1; transform: translateY(0);}
        }

        .modal-content h3 {
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: #012237;
        }

        .modal-content p {
            font-size: 1rem;
            margin-bottom: 20px;
            color: #555;
        }

        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            position: absolute;
            right: 20px;
            top: 15px;
        }

        .close:hover,
        .close:focus {
            color: #000;
            text-decoration: none;
            cursor: pointer;
        }

        .modal-video-wrapper {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
            height: 0;
            overflow: hidden;
        }

        .modal-video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        @media (max-width: 992px) {
            .tutorial-column {
                flex: 0 0 calc(50% - 15px);
            }
        }

        @media (max-width: 768px) {
            .tutorial-container {
                flex-direction: column;
            }
            
            .tutorial-column {
                flex: 0 0 100%;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            /* On mobile, disable modal and keep inline videos */
            .tutorial-item {
                cursor: default;
            }
            
            .video-overlay {
                display: none;
            }
        }

        footer {
            background-color: #012237;
            color: white;
            padding: 40px 20px;
            text-align: center;
        }

        .login-links {
            margin-top: 20px;
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .login-links a {
            background-color: #f16101;
            color: white;
            padding: 10px 20px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: background 0.3s;
        }

        .login-links a:hover {
            background-color: #e25b00;
        }

        .whatsapp-float {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #25D366;
            color: white;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 28px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            cursor: pointer;
            animation: float 2s ease-in-out infinite;
            z-index: 999;
        }

        .whatsapp-float:hover::after {
            content: "Get a Friendly Quote";
            position: absolute;
            right: 70px;
            background-color: #25D366;
            color: white;
            padding: 6px 12px;
            border-radius: 8px;
            white-space: nowrap;
            font-size: 14px;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-5px); }
        }
    </style>
</head>