*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
font-family:Arial,sans-serif;
}

body{
background:#0f172a;
color:white;
}

header{
position:fixed;
width:100%;
top:0;
background:#111827;
padding:20px 10%;
z-index:999;
}

nav{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
color:#38bdf8;
}

nav ul{
display:flex;
list-style:none;
}

nav li{
margin-left:25px;
}

nav a{
color:white;
text-decoration:none;
transition:.3s;
}

nav a:hover{
color:#38bdf8;
}

section{
padding:100px 10%;
}

.hero{
display:flex;
justify-content:space-between;
align-items:center;
min-height:100vh;
}

.hero-text{
width:50%;
}

.hero h1{
font-size:60px;
}

.hero span{
color:#38bdf8;
}

.hero h3{
margin:20px 0;
font-size:30px;
}

.hero p{
margin-bottom:25px;
line-height:1.8;
}

.btn{
background:#38bdf8;
padding:15px 35px;
color:white;
text-decoration:none;
border-radius:30px;
display:inline-block;
transition:.3s;
}

.btn:hover{
transform:translateY(-5px);
}

.hero-image img{
width:420px;
border-radius:50%;
border:8px solid #38bdf8;
box-shadow:0 0 50px rgba(56,189,248,.5);
}

.about-container{
display:flex;
align-items:center;
gap:50px;
}

.about-container img{
width:400px;
height:500px;
max-width:100%;
display:block;
object-fit:cover;
border-radius:15px;
}

.skills{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
margin-top:40px;
}

.card{
background:#1e293b;
padding:40px;
text-align:center;
border-radius:15px;
transition:.4s;
}

.card:hover{
transform:translateY(-10px);
background:#38bdf8;
}

.card i{
font-size:60px;
margin-bottom:20px;
}

.projects{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
margin-top:40px;
}

.project{
background:#1e293b;
border-radius:15px;
overflow:hidden;
transition:.4s;
}

.project:hover{
transform:scale(1.05);
}

.project img{
width:100%;
height:220px;
object-fit:cover;
}

.project h3{
padding:20px;
}

form{
display:flex;
flex-direction:column;
max-width:700px;
margin:auto;
}

input,textarea{
margin:15px 0;
padding:15px;
border:none;
border-radius:10px;
}

button{
padding:15px;
background:#38bdf8;
border:none;
color:white;
cursor:pointer;
font-size:18px;
border-radius:10px;
}

footer{
padding:30px;
text-align:center;
background:#111827;
margin-top:50px;
}

@media(max-width:900px){

.hero{
flex-direction:column-reverse;
text-align:center;
}

.hero-text{
width:100%;
}

.hero-image img{
width:280px;
margin-bottom:30px;
}

.about-container{
flex-direction:column;
}

}