*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Poppins,sans-serif;
scroll-behavior:smooth;
}

body{
background:#fff;
color:#222;
line-height:1.6;
}

header{
background:#0f172a;
color:white;
padding:18px 0;
position:sticky;
top:0;
z-index:1000;
}

.container{
width:90%;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
color:#f59e0b;
}

nav a{
color:white;
margin-left:20px;
text-decoration:none;
font-weight:500;
}

.hero{

height:90vh;

background:url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80");

background-size:cover;

background-position:center;

}

.overlay{

background:rgba(0,0,0,.6);

height:100%;

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

text-align:center;

color:white;

padding:20px;

}

.overlay h1{
font-size:52px;
}

.overlay p{
margin:20px 0;
font-size:20px;
}

.btn{
background:#f59e0b;
color:white;
padding:14px 30px;
text-decoration:none;
border-radius:5px;
}

.section{
padding:70px 10%;
}

.gray{
background:#f4f4f4;
}

.section h2{
text-align:center;
margin-bottom:35px;
color:#0f172a;
}

.cards{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:25px;

}

.card{

background:white;

padding:25px;

border-radius:10px;

box-shadow:0 4px 15px rgba(0,0,0,.1);

transition:.3s;

}

.card:hover{

transform:translateY(-8px);

}

footer{

background:#0f172a;

color:white;

text-align:center;

padding:20px;

}

@media(max-width:768px){

.container{

flex-direction:column;

}

nav{

margin-top:15px;

}

nav a{

display:block;

margin:10px 0;

}

.overlay h1{

font-size:34px;

}

.overlay p{

font-size:17px;

}

}