@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;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:linear-gradient(135deg,#0f172a,#1e293b,#0f172a);
    color:#f8fafc;
    line-height:1.7;
}

/* Container */
.container{
    width:90%;
    max-width:1100px;
    margin:auto;
}

/* Header */
header{
    background:rgba(15,23,42,0.95);
    backdrop-filter:blur(10px);
    text-align:center;
    padding:35px 0;
    border-bottom:2px solid #3b82f6;
    box-shadow:0 4px 20px rgba(0,0,0,0.4);
}

header h1{
    font-size:3rem;
    color:#60a5fa;
    margin-bottom:10px;
}

.tagline{
    color:#cbd5e1;
    font-size:1.1rem;
}

nav{
    margin-top:20px;
}

nav a{
    text-decoration:none;
    color:white;
    margin:0 15px;
    font-weight:600;
    transition:0.3s;
}

nav a:hover{
    color:#60a5fa;
}

/* Hero Section */
#hero{
    text-align:center;
    padding:90px 20px;
}

#hero h2{
    font-size:3rem;
    margin-bottom:15px;
    color:#ffffff;
}

#hero p{
    max-width:700px;
    margin:auto;
    color:#cbd5e1;
    font-size:1.1rem;
}

.btn{
    display:inline-block;
    margin-top:25px;
    padding:14px 30px;
    background:linear-gradient(45deg,#2563eb,#38bdf8);
    color:white;
    text-decoration:none;
    border-radius:30px;
    font-weight:600;
    transition:0.3s;
}

.btn:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 25px rgba(59,130,246,0.5);
}

/* Cards */
.card{
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(12px);
    border:1px solid rgba(255,255,255,0.1);
    margin:30px auto;
    padding:30px;
    border-radius:20px;
    box-shadow:0 8px 30px rgba(0,0,0,0.3);
    transition:0.3s;
}

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

.card h2{
    color:#60a5fa;
    margin-bottom:15px;
    border-left:5px solid #38bdf8;
    padding-left:12px;
}

/* Skills */
.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:15px;
}

.skill{
    background:linear-gradient(135deg,#2563eb,#38bdf8);
    color:white;
    padding:15px;
    text-align:center;
    border-radius:12px;
    font-weight:600;
    transition:0.3s;
}

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

/* Projects */
.project{
    background:rgba(255,255,255,0.05);
    padding:20px;
    border-radius:15px;
    margin-bottom:20px;
    border-left:4px solid #38bdf8;
}

.project h3{
    color:#93c5fd;
    margin-bottom:8px;
}

/* Links */
a{
    color:#60a5fa;
}

a:hover{
    color:#38bdf8;
}

/* Contact */
#contact p{
    margin:10px 0;
}

/* Footer */
footer{
    text-align:center;
    padding:25px;
    margin-top:40px;
    background:#020617;
    border-top:1px solid #1e40af;
}

footer p{
    color:#94a3b8;
}

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

    header h1{
        font-size:2.2rem;
    }

    #hero h2{
        font-size:2rem;
    }

    nav a{
        display:inline-block;
        margin:8px;
    }

    .card{
        padding:20px;
    }
}
