*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Poppins,sans-serif;
}

body{
background:#f5f7fb;
}

header{

background:#1f2937;
color:white;
padding:18px 50px;

}

nav{

display:flex;
justify-content:space-between;
align-items:center;

}

.logo{

font-size:22px;
font-weight:700;

}

nav ul{

display:flex;
gap:35px;
list-style:none;

}

nav a{

color:white;
text-decoration:none;
transition:.3s;

}

nav a:hover{

color:#49a6ff;

}

.hero{

text-align:center;
padding:70px 20px 50px;

}

.hero h1{

font-size:48px;
color:#243b53;
margin-bottom:15px;

}

.hero p{

color:#666;
line-height:1.8;

}

.blog-section{

display:flex;
align-items:center;
justify-content:center;
padding:20px 50px 80px;

}

.blog-container{

display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
overflow:hidden;

}

.card{

background:white;
border-radius:15px;
overflow:hidden;
box-shadow:0 15px 35px rgba(0,0,0,.08);
transition:.4s;

}

.card:hover{

transform:translateY(-10px);

}

.card img{

width:100%;
height:220px;
object-fit:cover;

}

.content{

padding:22px;

}

.content span{

font-size:14px;
color:#888;

}

.content h3{

margin:15px 0;
font-size:22px;
color:#243b53;

}

.content p{

color:#666;
line-height:1.7;
margin-bottom:18px;

}

.content a{

text-decoration:none;
font-weight:bold;
color:#0077ff;

}

.arrow{

width:55px;
height:55px;
border:none;
background:white;
font-size:22px;
border-radius:50%;
cursor:pointer;
box-shadow:0 5px 15px rgba(0,0,0,.15);

}

.arrow:hover{

background:#0077ff;
color:white;

}

footer{

background:#23395d;
padding:30px;

}

.footer{

display:flex;
justify-content:center;
gap:40px;

}

.footer a{

color:white;
text-decoration:none;

}

@media(max-width:1100px){

.blog-container{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:700px){

nav{

flex-direction:column;
gap:20px;

}

nav ul{

flex-wrap:wrap;
justify-content:center;

}

.blog-container{

grid-template-columns:1fr;

}

.hero h1{

font-size:38px;

}

}