*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}
html{
    scroll-behavior:smooth;
}
body{
    background:#0f172a;
    color:white;
    line-height:1.6;
    transition:.4s;
}
img{
    max-width:100%;
    display:block;
}
a{
    text-decoration:none;
    color:white;
}
ul{
    list-style:none;
}

/* Navigation */
header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;
    background:rgba(15,23,42,.95);
    backdrop-filter:blur(10px);
}
.navbar{
    width:90%;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}
.logo{
    color:#38bdf8;
    font-size:30px;
    font-weight:700;
}
.nav-links{
    display:flex;
    gap:30px;
}
.nav-links a{
    transition:.3s;
    font-weight:500;
}
.nav-links a:hover{
    color:#38bdf8;
}
.nav-buttons{
    display:flex;
    gap:10px;
    align-items:center;
}
/* MEEEEE */
.me{
    min-height:100vh;
    width:90%;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
}
.me-text{
    flex:1 ;
}
.me-text h3{
    color:#38bdf8;
    margin-bottom:10px;
}
.me-text h1{
    font-size:60px;
}
.me-text h2{
    color:#60a5fa;
    height:40px;
    margin:15px 0;
}
.me-text p{
    margin-bottom:30px;
    max-width:600px;
}
.btn{
    background:#38bdf8;
    padding:15px 28px;
    border-radius:30px;
    transition:.3s;
    display:inline-block;
}
.btn:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 20px rgba(56,189,248,.35);
}
.me-image{
    flex:1;
    display:flex;
    justify-content:center;
}
.me-image img{
    width:360px;
    height:360px;
    border-radius:50%;
    object-fit:cover;
    border:6px solid #38bdf8;
    box-shadow:0 0 40px rgba(56,189,248,.35);
}

/* Sections */
section{
    width:90%;
    margin:auto;
    padding:100px 0;
}
.section-title{
    text-align:center;
    font-size:40px;
    margin-bottom:60px;
    color:#38bdf8;
}

/* About */
.about-container{
    display:flex;
    align-items:center;
    gap:60px;
}
.about-image img{
    width:300px;
    border-radius:20px;
}
.about-text{
    flex:1;
}
.about-text h3{
    margin-bottom:20px;
}
.about-text p{
    margin-bottom:15px;
}
.info{
    margin-top:25px;
}
.info p{
    margin-bottom:10px;
}

/* Skills and Featured Projects */
.skills-projects-container{
    display:grid;
    grid-template-columns:0.8fr 1.5fr;
    gap:40px;
    align-items:start;
}
.skills-column,
.projects-column{
    background:#1e293b;
    padding:30px;
    border-radius:20px;
    box-shadow:0 5px 15px rgba(0,0,0,.25);
}
.column-title{
    color:#38bdf8;
    font-size:26px;
    margin-bottom:30px;
    text-align:center;
}

/* Background */
.background{
    position:fixed;
    inset:0;
    overflow:hidden;
    z-index:-1;
    background:#0f172a;
}
.background span{
    position:absolute;
    display:block;
    width:8px;
    height:8px;
    background:#38bdf8;
    border-radius:50%;
    box-shadow:0 0 15px #38bdf8;
    animation:float 18s linear infinite;
}
.background span:nth-child(1){
    left:10%;
    animation-duration:16s;
}
.background span:nth-child(2){
    left:30%;
    animation-duration:22s;
}
.background span:nth-child(3){
    left:50%;
    animation-duration:20s;
}
.background span:nth-child(4){
    left:70%;
    animation-duration:24s;
}
.background span:nth-child(5){
    left:85%;
    animation-duration:18s;
}
.background span:nth-child(6){
    left:95%;
    animation-duration:21s;
}
@keyframes float{
    from{
        transform:translateY(110vh);
        opacity:0;
    }
    20%{
        opacity:.8;
    }
    to{
        transform:translateY(-10vh);
        opacity:0;
    }
}

/* Skills */
.skill{
    margin-bottom:25px;
}

.skill:last-child{
    margin-bottom:0;
}

.skill-heading{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.skill-heading h4{
    font-size:17px;
}

.skill-heading span{
    color:#94a3b8;
    font-size:14px;
}

.bar{
    width:100%;
    height:16px;
    background:#334155;
    border-radius:20px;
    overflow:hidden;
}

.bar div{
    height:100%;
    border-radius:20px;
    background:#38bdf8;
    animation:grow 2s ease;
}
.html{
    width:30%;
}
.css{
    width:35%;
}
.js{
    width:20%;
}
.python{
    width:27%;
}
.networking{
    width:45%;
}
@keyframes grow{
    from{
        width:0;
    }
}

/* Projects */
.project-container{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:25px;
}
.project-card{
    background:#0f172a;
    border-radius:15px;
    overflow:hidden;
    transition:.3s;
    box-shadow:0 5px 15px rgba(0,0,0,.25);
}
.project-card:hover{
    transform:translateY(-8px);
}
.project-card img{
    width:100%;
    height:180px;
    object-fit:cover;
}
.project-content{
    padding:20px;
}
.project-card h3{
    margin:0 0 12px;
}
.project-card p{
    margin:0 0 20px;
    color:#cbd5e1;
}
.project-btn{
    display:inline-block;
    padding:11px 20px;
    margin:0;
    background:#38bdf8;
    color:white;
    border:none;
    border-radius:8px;
    transition:.3s;
    font-family:inherit;
    font-weight:500;
    cursor:pointer;
}
.project-btn:hover{
    background:#0ea5e9;
    transform:translateY(-3px);
}

/* Projects */
.project-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}
.project-card{
    background:#1e293b;
    border-radius:20px;
    overflow:hidden;
    transition:.3s;
    box-shadow:0 5px 15px rgba(0,0,0,.25);
}
.project-card:hover{
    transform:translateY(-10px);
}
.project-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}
.project-card h3{
    margin:20px;
}
.project-card p{
    margin:0 20px 20px;
}
.project-btn{
    display:inline-block;
    margin:20px;
    padding:12px 22px;
    background:#38bdf8;
    color:white;
    border-radius:8px;
    transition:.3s;
    font-weight:500;
}
.project-btn:hover{
    background:#0ea5e9;
    transform:translateY(-3px);
}

/* Contact */
.contact-container{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
}
.contact-card{
    background:#1e293b;
    width:280px;
    padding:30px;
    text-align:center;
    border-radius:20px;
    transition:.3s;
    box-shadow:0 5px 15px rgba(0,0,0,.3);
}
.contact-card:hover{
    transform:translateY(-8px);
}
.contact-card i{
    font-size:45px;
    color:#38bdf8;
    margin-bottom:20px;
}
.contact-card h3{
    margin-bottom:10px;
}
.contact-card p{
    color:#cbd5e1;
    word-break:break-word;
}
.contact-icon{
    display:inline-block;
    color:#38bdf8;
    margin-bottom:15px;
    transition:.3s;
}
.contact-icon i{
    font-size:45px;
}
.contact-icon:hover{
    transform:scale(1.15);
}
.contact-link{
    display:inline-block;
    color:#38bdf8;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}
.contact-link:hover{
    color:#60a5fa;
    text-decoration:underline;
}

/* Footer */
footer{
    padding:40px;
    text-align:center;
    background:#020617;
}
.social-icons{
    margin-bottom:20px;
}
.social-icons a{
    font-size:24px;
    margin:0 10px;
    transition:.3s;
}
.social-icons a:hover{
    color:#bfd7e2;
}

/*Responsive*/
@media(max-width:900px){
    .me{
        flex-direction:column-reverse;
        text-align:center;
        padding-top:120px;
    }
    .about-container{
        flex-direction:column;
        text-align:center;
    }
    .nav-links{
        position:absolute;
        top:75px;
        right:0;
        width:220px;
        background:#1e293b;
        flex-direction:column;
        padding:25px;
        display:none;
    }
    .nav-links.active{
        display:flex;
    }
    .me-image img{
        width:260px;
        height:260px;
    }
    .me-text h1{
        font-size:35px;
    }
    .section-title{
        font-size:30px;
    }
    .skills-projects-container{
        grid-template-columns:1fr;
    }
    .project-container{
        grid-template-columns:1fr;
    }
}