*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#0d1117;
    color:#fff;
}

/* Header */

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#111827;
    z-index:1000;
    box-shadow:0 5px 20px rgba(0,0,0,.4);
}

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

.logo span{
    color:#facc15;
}

nav a{
    text-decoration:none;
    color:white;
    margin-left:30px;
    transition:.3s;
}

nav a:hover{
    color:#facc15;
}

/* Sections */

section{
    padding:100px 8%;
}

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
}

.hero h3{
    font-size:30px;
    color:#9ca3af;
}

.hero h1{
    font-size:65px;
    margin:10px 0;
}

.hero h2{
    color:#facc15;
    margin-bottom:20px;
}

.hero p{
    width:650px;
    line-height:1.8;
    color:#d1d5db;
}

.buttons{
    margin-top:35px;
}

.btn,
.btn2{
    display:inline-block;
    text-decoration:none;
    padding:13px 28px;
    border-radius:8px;
    margin-right:15px;
    transition:.3s;
}

.btn{
    background:#facc15;
    color:black;
    font-weight:600;
}

.btn:hover{
    transform:translateY(-4px);
}

.btn2{
    border:2px solid #facc15;
    color:#facc15;
}

.btn2:hover{
    background:#facc15;
    color:black;
}

.title{
    text-align:center;
    font-size:40px;
    margin-bottom:50px;
}

/* Cards */

.card{
    background:#161b22;
    padding:35px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.4);
}

.card p{
    line-height:1.8;
}


/* Skills */

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
}

.skill{
    background:#161b22;
    padding:25px;
    text-align:center;
    border-radius:12px;
    transition:.3s;
    border:1px solid transparent;
}

.skill:hover{
    border:1px solid #facc15;
    transform:translateY(-8px);
}

/* Projects */

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.project-card{
    background:#161b22;
    border-radius:15px;
    overflow:hidden;
    transition:.3s;
    box-shadow:0 5px 20px rgba(0,0,0,.3);
}

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

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

.project-card h3{
    padding:20px;
}

.project-card p{
    padding:0 20px 20px;
    color:#d1d5db;
}

.project-card a{
    display:inline-block;
    margin:0 20px 20px;
    color:#facc15;
    text-decoration:none;
    font-weight:600;
}

/* Certificates */

#certificates ul{
    padding-left:20px;
}

#certificates li{
    margin:15px 0;
}

#certificates a{
    color:#f2f1ef;
    text-decoration:none;
    font-weight:500;
    transition:0.3s;
}

#certificates a:hover{
    color:#FFC107;
    text-decoration:underline;
}

/* Contact */

#contact a{
    color:#facc15;
    text-decoration:none;
}

/* Footer */

footer{
    padding:30px;
    text-align:center;
    background:#111827;
    color:#9ca3af;
    margin-top:60px;
}

/* Responsive */

@media(max-width:900px){

header{
    flex-direction:column;
}

nav{
    margin-top:15px;
}

nav a{
    margin:10px;
}

.hero h1{
    font-size:45px;
}

.hero p{
    width:100%;
}

.title{
    font-size:30px;
}

}