/*====================================================
                    NEWS PAGE
====================================================*/

/*==========================
        PAGE HEADER
==========================*/

.news-header{

    background:linear-gradient(
        135deg,
        #062741,
        #0B4D7A,
        #55ACEE
    );

    color:#fff;

    padding:90px 0;

    text-align:center;

    position:relative;

    overflow:hidden;

}

.news-header::before{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    top:-180px;

    right:-100px;

    animation:floatCircle 8s ease-in-out infinite;

}

.news-header::after{

    content:"";

    position:absolute;

    width:280px;

    height:280px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    bottom:-120px;

    left:-80px;

    animation:floatCircle2 10s ease-in-out infinite;

}

.news-header h1{

    font-size:3rem;

    font-weight:700;

    animation:slideDown 1s ease;

}

.news-header p{

    font-size:1.2rem;

    animation:fadeUp 1.3s ease;

}

/*==========================
        NEWS SECTION
==========================*/

.news-section{

    padding:80px 0;

    background:#f8fbfd;

}

/*==========================
        NEWS CARD
==========================*/

.news-card{

    border:none;

    border-radius:20px;

    overflow:hidden;

    background:#fff;

    transition:.4s;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    height:100%;

}

.news-card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 45px rgba(0,0,0,.18);

}

.news-card img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.6s;

}

.news-card:hover img{

    transform:scale(1.08);

}

.news-card .card-body{

    padding:25px;

}

.news-card h4{

    color:#062741;

    font-weight:700;

    margin-bottom:15px;

}

.news-card p{

    color:#666;

    line-height:1.8;

    text-align:justify;

}

/*==========================
        DATE BADGE
==========================*/

.news-date{

    display:inline-block;

    background:#55ACEE;

    color:#fff;

    padding:8px 18px;

    border-radius:30px;

    font-size:14px;

    font-weight:600;

    margin-bottom:18px;

}

/*==========================
        READ MORE BUTTON
==========================*/

.news-btn{

    display:inline-block;

    margin-top:20px;

    background:#062741;

    color:#fff;

    text-decoration:none;

    padding:10px 28px;

    border-radius:40px;

    transition:.35s;

}

.news-btn:hover{

    background:#0B4D7A;

    color:#fff;

    transform:translateY(-4px);

}

/*==========================
        EMPTY MESSAGE
==========================*/

.news-empty{

    text-align:center;

    padding:100px 0;

}

.news-empty h3{

    color:#062741;

    font-weight:700;

}

.news-empty i{

    font-size:70px;

    color:#55ACEE;

    margin-bottom:20px;

}

/*==========================
        ANIMATIONS
==========================*/

@keyframes slideDown{

    from{

        opacity:0;

        transform:translateY(-50px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes floatCircle{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(35px);

    }

    100%{

        transform:translateY(0);

    }

}

@keyframes floatCircle2{

    0%{

        transform:translateX(0);

    }

    50%{

        transform:translateX(30px);

    }

    100%{

        transform:translateX(0);

    }

}

/*==========================
        RESPONSIVE
==========================*/

@media(max-width:992px){

    .news-header h1{

        font-size:2.5rem;

    }

}

@media(max-width:768px){

    .news-header{

        padding:70px 0;

    }

    .news-header h1{

        font-size:2rem;

    }

    .news-card img{

        height:220px;

    }

    .news-card .card-body{

        padding:20px;

    }

}