@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#0f172a;
    color:#f8fafc;
    padding:30px;
    line-height:1.7;
    overflow-x:hidden;
    position:relative;
}

/* Background Grid */

body::before{
    content:"";
    position:fixed;
    inset:0;
    background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size:40px 40px;
    z-index:-2;
}

/* Mouse Spotlight */

body::after{
    content:"";
    position:fixed;
    width:300px;
    height:300px;
    background:radial-gradient(
        circle,
        rgba(56,189,248,.12),
        transparent 70%
    );
    left:calc(var(--x, 50vw) - 150px);
    top:calc(var(--y, 50vh) - 150px);
    pointer-events:none;
    z-index:-1;
}

/* Main Container */

main{
    max-width:1100px;
    margin:auto;
}

/* Header */

header{
    text-align:center;
    margin-bottom:60px;
}

header h2{
    font-size:4rem;
    font-weight:800;
    letter-spacing:-2px;
    margin-bottom:15px;
    transition:.3s;
}

header h2:hover{
    color:#38bdf8;
}

header p{
    color:#cbd5e1;
    max-width:900px;
    margin:auto;
}

/* Links */

a{
    color:#38bdf8;
    text-decoration:none;
    transition:.3s;
}

a:hover{
    color:#7dd3fc;
}

/* Intro Paragraph */

main > p{
    text-align:center;
    max-width:900px;
    margin:auto;
    color:#cbd5e1;
    margin-bottom:40px;
    font-size:1.05rem;
}

/* Section Cards */

div{
    position:relative;
    background:#111827;
    border:1px solid #1e293b;
    border-radius:20px;
    padding:30px;
    margin-bottom:30px;
    transition:all .35s ease;
    animation:fadeUp .8s ease;
}

div::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:5px;
    height:100%;
    background:#38bdf8;
    border-radius:20px 0 0 20px;
}

div:hover{
    transform:translateY(-8px);
    border-color:#38bdf8;
}

/* Headings */

h2{
    color:#38bdf8;
    margin-bottom:20px;
    font-size:2rem;
}

h3{
    margin-bottom:12px;
    color:#f8fafc;
}

/* Lists */

ul{
    list-style:none;
}

ul li{
    margin-bottom:12px;
}

/* Skills */

.skills{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.skills li{
    background:#1e293b;
    border:1px solid #334155;
    padding:10px 18px;
    border-radius:999px;
    color:#e2e8f0;
    transition:.3s;
    cursor:pointer;
}

.skills li:hover{
    background:#38bdf8;
    color:#0f172a;
    transform:translateY(-4px);
}

/* Projects */

.project{
    background:#0f172a;
    border:1px solid #1e293b;
    border-radius:15px;
    padding:25px;
    transition:.35s;
}

.project:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 40px rgba(0,0,0,.35);
}

.project h3{
    color:#38bdf8;
}

/* Achievement Items */

div ul li{
    transition:.3s;
}

div ul li:hover{
    transform:translateX(8px);
}

/* Footer */

footer{
    text-align:center;
    margin-top:50px;
    color:#94a3b8;
    padding:20px;
}

/* Scrollbar */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#0f172a;
}

::-webkit-scrollbar-thumb{
    background:#334155;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#38bdf8;
}

/* Animation */

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* Tablet */

@media(max-width:992px){

    body{
        padding:20px;
    }

    header h2{
        font-size:3rem;
    }

    div{
        padding:25px;
    }
}

/* Mobile */

@media(max-width:768px){

    body{
        padding:15px;
    }

    header h2{
        font-size:2.3rem;
    }

    header p{
        font-size:.9rem;
    }

    h2{
        font-size:1.5rem;
    }

    div{
        padding:20px;
    }

    .skills{
        justify-content:center;
    }

    .project{
        padding:18px;
    }
}

/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#050816;
    color:white;
    padding:30px;
    overflow-x:hidden;
    position:relative;
}

/* Animated Background */

/* body::before{
    content:"";
    position:fixed;
    width:500px;
    height:500px;
    background:linear-gradient(#00f5ff,#0066ff);
    border-radius:50%;
    top:-150px;
    left:-150px;
    filter:blur(150px);
    opacity:.3;
    animation:float1 10s infinite alternate;
}

body::after{
    content:"";
    position:fixed;
    width:400px;
    height:400px;
    background:linear-gradient(#ff00aa,#ff4d4d);
    border-radius:50%;
    bottom:-100px;
    right:-100px;
    filter:blur(150px);
    opacity:.25;
    animation:float2 12s infinite alternate;
}

@keyframes float1{
    from{
        transform:translateY(0px);
    }
    to{
        transform:translateY(120px);
    }
}

@keyframes float2{
    from{
        transform:translateX(0px);
    }
    to{
        transform:translateX(-120px);
    }
} */

/* Main Container */

/* main{
    max-width:1100px;
    margin:auto;
    padding:40px;
    border-radius:25px;
    backdrop-filter:blur(25px);
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.1);
    box-shadow:
    0 0 30px rgba(0,255,255,.1),
    0 0 60px rgba(0,255,255,.05);
}

/* Header */

/* header{
    text-align:center;
    margin-bottom:50px;
}

img{
    width:180px;
    height:180px;
    object-fit:cover;
    border-radius:50%;
    border:4px solid transparent;
    background:
    linear-gradient(#050816,#050816) padding-box,
    linear-gradient(135deg,#00f5ff,#ff00aa) border-box;
    padding:4px;
    transition:.5s;
}

img:hover{
    transform:scale(1.08) rotate(5deg);
}

header h2{
    font-size:3.5rem;
    margin-top:20px;
    background-clip:linear-gradient(90deg,#00f5ff,#ff00aa);
    -webkit-background-clip:text;
    color:white;
}

header p{
    margin-top:15px;
}  */

/* Links */

/* a{
    color:#00f5ff;
    text-decoration:none;
    transition:.3s;
}

a:hover{
    color:#ff00aa;
} */

/* Sections */

/* div{
    margin-top:35px;
    padding:30px;
    border-radius:20px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
    transition:.4s;
    position:relative;
    overflow:hidden;
}

div::before{
    content:"";
    position:absolute;
    width:100%;
    height:3px;
    background:linear-gradient(
    90deg,
    transparent,
    #00f5ff,
    transparent);
    top:0;
    left:-100%;
    transition:.8s;
}

div:hover::before{
    left:100%;
}

div:hover{
    transform:translateY(-10px);
    box-shadow:
    0 0 25px rgba(0,255,255,.15);
} */

/* Headings */

/* h2{
    color:#00f5ff;
    margin-bottom:20px;
    font-size:2rem;
}

h3{
    margin-bottom:10px;
} */

/* Lists */

/* ul{
    list-style:none;
}

ul li{
    margin-bottom:12px;
} */

/* Skills */

/* .skills{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.skills li{
    background:linear-gradient(
    135deg,
    #00f5ff,
    #0066ff);
    padding:10px 18px;
    border-radius:30px;
    font-weight:500;
    transition:.3s;
}

.skills li:hover{
    transform:translateY(-5px) scale(1.08);
} */

/* Project Cards */

/* .project{
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:25px;
    transition:.4s;
}

.project:hover{
    transform:translateY(-8px);
    box-shadow:
    0 0 25px rgba(255,0,170,.2);
}

.project h3{
    color:#00f5ff;
} */

/* Footer */

/* footer{
    text-align:center;
    margin-top:40px;
    color:#d1d5db;
} */

/* Mobile */

/* @media(max-width:768px){

    body{
        padding:15px;
    }

    main{
        padding:20px;
    }

    header h2{
        font-size:2.3rem;
    }

    img{
        width:140px;
        height:140px;
    }

    .skills{
        justify-content:center;
    }
}  */