/* ================= GLOBAL ================= */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#0f172a;
    color:white;
}

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

.navbar{
    width:100%;

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

    padding:30px 8%;

    position:fixed;
    top:0;

    background:rgba(15,23,42,0.9);

    backdrop-filter:blur(10px);

    z-index:1000;
}

.logo{
    font-size:30px;
    font-weight:800;
    color:#38bdf8;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:35px;
}

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

.nav-links a:hover{
    color:#38bdf8;
}

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

.hero{
    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:100px;

    padding:120px 10%;
}

.hero-image img{
    width:400px;
    height:400px;

    object-fit:cover;

    border-radius:50%;

    border:8px solid #1e293b;

    box-shadow:0 0 40px rgba(56,189,248,0.3);
}

.hero-content{
    max-width:600px;
}

.hero-content h1{
    font-size:100px;
    font-weight:800;
}

.hero-content h2{
    font-size:42px;
    margin-top:10px;
    line-height:1.2;
}

.hero-content p{
    margin-top:30px;

    color:#94a3b8;

    font-size:18px;
    line-height:1.8;
}

/* ================= BUTTONS ================= */

.buttons{
    margin-top:40px;

    display:flex;
    gap:25px;
}

.btn{
    width:120px;
    height:120px;

    border-radius:50%;

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

    text-decoration:none;

    font-weight:700;
    font-size:18px;

    color:black;

    transition:0.3s;
}

.btn:hover{
    transform:translateY(-8px) scale(1.05);
}

.yellow{
    background:#facc15;
}

.red{
    background:#ef4444;
}

.blue{
    background:#38bdf8;
}

/* ================= SECTION ================= */

.section{
    padding:120px 10%;
}

.section-title{
    text-align:center;
    font-size:50px;
    margin-bottom:60px;
}

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

.about-container{
    max-width:900px;
    margin:auto;

    text-align:center;

    color:#cbd5e1;

    font-size:22px;
    line-height:1.8;
}

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

.projects-grid{
    display:grid;

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

    gap:30px;
}

.project-card{
    background:#1e293b;

    padding:35px;

    border-radius:25px;

    transition:0.3s;
}

.project-card:hover{
    transform:translateY(-10px);
}

.project-card h3{
    font-size:28px;
    margin-bottom:20px;

    color:#38bdf8;
}

.project-card p{
    color:#cbd5e1;
    line-height:1.7;
}

.project-card span{
    display:block;
    margin-top:20px;

    color:#94a3b8;
}

.project-card a{
    display:inline-block;

    margin-top:25px;

    color:#38bdf8;

    text-decoration:none;
    font-weight:700;
}

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

.skills-grid{
    display:grid;

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

    gap:25px;
}

.skill-card{
    background:#1e293b;

    padding:35px;

    text-align:center;

    border-radius:20px;

    font-weight:700;

    transition:0.3s;
}

.skill-card:hover{
    background:#38bdf8;
    color:black;

    transform:translateY(-8px);
}



/* ================= TOOLS SECTION ================= */
/* Center all sub titles like Skills heading */

.sub-title{
    text-align:center;

    margin:50px 0 20px;

    font-size:28px;
    font-weight:700;

    color : white;
}

.tools-grid .skill-card{
    background:#111827;

    border:1px solid #334155;
}

.tools-grid .skill-card:hover{
    background:#38bdf8;
    color:black;

    box-shadow:0 0 20px rgba(56,189,248,0.4);
}

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

.contact-container{
    text-align:center;
}

.contact-container p{
    font-size:22px;
    margin-bottom:30px;
}

.contact-links{
    display:flex;
    justify-content:center;
    gap:40px;
}

.contact-links a{
    color:#38bdf8;

    text-decoration:none;

    font-size:20px;
    font-weight:700;
}

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

footer{
    padding:40px;

    text-align:center;

    border-top:1px solid #1e293b;

    color:#94a3b8;
}

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

@media(max-width:1000px){

    .hero{
        flex-direction:column;
        text-align:center;
    }

    .hero-content h1{
        font-size:70px;
    }

    .hero-content h2{
        font-size:32px;
    }

    .buttons{
        justify-content:center;
        flex-wrap:wrap;
    }

}

@media(max-width:600px){

    .navbar{
        flex-direction:column;
        gap:20px;
    }

    .nav-links{
        gap:20px;
    }

    .hero-image img{
        width:280px;
        height:280px;
    }

    .hero-content h1{
        font-size:55px;
    }

    .hero-content h2{
        font-size:26px;
    }

    .btn{
        width:100px;
        height:100px;

        font-size:15px;
    }

    .section-title{
        font-size:38px;
    }

}