﻿:root {
    --primary-blue: #0f172a;
    --accent-yellow: #f59e0b;
    --text-light: #f8fafc;
    --text-muted: #64748b;
    --bg-light: #f1f5f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: white;
    color: var(--primary-blue);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Container for the logo and the dot */
.logo-wrapper {
    position: relative;
    padding: 10px;
    display: inline-block;
    border-radius: 12px;
    /* Optional: subtle border to see the path */
    border: 1px solid rgba(0, 255, 0, 0.1);
}

/* The Green Dot Logic */
.moving-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #00ff00; /* Neon Green */
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
    z-index: 10;
    /* This defines the rectangular path around the logo */
    offset-path: rect(0% 100% 100% 0% round 12px);
    animation: moveDot 8s linear infinite;
}

/* The movement animation */
@keyframes moveDot {
    0% {
        offset-distance: 0%;
    }

    100% {
        offset-distance: 100%;
    }
}

/* Ensure the logo stays centered */
.main-logo {
    display: block;
    max-width: 180px;
    height: auto;
    border-radius: 8px;
}

/* Hero Section */
.hero {
    background-color: #0e1a33;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

    .hero h1 {
        font-size: 3rem;
        margin-bottom: 20px;
    }

        .hero h1 span {
            color: #51ff54;
        }

    .hero p {
        max-width: 700px;
        margin: 0 auto 30px;
        font-size: 1.1rem;
        opacity: 0.9;
    }

.btn-primary {
    background-color: #00ff04;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    color: #000;
    text-decoration: none;
}

.interest-item.selected {
    border: 1px solid #007bff;
    background: #eaf4ff;
}
.interest-item {
    border: 1px solid transparent;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

    /* When selected */
    .interest-item.selected {
        background-color: #007bff;
        border-color: #007bff;
        color: #ffffff;
    }

        /* Change icon + text color when selected */
        .interest-item.selected i,
        .interest-item.selected span {
            color: #2c8c0a;
        }
    /*.interest-item:hover {
        transform: translateY(-3px);
    }*/

.hero-tags {
    margin-top: 40px;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Features Section */
.features {
    padding: 80px 20px;
    text-align: center;
    background-color: #fafafa;
}

    .features h2 span {
        color: #078f10;
    }

.subtitle {
    color: var(--text-muted);
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background: #06ac20;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.card:hover {
    background: #045706;    
}
    .card:hover h3{
        color:#fff;
    }
    .card:hover p {
        color: #fff;
    }

    .card i {
        font-size: 2.5rem;
        color: #fff;
        margin-bottom: 20px;
    }

/* Form Section */
.form-section {
    padding: 80px 20px;
    background-color: white;
    text-align: center;
}

.form-container {
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.step-indicator {
    background-color: #2c8c0a;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    margin: 30px 0 10px;
    color: #fff;
}

.step-indicatortwo {
    background-color: #2c8c0a;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    margin: 30px 0 20px;
    color: #fff;
}

.interest-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.interest-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #f8fafc;
}

    .interest-item i {
        font-size: 1.5rem;
        margin-bottom: 8px;
        display: block;
    }

    .interest-item span {
        font-size: 0.75rem;
        font-weight: 600;
    }

    .interest-item.selected {
        border-color: #45dc00;
        background-color: #e9ffe2 !important;
    }

.input-group {
    margin-bottom: 20px;
}

    .input-group label {
        display: block;
        font-weight: 600;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #f8fafc;
}

.level-selector {
    display: flex;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.level-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: white;
    cursor: pointer;
    font-weight: 600;
}

    .level-btn.active {
        background-color: #e9ffe2;
        box-shadow: inset 0 0 0 2px #45dc00;
    }

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.btn-submit {
    background-color: #2c8c0a;
    border: none;
    padding: 15px 40px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
}

.back-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

    footer .brand {
        font-weight: bold;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    footer .copyright {
        margin-top: 20px;
        font-size: 0.8rem;
        opacity: 0.6;
    }

@media (max-width: 768px) {
    .interest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2rem;
    }
    .level-selectortwo{
        display:grid;
    }
    .interest-item {      
        width: 100%;
    }
    .main-logo {
        max-width: 140px;
    }

    .moving-dot {
        width: 6px;
        height: 6px;
    }

    .hero h1 {
        font-size: 1.8rem; /* Ensuring text wraps well around the logo */
        margin-top: 15px;
    }
}
