/* Reset */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family: Arial, sans-serif;
line-height:1.6;
background-color:#f4f5f7;
color:#333;
}

header{
background:#1D3557;
color:white;
padding:20px 50px;

display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
}

.logo h1{
font-size:32px;
}

.logo p{
font-size:14px;
color:#C9A227;
}

nav ul{
display:flex;
list-style:none;
gap:25px;
}

nav a{
color:white;
text-decoration:none;
font-weight:bold;
}

nav a:hover{
color:#C9A227;
}

.hero{
text-align:center;
padding:100px 30px;
background:white;
}

.hero h2{
font-size:42px;
margin-bottom:20px;
color:#1D3557;
}

.hero p{
max-width:700px;
margin:auto;
margin-bottom:30px;
}

.hero a{
display:inline-block;
padding:12px 24px;
background:#1D3557;
color:white;
text-decoration:none;
border-radius:5px;
}

.hero a:hover{
background:#C9A227;
color:black;
}

.about{
padding:80px 50px;
background:#e9ecef;
}

.about h2{
margin-bottom:20px;
color:#1D3557;
}

footer{
background:#1D3557;
color:white;
text-align:center;
padding:20px;
}

/* Mobile */

@media(max-width:768px){

header{
flex-direction:column;
text-align:center;
}

nav ul{
flex-direction:column;
margin-top:20px;
}

.hero h2{
font-size:28px;
}

}   /* closes the media query */


.services{
padding:80px 50px;
background:white;
text-align:center;
}

.service-grid{
display:flex;
gap:25px;
justify-content:center;
flex-wrap:wrap;
margin-top:40px;
}

.service-card{
background:#f4f5f7;
padding:30px;
width:300px;
border-radius:10px;
box-shadow:0 2px 8px rgba(0,0,0,.1);
}

.service-card h3{
color:#1D3557;
margin-bottom:15px;
}

.hero-buttons{
margin-top:30px;
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
}

.stats{
display:flex;
justify-content:center;
gap:30px;
margin-top:60px;
flex-wrap:wrap;
}

.stat-box{
background:white;
padding:25px;
width:220px;
border-radius:10px;
box-shadow:0 2px 8px rgba(0,0,0,.1);
}

.stat-box h3{
color:#1D3557;
margin-bottom:10px;
font-size:28px;
}

.team{
padding:80px 50px;
background:#e9ecef;
text-align:center;
}

.team-grid{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:25px;
margin-top:40px;
}

.team-card{
background:white;
padding:30px;
width:250px;
border-radius:10px;
box-shadow:0 2px 8px rgba(0,0,0,.1);
}

.team-card h3{
color:#1D3557;
margin-bottom:15px;
}

.clients,
.contact{
padding:80px 50px;
text-align:center;
}

.client-grid{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:20px;
margin-top:40px;
}

.client-grid div{
background:white;
padding:30px 20px;
width:250px;
min-height:90px;

display:flex;
align-items:center;
justify-content:center;

font-weight:bold;

border-radius:10px;
box-shadow:0 2px 8px rgba(0,0,0,.1);
}

.contact{
padding:80px 50px;
text-align:center;
background:#f4f5f7;
color:#333;
}

.contact h2{
color:#1D3557;
margin-bottom:25px;
}

.contact p{
margin-bottom:15px;
}

.service-card:hover,
.team-card:hover,
.client-grid div:hover,
.stat-box:hover{

transform:translateY(-5px);

transition:.3s;

box-shadow:0 6px 16px rgba(0,0,0,.15);

}

.logo img{
width:70px;
margin-bottom:10px;
}

.service-card:hover,
.team-card:hover,
.client-grid div:hover,
.stat-box:hover{
transform:translateY(-5px);
transition:.3s;
box-shadow:0 6px 16px rgba(0,0,0,.15);
}