
.event_fst_sec {
    margin-top: 125px;
    padding-bottom:0px;
}
.event_sec .nav-tabs {
    border: none;
    border-bottom:1px solid #CFCFCF;
    justify-content: center;
    width: fit-content;
    margin: auto;
    margin-bottom: 48px;
    gap: 50px;
}
.event_sec a.nav-link {
    font-size: 24px;
    width: 250px;
    text-align: center;
    transition: all 0.2s ease;
    border: none !important;
    border-bottom: 4px solid #ffffff00 !important;
}
.event_sec a.nav-link:hover {
    font-weight: 700;
    color: #000;
    border: none !important;
    border-bottom: 4px solid #000 !important;
}
.event_sec a.nav-link.active {
    font-weight: 700;
    border: none !important;
    border-bottom: 4px solid #000 !important;
}
.event_sec {
    padding-top: 15px;
    padding-bottom:0px;
}
.event_sec .blog_listing_Sec {
    padding-bottom:0px;
}
.event-filter-nav {
    display: flex;
    justify-content: center;
    margin: 0 auto 34px;
}
.event-filter-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.event-filter-btn {
    border: 1px solid #9d9d9d2e;
    background: #fff;
    color: #4f5b66;
    padding: 10px 30px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(2, 17, 34, 0.04);
}
.event-filter-btn:hover,
.event-filter-btn.current {
    background: linear-gradient(135deg, #00B0C8 0%, #00B0C8 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(22, 181, 197, 0.22);
}
.event-filter-item {
    transition: all 0.25s ease;
}

/* Popup Background */
.event-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 20px;
}

/* Popup Box */
.event-popup-content {
    width: 100%;
    max-width: 800px;
    height: 550px;

  /*background: #fff;*/
  border-radius: 0px;
  overflow: hidden;
  position: relative;
  padding: 0px;
  animation: fadeIn 0.3s ease;
}

/* Close Button */
.event-popup-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 32px;
    font-weight: 500;
    cursor: pointer;
    color: #333;
    z-index: 10;
    background: #fff;
    line-height: 30px;
    width: 30px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding-bottom: 6px;
}

.event-popup-close:hover {
  color: #000;
}
.event_box img.thumb {
    height: 220px;
    object-fit: cover;
    margin-bottom: 0;
}

/* Event Card Styling (recent_update) */
.event-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgb(2 17 34 / 12%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.event-thumb {
    position: relative;
    overflow: hidden;
}
.date-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #fff;
    color: #00B0C8;
    border-radius: 8px;
    padding: 6px 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(2,17,34,0.06);
}
.date-day { font-weight:700; font-size:18px; }
.date-month { font-size:12px; text-transform:uppercase; }
.event-body { padding: 18px; display:flex; flex-direction:column; gap:5px;position:relative; }
.tag-pill { 
    background: #ffffff;
    color: #00B0C8;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
    position: absolute;
    top: 15px;
    left: 10px;
}
.event-title {    font-size: 20px !important;
    margin: 0;
    color: #1b1b1b !important;
    font-weight: 600 !important; }
.event-meta { display:flex; gap:12px; color:#6b6b6b; font-size:13px; align-items:center; }
.meta-item i { margin-right:6px; }
.event-body p.event-desc {
    color: #666 !important;
    font-size: 15px !important;
    line-height: 23px;
    margin: 0;

}
.event-footer { margin-top: 10px; display:flex; justify-content:flex-start; }
.view-details {
    color: #16B5C5;
    font-weight: 600;
    font-size: 13px;
}
.view-details img {
    width: 15px;
    margin-bottom: 0;
    margin-left: 4px;

}
.event_sld {
    width: 100%;
    height: 600px;
}
.event_sld img{
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}
/* Swiper Slide Images */
.event-popup img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0px;
}

/* Adjust navigation buttons */
.event-popup .swiper-button-next,
.event-popup .swiper-button-prev {
    color: #fff;
    background: #000;
    border-radius: 0px;
    width: 50px;
    height: 50px;
    padding: 0;
    text-align: center;
}
.event-popup .swiper-button-prev:after,.event-popup  .swiper-button-next:after {
   color: #fff !important; 
}
.event-popup .swiper-pagination-bullet {
  background: #000;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Mobile responsive */
@media (max-width: 480px) {
  .event-popup-content {
    padding: 15px;
  }
  .event-popup-close {
    font-size: 26px;
  }
}



/*-------------   Mobile Screen Media Query -------------  */
@media only screen and (min-device-width: 300px) and (max-device-width: 767px) {
   .event_sec .tab-content .tab-pane ,
   .event_sec .tab-content .tab-pane section , 
   .event_sec .tab-content .tab-pane section .col-12 , .event_sec .blog_listing_Sec , .event_sec .blog_listing_Sec .col-12{
        padding: 0px !important;
    } 
    .event_sec .tab-content .tab-pane section  .blog_row {
        margin-top: 40px;
    }
    .event_sec .tab-content .tab-pane section  .section_blog_content h3 {
        font-size: 21px;
        line-height: 31px;
    }
    select#tabDropdown {
        margin-bottom: 60px !important;
    }
    .event_box img.thumb {
        height: 160px;
    }
    .event_box {
        margin-bottom: 20px !important;
    }
    .event-title {
        font-size: 19px !important;
        margin-bottom: 0px !important;
    }
    .event-body p.event-desc {
        font-size: 14px !important;
    }
    /*Popup Slider*/
    .event_sld {
        width: 100%;
        height: 200px;
    }
    .event-popup-content {
        height: auto; 
    }
    .event-popup .swiper-button-next, .event-popup .swiper-button-prev {
        width: 25px;
        height: 25px;
    }
    .event-popup .swiper-button-prev:after, .event-popup .swiper-button-next:after {
        font-size: 12px !important;
        height: 13px !important;
    }
    .event-popup-close {
        line-height: 19px;
        width: 25px;
    }

}


/*-------------   Tab Screen Media Query -------------  */
@media only screen and (min-device-width: 768px) and (max-device-width: 991px) {

    .event_sec .nav-tabs
    {
        margin-bottom: 25px;
        gap: 30px;
    }
    .event_sec a.nav-link {
        font-size: 19px;
        width: fit-content;
    }
}