/* Reset */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

/* Smooth Scrolling */
html{
    scroll-behavior:smooth;
}

/* Body */
body{
    background:#f4f6f9;
    color:#333;
}

/* Navigation */
nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 10%;
    background:#0f172a;
    color:white;
    position:sticky;
    top:0;
}

.logo{
    font-size:24px;
    font-weight:bold;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:25px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

nav ul li a:hover{
    color:#38bdf8;
}

/* Hero Section */
.hero{
    height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    background:linear-gradient(135deg,#0f172a,#2563eb);
    color:white;
}

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

.hero h2{
    margin:20px 0;
    color:#38bdf8;
}

.hero p{
    width:60%;
    line-height:1.8;
}

.hero button{
    margin-top:30px;
    padding:15px 35px;
    border:none;
    border-radius:30px;
    background:#38bdf8;
    color:white;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

.hero button:hover{
    transform:scale(1.05);
}

/* Sections */
section{
    padding:80px 10%;
}

section h2{
    text-align:center;
    margin-bottom:40px;
    font-size:35px;
}

/* About */
#about p{
    text-align:center;
    font-size:18px;
    line-height:1.8;
}

/* Skills */

.skills{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
}

.skills div{
    background:#2563eb;
    color:white;
    padding:20px 35px;
    border-radius:10px;
    transition:.3s;
}

.skills div:hover{
    transform:translateY(-8px);
}

/* Projects */

.project{
    background:white;
    margin:20px auto;
    padding:25px;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,.15);
}

/* Contact */

#contact{
    text-align:center;
    background:#0f172a;
    color:white;
}

#contact p{
    margin:10px 0;
}

/* Mobile Responsive */

@media(max-width:768px){

nav{
    flex-direction:column;
}

nav ul{
    flex-direction:column;
    margin-top:15px;
}

nav ul li{
    margin:10px 0;
}

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

.hero p{
    width:90%;
}

}