*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#050816;
    color:white;
    overflow-x:hidden;
}

/* LOADER */

#loader{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background:#050816;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.loader-content{
    text-align:center;
}

.loader-content h1{
    font-size:3rem;
    color:#00c3ff;
}

.loader-content p{
    margin-top:10px;
}

.welcome-man{
    font-size:80px;
    margin:20px 0;
}

.loading-line{
    width:300px;
    height:6px;
    background:#222;
    border-radius:50px;
    overflow:hidden;
    margin:auto;
}

.loading-fill{
    height:100%;
    width:100%;
    background:#00c3ff;
    animation:loading 3s linear;
}

@keyframes loading{
    from{width:0;}
    to{width:100%;}
}

/* MAIN CONTENT */

#main-content{
    display:block;
    opacity:1;
}

/* NAVBAR */

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 10%;
    background:#081020;
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    font-size:28px;
    font-weight:bold;
    color:#00c3ff;
}

nav ul{
    display:flex;
    list-style:none;
    gap:20px;
}

nav ul li a{
    text-decoration:none;
    color:white;
    transition:.3s;
}

nav ul li a:hover{
    color:#00c3ff;
}

/* HERO */

.hero{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
}

.profile-img{
    width:220px;
    height:220px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #00c3ff;
    box-shadow:0 0 20px #00c3ff;
    margin-bottom:20px;
    animation:float 4s ease-in-out infinite;
}

@keyframes float{
    0%{transform:translateY(0);}
    50%{transform:translateY(-15px);}
    100%{transform:translateY(0);}
}

.hero h1{
    font-size:4rem;
}

.hero span{
    color:#00c3ff;
}

.hero h2{
    color:#00c3ff;
    margin-top:10px;
}

.hero p{
    margin-top:15px;
}

/* BUTTON */

.btn{
    display:inline-block;
    margin-top:20px;
    padding:12px 25px;
    background:#00c3ff;
    color:white;
    text-decoration:none;
    border-radius:30px;
    box-shadow:0 0 15px #00c3ff;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
    box-shadow:0 0 30px #00c3ff;
}

/* SECTION */

section{
    padding:100px 10%;
}

section h2{
    text-align:center;
    margin-bottom:30px;
    color:#00c3ff;
}

/* CARDS */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.card{
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(0,195,255,0.3);
    border-radius:15px;
    padding:25px;
    text-align:center;
    transition:0.4s;
    backdrop-filter:blur(10px);
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px #00c3ff;
}

.card h3{
    color:#00c3ff;
    margin-bottom:10px;
}

/* SKILLS BAR */

.skill{
    margin-top:20px;
}

.skill p{
    margin-bottom:8px;
}

.bar{
    width:100%;
    height:10px;
    background:#222;
    border-radius:20px;
    overflow:hidden;
}

.bar span{
    display:block;
    height:100%;
    background:#00c3ff;
    border-radius:20px;
}

/* FOOTER */

footer{
    text-align:center;
    padding:25px;
    background:#081020;
    margin-top:50px;
}

/* REVEAL */

.reveal{
    opacity:1;
    transform:none;
}

.show{
    opacity:1;
    transform:none;
}

/* MOBILE */

@media(max-width:768px){

    nav{
        flex-direction:column;
    }

    nav ul{
        flex-direction:column;
        margin-top:15px;
        text-align:center;
    }

    .hero h1{
        font-size:2.2rem;
    }

    .hero h2{
        font-size:1.3rem;
    }

    .profile-img{
        width:170px;
        height:170px;
    }

    section{
        padding:60px 20px;
    }

    .grid{
        grid-template-columns:1fr;
    }
}