*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    background:#eef2f7;
    color:#333;
    line-height:1.6;
}

/* Navigation */
nav{
    background:#0f172a;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 60px;
    position:sticky;
    top:0;
    z-index:1000;
}

nav h2{
    font-size:28px;
    color:#38bdf8;
}

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

nav ul li{
    margin-left:25px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

nav ul li a:hover{
    color:#38bdf8;
}

/* Hero Section */
#home{
    text-align:center;
    padding:100px 20px;
    background:linear-gradient(135deg,#2563eb,#1e40af);
    color:white;
}

#home h1{
    font-size:50px;
    margin-bottom:10px;
}

#home h3{
    font-size:24px;
    margin-bottom:10px;
    font-weight:500;
}

#home p{
    font-size:18px;
}

/* Sections */
section{
    width:90%;
    max-width:1000px;
    margin:40px auto;
    background:white;
    padding:35px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}

h2{
    color:#2563eb;
    margin-bottom:20px;
    border-left:5px solid #2563eb;
    padding-left:10px;
}

h3{
    color:#111827;
    margin-top:15px;
}

p{
    margin:8px 0;
}

/* Education & Projects */
#education div,
#projects div{
    background:#f8fafc;
    border-left:5px solid #2563eb;
    padding:18px;
    margin:18px 0;
    border-radius:8px;
    transition:.3s;
}

#education div:hover,
#projects div:hover{
    transform:translateY(-5px);
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

/* Skills */
#skills ul,
#certifications ul{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    list-style:none;
}

#skills li,
#certifications li{
    background:#2563eb;
    color:white;
    padding:10px 18px;
    border-radius:25px;
    transition:.3s;
}

#skills li:hover,
#certifications li:hover{
    background:#1d4ed8;
    transform:scale(1.05);
}

/* Contact */
#contact p{
    margin:15px 0;
}

#contact a{
    color:#2563eb;
    text-decoration:none;
    font-weight:bold;
}

#contact a:hover{
    text-decoration:underline;
}

/* Footer */
.footer{
    background:#0f172a;
    color:white;
    padding:20px;
    margin-top:40px;
}

.footer__inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:90%;
    max-width:1000px;
    margin:auto;
}

/* Responsive */
@media(max-width:768px){

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

    nav ul{
        flex-direction:column;
        margin-top:15px;
        text-align:center;
    }

    nav ul li{
        margin:10px 0;
    }

    #home h1{
        font-size:36px;
    }

    .footer__inner{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }

    section{
        width:95%;
    }
}
/* Contact Form */

#contact form{
    margin-top:20px;
}

#contact input,
#contact textarea{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:16px;
    outline:none;
}

#contact input:focus,
#contact textarea:focus{
    border-color:#2563eb;
}

#contact textarea{
    resize:vertical;
}

#contact button{
    background:#2563eb;
    color:white;
    border:none;
    padding:12px 25px;
    font-size:16px;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s;
}

#contact button:hover{
    background:#1d4ed8;
}