/*==================================
        COEB BLOG SECTION
==================================*/

.coeb-blog-section{
    padding:90px 0;
    background:#f7f9fc;
    overflow:hidden;
}

.coeb-blog-section .container{
    width:min(1320px,92%);
    margin:auto;
}

/*=========================
      Section Heading
=========================*/

.section-heading{
    text-align:center;
    margin-bottom:60px;
}

.sub-title{
    display:inline-block;
    padding:8px 18px;
    background:#eaf2ff;
    color:#134580;
    font-size:14px;
    font-weight:600;
    border-radius:30px;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:18px;
}

.section-heading h2{
    font-size:42px;
    color:#134580;
    font-weight:700;
    margin-bottom:18px;
    line-height:1.2;
}

.section-heading p{
    max-width:700px;
    margin:auto;
    color:#666;
    font-size:17px;
    line-height:1.8;
}

/*=========================
        Blog Grid
=========================*/

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

/*=========================
        Blog Card
=========================*/

.blog-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    transition:.45s;
    display:flex;
    flex-direction:column;
    position:relative;
}

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

/*=========================
       Blog Image
=========================*/

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

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

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

/*=========================
      Category Badge
=========================*/

.category{
    position:absolute;
    left:18px;
    top:18px;
    background:#FF510E;
    color:#fff;
    padding:8px 16px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.5px;
}

/*=========================
      Blog Content
=========================*/

.blog-content{
    padding:28px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.blog-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:18px;
    color:#777;
    font-size:14px;
}

.blog-meta span{
    display:flex;
    align-items:center;
    gap:6px;
}

.blog-meta i{
    color:#FF510E;
}

.blog-content h3{
    margin-bottom:15px;
    line-height:1.45;
}

.blog-content h3 a{
    text-decoration:none;
    color:#134580;
    font-size:24px;
    font-weight:700;
    transition:.35s;
}

.blog-card:hover h3 a{
    color:#FF510E;
}

.blog-content p{
    color:#666;
    font-size:16px;
    line-height:1.8;
    margin-bottom:28px;
}

/*=========================
      Read More Button
=========================*/

.read-more{
    margin-top:auto;
    display:inline-flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:#134580;
    font-weight:600;
    transition:.35s;
}

.read-more i{
    transition:.35s;
}

.blog-card:hover .read-more{
    color:#FF510E;
}

.blog-card:hover .read-more i{
    transform:translateX(8px);
}

/*=========================
      Pagination
=========================*/

.blog-pagination{
    margin-top:70px;
    display:flex;
    justify-content:center;
    gap:15px;
}

.page-btn{
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:#134580;
    font-size:17px;
    font-weight:600;
    cursor:pointer;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.35s;
}

.page-btn:hover{
    background:#FF510E;
    color:#fff;
}

.page-btn.active{
    background:#134580;
    color:#fff;
}

/*=========================
      Hide Pages
=========================*/

.hidden{
    display:none;
}

/*=========================
      Animation
=========================*/

.blog-card{
    opacity:0;
    transform:translateY(40px);
    animation:fadeUp .8s ease forwards;
}

.blog-card:nth-child(2){
    animation-delay:.2s;
}

.blog-card:nth-child(3){
    animation-delay:.4s;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/*=========================
      Responsive
=========================*/

@media(max-width:991px){

.blog-grid{
    grid-template-columns:repeat(2,1fr);
}

.section-heading h2{
    font-size:34px;
}

}

@media(max-width:767px){

.coeb-blog-section{
    padding:70px 0;
}

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

.blog-image{
    height:220px;
}

.section-heading h2{
    font-size:30px;
}

.section-heading p{
    font-size:15px;
}

.blog-content{
    padding:22px;
}

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

.blog-content p{
    font-size:15px;
}

}

@media(max-width:575px){

.blog-pagination{
    gap:10px;
}

.page-btn{
    width:42px;
    height:42px;
    font-size:15px;
}

.blog-image{
    height:210px;
}

.section-heading h2{
    font-size:26px;
}

.sub-title{
    font-size:12px;
    padding:7px 15px;
}

}