.blog-hero {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 100px 20px;
    text-align: center;
    color: #fff;
}

.blog-hero h1 {
    font-size: 40px;
}

.blog-filter {
    text-align: center;
    margin: 50px 0;
}

.filter-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 25px;
    background: #e2e8f0;
    margin: 5px;
    text-decoration: none;
    color: #1f2937;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #0088cc, #3b82f6);
    color: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 100px;
}

.blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: 0.4s;
}

.blog-card:hover {
    transform: translateY(-8px);
}

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

.blog-card-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background: #eef2ff;
    color: #4338ca;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.read-btn {
    display: inline-block;
    margin-top: 10px;
    color: #3b82f6;
    text-decoration: none;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
