

/* ================= BLOG BANNER ================= */
.blog-banner{
     background:var(--gradient-primary);
    padding:120px 0;
    color:var(--white);
}

.section-tag{
    display:inline-block;
    padding:10px 22px;
    border-radius:50px;
    background:rgba(255,255,255,.15);
    margin-bottom:20px;
    font-weight:600;
}

.blog-banner h1{
    font-size:54px;
    font-weight:700;
    margin-bottom:20px;
}

.blog-banner p{
    max-width:900px;
    margin:auto;
    line-height:1.9;
}

/* ================= BLOG HOME ================= */
.blog-home{
    padding:100px 0;
    background:var(--light);
}

/* SEARCH */
.search-box{
    max-width:850px;
    margin:0 auto 70px;
}

.search-box .form-control{
    height:60px;
    border-radius:50px 0 0 50px;
    border:none;
    box-shadow:var(--shadow);
}

.search-btn{
    background:var(--primary);
    color:#fff;
    border-radius:0 50px 50px 0;
    padding:0 30px;
}

.search-btn:hover{
    background:var(--primary-dark);
}

/* SECTION HEADING */
.section-heading{
    margin-bottom:40px;
}

.section-heading h2{
    color:var(--primary-dark);
    font-weight:700;
}

.section-heading p{
    color:#666;
}

/* CATEGORY FILTERS */
.category-filters{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
    margin-bottom:80px;
}

.filter-btn{
    padding:12px 22px;
    background:#fff;
    border-radius:50px;
    text-decoration:none;
    color:var(--primary);
    box-shadow:var(--shadow);
    transition:.3s;
    font-weight:600;
}

.filter-btn:hover,
.filter-btn.active{
    background:var(--primary);
    color:#fff;
}

/* BLOG CARD */
.blog-card{
    background:#fff;
    border-radius:20px;
    padding:35px;
    box-shadow:var(--shadow);
    height:100%;
    transition:.4s;
}

.blog-card:hover{
    transform:translateY(-8px);
}

.blog-icon{
    width:70px;
    height:70px;
    background:rgba(10,77,156,.08);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:20px;
}

.blog-icon i{
    font-size:32px;
    color:var(--primary);
}

.blog-category{
    color:var(--secondary);
    font-size:14px;
    font-weight:600;
}

.blog-card h3{
    font-size:22px;
    margin:15px 0;
    color:var(--primary-dark);
}

.blog-card p{
    color:#666;
    line-height:1.8;
}

.blog-card a{
    color:var(--primary);
    text-decoration:none;
    font-weight:600;
}

/* LATEST POSTS */
.latest-posts{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:var(--shadow);
    margin-bottom:80px;
}

.post-item{
    padding:18px 0;
    border-bottom:1px solid var(--border);
    color:#555;
}

.post-item:last-child{
    border-bottom:none;
}

.post-item i{
    color:var(--primary);
    margin-right:10px;
}

/* CTA */
.blog-cta{
     background:var(--gradient-primary);
    padding:70px 40px;
    border-radius:25px;
    text-align:center;
    color:#fff;
}

.blog-cta h2{
    font-weight:700;
    margin-bottom:20px;
}

.blog-cta p{
    max-width:700px;
    margin:auto;
    margin-bottom:30px;
    line-height:1.8;
}

.cta-btn{
    display:inline-block;
    padding:14px 35px;
    background:#fff;
    color:var(--primary);
    text-decoration:none;
    border-radius:50px;
    font-weight:600;
}

.cta-btn:hover{
    background:var(--secondary);
    color:#fff;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){

    .blog-banner{
        padding:80px 0;
    }

    .blog-banner h1{
        font-size:34px;
    }

    .blog-home{
        padding:70px 0;
    }

    .blog-card{
        padding:25px;
    }

    .latest-posts{
        padding:25px;
    }

    .blog-cta{
        padding:50px 25px;
    }

}