.events-sec{
    padding: 4rem 0;
}

.events-row{
    margin-top: 4.5rem;
}

.event-card{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 0 0 1px #17171733 inset, 0 2px 4px #0000001a, 0 8px 14px #00000026;
    transform: translateY(0);
    transition: all 0.4s ease-in-out;
}

.event-card:hover{
    transform: translateY(-2%);
    box-shadow: 0 0 0 1px #17171733 inset, 0 2px 4px #0000001a, 0 20px 20px #00000026;
}

.event-card-header{
    position: relative;    
    overflow: hidden;
}

.event-card-img{
    object-fit: cover;
    height: 100%;
    width: 100%;
    min-height: 250px;
    max-height: 250px;
}

.event-date-wrapper{
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1;
    background-color: #FFF;
    border: 1px solid #BBB;
    border-radius: 1rem;
    display: inline-block;
    padding: 1.5rem;
    text-align: center;
}

.event-day{
    color: #222;
    font-size: 0.85rem;
}

.event-date{
    /*margin: 0.1rem 0;*/
    font-size: 2rem;
    font-family: "Lexend", sans-serif;
    font-weight: 500;
    color: #222;
}

.event-year{
    font-size: 0.85rem;
    color: #222;
}

.event-card-body{
    padding: 2rem;
}

.event-title{
    color: inherit;
    text-decoration: none;
    font-size: 1.5rem;
    font-family: "Lexend", sans-serif;
    font-weight: 500;
    
    display: block;
    margin-bottom: 1rem;
}
.event-location{
    color: #444;
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
}

.btn-events-all{
    border: 1px solid #222;
    padding: 0.8rem 1.2rem;
    border-radius: 0.5rem;
}

.btn-events-all:hover{
    box-shadow: 0 0 0 2px #222 inset;
}


/*************** contact-info-sec ***********/

.contact-info-sec{
    padding: 4rem 0;
}

.contact-info-icon{
    background-color: #f6e1db;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
}

.contact-info-icon .bi{
    color: var(--primary-color);
    font-size: 2.5rem;
}

.contact-info-wrapper{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding-left: 2rem;
    padding-bottom: 0.1rem;
}

.contact-info-title{
    color: #555;
}

.contact-info-link{
    color: inherit;
    font-size: 1.3rem;
    text-decoration-color: #BBB;
}

.contact-info-link:hover{
    text-decoration-color: #222;
}

.events-footer-img{
    border-radius: 1rem;
    margin-top: 5rem;
}

@media(max-width: 960px){
    .events-footer-img{
        margin-top: 3rem;
    }
}