/* ===========================
   Professional Portfolio Style
   =========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#f4f7fb;
    color:#333;
    line-height:1.6;
}

/* Header */

header{
    position:sticky;
    top:0;
    width:100%;
    background:#0f172a;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 60px;
    z-index:1000;
    box-shadow:0 4px 10px rgba(0,0,0,.15);
}

header h1{
    color:#fff;
    font-size:30px;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:25px;
}

nav ul li a{
    text-decoration:none;
    color:#fff;
    font-weight:600;
    transition:.3s;
}

nav ul li a:hover{
    color:#38bdf8;
}

/* Home */

#home{
    min-height:90vh;
    background:linear-gradient(135deg,#2563eb,#0ea5e9);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    padding:50px;
}

#home h2{
    font-size:50px;
    margin-bottom:20px;
}

#home p{
    max-width:700px;
    font-size:20px;
}

.btn{
    display:inline-block;
    margin-top:30px;
    background:white;
    color:#2563eb;
    padding:15px 35px;
    text-decoration:none;
    border-radius:40px;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    background:#0f172a;
    color:white;
}

/* Sections */

section{
    padding:80px 10%;
}

section h2{
    text-align:center;
    font-size:36px;
    color:#0f172a;
    margin-bottom:40px;
}

/* About */

#about{
    text-align:center;
}

#about img{
    width:220px;
    height:220px;
    object-fit:cover;
    border-radius:50%;
    border:6px solid #2563eb;
    margin-bottom:25px;
    box-shadow:0 10px 20px rgba(0,0,0,.15);
}

#about p{
    max-width:800px;
    margin:auto;
    font-size:18px;
}

#about ul{
    margin-top:25px;
    list-style:none;
}

#about li{
    margin:8px;
}

/* Skills */

#skills{
    background:#eef5ff;
}

#skills ul{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    list-style:none;
}

#skills li{
    margin:10px;
    background:#2563eb;
    color:white;
    padding:12px 25px;
    border-radius:30px;
    transition:.3s;
}

#skills li:hover{
    background:#0f172a;
    transform:translateY(-4px);
}

/* Projects */

#projects{
    text-align:center;
}

.project{
    display:inline-block;
    width:320px;
    background:white;
    margin:20px;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
    transition:.3s;
}

.project:hover{
    transform:translateY(-8px);
}

.project img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.project h3{
    padding:15px;
    color:#0f172a;
}

.project p{
    padding:0 20px 20px;
}

/* Certificates */

#certificates{
    background:#eef5ff;
}

#certificates ul{
    list-style:none;
    max-width:700px;
    margin:auto;
}

#certificates li{
    background:white;
    margin:15px 0;
    padding:18px;
    border-left:5px solid #2563eb;
    box-shadow:0 5px 12px rgba(0,0,0,.12);
}

/* Contact */

#contact{
    text-align:center;
}

#contact p{
    font-size:18px;
    margin:15px;
}

/* Footer */

footer{
    background:#0f172a;
    color:white;
    text-align:center;
    padding:20px;
}

/* Active navigation */

nav a.active{
    color:#38bdf8;
}

/* Responsive */

@media(max-width:768px){

header{
    flex-direction:column;
    padding:20px;
}

nav ul{
    flex-direction:column;
    text-align:center;
    margin-top:15px;
}

nav ul li{
    margin:10px 0;
}

#home h2{
    font-size:36px;
}

#home p{
    font-size:17px;
}

.project{
    width:95%;
}

#about img{
    width:170px;
    height:170px;
}

section{
    padding:60px 20px;
}

}