*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f5f7fb;
    color:#333;
    line-height:1.7;
}

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#ffffff;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    z-index:1000;
}

nav{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.site-logo{
    color:#2563eb;
    font-size:30px;
    font-weight:700;
}

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

nav ul li a{
    text-decoration:none;
    color:#333;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:#2563eb;
}

.home{
    width:90%;
    max-width:1200px;
    margin:auto;
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    padding-top:100px;
}

.home-content{
    flex:1;
}

.home-content h1{
    font-size:52px;
    margin-bottom:15px;
}

.home-content h1 span{
    color:#2563eb;
}

.home-content h3{
    font-size:28px;
    color:#555;
    margin-bottom:20px;
    font-weight:500;
}

.home-content p{
    color:#666;
    max-width:550px;
    margin-bottom:35px;
}

.button-group{
    display:flex;
    gap:20px;
}

.primary-btn{
    text-decoration:none;
    background:#2563eb;
    color:#fff;
    padding:12px 30px;
    border-radius:8px;
    transition:.3s;
    font-weight:600;
}

.primary-btn:hover{
    background:#1d4ed8;
}

.secondary-btn{
    text-decoration:none;
    border:2px solid #2563eb;
    color:#2563eb;
    padding:10px 28px;
    border-radius:8px;
    transition:.3s;
    font-weight:600;
}

.secondary-btn:hover{
    background:#2563eb;
    color:#fff;
}

.home-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.profile-icon{
    width:280px;
    height:280px;
    background:#2563eb;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 15px 35px rgba(37,99,235,.3);
}

.profile-icon i{
    font-size:110px;
    color:white;
}

section{
    padding:90px 0;
}

section h2{
    text-align:center;
    margin-bottom:45px;
    font-size:36px;
    color:#222;
}

.about-container{
    width:90%;
    max-width:1000px;
    margin:auto;
    background:white;
    padding:40px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.about-container p{
    color:#555;
}

.personal-info{
    margin-top:35px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.personal-info h4{
    color:#2563eb;
    margin-bottom:5px;
}


.skills-container{
    width:90%;
    max-width:1100px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:25px;
}

.skill-card{
    background:#fff;
    padding:35px;
    text-align:center;
    border-radius:12px;
    transition:.3s;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}



.skill-card i{
    font-size:55px;
    color:#2563eb;
    margin-bottom:18px;
}

.skill-card h3{
    font-weight:600;
}

.projects-container{
    width:90%;
    max-width:1100px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.project-card{
    background:#fff;
    padding:30px;
    border-radius:12px;
    transition:.3s;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

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

.project-card h3{
    color:#2563eb;
    margin-bottom:15px;
}

.project-card p{
    color:#666;
}

#contact{
    text-align:center;
}

#contact p{
    color:#555;
}

.social-links{
    margin-top:30px;
    display:flex;
    justify-content:center;
    gap:30px;
}

.social-links a{
    color:#2563eb;
    font-size:35px;
    transition:.3s;
}

.social-links a:hover{
    transform:scale(1.2);
}

footer{
    background:#111827;
    color:white;
    text-align:center;
    padding:25px;
    margin-top:60px;
}

@media(max-width:900px){

    nav{
        flex-direction:column;
        gap:20px;
    }

    nav ul{
        gap:18px;
        flex-wrap:wrap;
        justify-content:center;
    }

    .home{
        flex-direction:column-reverse;
        text-align:center;
        padding-top:160px;
    }

    .home-content h1{
        font-size:40px;
    }

    .home-content h3{
        font-size:22px;
    }

    .home-content p{
        margin:auto;
        margin-bottom:30px;
    }

    .button-group{
        justify-content:center;
    }

    .profile-icon{
        width:220px;
        height:220px;
    }

    .profile-icon i{
        font-size:85px;
    }

    .personal-info{
        grid-template-columns:1fr;
        text-align:center;
    }

}

@media(max-width:600px){

    .home-content h1{
        font-size:34px;
    }

    section h2{
        font-size:30px;
    }

    .button-group{
        flex-direction:column;
        align-items:center;
    }

    .primary-btn,
    .secondary-btn{
        width:180px;
        text-align:center;
    }

}