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

body{
font-family:'Poppins',sans-serif;
background:#f4f6f9;
color:#333;
}

/* HEADER */
header{
background:#0a1f3c;
color:#fff;
position:sticky;
top:0;
z-index:1000;
}

.container{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 30px;
}

.logo{
display:flex;
align-items:center;
gap:10px;
}

.logo img{
width:45px;
}

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

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

nav ul li a{
color:#fff;
text-decoration:none;
}

.menu-toggle{
display:none;
font-size:26px;
cursor:pointer;
}

/* HERO */
.hero{
height:80vh;
background-size:cover;
background-position:center;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
color:white;
}

.hero-text{
background:rgba(0,0,0,0.6);
padding:30px;
border-radius:10px;
}

.btn{
background:#ffb400;
padding:12px 25px;
display:inline-block;
margin-top:15px;
color:black;
text-decoration:none;
}

/* SECTIONS */
.services, .projects{
padding:60px 20px;
text-align:center;
}

.service-grid, .project-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin-top:20px;
}

.card{
background:white;
padding:15px;
border-radius:10px;
box-shadow:0 5px 10px rgba(0,0,0,0.1);
}

.card img{
width:100%;
height:200px;
object-fit:cover;
}

/* FOOTER */
footer{
background:#0a1f3c;
color:white;
text-align:center;
padding:15px;
}

/* LOADER (SAFE) */


@keyframes fadeOut{
to{
opacity:0;
visibility:hidden;
}
}



@keyframes spin{
100%{transform:rotate(360deg);}
}

/* MOBILE */
@media(max-width:768px){

.service-grid, .project-grid{
grid-template-columns:1fr;
}

nav ul{
display:none;
flex-direction:column;
background:#0a1f3c;
position:absolute;
right:0;
top:60px;
width:200px;
}

nav ul.show{
display:flex;
}

.menu-toggle{
display:block;
}

}

