*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f7fa;
    color:#333;
}

/* Navigation */

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 10%;
    background:#111827;
    position:sticky;
    top:0;
    z-index:100;
}

.logo{
    color:#fff;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:25px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

nav ul li a:hover{
    color:#00d9ff;
}

/* Hero */

.hero{
    height:90vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    background:linear-gradient(135deg,#4f46e5,#06b6d4);
    color:white;
    padding:20px;
}

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

.hero span{
    color:#ffe600;
}

.hero h3{
    margin-bottom:15px;
    font-size:28px;
}

.hero p{
    font-size:18px;
    margin-bottom:30px;
}

.btn{
    display:inline-block;
    padding:12px 30px;
    background:white;
    color:#333;
    text-decoration:none;
    border-radius:30px;
    font-weight:bold;
    transition:.3s;
}

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

/* Sections */

.section{
    padding:80px 10%;
    text-align:center;
}

.section h2{
    font-size:40px;
    margin-bottom:30px;
}

.section p{
    max-width:700px;
    margin:auto;
    line-height:1.8;
}

/* Skills */

.skills{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
    margin-top:40px;
}

.card{
    background:white;
    padding:30px;
    border-radius:10px;
    box-shadow:0 5px 20px rgba(0,0,0,.1);
    transition:.3s;
    font-weight:bold;
}

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

/* Projects */

.projects{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
    margin-top:40px;
}

.project{
    background:white;
    padding:30px;
    border-radius:10px;
    box-shadow:0 5px 20px rgba(0,0,0,.1);
    transition:.3s;
}

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

.project h3{
    margin-bottom:15px;
}

/* Contact */

#contact p{
    margin:15px 0;
    font-size:18px;
}

/* Footer */

footer{
    background:#111827;
    color:white;
    text-align:center;
    padding:25px;
    margin-top:40px;
}

/* Responsive */

@media(max-width:768px){

nav{
    flex-direction:column;
}

nav ul{
    margin-top:15px;
    flex-wrap:wrap;
    justify-content:center;
}

nav ul li{
    margin:10px;
}

.hero h1{
    font-size:40px;
}

.hero h3{
    font-size:22px;
}

.section h2{
    font-size:32px;
}

}
