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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins', sans-serif;
    background:#f5f7fb;
    color:#111827;
    line-height:1.6;
}

/* ================= HEADER ================= */

header{
    width:100%;
    position:fixed;
    top:0;
    z-index:1000;
    background:white;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.header-wrapper{
    max-width:1200px;
    margin:auto;
    height:80px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 30px;
}

.logo h1{
    font-size:32px;
    font-weight:700;
}

.logo span{
    color:#2563eb;
}

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

.nav-links ul li a{
    text-decoration:none;
    color:#111827;
    font-size:16px;
    font-weight:500;
    transition:0.3s;
}

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

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

.intro{
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:70px;
    padding:120px 100px 60px;
}

.left{
    flex:1;
}

.small-title{
    color:#2563eb;
    font-weight:600;
    letter-spacing:2px;
    margin-bottom:20px;
}

.left h1{
    font-size:58px;
    line-height:1.2;
    margin-bottom:25px;
}

.left span{
    color:#2563eb;
}

.desc{
    color:#4b5563;
    font-size:18px;
    max-width:600px;
}

.hero-btns{
    margin-top:35px;
    display:flex;
    gap:20px;
}

.btn{
    padding:14px 28px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    transition:0.3s;
}

.btn-primary{
    background:#2563eb;
    color:white;
}

.btn-primary:hover{
    background:#1d4ed8;
    transform:translateY(-3px);
}

.btn-secondary{
    background:white;
    color:#2563eb;
    border:2px solid #2563eb;
}

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

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

.right img{
    width:450px;
    height:450px;
    object-fit:cover;
    border-radius:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

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

.intro1{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
    padding:100px;
}

.intro1-left img{
    width:430px;
    height:430px;
    object-fit:cover;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.intro1-right{
    flex:1;
}

.intro1-right h1{
    font-size:45px;
    margin-bottom:20px;
}

.intro1-right p{
    color:#4b5563;
    margin-bottom:35px;
}

/* ================= CARDS ================= */

.cards{
    display:flex;
    gap:15px;


}

.card{
    width:200px;
    height:240px;
    background:white;
    border-radius:18px;
    padding:20px;
    text-align:center;
    display:flex;
   flex-direction: column;
    justify-content:center;
    align-items:center;
    gap:12px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

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

.card i{
    font-size:35px;
    color:#2563eb;
}

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

.skills-section{
    padding:100px;
    text-align:center;
}

.section-heading{
    font-size:48px;
    margin-bottom:50px;
}

.skills-container{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:30px;
}

.skill-box{
    width:180px;
    height:170px;
    background:white;
    border-radius:18px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:15px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

.skill-box:hover{
    transform:translateY(-10px);
}

.skill-box i{
    font-size:45px;
    color:#2563eb;
}

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

.projects{
    padding:100px;
    text-align:center;
}

.title h1{
    font-size:48px;
    margin-bottom:50px;
}

.cards-project{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.card-p{
    width:330px;
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

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

.card-p img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.content-image{
    padding:25px;
}

.content-image h3{
    margin-bottom:15px;
}

.content-image p{
    color:#4b5563;
}

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

.contacts{
    padding:100px;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
}

.contact-info h2{
    font-size:45px;
    margin-bottom:20px;
}

.contact-info p{
    color:#4b5563;
    margin-bottom:30px;
}

.contact-items{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
    font-size:18px;
}

.contact-items i{
    color:#2563eb;
    font-size:22px;
}

.contact-form{
    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:15px;
    border-radius:10px;
    border:1px solid #d1d5db;
    margin-bottom:20px;
    font-size:15px;
    outline:none;
}

.contact-form button{
    width:100%;
    padding:15px;
    border:none;
    background:#2563eb;
    color:white;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
    transition:0.3s;
}

.contact-form button:hover{
    background:#1d4ed8;
}

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

footer{
    background:#111827;
    color:white;
    text-align:center;
    padding:30px;
}

.socials{
    margin-top:15px;
}

.socials i{
    margin:0 12px;
    font-size:22px;
    cursor:pointer;
    transition:0.3s;
}

.socials i:hover{
    color:#2563eb;
}

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

@media(max-width:992px){

    .intro,
    .intro1{
        flex-direction:column;
        text-align:center;
        padding:120px 30px;
    }

    .contact-grid{
        grid-template-columns:1fr;
    }

    .left h1{
        font-size:42px;
    }

    .cards{
        justify-content:center;
    }

    .hero-btns{
        justify-content:center;
    }

    .right img,
    .intro1-left img{
        width:100%;
        max-width:400px;
        height:auto;
    }
}

@media(max-width:768px){

    .header-wrapper{
        flex-direction:column;
        height:auto;
        padding:20px;
    }

    .nav-links ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
        margin-top:15px;
    }

    .projects,
    .skills-section,
    .contacts{
        padding:60px 20px;
    }

    .left h1{
        font-size:34px;
    }
}