

/* ================= KID WORLD NAV BAR 🌈 ================= */

.kid-navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #bde0fe, #caffbf);
    padding: 16px 4%;
    z-index: 999;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Clouds */
.nav-cloud {
    position: absolute;
    font-size: 32px;
    opacity: 0.5;
    animation: cloudFloatNav linear infinite;
}

.cloud-a {
    top: 10px;
    left: -40px;
    animation-duration: 60s;
}

.cloud-b {
    top: 35px;
    left: -60px;
    animation-duration: 90s;
}

@keyframes cloudFloatNav {
    from { transform: translateX(0); }
    to { transform: translateX(120vw); }
}

/* Inner layout */
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
}

.logo-icon {
    font-size: 30px;
    animation: bounceSoft 2s infinite;
}

.logo {
     height: 60px;
     width: 50px;
     background: transparent;
     border-radius: 25%;
     overflow: clip;
 }

@keyframes bounceSoft {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Links */
.nav-links {
    display: flex;
    gap: 26px;
}

.nav-links a {
    text-decoration: none;
    font-size: 16px;
    color: #333;
    padding: 10px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* CTA */
.nav-cta {
    background: linear-gradient(135deg, #ff9aa2, #ffd6a5);
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.nav-cta:hover {
    transform: scale(1.05);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

@media (max-width: 900px) {

    .nav-links {
        position: fixed;
        top: 100px;
        right: -100%;
        width: 260px;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, #caffbf, #bde0fe);
        flex-direction: column;
        padding: 40px 25px;
        gap: 20px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.25);
        transition: right 0.4s ease;
    }

    .nav-links a {
        font-size: 18px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
    }
}
