*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
}

body{
font-family:'Poppins',sans-serif;
background:#0f0f0f;
color:#e4e4e4;
}

/* NAVBAR */

.navbar{
position:fixed;
top:0;
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 10%;
background:rgba(15,15,15,0.9);
backdrop-filter:blur(6px);
z-index:1000;
}

.logo{
font-weight:600;
font-size:22px;
color:white;
}

.nav-links{
display:flex;
gap:25px;
list-style:none;
}

.nav-links a{
text-decoration:none;
color:#bfbfbf;
transition:.3s;
}

.nav-links a:hover{
color:white;
}

/* HERO */

.hero{
height:100vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
background:linear-gradient(180deg,#0f0f0f,#1c1c1c,#121212);
padding-top:80px;
}

.avatar{
width:140px;
border-radius:50%;
border:3px solid #444;
margin-bottom:20px;
}

.hero h1{
font-size:42px;
font-weight:600;
}

.subtitle{
color:#bfbfbf;
font-size:18px;
margin-bottom:25px;
}

.btn{
padding:13px 28px;
background:white;
color:black;
text-decoration:none;
border-radius:10px;
font-weight:600;
transition:.3s;
}

.btn:hover{
transform:scale(1.05);
background:#d9d9d9;
}

/* ABOUT */

.about{
background:#1a1a1a;
padding:80px 10%;
text-align:center;
}

.about h2{
margin-bottom:25px;
}

.about p{
max-width:700px;
margin:auto;
color:#cfcfcf;
}

/* SERVICES */

.services{
background:#141414;
padding:80px 10%;
}

.services h2{
text-align:center;
margin-bottom:40px;
}

.services-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

.service-card{
background:#1c1c1c;
padding:35px;
border-radius:14px;
transition:.3s;
border:1px solid #2a2a2a;
}

.service-card h3{
margin-bottom:12px;
}

.service-card:hover{
transform:translateY(-10px);
background:#262626;
box-shadow:0 10px 30px rgba(0,0,0,0.5);
}

/* SKILLS */

.skills{
background:#1a1a1a;
padding:80px 10%;
}

.skills h2{
text-align:center;
margin-bottom:40px;
}

.skills-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
gap:25px;
}

.skill{
background:#1c1c1c;
padding:25px;
border-radius:14px;
display:flex;
flex-direction:column;
align-items:center;
transition:.3s;
border:1px solid #2a2a2a;
}

.skill img{
width:45px;
margin-bottom:10px;
}

.skill:hover{
transform:translateY(-8px) scale(1.03);
background:#242424;
box-shadow:0 10px 25px rgba(0,0,0,0.4);
}

/* FOOTER */

footer{
background:#0f0f0f;
text-align:center;
padding:30px;
color:#888;
}

/* RESPONSIVE */

@media(max-width:900px){

.services-grid{
grid-template-columns:1fr 1fr;
}

}

@media(max-width:600px){

.services-grid{
grid-template-columns:1fr;
}

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

.nav-links{
gap:15px;
font-size:14px;
}

}