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

body{
    font-family: 'Poppins', sans-serif;
    background: #0f172a;
    color: white;
    line-height: 1.6;
}

/* Navbar */

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: #111827;
    position: sticky;
    top: 0;
}

.logo{
    color: #38bdf8;
    font-size: 28px;
}

.nav-links{
    display: flex;
    list-style: none;
}

.nav-links li{
    margin-left: 25px;
}

.nav-links a{
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.nav-links a:hover{
    color: #38bdf8;
}

/* Hero Section */

.hero{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 8%;
    min-height: 90vh;
}

.hero-text{
    max-width: 600px;
}

.hero-text h1{
    font-size: 55px;
    margin-bottom: 10px;
}

.hero-text span{
    color: #38bdf8;
}

.hero-text h3{
    font-size: 28px;
    margin-bottom: 15px;
    color: #cbd5e1;
}

.hero-text p{
    margin-bottom: 25px;
    color: #94a3b8;
}

.btn{
    display: inline-block;
    padding: 12px 28px;
    background: #38bdf8;
    color: black;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover{
    transform: scale(1.05);
}

.hero-image img{
    width: 320px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(56,189,248,0.5);
    transition: 0.3s;
}

.hero-image img:hover{
    transform: scale(1.03);
}

/* Sections */

section{
    padding: 70px 8%;
}

section h2{
    text-align: center;
    margin-bottom: 40px;
    font-size: 38px;
    color: #38bdf8;
}

/* About */

.about p{
    max-width: 800px;
    margin: auto;
    text-align: center;
    color: #cbd5e1;
}

/* Skills */

.skill-box{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.card{
    background: #1e293b;
    padding: 20px 35px;
    border-radius: 12px;
    transition: 0.3s;
}

.card:hover{
    transform: translateY(-8px);
    background: #38bdf8;
    color: black;
}

/* Projects */

.project-card{
    background: #1e293b;
    padding: 30px;
    border-radius: 15px;
    max-width: 700px;
    margin: auto;
    text-align: center;
}

.project-card p{
    margin: 15px 0;
    color: #cbd5e1;
}

.project-card a{
    text-decoration: none;
    color: #38bdf8;
    font-weight: 600;
}

/* Contact */

.contact{
    text-align: center;
}

.contact p{
    margin: 15px 0;
    color: #cbd5e1;
}

/* Footer */

footer{
    text-align: center;
    padding: 20px;
    background: #111827;
    color: #94a3b8;
}

/* Responsive */

@media(max-width: 900px){

    .hero{
        flex-direction: column;
        text-align: center;
    }

    .hero-image img{
        margin-top: 40px;
        width: 250px;
    }

    .nav-links{
        display: none;
    }

    .hero-text h1{
        font-size: 40px;
    }
}
.contact a{
    color: #cbd5e1;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.contact a:hover{
    color: #38bdf8;
}

.contact p{
    margin: 20px 0;
    font-size: 18px;
}

.contact i{
    margin-right: 10px;
    color: #38bdf8;
}