*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Poppins,sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:#0f172a;
color:white;
}

header{
position:fixed;
width:100%;
background:#111827;
padding:20px 10%;
z-index:1000;
}

nav{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
font-size:28px;
font-weight:bold;
color:#38bdf8;
}

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

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

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

.hero{
display:flex;
justify-content:space-between;
align-items:center;
padding:150px 10%;
min-height:100vh;
flex-wrap:wrap;
}

.hero-text{
max-width:600px;
}

.hero-text h1{
font-size:52px;
margin-bottom:10px;
}

.hero-text h1 span{
color:#38bdf8;
}

.hero-text h2{
margin-bottom:20px;
}

.hero-text p{
margin-bottom:30px;
line-height:1.8;
color:#d1d5db;
}

.btn{
display:inline-block;
padding:12px 28px;
background:#38bdf8;
color:white;
text-decoration:none;
border-radius:30px;
transition:.3s;
}

.btn:hover{
background:#0284c7;
}

.hero-image img{
width:320px;
border-radius:50%;
border:5px solid #38bdf8;
}

section{
padding:100px 10%;
}

section h2{
text-align:center;
margin-bottom:40px;
font-size:36px;
color:#38bdf8;
}

.about p{
max-width:800px;
margin:auto;
text-align:center;
line-height:1.8;
}

.skill-box{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.card{
background:#1e293b;
padding:30px;
border-radius:15px;
transition:.3s;
}

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

.project-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.project-card{
background:#1e293b;
padding:30px;
border-radius:15px;
transition:.3s;
}

.project-card:hover{
transform:scale(1.05);
}

.contact{
text-align:center;
}

footer{
padding:20px;
text-align:center;
background:#111827;
}

.hidden{
opacity:0;
transform:translateY(60px);
transition:1s;
}

.show{
opacity:1;
transform:translateY(0);
}

@media(max-width:768px){

.hero{
flex-direction:column;
text-align:center;
}

.hero-image{
margin-top:40px;
}

.hero-image img{
width:230px;
}

nav ul{
display:none;
}

}