/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#f7f9fc;

    color:#222;

    line-height:1.7;

}

/* ===========================
   LINKS
=========================== */

a{

    text-decoration:none;

    color:inherit;

}

img{

    display:block;

    width:100%;

}

/* ===========================
   NAVBAR
=========================== */

header{

    background:white;

}

.navbar{

    max-width:1200px;

    margin:auto;

    padding:20px 40px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    font-size:1.6rem;

    font-weight:700;

    color:#0f172a;

}

.navbar ul{

    display:flex;

    list-style:none;

    gap:35px;

}

.navbar a{

    font-weight:500;

    transition:.3s;

}

.navbar a:hover{

    color:#2563eb;

}

/* ===========================
   HERO
=========================== */

.hero{

    max-width:1200px;

    margin:auto;

    padding:80px 40px;

    display:grid;

    grid-template-columns:1.3fr 1fr;

    gap:60px;

    align-items:center;

}

.hero-title{

    color:#2563eb;

    font-weight:600;

    letter-spacing:1px;

    margin-bottom:20px;

    text-transform:uppercase;

    font-size:.9rem;

}

.hero h1{

    font-size:3.3rem;

    line-height:1.15;

    margin-bottom:25px;

    color:#111827;

}

.hero p{

    font-size:1.08rem;

    color:#4b5563;

}

.buttons{

    display:flex;

    gap:18px;

    margin-top:35px;

}

.btn{

    background:#2563eb;

    color:white;

    padding:14px 28px;

    border-radius:10px;

    transition:.3s;

    font-weight:600;

}

.btn:hover{

    background:#1d4ed8;

}

.btn-secondary{

    border:2px solid #2563eb;

    color:#2563eb;

    padding:12px 28px;

    border-radius:10px;

    transition:.3s;

    font-weight:600;

}

.btn-secondary:hover{

    background:#2563eb;

    color:white;

}

.profile-photo{

    width:340px;

    height:340px;

    object-fit:cover;

    border-radius:50%;

    margin:auto;

    border:8px solid white;

    box-shadow:0 15px 40px rgba(0,0,0,.12);

}
/* ===========================
   MAIN LAYOUT
=========================== */

main{

    max-width:1200px;

    margin:auto;

    padding:20px 40px 80px;

}

.section{

    margin:90px 0;

}

.section-heading{

    text-align:center;

    margin-bottom:55px;

}

.section-heading h2{

    font-size:2.2rem;

    color:#111827;

    margin-bottom:15px;

}

.section-heading p{

    max-width:760px;

    margin:auto;

    color:#6b7280;

    font-size:1.05rem;

}



/* ===========================
   ABOUT
=========================== */

.about-content{

    max-width:900px;

    margin:auto;

}

.about-content p{

    margin-bottom:22px;

    font-size:1.08rem;

    color:#374151;

}



/* ===========================
   SKILLS
=========================== */

.skills-grid{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:15px;

}

.skills-grid span{

    background:white;

    padding:12px 20px;

    border-radius:999px;

    font-weight:600;

    color:#2563eb;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    transition:.3s;

}

.skills-grid span:hover{

    transform:translateY(-4px);

    background:#2563eb;

    color:white;

}
/* ===========================
   PROJECTS
=========================== */

.projects-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(330px,1fr));

    gap:35px;

}

.project-card{

    background:white;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

}

.project-card:hover{

    transform:translateY(-10px);

    box-shadow:0 18px 40px rgba(0,0,0,.14);

}

.project-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

.project-content{

    padding:25px;

}

.project-content h3{

    font-size:1.35rem;

    margin-bottom:15px;

    color:#111827;

}

.project-content p{

    color:#4b5563;

    margin-bottom:18px;

}

.tools{

    font-size:.95rem;

    color:#2563eb;

    font-weight:500;

}

.insight{

    font-size:.92rem;

    color:#374151;

    background:#eff6ff;

    border-left:3px solid #2563eb;

    padding:10px 14px;

    border-radius:6px;

    margin-bottom:14px;

}

.insight strong{

    color:#1d4ed8;

}

.project-button{

    display:inline-block;

    margin-top:10px;

    background:#2563eb;

    color:white;

    padding:12px 22px;

    border-radius:8px;

    font-weight:600;

    transition:.3s;

}

.project-button:hover{

    background:#1d4ed8;

}

.project-button-secondary{

    display:inline-block;

    margin-top:10px;

    margin-left:10px;

    border:2px solid #2563eb;

    color:#2563eb;

    padding:10px 20px;

    border-radius:8px;

    font-weight:600;

    transition:.3s;

}

.project-button-secondary:hover{

    background:#2563eb;

    color:white;

}
/* ===========================
   CONTACT
=========================== */

.contact-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.contact-card{

    background:white;

    padding:30px;

    border-radius:16px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.contact-card:hover{

    transform:translateY(-6px);

}

.contact-card h3{

    color:#2563eb;

    margin-bottom:12px;

}

.contact-card a{

    color:#374151;

    word-break:break-word;

}

.contact-card a:hover{

    color:#2563eb;

}



/* ===========================
   FOOTER
=========================== */

footer{

    background:#111827;

    color:white;

    margin-top:80px;

}

.footer-content{

    max-width:1200px;

    margin:auto;

    padding:30px 40px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:15px;

}



/* ===========================
   RESPONSIVE DESIGN
=========================== */

@media (max-width:900px){

    .hero{

        grid-template-columns:1fr;

        text-align:center;

    }

    .buttons{

        justify-content:center;

        flex-wrap:wrap;

    }

    .profile-photo{

        width:260px;

        height:260px;

    }

    .navbar{

        flex-direction:column;

        gap:20px;

    }

    .navbar ul{

        flex-wrap:wrap;

        justify-content:center;

        gap:20px;

    }

    .hero h1{

        font-size:2.4rem;

    }

}

@media (max-width:600px){

    .hero{

        padding:60px 20px;

    }

    main{

        padding:20px;

    }

    .section{

        margin:70px 0;

    }

    .section-heading h2{

        font-size:1.9rem;

    }

    .project-card img{

        height:200px;

    }

    .footer-content{

        flex-direction:column;

        text-align:center;

    }

}
