/* ===========================
   GOOGLE FONT
=========================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f8fafc;
    color:#333;
    line-height:1.7;
}

/* ===========================
   NAVBAR
=========================== */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    z-index:999;
}

.navbar{
    width:90%;
    max-width:1200px;
    margin:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 0;
}

.logo{
    font-size:28px;
    font-weight:700;
}

.logo span{
    color:#2563eb;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:35px;
}

.nav-links a{
    text-decoration:none;
    color:#333;
    font-weight:500;
    transition:.3s;
}

.nav-links a:hover{
    color:#2563eb;
}

.menu-toggle{
    display:none;
    font-size:25px;
    cursor:pointer;
}

/* ===========================
   HERO
=========================== */

.hero{
    width:90%;
    max-width:1200px;
    margin:auto;

    min-height:100vh;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:60px;
}

.hero-text{
    flex:1;
}

.hello{
    color:#2563eb;
    font-weight:600;
    margin-bottom:10px;
}

.hero h1{
    font-size:58px;
    margin-bottom:10px;
}

.hero h2{
    color:#555;
    font-size:30px;
    margin-bottom:20px;
}

.description{
    max-width:520px;
    margin-bottom:35px;
}

.hero-btn{
    display:flex;
    gap:15px;
}

.btn,
.btn-outline{
    padding:14px 28px;
    border-radius:8px;
    text-decoration:none;
    transition:.3s;
    font-weight:600;
}

.btn{
    background:#2563eb;
    color:white;
}

.btn:hover{
    background:#1d4ed8;
}

.btn-outline{
    border:2px solid #2563eb;
    color:#2563eb;
}

.btn-outline:hover{
    background:#2563eb;
    color:white;
}

.hero-image{
    flex:1;
    text-align:center;
}

.hero-image img{
    width:340px;
    border-radius:50%;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

/* ===========================
   SECTION
=========================== */

section{
    padding:100px 0;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.section-title{
    text-align:center;
    font-size:36px;
    margin-bottom:50px;
    color:#2563eb;
}

/* ===========================
   ABOUT
=========================== */

.about{
    background:white;
}

.about p{
    max-width:800px;
    margin:auto;
    text-align:center;
    font-size:18px;
}

/* ===========================
   SKILLS
=========================== */

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:25px;
}

.skill-card{
    background:white;
    border-radius:12px;
    padding:35px;

    text-align:center;

    transition:.3s;
    box-shadow:0 5px 15px rgba(0,0,0,.06);
}

.skill-card:hover{
    transform:translateY(-8px);
}

.skill-card i{
    font-size:45px;
    color:#2563eb;
    margin-bottom:15px;
}

/* ===========================
   PROJECT
=========================== */

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.project-card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.project-card:hover{
    transform:translateY(-10px);
}

.project-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.project-content{
    padding:25px;
}

.project-content h3{
    margin-bottom:10px;
}

.project-content p{
    margin-bottom:20px;
}

.project-btn{
    display:inline-block;
    padding:10px 22px;
    background:#2563eb;
    color:white;
    text-decoration:none;
    border-radius:6px;
}

.project-btn:hover{
    background:#1d4ed8;
}

/* ===========================
   CONTACT
=========================== */

.contact{
    background:white;
}

.contact-info{
    text-align:center;
}

.contact-info p{
    margin:18px 0;
    font-size:18px;
}

.contact-info i{
    color:#2563eb;
    margin-right:10px;
}

/* ===========================
   FOOTER
=========================== */

footer{
    background:#1f2937;
    color:white;
    text-align:center;
    padding:25px;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:900px){

.hero{
    flex-direction:column-reverse;
    justify-content:center;
    text-align:center;
    padding-top:100px;
}

.hero-image img{
    width:260px;
}

.description{
    margin:auto;
    margin-bottom:30px;
}

.hero-btn{
    justify-content:center;
}

.nav-links{
    display:none;
}

.menu-toggle{
    display:block;
}

.hero h1{
    font-size:42px;
}

.hero h2{
    font-size:24px;
}

.section-title{
    font-size:30px;
}

}