
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;

    background: #0b1220;

    color: #e2e8f0;

    line-height: 1.7;
}

/* NAVBAR */

.navbar{
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 22px 60px;

    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);

    position: sticky;
    top: 0;
    z-index: 1000;

    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar h2{
    font-size: 26px;
    color: white;
}

.navbar a{
    margin-left: 22px;
    text-decoration: none;

    color: #cbd5e1;

    font-size: 16px;

    transition: 0.3s;
}

.navbar a:hover{
    color: #60a5fa;
    transform: translateY(-2px);
}
.navbar{
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}


.profile-pic{
    width: 300px;
    height: 300px;

    border-radius: 50%;

    object-fit: cover;

    border: 4px solid rgba(255,255,255,0.1);

    margin-bottom: 25px;

    transition: 0.4s ease;
}


@keyframes float{
    0%{ transform: translateY(0px); }
    50%{ transform: translateY(-10px); }
    100%{ transform: translateY(0px); }
}

/* HERO */

.hero{
    min-height: 92vh;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    gap: 10px;

    padding: 40px;
}
/* HERO TEXT */
.hero h1{
    margin-top: 10px;
}

.hero h3{
    margin-top: -5px;
}

/* BUTTONS */

.btn{
    display: inline-block;

    padding: 12px 22px;

    margin: 10px;

    border-radius: 10px;

    text-decoration: none;

    background: rgba(255,255,255,0.06);

    color: white;

    transition: 0.3s ease;
}

.btn:hover{
    background: #60a5fa;

    color: #0b1220;

    transform: translateY(-3px);
}

/* CONTAINER */

.container{
    max-width: 1050px;

    margin: auto;

    padding: 60px 20px;
}

/* CARD (IMPORTANT FOR SPACIOUS FEEL) */

.card{
    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 16px;

    padding: 35px;

    margin-bottom: 30px;

    transition: 0.4s ease;

    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card:hover{
    transform: translateY(-10px);

    border-color: rgba(96,165,250,0.4);
}

/* HEADINGS */

.card h2{
    margin-bottom: 18px;

    font-size: 28px;

    color: white;
}

/* PROJECTS */

.project{
    padding: 18px;

    margin-bottom: 18px;

    border-radius: 10px;

    background: rgba(255,255,255,0.03);

    border-left: 4px solid #60a5fa;

    transition: 0.3s;
}
.project:hover{
    transform: translateY(-6px);
    background: rgba(255,255,255,0.06);
}


/* LINKS */

a{
    color: #60a5fa;
}
html{
    scroll-behavior: smooth;
}
/* RESPONSIVE */

@media(max-width:768px){

    .navbar{
        flex-direction: column;
        padding: 20px;
    }

    .navbar a{
        margin: 10px;
    }

    .hero h1{
        font-size: 34px;
    }

    .hero h3{
        font-size: 18px;
    }

    .profile-pic{
        width: 140px;
        height: 140px;
    }

    .card{
        padding: 22px;
    }
}