*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:linear-gradient(135deg,#0f172a,#111827,#1e293b);
    color:#fff;
    line-height:1.7;
}

/* ================= NAVBAR ================= */

nav{
    position:sticky;
    top:0;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 8%;
    background:rgba(15,23,42,.9);
    backdrop-filter:blur(10px);
}

nav h2{
    color:#38bdf8;
    font-size:28px;
}

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

nav ul li{
    margin-left:30px;
}

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

nav ul li a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;

    width:0;
    height:2px;

    background:#38bdf8;
    transition:.3s;
}

nav ul li a:hover::after{
    width:100%;
}

nav ul li a:hover{
    color:#38bdf8;
}

/* ================= HERO ================= */

.hero{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:80px 10%;
    gap:70px;

    min-height:90vh;
}

.hero img{

    width:320px;
    height:320px;

    border-radius:50%;
    object-fit:cover;

    border:6px solid #38bdf8;

    box-shadow:0 0 40px rgba(56,189,248,.45);

    transition:.4s;
}

.hero img:hover{

    transform:scale(1.05);
}

.hero h1{

    font-size:58px;

    background:linear-gradient(to right,#38bdf8,#8b5cf6);

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    margin-bottom:15px;
}

.hero h3{

    font-size:28px;

    color:#38bdf8;

    margin-bottom:20px;
}

.hero p{

    max-width:650px;

    color:#d1d5db;

    margin-bottom:30px;
}

.btn,
.hero a{

    display:inline-block;

    text-decoration:none;

    color:white;

    background:linear-gradient(45deg,#0ea5e9,#8b5cf6);

    padding:14px 30px;

    border-radius:40px;

    transition:.35s;
}

.btn:hover,
.hero a:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 30px rgba(14,165,233,.4);
}

/* ================= CONTAINER ================= */

.container{

    width:85%;

    margin:auto;

    padding:90px 0;
}

.container h2{

    text-align:center;

    font-size:40px;

    margin-bottom:50px;

    color:#38bdf8;

    position:relative;
}

.container h2::after{

    content:"";

    display:block;

    width:90px;

    height:4px;

    background:#38bdf8;

    margin:12px auto;

    border-radius:10px;
}

/* ================= ABOUT ================= */

#about p{

    max-width:900px;

    margin:auto;

    text-align:center;

    color:#d1d5db;

    font-size:18px;
}

/* ================= SKILLS ================= */

.skills{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));

    gap:25px;
}

.skills div{

    background:rgba(255,255,255,.06);

    backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,.12);

    padding:22px;

    text-align:center;

    border-radius:15px;

    cursor:pointer;

    transition:.35s;
}

.skills div:hover{

    background:#38bdf8;

    transform:translateY(-10px) scale(1.05);

    color:white;

    box-shadow:0 12px 25px rgba(56,189,248,.4);
}

/* ================= PROJECTS ================= */

.project-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:35px;
}

.card{

    background:rgba(255,255,255,.06);

    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.12);

    padding:30px;

    border-radius:18px;

    transition:.4s;
}

.card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 35px rgba(0,0,0,.35);
}

.card h3{

    color:#38bdf8;

    margin-bottom:18px;
}

.card p{

    color:#d1d5db;
}

/* ================= CONTACT ================= */

#contact{

    text-align:center;
}

#contact p{

    margin:18px 0;

    font-size:18px;

    color:#d1d5db;
}

#contact a{

    color:#38bdf8;

    text-decoration:none;
}

#contact a:hover{

    text-decoration:underline;
}

/* ================= FOOTER ================= */

footer{

    background:#020617;

    text-align:center;

    padding:25px;

    color:#94a3b8;

    margin-top:40px;
}

/* ================= SCROLLBAR ================= */

::-webkit-scrollbar{

    width:10px;
}

::-webkit-scrollbar-thumb{

    background:#38bdf8;

    border-radius:20px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:900px){

    nav{

        flex-direction:column;
    }

    nav ul{

        margin-top:20px;
    }

    .hero{

        flex-direction:column;

        text-align:center;

        padding-top:50px;
    }

    .hero h1{

        font-size:42px;
    }

    .hero h3{

        font-size:22px;
    }

    .hero img{

        width:240px;
        height:240px;
    }
}