*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

body{
background:#0f172a;
color:white;
overflow-x:hidden;
}

.navbar{
position:fixed;
top:0;
width:100%;
padding:20px 8%;
display:flex;
justify-content:space-between;
align-items:center;
background:rgba(255,255,255,.08);
backdrop-filter:blur(12px);
z-index:999;
}

.logo{
font-size:28px;
font-weight:700;
color:#38bdf8;
}

.nav-links{
display:flex;
list-style:none;
gap:30px;
}

.nav-links a{
color:white;
text-decoration:none;
}

#themeToggle{
border:none;
padding:10px;
cursor:pointer;
border-radius:8px;
}

.hero{
position:relative;
height:100vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
}

#particles-js{
position:absolute;
width:100%;
height:100%;
}

.overlay{
position:absolute;
inset:0;
background:rgba(0,0,0,.55);
}

.hero-content{
position:relative;
z-index:10;
padding:20px;
}

.profile-pic{
width:180px;
height:180px;
border-radius:50%;
object-fit:cover;
border:4px solid #38bdf8;
margin-bottom:20px;
}

.hero h1{
font-size:70px;
background:linear-gradient(90deg,#38bdf8,#8b5cf6);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

.hero h2{
margin:15px 0;
color:#38bdf8;
}

.hero p{
max-width:700px;
margin:auto;
line-height:1.8;
}

.counter-wrapper{
display:flex;
justify-content:center;
gap:25px;
margin-top:35px;
flex-wrap:wrap;
}

.counter-box{
background:rgba(255,255,255,.08);
padding:20px;
border-radius:20px;
backdrop-filter:blur(10px);
}

.counter{
font-size:32px;
font-weight:700;
color:#38bdf8;
}

.hero-buttons{
margin-top:35px;
}

.btn,.btn-outline{
padding:12px 25px;
border-radius:30px;
text-decoration:none;
display:inline-block;
margin:10px;
}

.btn{
background:#38bdf8;
color:black;
font-weight:600;
}

.btn-outline{
border:2px solid #38bdf8;
color:#38bdf8;
}

.social-icons{
margin-top:25px;
}

.social-icons a{
font-size:30px;
color:white;
margin:0 12px;
}

.section{
padding:100px 10%;
}

.section-title{
font-size:42px;
text-align:center;
margin-bottom:50px;
}

.about-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
}

.stat-card,.card,.education-card,.contact-card{
background:#1e293b;
padding:30px;
border-radius:20px;
text-align:center;
}

.about-text{
margin-top:40px;
line-height:2;
text-align:center;
}

.skills-container{
max-width:900px;
margin:auto;
}

.skill{
margin-bottom:25px;
}

.progress{
background:#334155;
border-radius:30px;
overflow:hidden;
}

.bar{
background:#38bdf8;
padding:12px;
color:black;
font-weight:600;
}

.timeline{
max-width:900px;
margin:auto;
}

.timeline-content{
background:#1e293b;
padding:25px;
margin-bottom:30px;
border-radius:20px;
transition:.4s;
}

.timeline-content:hover{
transform:translateY(-10px);
}

.timeline-content ul{
padding-left:20px;
margin-top:15px;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.hidden{
opacity:0;
transform:translateY(40px);
transition:.8s;
}

.show{
opacity:1;
transform:translateY(0);
}

.light{
background:#f8fafc;
color:#111827;
}

.light .timeline-content,
.light .card,
.light .education-card,
.light .contact-card,
.light .stat-card{
background:white;
color:black;
}

@media(max-width:768px){

.hero h1{
font-size:42px;
}

.nav-links{
display:none;
}

}