/* ===========================================
   EVENTS PAGE
=========================================== */

.events-section{
    padding:80px 0;
    background:#f8fafc;
}

.events-title{
    text-align:center;
    margin-bottom:20px;
}

.events-title h2{
    font-size:42px;
    font-weight:700;
    color:#0f2f5f;
    margin-bottom:10px;
}

.events-title p{
    color:#666;
    font-size:17px;
}

/*============================================
Event Buttons
============================================*/

.event-filter{
    text-align:center;
    margin:40px 0;
}

.event-filter .btn{
    min-width:190px;
    border-radius:50px;
    padding:12px 28px;
    font-weight:600;
    margin:5px;
    transition:.3s;
}

.event-filter .btn:hover{
    transform:translateY(-2px);
}

/*============================================
Cards
============================================*/

.event-card{
    border:none;
    border-radius:15px;
    overflow:hidden;
    background:#fff;
    transition:.35s;
    height:100%;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.event-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.18);
}

.event-image{
    overflow:hidden;
    height:230px;
}

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

.event-card:hover .event-image img{
    transform:scale(1.08);
}

.event-body{
    padding:22px;
}

.event-body h4{
    font-size:20px;
    font-weight:700;
    color:#0f2f5f;
    margin-bottom:12px;
    min-height:55px;
}

.event-date{
    color:#888;
    font-size:14px;
    margin-bottom:15px;
}

.event-date i{
    color:#ff9800;
    margin-right:6px;
}

.event-desc{
    color:#666;
    font-size:15px;
    line-height:1.7;
    min-height:70px;
}

.event-btn{
    margin-top:18px;
}

.event-btn a{
    display:inline-block;
    background:#0f2f5f;
    color:#fff;
    padding:10px 22px;
    border-radius:30px;
    text-decoration:none;
    transition:.3s;
}

.event-btn a:hover{
    background:#f4b400;
    color:#fff;
}

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

.pagination{
    margin-top:50px;
}

.pagination .page-link{
    border-radius:50px;
    margin:0 5px;
    border:none;
    color:#0f2f5f;
    font-weight:600;
    padding:10px 18px;
}

.pagination .page-link:hover{
    background:#0f2f5f;
    color:#fff;
}

.pagination .active .page-link{
    background:#0f2f5f;
    color:#fff;
}

/*============================================
Empty Events
============================================*/

.no-events{
    background:#fff;
    padding:80px 30px;
    text-align:center;
    border-radius:20px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.no-events i{
    font-size:70px;
    color:#ddd;
    margin-bottom:20px;
}

.no-events h3{
    color:#0f2f5f;
    margin-bottom:10px;
}

.no-events p{
    color:#777;
}

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

@media(max-width:991px){

.events-title h2{
    font-size:34px;
}

.event-image{
    height:210px;
}

}

@media(max-width:767px){

.events-section{
    padding:60px 0;
}

.events-title h2{
    font-size:30px;
}

.event-filter .btn{
    width:100%;
    margin-bottom:12px;
}

.event-image{
    height:220px;
}

.event-body h4{
    min-height:auto;
}

.event-desc{
    min-height:auto;
}

}

.events-hero{

    background-image:
    linear-gradient(rgba(15,47,95,.75),rgba(15,47,95,.75)),
    url('../images/events-banner.webp');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    padding:120px 0;

    text-align:center;

    color:#fff;

}

.events-hero h5{

    text-transform:uppercase;

    letter-spacing:3px;

    font-size:15px;

    margin-bottom:20px;

    color:#ffd54f;

}

.events-hero h1{

    font-size:56px;

    font-weight:700;

    margin-bottom:20px;

}

.events-hero p{

    max-width:700px;

    margin:auto;

    font-size:18px;

    opacity:.95;
	color: #f8f9fa;

}

@media(max-width:768px){

.events-hero{

    padding:90px 20px;

}

.events-hero h1{

    font-size:36px;

}

.events-hero p{

    font-size:16px;

}

}


.event-detail-hero{

padding:90px 0;

background:#0f2f5f;

color:#fff;

text-align:center;

}

.event-detail-hero h1{

font-size:46px;

font-weight:700;

margin-top:10px;

}

.event-detail-hero p{

font-size:18px;

margin-top:10px;

}

.event-description{

font-size:17px;

line-height:1.9;

color:#555;

}

.gallery-image{

transition:.3s;

}

.gallery-image:hover{

transform:scale(1.05);

}
