@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#050816;
    color:white;
    overflow-x:hidden;
}

header{
    position:fixed;
    width:100%;
    top:0;
    z-index:1000;
    backdrop-filter:blur(10px);
    background:rgba(0,0,0,.4);
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
}

.logo{
    color:#00bfff;
}

.logo span{
    color:white;
}

nav ul{
    display:flex;
    gap:25px;
    list-style:none;
}

nav a{
    text-decoration:none;
    color:white;
    transition:.3s;
}

nav a:hover{
    color:#00bfff;
}

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:0 10%;
}

.hero-content{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.hero-photo{
    width:180px;
    height:180px;
    border-radius:50%;
    overflow:hidden;
    margin-bottom:22px;
    border:4px solid rgba(0,191,255,.5);
    box-shadow:0 0 30px rgba(0,191,255,.25);
    background:rgba(255,255,255,.05);
}

.hero-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.hero h1{
    font-size:4rem;
    color:#00bfff;
}

.hero h2{
    margin-top:10px;
    height:40px;
}

.hero p{
    max-width:700px;
    margin:20px auto;
}

.btn{
    display:inline-block;
    padding:12px 30px;
    background:#00bfff;
    color:white;
    text-decoration:none;
    border-radius:30px;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-5px);
    box-shadow:0 0 20px #00bfff;
}

.section{
    padding:100px 10%;
}

.title{
    text-align:center;
    font-size:2.5rem;
    margin-bottom:50px;
    color:#00bfff;
}

.card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.1);
    padding:30px;
    border-radius:20px;
    backdrop-filter:blur(10px);
}

.timeline{
    display:grid;
    gap:20px;
}

.timeline-item{
    background:rgba(255,255,255,.05);
    padding:25px;
    border-left:4px solid #00bfff;
    border-radius:10px;
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.project-card{
    background:rgba(255,255,255,.05);
    padding:30px;
    border-radius:20px;
    transition:.4s;
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 20px #00bfff;
}

.project-card i{
    font-size:45px;
    color:#00bfff;
    margin-bottom:15px;
}

.skills{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.skill-box{
    background:rgba(255,255,255,.05);
    padding:25px;
    border-radius:20px;
}

.skill-box span{
    display:inline-block;
    background:#00bfff;
    margin:5px;
    padding:8px 12px;
    border-radius:20px;
}

.contact-card{
    text-align:center;
}

.contact-card p{
    margin:15px 0;
}

footer{
    text-align:center;
    padding:30px;
    background:#02040c;
}

.reveal{
    opacity:0;
    transform:translateY(50px);
    transition:1s;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

.particles{
    position:fixed;
    width:100%;
    height:100%;
    background:
    radial-gradient(circle at 20% 20%, rgba(0,191,255,.3), transparent 20%),
    radial-gradient(circle at 80% 60%, rgba(0,191,255,.2), transparent 20%);
    z-index:-1;
    animation:moveBg 10s infinite alternate;
}

@keyframes moveBg{
    from{
        transform:translateY(-20px);
    }
    to{
        transform:translateY(20px);
    }
}

@media(max-width:768px){

.hero-photo{
    width:140px;
    height:140px;
    margin-bottom:18px;
}

.hero h1{
    font-size:2.5rem;
}

nav ul{
    display:none;
}

}