<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>RS Learning Lab | Learning Behaviour Platform</title>

    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap" rel="stylesheet">

    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        body {
            background: radial-gradient(circle at top, #0c1a2b, #050b14);
            color: #eaf2ff;
        }

        header {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 40px 0;
        }

        header img {
            height: 55px;
            margin-bottom: 10px;
        }

        header h1 {
            font-size: 36px;
            font-weight: 800;
            background: linear-gradient(135deg, #ffffff, #7fd4ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 60px;
            padding: 70px 90px;
            align-items: center;
        }

        .hero h2 {
            font-size: 48px;
            line-height: 1.25;
            margin-bottom: 20px;
        }

        .hero h2 span {
            color: #25b6ff;
        }

        .hero p {
            color: #b6c4dd;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .hero-actions {
            display: flex;
            gap: 18px;
        }

        .btn-primary {
            background: linear-gradient(135deg, #1ec9ff, #1b9cff);
            color: #00121f;
            padding: 14px 28px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
        }

        .features {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .feature-card {
            background: rgba(255,255,255,0.05);
            border-radius: 16px;
            padding: 25px;
        }

        /* 🔥 FIXED SECTION */
        .institutions {
            padding: 80px 20px;
            text-align: center;
        }

        .institutions h3 {
            font-size: 34px;
            margin-bottom: 40px;
        }

        .inst-grid {
            display: flex;
            justify-content: center; /* ✅ CENTER FIX */
        }

        .inst-card {
            width: 380px;
            background: rgba(255,255,255,0.05);
            border-radius: 20px;
            padding: 35px;
            text-align: center;
        }

        .inst-card h4 {
            margin-bottom: 10px;
        }

        .inst-card p {
            margin-bottom: 20px;
            color: #b6c4dd;
        }

        footer {
            text-align: center;
            padding: 40px 0;
            color: #8fa4c4;
        }
        footer a:hover {
    text-decoration: underline;
}
    </style>
</head>

<body>

<header>
    <!-- ✅ LOGO FIX -->
    <img src="/rs_lab/certificates/assets/logo.png" alt="RS Learning Lab Logo">
    <h1>RS Learning Lab</h1>
</header>

<section class="hero">
    <div>
        <h2>Understand <span>How Students Learn</span>,<br>Not Just How They Score</h2>

        <p>
            RS Learning Lab is a learning behaviour platform for schools and colleges.
            We focus on effort, practice, improvement, and application — not marks or ranks.
        </p>

        <div class="hero-actions">
            <a href="register_institution.php?type=school" class="btn-primary">
                Register Your School
            </a>
        </div>
    </div>

    <div class="features">
        <div class="feature-card">
            <h4>🧠 Learning Style Assessment</h4>
            <p>Behaviour-based analysis. No exams. No right or wrong answers.</p>
        </div>

        <div class="feature-card">
            <h4>🏫 Institution Friendly</h4>
            <p>Teacher-led facilitated mode and student self-assessment built for real classrooms.</p>
        </div>

        <div class="feature-card">
            <h4>🎓 Real Learning Outcomes</h4>
            <p>Learning passports, practice tracks, applied challenges, and meaningful certificates.</p>
        </div>
    </div>
</section>

<!-- 🔥 CLEAN CENTERED SECTION -->
<section class="institutions">
    <h3>Get Started with RS Learning Lab</h3>

    <div class="inst-grid">
        <div class="inst-card">
            <h4>School Onboarding</h4>
            <p>Learning behaviour assessment for Classes 6–12.</p>

            <a href="register_institution.php?type=school" class="btn-primary">
                Start School Registration →
            </a>
        </div>
    </div>
</section>

<footer>
    © RS Learning Lab — Learning Behaviour Platform<br>
    Built with ❤️ by Gokula Krishnan<br>

    📩 Contact: 
    <a href="mailto:rslearninglab.official@gmail.com" style="color:#25b6ff; text-decoration:none;">
        rslearninglab.official@gmail.com
    </a>
</footer>
</body>
</html>