    
    
    .event-news-section {
        color: white;
        padding: 40px 0;
        height: 90vh;
        width: 100%;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .event-news-section .subtitle {
        font-size: 1.1rem;
    }
    
    #eventType span{

    font-size: 1vw !important;
    text-transform: capitalize;
}

 
    #eventDate span{

    font-size: 1vw !important;
    text-transform: capitalize;
}
    
        #eventLocation span{

    font-size: 1vw !important;
    text-transform: capitalize;
}
   

    .event-news-section .tagline {
        font-size: 2.5rem;
        font-weight: bold;
        text-wrap: balance;
    }

    .event-news-section .news-item {
        background-color: #FFFFFF;
        padding: 10px 10px;
        margin-bottom: 20px;
        border: 1px solid #ffffff;
        color: black;
        height: auto;
        box-shadow: 0 14px 28px rgb(0 0 0 / 0%), 0 10px 10px rgb(206 212 218 / 37%);
    }


    .news-bg-image {
        background-image: url('../images/about/Placement-Area.png');
        height: 50vh;
        background-size: cover;
    }

    .banner-content {
        height: 100px;
        width: 80vh;
        position: absolute;
        transform: translate(20%, 80%);
        z-index: 100;
    }

    .news-bg-image::before {
        content: '';
        position: absolute;
        top: auto;
        left: 0;
        width: 100%;
        height: 50vh;
        background-color: rgb(0 0 0 / 59%);
        z-index: 1;
        transition: 0.3s ease-in-out;
    }

    .water-mark {
        background-color: #1C46F2;
        background-position: center;
        background-size: contain;
        /* background-image: url(../images/background-img/image.png); */
        background-position: center;
        background-repeat: no-repeat;
    }

    .news-item h3 {
        font-size: 1rem;
        font-weight: 700;
        border-bottom: 1px solid grey;
        padding-bottom: 10px;
    }

    .news-item p {
        font-size: 0.9rem;
        margin: 10px 0;
    }

    .news-item span {
        font-size: 0.9rem;
        margin: 10px 0;
    }

    .know-more-btn {
        font-size: 1rem;
        color: black;
        cursor: pointer;
        width: 100%;
    }

    .arrow-icon {
        color: black;
        font-weight: 700;
    }

    .water-mark {
        height: 200px;
        width: 400px;
        position: absolute;
        transform: translate(-3%, -45%);
        z-index: 1;
    }

    .water-mark-bg img {
        height: auto;
        width: 300px;
        opacity: 0.5;
        position: absolute;
        bottom: 30px;
        right: 40px;
    }

    /* .water-mark img{
        height: auto;
        width: 100%;
    } */

    .popup {
        display: none;
        position: fixed;
        bottom: -100%;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: rgb(0 0 0 / 48%);
        align-items: center;
        justify-content: center;
        animation: slideUp 0.5s forwards;
        z-index: 1000;
    }

    .popup-content-news {
        background: #000000d1;
        padding: 2rem 20px;
        border-radius: 20px 20px 0 0;
        position: relative;
        max-width: 90%;
        max-height: 70%;
        overflow: auto;
        z-index: 1000;
    }

    .popup-content-news img {
        width: 100%;
        height: auto;
    }

    .pop-content h1 {
        margin-bottom: 20px;
    }

    .popup-content-news {
        height: 100vh;
        width: 80%;
    }

    .pop-content p {
        font-size: 1vw;
        padding: 0.5vw;
    }

    .close {
        position: absolute;
        top: 1vw;
        right: 1vw;
        cursor: pointer;
        color: black;
        height: 2vw;
        width: 2vw;
        text-align: center;
        border-radius: 50%;
        background: white;
        font-weight: 700;
    }



    @keyframes slideUp {
        from {
            bottom: -100%;
        }

        to {
            bottom: 0;
        }
    }

    .container-news {
        margin: auto 0;
        width: 100%;
        padding-top: 5vw;
    }

    .tagline {
        background-image: url(../images/news/news-bg.png);
        background-size: cover;
        background-position: center;
        height: 35vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 3vw;
        position: relative;
        overflow: hidden;
        margin-top: 5vw;
    }

    .tagline::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        transition: background 0.3s ease;
    }

    .tagline:hover::before {
        background: rgba(0, 0, 0, 0.3);
    }

    .tagline h1 {
        position: relative;
        z-index: 1;
        transition: transform 0.3s ease;
        font-size: 5vw;
    }

    .tagline p {
        position: relative;
        z-index: 1;
        transition: transform 0.3s ease;
        font-size: 1.3vw;
    }

    .tagline:hover h1,
    .tagline:hover p {
        transform: scale(1.05);
    }

    .event-list {
        display: flex;
        flex-direction: column;
        /* justify-content: center; */
        padding: 2vw;
        z-index: 1;
        overflow-y: scroll;
        height: 34vw;
        align-items: center;
        scroll-behavior: smooth;
        transition: all 0.5s ease-in-out;
        position: absolute;
        left: 50vw;
        top: 50vw;
        transform: translate(-50vw, -50vw);
        width: 45vw;
        margin-top: 4vw !important;
    }


   .event-item {
    padding: 1.2rem 5rem 1.2rem 0;
    margin-bottom: 1rem;
    display: flex ;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 130;
    border-bottom: 2px solid whitesmoke;
    margin: 1.5vw 0;
    max-width: 100%;
    width: 100%;
}

    #popupTitle{
        font-size:2vw;
    }

    .event-item:hover {
        transform: translateX(10px);
    }

    .arrow-icon {
        right: 0;
        top: 55%;
        transform: translateY(-50%);
        background-color: #1C46F2;
        border-radius: 50%;
        width: 2.8vw;
        height: 2.8vw;
        display: flex
    ;
        justify-content: center;
        align-items: center;
        transition: all 0.3sease;
        color: white;
        position: absolute;
    }

    /* .event-item:hover .arrow-icon {
        background-color: #3949ab;
        transform: rotate(45deg);
    } */

    .arrow-icon i {
        font-size: 1vw;
    }

    .tag {
        color: white;
        position: absolute;
        top: -0.6vw;
        background-color: #1C46F2;
        padding: 0px 1vw;
        border-radius: 1vw;
        left: 0;
    }

    .bg-text {
        position: fixed;
        bottom: -10px;
        right: 0%;
        transform: translateX(0%);
        z-index: 2;
        pointer-events: none;
    }

    .bg-text span {
        display: block;
        font-size: 11rem !important;
        font-weight: 700;
        color: transparent;
        -webkit-text-stroke: 1px #dddddd20;
        text-stroke: 1px #dddddd20;
        -webkit-text-fill-color: transparent;
        text-fill-color: transparent;
    }

    .tag span {
        font-size: 1vw;
    }

    span {
  
    font-size: 1.3vw !important;
    text-transform: capitalize;

    }


    .footer-sidebar{
        display:none;
    }
    
.event-tabs {
    position: absolute;
    left: 2%;
    top: 5%;
    z-index: 100;
}

.tabs {
    list-style: none;
    padding: 0;
    display: inline-flex;
}

.tab {
    padding: 10px 15px;
    font-size: 1vw;
    cursor: pointer;
    border: 2px solid #ccc;
    margin-right: 10px;
    transition: all 0.3s ease;
    border-radius: 0.3vw;
    background-image: linear-gradient(to right, #ff0f39 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right;

}

.tab:hover {
    background-position: left; /* Triggers the sliding animation */
    color: white; /* Text color changes to white on hover */
    border-color: #ff0f39; /* Matches border with hover color */
}

.tab.active {
    background-color: #ff0f39;
    color: white;
    border-color: #ff0f39;
}


/* Initially hide past events */
#past-events {
    display: none;
}


/* Modal background */
#customModal {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    padding-top: 100px; /* Spacing from the top */
    transition: opacity 0.3s ease-in-out; /* Fade-in effect */
}

/* Modal content container */
.customModalContent {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 60%;
    max-width: 900px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: customModalOpen 0.4s ease-out;
}

/* Modal Image */
#customModalImage {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    margin-bottom: 20px;
}

/* Modal title */
.customModalTitle {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Event Type label */
#customEventTypeText {
    font-size: 1rem;
    font-weight: 600;
    color: #007bff;
}

/* Close button */
.customCloseBtn {
    color: #aaa;
    font-size: 36px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    transition: color 0.3s;
}

.customCloseBtn:hover {
    color: #000;
}

/* Event date and location styles */
#customEventDateText, #customLocationText {
    font-size: 1.1rem;
    color: #666;
    margin: 10px 0;
}

/* Event description */
#customModalContent {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
    text-align: justify;
    margin-top: 20px;
}

/* Smooth fade-in effect for modal */
@keyframes customModalOpen {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button styles */
.customModalButton {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    font-size: 1.2rem;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s ease-in-out;
}

.customModalButton:hover {
    background-color: #0056b3;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .customModalContent {
        width: 80%;
        padding: 20px;
    }

    .customModalTitle {
        font-size: 1.6rem;
    }

    #customModalImage {
        height: 200px;
    }

    .customCloseBtn {
        font-size: 28px;
    }

    .container-news {
        padding-top: 0;
    }
}


#eventModal{
    position: absolute;
    height: 35vw;
    width: 80vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
         background-color: #171c40;
}

#modalContent{
    font-size:0.9vw;
}


.new-popup-content {
    padding: 30px 25px;
    display: flex ;
    align-items: center;
    justify-content: center;
    height: 35vw;
}

#modalImage{
    height:auto;
    width:100%;
}

.modal-content-custom-news {
    background-color: #171c40;
    color: white;
}

#modalTitle {
    letter-spacing: 2px;
    font-size: 2vw;
}
.modal-content-text{
    height:80%;
}

.close-btn {
    color: white;
    position: absolute;
    right: 1%;
    padding: 0.5vw 1vw;
    background-color: #ff0f39;
    border-radius: 50%;
    top: 2%;
    cursor: pointer;
    z-index: 100;
}

.close-btn:hover {
    color: #fff !important;
}


.image-section-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    position: relative;
}

.vertical-thumbnails {
    width: 80px;
    display: flex ;
    flex-direction: column;
    gap: 10px;
    margin-right: 15px;
    max-height: 50vh;
    overflow-y: scroll;
}

.thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 4px;
}

/* .thumbnail.active {
    border-color: #007bff;
} */

.main-carousel-container {
    flex: 1;
    width: calc(100% - 90px);
}

.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    /*height: 400px;*/
    object-fit: cover;
}

/* Scrollbar styling for vertical thumbnails */
.vertical-thumbnails::-webkit-scrollbar {
    width: 5px;
}

.vertical-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.vertical-thumbnails::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.vertical-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Custom styling for Owl Carousel navigation */
.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.7) !important;
    color: #333 !important;
    font-size: 20px !important;
}

.owl-prev {
    left: 10px;
}

.owl-next {
    right: 10px;
}

/* Add these styles to your existing CSS */
.event-countdown {
    padding: 3px 8px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    display: inline-block;
    font-size: 0.6vw !important;
    font-weight: bold;
    color: #FFD700;
    animation: pulse 2s infinite;
    margin: auto;
}

.event-countdown span {
    font-size: 1vw !important;
}

/* Optional: Add a subtle pulse animation to draw attention */
@keyframes pulse {
    0% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.8;
    }
}

/* Ensure the tag container can handle the countdown element */
.event-item .tag {
    display: flex;
    align-items: flex-start;
}

.tag-date {
    margin-bottom: 3px;
}

.location-tag {
    color: white;
    font-size: 1.2vw !important;
    background-color: #b30c29;
    padding: 0px 1vw;
    border-radius: 1vw;
    left: 0;
    display: none !important;
}

.location-tag:hover{}

.location-tag span {
    font-size: 1vw !important;
    text-wrap-mode: nowrap;
}

.date-tag{
    color: white;
    background-color: #1C46F2;
    padding: 0px 1vw;
    border-radius: 1vw;
    left: 0;
}

.date-tag span {
    font-size: 1vw !important;
    text-wrap-mode: nowrap;

}

/* Year tabs styling - vertical on right side */
.year-tabs {
    position: absolute;
    right: 3%;
    top: 10%;
    z-index: 100;
    height: 100%;
}

.year-tabs-list {
    list-style: none;
    padding: 0;
    display: flex ;
    flex-direction: column;
    margin-top: 15px;
    overflow-y: auto;
    height: 32vw;
    overflow-x: hidden;
}

.year-tab {
    padding: 0.5rem 0.5rem;
    font-size: 0.9vw;
    cursor: pointer;
    border: 2px solid #ccc;
    margin-bottom: 1vw;
    transition: all 0.3s ease;
    border-radius: 0.3vw;
    background-image: linear-gradient(to right, #1C46F2 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right;
    text-align: center;
    width: 2vw;
    display: flex ;
    align-items: center;
    justify-content: center;
    writing-mode: sideways-lr;
    transform: rotate(180deg);
}


.year-tab:hover {
    background-position: left;
    color: white;
    border-color: #1C46F2;
}

.year-tab.active {
    background-color: #1C46F2;
    color: white;
    border-color: #1C46F2;
}

/* Adjust event list to accommodate for year tabs */
.event-list {
    margin-top: 10px; /* Add extra space at the top */
    width: calc(100% - 60px) !important; /* Make room for year tabs on right */
}

/* Message for when no events are found for selected year */
.no-events-message {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: #ccc;
}

/* Make event list heights consistent */
.event-list {
    min-height: 300px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .event-tabs {
        position: static;
        margin-bottom: 15px;
    }
    
.year-tabs {
    position: absolute;
    right: 5%;
    top: 10%;
    z-index: 100;
    height: 100%;
}
    
    .tab {
        font-size: 14px;
        padding: 6px 10px;
    }
    
    .year-tab {
        font-size: 14px;
        padding: 10px 6px;
        height: 90px;
        width: 25px;
    }
    
    .event-list {
        height: auto;
        max-height: 80vh;
        position: static;
        transform: none;
        width: calc(100% - 50px) !important; /* Make room for year tabs on the right */
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .event-tabs, .year-tabs {
        position: static;
        margin-bottom: 15px;
    }
    
    .year-tabs-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .year-tab {
        margin-right: 8px;
        margin-bottom: 8px;
        writing-mode: horizontal-tb; /* Reset to horizontal text */
        transform: rotate(0deg); /* Reset rotation */
        width: auto;
        height: auto;
        padding: 8px 12px;
    }
    
    .event-list {
        width: 100% !important;
    }
}

/* Additional styles for the existing event list to maintain compatibility */
.event-list.active {
    display: block;
}

/* Ensure the vertical year tabs don't interfere with the content flow */
.responsive-positions {
    position: relative;
    min-height: 400px;
}

/* Optional: Enhance the visual appearance of the active event list */
.event-item {
    transition: all 0.3s ease-in-out;
}

/* Optional: Add subtle animation for filtering */
.event-item.filtered-out {
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Ensure vertical tabs remain visible */
.year-tabs {
    background-color: transparent;
}

/* ===================================================================
   Fix: event list content scrolling behind / over the tab buttons
   - Keep the category + year tabs above the scrolling items
   - Fade the top (and bottom) of the scroll area so content gently
     disappears near the tabs instead of hard-overlapping them
   =================================================================== */

/* Tabs must sit ABOVE the event items (which use z-index:130) */
.event-tabs,
.year-tabs {
    z-index: 200;
}

/* Soft fade mask: hides the overlap with the tab strip at the top
   and gives a clean fade-out at the bottom of the scroll area. */
.event-list {
    padding-top: 1.5vw;
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0,
        #000 4vw,
        #000 calc(100% - 2vw),
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0,
        #000 4vw,
        #000 calc(100% - 2vw),
        transparent 100%
    );
}

/* On stacked mobile layouts the list no longer overlaps the tabs,
   so drop the top fade to keep the first item fully visible. */
@media (max-width: 992px) {
    .event-list {
        padding-top: 0;
        -webkit-mask-image: linear-gradient(
            to bottom,
            #000 0,
            #000 calc(100% - 2vw),
            transparent 100%
        );
        mask-image: linear-gradient(
            to bottom,
            #000 0,
            #000 calc(100% - 2vw),
            transparent 100%
        );
    }
}
