*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:#050505;
color:white;
overflow-x:hidden;
}

/* BLOG SECTION */

.blog-section{
padding:100px 8%;
}

.container{
max-width:1400px;
margin:auto;
}

.blog-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:60px;
flex-wrap:wrap;
gap:20px;
}

.title-box span{
color:#ff2e2e;
font-weight:600;
letter-spacing:1px;
}

.title-box h2{
font-size:50px;
font-weight:800;
margin-top:10px;
line-height:1.2;
}

.filter-box select{
padding:15px 25px;
border:none;
outline:none;
font-size:16px;
font-weight:500;
color:#fff;
background:rgba(255,255,255,0.08);
backdrop-filter:blur(12px);
border:1px solid rgba(255,255,255,0.15);
border-radius:15px;
cursor:pointer;
}

.blog-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
gap:35px;
}

/* CARD */

.blog-card{
background:#111;
border-radius:25px;
overflow:hidden;
transition:.5s;
position:relative;
border:1px solid rgba(255,255,255,.08);
}

.blog-card:hover{
transform:translateY(-12px);
box-shadow:
0 15px 40px rgba(255,0,0,.25);
}

.blog-image{
height:250px;
position:relative;
overflow:hidden;
}

.blog-image img{
width:100%;
height:100%;
object-fit:cover;
transition:.7s;
}

.blog-card:hover img{
transform:scale(1.1);
}

.overlay{
position:absolute;
inset:0;
background:linear-gradient(
to top,
rgba(0,0,0,.7),
transparent
);
}

.blog-content{
padding:28px;
}

.category{
display:inline-block;
padding:8px 18px;
background:#ff2020;
color:white;
border-radius:50px;
font-size:13px;
font-weight:600;
margin-bottom:18px;
}

.blog-content h3{
font-size:28px;
font-weight:700;
margin-bottom:15px;
line-height:1.4;
}

.blog-content p{
color:#bdbdbd;
line-height:1.8;
margin-bottom:25px;
}

.blog-footer{
display:flex;
justify-content:space-between;
align-items:center;
border-top:1px solid rgba(255,255,255,.08);
padding-top:20px;
}

.blog-footer span{
font-size:14px;
color:#999;
}

.blog-footer a{
color:#ff2e2e;
font-weight:600;
text-decoration:none;
transition:.4s;
}

.blog-footer a:hover{
letter-spacing:1px;
}

/* RESPONSIVE */

@media(max-width:992px){

.title-box h2{
font-size:40px;
}

.blog-grid{
grid-template-columns:1fr 1fr;
}

}

@media(max-width:768px){

.blog-header{
flex-direction:column;
align-items:flex-start;
}

.title-box h2{
font-size:32px;
}

.blog-grid{
grid-template-columns:1fr;
}

.blog-content h3{
font-size:24px;
}

}

@media(max-width:480px){

.blog-section{
padding:80px 20px;
}

.title-box h2{
font-size:28px;
}

.blog-image{
height:220px;
}

}