*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Poppins,sans-serif;
scroll-behavior:smooth;
}

body{
background:#0f172a;
color:white;
transition:.3s;
}

body.light{
background:#f4f4f4;
color:#222;
}

header{
position:fixed;
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 10%;
background:#111827;
z-index:100;
}

body.light header{
background:white;
}

.logo{
font-size:26px;
font-weight:bold;
color:#38bdf8;
}

nav a{
margin:0 12px;
color:white;
text-decoration:none;
}

body.light nav a{
color:black;
}

#themeBtn{
background:none;
border:none;
color:#38bdf8;
font-size:22px;
cursor:pointer;
}

.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 h1{
font-size:50px;
color:#38bdf8;
}

.hero h2{
margin:15px 0;
}

.btn{
display:inline-block;
margin-top:25px;
padding:12px 30px;
background:#38bdf8;
color:white;
text-decoration:none;
border-radius:30px;
}



.circle{
    width:320px;
    height:320px;
    border-radius:50%;
    overflow:hidden;
    border:5px solid #38bdf8;
    box-shadow:0 0 30px rgba(56,189,248,.5);
    display:flex;
    justify-content:center;
    align-items:center;
}

.profile-img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
}
.section{
padding:100px 10%;
}

.section h2{
margin-bottom:40px;
color:#38bdf8;
}

.timeline{
display:grid;
gap:25px;
}

.card{
background:#1e293b;
padding:25px;
border-radius:10px;
}

body.light .card{
background:white;
box-shadow:0 0 10px rgba(0,0,0,.1);
}

.skill label{
display:block;
margin-top:20px;
}

.bar{
height:10px;
background:#ddd;
border-radius:20px;
overflow:hidden;
}

.bar span{
display:block;
height:100%;
background:#38bdf8;
}

.projects{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}

.project{
background:#1e293b;
padding:25px;
text-decoration:none;
color:white;
border-radius:10px;
transition:.3s;
}

.project:hover{
transform:translateY(-8px);
}

body.light .project{
background:white;
color:black;
}

.certs li{
margin:12px 0;
}

.social{
    margin-top:30px;
    display:flex;
    justify-content:center;
    gap:20px;
}

.social a{
    font-size:35px;
    color:#38bdf8;
    transition:.3s;
}

.social a:hover{
    color:#0ea5e9;
    transform:translateY(-5px);
}

.email{
    margin-top:20px;
    text-align:center;
}

.email a{
    color:#ffffff;      /* White email text */
    text-decoration:none;
    font-size:18px;
    font-weight:500;
}

.email a:hover{
    color:#38bdf8;
}

footer{
padding:30px;
text-align:center;
}

.hidden{
opacity:0;
transform:translateY(40px);
transition:1s;
}

.show{
opacity:1;
transform:translateY(0);
}

@media(max-width:768px){

.hero{
text-align:center;
justify-content:center;
}

header{
padding:20px;
}

nav{
display:none;
}

}