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

body{
background:#0f172a;
color:#e2e8f0;
line-height:1.6;
}



nav{
background:#020617;
padding:18px;
text-align:center;
border-bottom:1px solid #1e293b;
}

nav h2{
color:#38bdf8;
}



section{
padding:40px 12%;
text-align:center;
}



h1{
font-size:38px;
margin-bottom:10px;
}

h2{
color:#38bdf8;
margin-bottom:20px;
}

p{
margin-bottom:15px;
}



.hero-links a{
display:inline-block;
margin:8px;
padding:8px 15px;
border-radius:5px;
background:#1e293b;
color:white;
text-decoration:none;
}

.hero-links a:hover{
background:#38bdf8;
color:#020617;
}



.skills{
list-style:none;
}

.skills li{
display:inline-block;
background:#1e293b;
padding:10px 18px;
margin:6px;
border-radius:6px;
}

.skills li:hover{
background:#38bdf8;
color:#020617;
}



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

.project-card{
background:#1e293b;
padding:20px;
border-radius:8px;
width:250px;
}

.project-card:hover{
background:#38bdf8;
color:#020617;
}



.achievements{
display:flex;
justify-content:center;
gap:25px;
flex-wrap:wrap;
}

.achievement{
background:#1e293b;
padding:15px;
border-radius:8px;
width:200px;
}

.achievement:hover{
background:#38bdf8;
color:#020617;
}

.achievement img{
width:80px;
margin-bottom:10px;
}

/* ---------- FOOTER ---------- */

footer{
background:#020617;
text-align:center;
padding:20px;
margin-top:30px;
}



@media (max-width:1024px){

section{
padding:35px 8%;
}

h1{
font-size:32px;
}

.project-card{
width:220px;
}

.achievement{
width:180px;
}

}




@media (max-width:768px){

section{
padding:30px 6%;
}

h1{
font-size:28px;
}

.hero-links a{
display:block;
margin:10px auto;
width:180px;
}

.project-container{
flex-direction:column;
align-items:center;
}

.project-card{
width:90%;
}

.achievements{
flex-direction:column;
align-items:center;
}

.achievement{
width:85%;
}

.skills li{
display:block;
margin:8px auto;
width:200px;
}

}




@media (max-width:480px){

nav h2{
font-size:20px;
}

h1{
font-size:24px;
}

p{
font-size:14px;
}

.hero-links a{
width:150px;
padding:8px 10px;
}

}