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

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#0f172a;
    color:white;
    line-height:1.7;
}

header{
    min-height:100vh;
    background:linear-gradient(135deg,#2563eb,#0f172a);
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 10%;
}

nav h2{
    color:#38bdf8;
}

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

nav a{
    text-decoration:none;
    color:white;
}

nav a:hover{
    color:#38bdf8;
}

.hero{
    text-align:center;
    padding:140px 20px;
}

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

.hero span{
    color:#38bdf8;
}

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

.btn{
    display:inline-block;
    padding:14px 30px;
    background:#38bdf8;
    color:#000;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
}

.btn:hover{
    background:white;
}

section{
    padding:80px 10%;
}

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

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.card,
.project{
    background:#1e293b;
    padding:30px;
    border-radius:12px;
    text-align:center;
    transition:.3s;
}

.card:hover,
.project:hover{
    transform:translateY(-8px);
    background:#334155;
}

#about p,
#contact{
    max-width:800px;
    margin:auto;
    text-align:center;
}

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

@media(max-width:768px){

nav{
    flex-direction:column;
    gap:20px;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
}

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

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

}
