.fpd-event-tabs-wrapper {
    padding: 20px;  
    color: #222;
}

.fpd-event-tabs-wrapper .fpd-tab-nav {
    display: flex;
    justify-content: space-evenly;
    gap: 15px;
    margin-bottom: 20px;
    list-style: none;
    background: #fff;   
    padding: 8px !important;
    border-radius: 8px;
}

.fpd-event-tabs-wrapper .fpd-tab-nav li {
    background: #fff;
    padding: 8px 20px;
    list-style: none;
    border-radius: 8px;
    font-family: 'Sofia Pro Light';
    cursor: pointer;
    width: 100%;
    font-size: 22px;
    font-weight: 300;
    text-align: center;
    transition: 0.3s;
}

.fpd-event-tabs-wrapper .fpd-tab-nav li.active {
    color: #fff;
    background:  rgba(20, 85, 101, 0.80);
}

.fpd-event-tabs-wrapper .fpd-tab-pane {
    display: none;
    padding: 40px 80px;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.fpd-event-tabs-wrapper .fpd-tab-pane.active {
    display: block;  
}

.fpd-event-tabs-wrapper .fpd-event-left {
    width: 50%;;
}

.fpd-event-tabs-wrapper .fpd-event-left h2, .fpd-event-tabs-wrapper .fpd-event-left h3 {
    font-size: 30px;
    margin-bottom: 16px;
    font-family: 'Crimson Text';
    font-weight: 600;
    line-height: 42px;
    color: #000;
}

.fpd-event-tabs-wrapper .fpd-event-tab-inner {
    display: flex;
    justify-content: space-evenly;
    gap: 40px;
}
.fpd-event-tabs-wrapper .fpd-event-left .description {
    font-size: 16px;
    line-height: 1.6;
    font-family: 'Sofia Pro Light';
    margin-bottom: 32px;
}

.fpd-event-tabs-wrapper .fpd-buttons {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.fpd-event-tabs-wrapper .fpd-buttons a {
    text-decoration: none;
    border-radius: 50px;
    border:  1px solid  #FFF;
    display: flex;
    padding: 8px 20px;
    align-items: flex-start; 
    text-transform: uppercase;
}

.fpd-event-tabs-wrapper .fpd-buttons a:hover {
    background-color: #C4983F;
}

.fpd-event-tabs-wrapper .fpd-btn-primary {
    background: #145565;
    color: #fff;
}

.fpd-event-tabs-wrapper .fpd-btn-secondary {
    background: #353535;
    color: #fff;
    border: 1px solid #0f5b66;
}

/* Gallery */
.fpd-event-tabs-wrapper .fpd-event-gallery {
    width: 50%;;
}

.fpd-event-tabs-wrapper .fpd-gallery-slider {
    width: 100%;
}

.fpd-event-tabs-wrapper .fpd-gallery-slider img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.25);
}

/* Custom Swiper Buttons */
.fpd-event-tabs-wrapper .fpd-gallery-slider .swiper-button-next,
.fpd-event-tabs-wrapper .fpd-gallery-slider .swiper-button-prev {
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

/* Replace Default Icons with Custom SVG */
.fpd-event-tabs-wrapper .fpd-gallery-slider .swiper-button-next {
    right: 10px;
    background-image: url('../img/next-slide.svg'); /* Custom next arrow */
}

.fpd-event-tabs-wrapper .fpd-gallery-slider .swiper-button-prev {
    left: 10px;
    background-image: url('../img/prev-slide.svg'); /* Custom prev arrow */
}

/* Remove Default Swiper Arrows */
.fpd-event-tabs-wrapper .fpd-gallery-slider .swiper-button-next::after,
.fpd-event-tabs-wrapper .fpd-gallery-slider .swiper-button-prev::after {
    display: none;
}

/* Responsive */
@media(max-width: 768px) {
    .fpd-event-tabs-wrapper .fpd-tab-pane.active {
        flex-direction: column;
    }
    .fpd-event-tabs-wrapper .fpd-event-left, .fpd-event-gallery {
        flex: 100%;
    }
    .fpd-event-tabs-wrapper .fpd-tab-nav {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 0;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    .fpd-event-tabs-wrapper .fpd-tab-nav li {
        flex: 0 0 auto; /* Prevent items from shrinking */
        margin-right: 10px;
    }
    .fpd-event-tabs-wrapper .fpd-tab-nav::-webkit-scrollbar {
        height: 0px;
    }
    .fpd-event-tabs-wrapper .fpd-tab-nav::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 3px;
    }
    .fpd-event-tabs-wrapper .fpd-gallery-slider .swiper-button-next,
    .fpd-event-tabs-wrapper .fpd-gallery-slider .swiper-button-prev {
        width: 28px;
        height: 28px;
    }
    .fpd-event-tabs-wrapper .fpd-event-tab-inner {
        flex-direction: column;
    }
    .fpd-event-tabs-wrapper .fpd-tab-pane {
        padding: 16px;
    }
    .fpd-event-tabs-wrapper .fpd-event-left,  .fpd-event-tabs-wrapper .fpd-event-gallery {
        width: 100%;
    }
    .fpd-event-tabs-wrapper .fpd-buttons {
        flex-direction: column;
    }
    .fpd-event-tabs-wrapper .fpd-buttons a {
        width: 100%;
        justify-content: center;
    }
    .fpd-event-tabs-wrapper .fpd-tab-nav li {
        width: auto;
        font-size: 18px;
        margin-right: 0px;
    }

}