
html{
    scroll-behavior: smooth;
}

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

body{
    background:#0f172a;
    color:white;
    font-family:Arial, Helvetica, sans-serif;
}

h1{
    font-size:48px;
    margin-bottom:10px;
}

h2{
    margin-bottom:20px;
}

p{
    margin-bottom:10px;
}

header{
    position:sticky;
    top:0;
    background:#0f172a;
}
section{
    padding:80px 10%;
    border-bottom:1px solid #1e293b;
}
section h2{
    text-align:center;
    margin-bottom:40px;
}
#hero h1{
    font-size:56px;
    letter-spacing:2px;
}

#hero{
    height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}
#hero a{
    margin-top:20px;
    padding:12px 25px;
    background:#48b7e7;
    color:black;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
}
nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 10%;
}
nav ul{
    display:flex;
    justify-content:center;
    gap:40px;
    list-style:none;
    padding:20px;
}

nav a{
    text-decoration:none;
    color:white;
    font-weight:bold;
    transition: 0.2s;
}
nav a:hover{
    color:#48b7e7;
}
#projects{
    display:grid;
    grid-template-columns: repeat(2,1fr);
    gap:20px;
}
#projects div{
    margin-bottom:20px;
    background:#1e293b;
    padding:20px;
    border-radius:10px;
    transition:0.3s;
}
#projects div:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 20px rgba(0,0,0,0.4);
}
.project-card{
    background:#1e293b;
    padding:20px;
    border-radius:12px;
    transition:0.3s;
}
.project-card:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 25px rgba(0,0,0,0.4);
}
.project-btn{
    display:inline-block;
    margin-top:10px;
    padding:10px 18px;
    background:#48b7e7;
    color:black;
    text-decoration:none;
    border-radius:6px;
    font-weight:bold;
}

.project-btn:hover{
    background:#0ea5e9;
}

.skills-container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.skill-box{
    background:#1e293b;
    padding:20px;
    border-radius:10px;
}

.skill-box h3{
    margin-bottom:10px;
}

.skill-box ul{
    list-style:none;
}
.skill-box li{
    display:flex;
    align-items:center;
    gap:10px;
    margin:8px 0;
}
.skill-box img{
    width:28px;
    height:28px;
}
#contact{
    text-align:center;
}

.contact-links{
    margin-top:20px;
}

.contact-btn{
    display:inline-block;
    margin:10px;
    padding:12px 20px;
    background:#48b7e7;
    color:black;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
}

.contact-btn:hover{
    background:#0ea5e9;
}

footer{
    text-align:center;
    padding:40px 20px;
    background:#020617;
}

.footer-icons{
    margin:15px 0;
}

.footer-icons img{
    width:30px;
    margin:0 10px;
}
.footer-icons img:hover{
    transform:scale(1.2);
    transition:0.2s;
}
@media (max-width:768px){
    #projects{
        grid-template-columns:1fr;  
    }
    .skills-container{
        grid-template-columns:1fr;
    }
    nav ul{
        flex-direction:column;
        gap:20px;
    }
}