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

body{
font-family:'Poppins', sans-serif;
background:#0f172a;
color:white;
}

/* HERO */
.hero{
padding:60px 20px;
}

.container{
display:flex;
align-items:center;
justify-content:center;
gap:50px;
max-width:1000px;
margin:auto;
}

.hero-left img{
width:250px;
border-radius:15px;
}

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

.hero-right p{
margin-top:10px;
color:#94a3b8;
}

.buttons{
margin-top:20px;
}

.btn, .btn-outline{
padding:10px 20px;
border-radius:8px;
text-decoration:none;
margin-right:10px;
}

.btn{
background:#3b82f6;
color:white;
}

.btn-outline{
border:1px solid white;
color:white;
}

/* PROJECT */
#projects{
padding:60px 20px;
text-align:center;
}

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

.project-card{
background:#1e293b;
padding:20px;
border-radius:10px;
cursor:pointer;
transition:0.3s;
}

.project-card:hover{
transform:scale(1.05);
background:#334155;
}

/* MODAL */
#modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.7);
justify-content:center;
align-items:center;
}

.modal-content{
background:#1e293b;
padding:30px;
border-radius:10px;
width:90%;
max-width:400px;
position:relative;
}

#close{
position:absolute;
top:10px;
right:15px;
cursor:pointer;
font-size:20px;
}

#modal-link{
display:inline-block;
margin-top:15px;
color:#3b82f6;
text-decoration:none;
}

/* MOBILE */
@media(max-width:768px){
.container{
flex-direction:column;
text-align:center;
}

.hero-right h1{
font-size:28px;
}

.hero-left img{
width:180px;
}
}