body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    background: url('img/image_learn.jpg') center/cover no-repeat;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 90%;
    max-width: 1100px;

    margin: 20px auto; /* 👈 pushes down + centers */

    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);

    flex-wrap: wrap;
    border-radius: 15px;

}

/* LEFT */
.nav-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo {
    width: 40px;
    border-radius: 6px;
}

.ram_pop {
    opacity: 0;
    transform: translateX(-5px);
    transition: 0.3s;
    font-size: 14px;
    margin: 0;
    color: white;
}

.logo:hover + .ram_pop {
    opacity: 1;
    transform: translateX(0);
}

/* NAV LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    
}

.nav-links li a {
    text-decoration: none;
    color: #cbd5f5;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links li a:hover {
    background: #38bdf8;
    color: black;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 0 15px #38bdf8;
    font-weight: bold;
}

/* RIGHT BUTTONS */
.nav-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn, .sign_up {
    background: #38bdf8;
    color: black;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.btn:hover, .sign_up:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #38bdf8;
    font-weight: bold;
}

/* MAIN */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    flex-wrap: wrap;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 15px;
    border-radius: 25px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    width: 180px;
    justify-content: center     ;
    transition: transform 0.4s ease;
    
}

.card img {
    width: 100%;
    border-radius: 15px;
    transition: transform 0.4s ease;
}

.card img:hover, .card:hover{
    transform: scale(1.05);
}

.text {
    color: white;
    font-weight: 600;
    max-width: 700px;
}

.text ul {
    padding-left: 20px;
}

/* FOOTER */
.footer-text {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    letter-spacing: 3px;
    color: white;
}

/* 📱 MOBILE */
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        gap: 8px;
    }

    .nav-right {
        flex-direction: column;
        gap: 8px;
    }
    
    .container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .text {
        font-size: 14px;
        padding: 0 10px;
    }
}