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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:linear-gradient(
        -45deg,
        #020617,
        #0f172a,
        #111827,
        #1e293b
    );
    background-size:400% 400%;
    animation:gradientMove 15s ease infinite;
    color:white;
    line-height:1.8;
}

/* Animated Background */

@keyframes gradientMove{

    0%{
        background-position:0% 50%;
    }

    50%{
        background-position:100% 50%;
    }

    100%{
        background-position:0% 50%;
    }

}

/* Navbar */

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    max-width:1200px;
    margin:auto;
    padding:20px;
}

.logo{
    font-size:1.5rem;
    font-weight:bold;
}

.nav-links a{
    margin-left:20px;
    color:white;
    text-decoration:none;
    transition:.3s;
}

.nav-links a:hover{
    color:#38bdf8;
}

/* Header */

header{
    text-align:center;
    padding:40px 20px 120px;
    border-bottom:1px solid rgba(255,255,255,.1);
}

/* Floating Animation */

@keyframes float{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0px);
    }

}

.hero-content{
    margin-top:100px;
    animation:float 5s ease-in-out infinite;
}

.hero-content h1{

    font-size:5rem;

    text-shadow:
        0 0 10px rgba(56,189,248,.4),
        0 0 20px rgba(56,189,248,.4),
        0 0 40px rgba(56,189,248,.3);

    margin-bottom:20px;
}

.hero-content h3{
    color:#38bdf8;
    margin-bottom:20px;
    font-weight:500;
}

.hero-content p{
    max-width:700px;
    margin:20px auto;
    color:#cbd5e1;
}

/* Buttons */

.hero-buttons{
    margin-top:30px;
}

.btn{

    display:inline-block;

    margin:10px;

    padding:15px 30px;

    border-radius:12px;

    background:#38bdf8;

    color:#0f172a;

    font-weight:bold;

    transition:.3s;

    box-shadow:
        0 0 20px rgba(56,189,248,.4);
}

.btn:hover{

    transform:translateY(-3px);

    background:white;

    box-shadow:
        0 0 40px rgba(56,189,248,.7);
}

/* Hero Section */

.hero{
    text-align:center;
    padding:100px 20px;
    max-width:900px;
    margin:auto;
}

.hero h2{
    font-size:3rem;
    color:#38bdf8;
    margin-bottom:20px;
}

.hero p{
    font-size:1.1rem;
    color:#cbd5e1;
}

/* Sections */

section{
    max-width:1200px;
    margin:auto;
    padding:80px 30px;
}

section h2{
    color:#38bdf8;
    margin-bottom:30px;
    font-size:2rem;
}

/* Cards */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.card{

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);

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

    border-radius:24px;

    padding:30px;

    transition:all .4s ease;

    box-shadow:
        0 8px 32px rgba(0,0,0,.2);
}

.card:hover{

    transform:
        translateY(-12px)
        scale(1.02);

    border-color:#38bdf8;

    box-shadow:
        0 0 40px rgba(56,189,248,.35);
}

.card h3{
    color:#38bdf8;
    margin-bottom:15px;
}

.card p{
    color:#cbd5e1;
}

/* About */

#about p{
    color:#cbd5e1;
    max-width:900px;
}

/* Experience */

#experience ul{
    margin-top:15px;
    padding-left:20px;
}

#experience li{
    margin-bottom:10px;
    color:#cbd5e1;
}

/* Contact */

#contact p{
    margin-bottom:15px;
}

a{
    color:#38bdf8;
    text-decoration:none;
}

a:hover{
    color:white;
}

/* Footer */

footer{
    text-align:center;
    padding:30px;
    margin-top:50px;
    border-top:1px solid rgba(255,255,255,.1);
    color:#94a3b8;
}

/* Particle Background */

#particles-js{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:-1;
}

/* Mobile */

@media(max-width:768px){

    .navbar{
        flex-direction:column;
        gap:15px;
    }

    .nav-links{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero-content h1{
        font-size:3rem;
    }

    .hero h2{
        font-size:2rem;
    }

}