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

html{
    scroll-behavior:smooth;
}

body{
    background:#0f172a;
    color:white;
    font-family:'Poppins',sans-serif;
    line-height:1.7;
}


/* NAVIGATION */

nav{
    position:sticky;
    top:0;
    background:#1e293b;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 10%;
    z-index:1000;
}

.logo{
    color:#3b82f6;
    font-size:1.7rem;
    font-weight:700;
}

nav ul{
    display:flex;
    gap:30px;
    list-style:none;
}

nav a{
    text-decoration:none;
    color:white;
    transition:.3s;
}

nav a:hover{
    color:#3b82f6;
}

nav a.active{
    color:#3b82f6;
}


/* HERO */

.hero{
    text-align:center;
    padding:150px 20px;
}

.hero h1{
    font-size:4rem;
    color:#3b82f6;
}

.hero h2{
    margin:20px 0;
}

.tagline{
    font-size:1.3rem;
    margin-bottom:20px;
}


/* SECTIONS */

section{
    padding:100px 10%;
}

section h2{
    margin-bottom:40px;
    color:#3b82f6;
}


/* STATS */

.stats{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
}

.stat-box{
    background:#1e293b;
    padding:40px;
    width:200px;
    text-align:center;
    border-radius:20px;
    transition:.3s;
}

.stat-box:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px rgba(59,130,246,.5);
}

.stat-box h3{
    font-size:3rem;
    color:#3b82f6;
}

.stat-box p{
    margin-top:10px;
}


/* SKILLS */

.skill-container{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
}

.skill-container span{
    background:#1e293b;
    padding:15px 25px;
    border-radius:30px;
    transition:.3s;
    cursor:pointer;
}

.skill-container span:hover{
    background:#2563eb;
    transform:translateY(-5px);
}


/* PROJECT CARDS */

.card{
    background:#1e293b;
    padding:30px;
    border-radius:20px;
    margin-bottom:30px;
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 0 25px rgba(59,130,246,.5);
}

.card h3{
    color:#3b82f6;
    margin-bottom:15px;
}


/* FORM */

input,
textarea{
    width:100%;
    padding:15px;
    margin-bottom:20px;
    border:none;
    border-radius:10px;
    background:#1e293b;
    color:white;
}

button{
    background:#2563eb;
    color:white;
    border:none;
    padding:15px 30px;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#1d4ed8;
    transform:translateY(-3px);
}


/* FOOTER */

footer{
    background:#1e293b;
    text-align:center;
    padding:40px;
}


/* FADE EFFECT */

.fade{
    opacity:0;
    transform:translateY(40px);
    transition:1s;
}

.fade.show{
    opacity:1;
    transform:translateY(0);
}


/* TYPING EFFECT */

#typing-text{
    color:#3b82f6;
    font-weight:500;
}

#typing-text::after{
    content:"|";
    animation:blink .8s infinite;
}

@keyframes blink{

    0%,100%{
        opacity:1;
    }

    50%{
        opacity:0;
    }

}


/* RESPONSIVE */

@media(max-width:768px){

    nav{
        flex-direction:column;
        gap:20px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero h1{
        font-size:2.8rem;
    }

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

}
