*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
scroll-behavior:smooth;
}

body{
background:#0b1120;
color:#f1f5f9;
line-height:1.6;
}

/* container */

.container{
width:90%;
max-width:1100px;
margin:auto;
padding:60px 0;
}

/* header */

header{
background:#020617;
position:sticky;
top:0;
z-index:1000;
border-bottom:1px solid #1e293b;
}

/* nav */

nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 0;
}

nav ul{
display:flex;
list-style:none;
gap:25px;
}

nav a{
color:#e2e8f0;
text-decoration:none;
font-weight:bold;
transition:0.3s;
}

nav a:hover{
color:#38bdf8;
}

/* logo */

.logo{
color:#38bdf8;
font-size:22px;
}

/* hero */

.hero{
height:70vh;
display:flex;
flex-direction:column;
justify-content:center;
animation:fadeUp 1s ease;
}

.hero span{
background:linear-gradient(90deg,#38bdf8,#a78bfa);
-webkit-background-clip:text;
color:transparent;
}

.hero h1{
font-size:42px;
margin-bottom:10px;
}

.hero h2{
margin-bottom:10px;
color:#94a3b8;
}

/* buttons */

.btn{
background:linear-gradient(90deg,#38bdf8,#6366f1);
padding:10px 22px;
border-radius:6px;
text-decoration:none;
color:white;
margin-right:10px;
transition:0.3s;
display:inline-block;
}

.btn:hover{
transform:scale(1.08);
box-shadow:0 0 15px #38bdf8;
}

/* titles */

.title{
text-align:center;
margin-bottom:40px;
font-size:28px;
color:#e2e8f0;
}

/* skills */

.skills{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
gap:20px;
}

.skill{
background:#1e293b;
padding:25px;
text-align:center;
border-radius:10px;
transition:0.3s;
cursor:pointer;
border:1px solid #334155;
}

.skill:hover{
transform:translateY(-10px);
background:#0f172a;
border-color:#38bdf8;
box-shadow:0 0 15px rgba(56,189,248,0.4);
}

/* projects */

.projects{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}

.project{
background:#1e293b;
padding:25px;
border-radius:10px;
transition:0.3s;
border:1px solid #334155;
}

.project:hover{
transform:translateY(-10px) scale(1.03);
border-color:#a78bfa;
box-shadow:0 0 20px rgba(167,139,250,0.4);
}

.project a{
display:inline-block;
margin-top:10px;
color:#38bdf8;
text-decoration:none;
font-weight:bold;
}

/* contact */

#contact p{
text-align:center;
margin-bottom:10px;
font-size:18px;
color:#cbd5f5;
}

/* animation */

@keyframes fadeUp{

from{
opacity:0;
transform:translateY(40px);
}

to{
opacity:1;
transform:translateY(0);
}

}