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

body{
    font-family:"Inter", Arial, Helvetica, sans-serif;
    background:#f7f7f7;
    color:#222;
}

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

nav{
    width:90%;
    max-width:1200px;

    margin:20px auto;

    padding:18px 35px;

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

    background:#fff;

    border:1px solid #e6e6e6;

    border-radius:14px;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

    position:sticky;
    top:20px;
    z-index:1000;
}

.logo{
    font-size:28px;
    font-weight:700;
    cursor:pointer;
}

.logo span{
    color:#2563eb;
}

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

.nav-links a{
    text-decoration:none;
    color:#555;
    font-weight:600;
    transition:.3s;
    position:relative;
}

.nav-links a::after{

    content:"";

    position:absolute;

    width:0;
    height:2px;

    left:0;
    bottom:-6px;

    background:#111;

    transition:.3s;
}

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

.nav-links a:hover::after{
    width:100%;
}

.resume-btn{

    background:#111;

    color:white;

    text-decoration:none;

    padding:12px 22px;

    border-radius:10px;

    font-weight:600;

    transition:.3s;
}

.resume-btn:hover{

    background:#333;

    transform:translateY(-2px);
}

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

.hero{

    min-height:90vh;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:100px;

    padding:0 8%;
}

.hero-text{

    flex:1;

    max-width:560px;
}

.hero-text p:first-child{

    color:#777;

    font-size:18px;
}

.hero-text h1{

    font-size:76px;

    margin:12px 0;
}

.hero-text h3{

    color:#555;

    margin-bottom:20px;
}

.hero-text p{

    line-height:1.8;

    color:#555;
}

.btn{

    display:inline-block;

    margin-top:30px;

    padding:14px 30px;

    background:#111;

    color:white;

    text-decoration:none;

    border-radius:10px;

    transition:.3s;
}

.btn:hover{

    background:#333;

    transform:translateY(-2px);
}

/* ================= CODE EDITOR ================= */

.code-editor{
    width:500px;
    height:380px;
    background:#1e1e1e;
    border-radius:7px;
    overflow:hidden;
    box-shadow:0 20px 40px rgba(0,0,0,.18);
    flex-shrink:0;
}

.title-bar{

    height:42px;

    background:#2d2d2d;

    display:flex;

    align-items:center;

    padding:0 16px;
}

.circle{

    width:12px;

    height:12px;

    border-radius:50%;

    margin-right:8px;
}

.red{
    background:#ff5f56;
}

.yellow{
    background:#ffbd2e;
}

.green{
    background:#27c93f;
}

.file{

    color:#ddd;

    margin-left:12px;

    font-size:14px;
}

.code-editor pre{
    margin:0;
    padding:22px;
    color:#d4d4d4;
    font-size:15px;
    line-height:1.8;
    font-family:Consolas, "Courier New", monospace;
}

/* ================= SECTIONS ================= */

section{

    padding:90px 10%;
}

section h2{

    font-size:42px;

    margin-bottom:45px;
}
/* ================= SKILLS ================= */

#skills{
    padding:70px 0;
}

#skills .container{
    max-width:1100px;
    margin:0 auto;
    padding:0 20px;
}

#skills h2{
    margin-bottom:45px;
}

.skill-group{
    margin-bottom:30px;
}

.skill-group h3{
    margin-bottom:15px;
    font-size:1.1rem;
    color:#1f2937;
}

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

.tags span{
    padding:10px 18px;
    background:#fff;
    border:1px solid #d1d5db;
    border-radius:999px;
    font-size:.95rem;
    transition:all .25s ease;
    cursor:default;
}

.tags span:hover{
    background:#111827;
    color:#fff;
    border-color:#111827;
    transform:translateY(-2px);
}
/* ================= PROJECTS ================= */

.project{

    display:flex;

    gap:35px;

    align-items:center;

    background:white;

    border-radius:14px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    margin-bottom:40px;

    transition:.3s;
}

.project:hover{

    transform:translateY(-6px);
}

.project img{

    width:360px;

    height:240px;

    object-fit:cover;
}

.project-content{

    padding:30px;
}

.project-content h3{

    margin-bottom:15px;
}

.project-content p{

    color:#555;

    line-height:1.7;
}

.project-content a{

    display:inline-block;

    margin-top:18px;

    text-decoration:none;

    color:#111;

    font-weight:600;
}

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

#contact{

    text-align:center;
}

#contact p{

    margin:20px 0;
}

.links{

    display:flex;

    justify-content:center;

    gap:25px;
}

.links a{

    text-decoration:none;

    color:#111;

    font-weight:600;
}

/* ================= MOBILE ================= */

@media(max-width:900px){

nav{

    width:95%;

    flex-direction:column;

    gap:20px;

    padding:20px;
}

.nav-links{

    flex-wrap:wrap;

    justify-content:center;

    gap:20px;
}

.hero{

    flex-direction:column;

    text-align:center;

    padding-top:50px;

    gap:60px;
}

.hero-text h1{

    font-size:56px;
}

.code-editor{

    width:100%;

    max-width:560px;

    min-height:auto;
}

.project{

    flex-direction:column;
}

.project img{

    width:100%;
}

.resume-btn{

    width:100%;

    text-align:center;
}

}