*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#0f172a;
    color:white;
}

/* Navigation */

header{
    background:#111827;
    position:sticky;
    top:0;
    z-index:1000;
}

nav{
    width:90%;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

nav h2{
    color:white;
    font-size:32px;
}

nav ul{
    list-style:none;
    display:flex;
    gap:30px;
}

nav a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

nav a:hover{
    color:#38bdf8;
}

/* Hero */

.hero{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
}

.profile-img{
    width:180px;
    height:180px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #38bdf8;
    margin-bottom:20px;
    box-shadow:0 0 25px rgba(56,189,248,.6);
}

.hero h1{
    font-size:48px;
    margin-bottom:10px;
}

.hero span{
    color:#38bdf8;
}

.hero p{
    font-size:22px;
    color:#cbd5e1;
}

/* Sections */

section{
    width:90%;
    max-width:1100px;
    margin:auto;
    padding:80px 0;
}

section h2{
    font-size:38px;
    margin-bottom:25px;
    color:#38bdf8;
}

/* Projects */

.projects{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.card{
    background:#1e293b;
    padding:25px;
    border-radius:12px;
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card h3{
    margin-bottom:10px;
}

/* Skills */

.skills{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

.skills span{
    background:#38bdf8;
    color:#111827;
    padding:10px 20px;
    border-radius:25px;
    font-weight:bold;
}

/* Contact */

#contact p{
    margin:10px 0;
    font-size:18px;
}