/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

body{
    background: #0f172a;
    color: #f8fafc;
    line-height: 1.6;
}

/* Header */
header{
    position: sticky;
    top: 0;
    width: 100%;
    background: #1e293b;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar{
    max-width: 1200px;
    margin: auto;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    font-size: 1.8rem;
    font-weight: 700;
    color: #38bdf8;
}

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

.nav-links a{
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

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

/* Hero Section */
.hero{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.hero-content{
    max-width: 800px;
}

.hero h1{
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero h1 span{
    color: #38bdf8;
}

.hero h2{
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.hero p{
    font-size: 1.1rem;
    margin-bottom: 35px;
}

/* Buttons */
.buttons{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

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

.btn-outline{
    background: transparent;
    border: 2px solid #38bdf8;
    color: #38bdf8;
}

.btn-outline:hover{
    background: #38bdf8;
    color: #0f172a;
}

/* Sections */
section{
    padding: 80px 20px;
}

.section-title{
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 40px;
    color: #38bdf8;
}

/* Cards */
.card{
    max-width: 900px;
    margin: auto;
    background: #1e293b;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

/* Skills */
.skills-container{
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.skill{
    background: #1e293b;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 500;
    transition: 0.3s;
}

.skill:hover{
    transform: scale(1.05);
    background: #38bdf8;
    color: #0f172a;
}

/* Projects */
.project-container{
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.project-card{
    background: #1e293b;
    padding: 25px;
    border-radius: 15px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

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

.project-card h3{
    color: #38bdf8;
    margin-bottom: 15px;
}

/* Education */
.card hr{
    margin: 20px 0;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Contact */
#contact p{
    margin: 15px 0;
    font-size: 1.05rem;
}

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

/* Footer */
footer{
    text-align: center;
    padding: 25px;
    background: #1e293b;
}

/* Responsive */
@media (max-width: 768px){

    .navbar{
        flex-direction: column;
        gap: 15px;
    }

    .nav-links{
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1{
        font-size: 2.5rem;
    }

    .hero h2{
        font-size: 1.4rem;
    }

    .section-title{
        font-size: 2rem;
    }
}