*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
    font-family:'Poppins',sans-serif;
}

body{
    background:#081120;
    color:white;
    overflow-x:hidden;
    position:relative;
}

/* BACKGROUND GLOW */

body::before{

    content:'';
    position:fixed;

    width:500px;
    height:500px;

    background:#4da6ff;

    filter:blur(180px);

    top:-200px;
    right:-100px;

    opacity:0.15;

    z-index:-1;

}

/* NAVBAR */

nav{

    width:100%;
    padding:20px 8%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    position:fixed;
    top:0;

    z-index:1000;

    backdrop-filter:blur(12px);

    background:rgba(8,17,32,0.6);

    border-bottom:1px solid rgba(255,255,255,0.05);

}

.logo{

    font-size:24px;
    font-weight:700;

    color:#4da6ff;

}

nav ul{

    display:flex;
    list-style:none;
    gap:30px;

}

nav ul li a{

    text-decoration:none;
    color:white;

    transition:0.3s ease;

    position:relative;

}

nav ul li a:hover{

    color:#4da6ff;

}

/* HERO SECTION */

.hero{

    min-height:100vh;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:120px 8%;

    gap:60px;

}

.hero-text{

    flex:1;

    animation:fadeUp 1s ease;

}

.hero-text h1{

    font-size:60px;
    line-height:1.1;

    margin-bottom:20px;

}

.hero-text span{

    color:#4da6ff;

}

.hero-text h3{

    color:#9fd0ff;

    font-weight:400;

    margin-bottom:20px;

}

.hero-text p{

    color:#cfd8e3;

    line-height:1.9;

    margin-bottom:35px;

    max-width:650px;

}

.hero-text button{

    padding:14px 34px;

    border:none;
    border-radius:14px;

    background:#4da6ff;

    color:white;

    cursor:pointer;

    font-size:16px;

    transition:0.4s ease;

}

.hero-text button:hover{

    transform:translateY(-5px);

    box-shadow:0 0 25px rgba(77,166,255,0.6);

}

/* HERO IMAGE */

.hero-image{

    flex:1;

    display:flex;
    justify-content:center;

    animation:fadeUp 1.4s ease;

}

.hero-image img{

    width:380px;

    border-radius:30px;

    object-fit:cover;

    box-shadow:0 10px 40px rgba(0,0,0,0.45);

    transition:0.4s ease;

}

.hero-image img:hover{

    transform:scale(1.03);

}

/* SECTIONS */

section{

    padding:100px 8%;

}

section h2{

    font-size:42px;

    color:#4da6ff;

    margin-bottom:25px;

}

.about p{

    max-width:850px;

    line-height:2;

    color:#d3dce8;

}

/* SKILLS */

.skill-box{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

    margin-top:40px;

}

.card{

    background:
    rgba(255,255,255,0.05);

    border:
    1px solid rgba(255,255,255,0.06);

    backdrop-filter:blur(10px);

    padding:30px;

    border-radius:24px;

    text-align:center;

    transition:0.4s ease;

    cursor:pointer;

}

.card:hover{

    transform:
    translateY(-10px)
    scale(1.03);

    box-shadow:
    0 15px 30px rgba(77,166,255,0.18);

    background:
    rgba(255,255,255,0.08);

}

/* CONTACT */

.contact-box{

    margin-top:25px;

}

.contact-box p{

    margin-bottom:15px;

    color:#d6dfeb;

    font-size:16px;

}

/* FOOTER */

footer{

    text-align:center;

    padding:35px;

    border-top:
    1px solid rgba(255,255,255,0.05);

    color:#8fa6c5;

}

/* SCROLL ANIMATIONS */

.hidden{

    opacity:0;

    filter:blur(5px);

    transform:translateY(40px);

    transition:all 1s;

}

.show{

    opacity:1;

    filter:blur(0);

    transform:translateY(0);

}

/* KEYFRAMES */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* RESPONSIVE */

@media(max-width:950px){

    .hero{

        flex-direction:column;

        text-align:center;

        padding-top:160px;

    }

    .hero-text h1{

        font-size:42px;

    }

    .hero-image img{

        width:300px;

    }

    nav ul{

        display:none;

    }

}