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

body{
font-family:Inter;
background:black;
color:white;
overflow-x:hidden;
}

/* NAVBAR */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 8%;
position:fixed;
width:100%;
background:rgba(0,0,0,0.6);
backdrop-filter:blur(8px);
z-index:1000;
}

.logo{
font-family:Orbitron;
color:#00bfff;
font-size:22px;
}

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

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

.nav-links a:hover{
color:#00bfff;
}

/* HERO */

.hero{
height:100vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
background:linear-gradient(135deg,#000000,#001a33,#000000);
background-size:400% 400%;
animation:bgMove 10s infinite alternate;
}

@keyframes bgMove{
0%{background-position:left;}
100%{background-position:right;}
}

.hero-content h1{
font-family:Orbitron;
font-size:60px;
margin-bottom:20px;
}

.glow{
text-shadow:0 0 20px #00bfff;
}

.cta{
display:inline-block;
margin-top:20px;
padding:12px 30px;
border:2px solid #00bfff;
color:#00bfff;
text-decoration:none;
transition:.3s;
}

.cta:hover{
background:#00bfff;
color:black;
}

/* SECTIONS */

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

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

/* ABOUT */

.about-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
align-items:center;
}

.about-grid img{
width:100%;
border-radius:10px;
}

/* PROJECTS */

.project-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.card{
background:#111;
padding:20px;
border-radius:10px;
transition:.4s;
}

.card img{
width:100%;
border-radius:8px;
margin-bottom:15px;
}

.card:hover{
transform:translateY(-10px);
box-shadow:0 0 20px #00bfff55;
}

/* CONTACT */

.contact-form{
display:flex;
flex-direction:column;
gap:15px;
max-width:400px;
margin:auto;
}

.contact-form input,
.contact-form textarea{
padding:12px;
border:none;
background:#111;
color:white;
}

.contact-form button{
padding:12px;
border:none;
background:#00bfff;
color:black;
cursor:pointer;
}

/* FOOTER */

footer{
text-align:center;
padding:20px;
background:#050505;
}

/* MOBILE */

.menu-toggle{
display:none;
flex-direction:column;
cursor:pointer;
}

.menu-toggle span{
height:3px;
width:25px;
background:white;
margin:4px 0;
}

@media(max-width:768px){

.nav-links{
position:absolute;
top:70px;
right:-100%;
background:black;
flex-direction:column;
width:200px;
padding:20px;
transition:.4s;
}

.nav-links.active{
right:0;
}

.menu-toggle{
display:flex;
}

.about-grid{
grid-template-columns:1fr;
}

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

}