.active[data-tab-content] {
    display: block;
}

[data-tab-content] {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.active[data-tab-content] {
    visibility: visible;
    opacity: 1;
    height: auto;
}
.gallery-heading {
    background: linear-gradient(180deg, #034ea1 0%, #00b7ac 100%);
    text-align: center;
    padding-bottom: 15px;
}
.tab-content-sec {
    background: linear-gradient(180deg, #034ea1 0%, #00b7ac 100%);
}
.tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 0;
    list-style: none;
    position: relative;
}
.tabs::before {
    content: "";
    position: absolute;
    left: 0;
    height: 10px;
    width: 100%;
    background: #fff;
    bottom: -10px;
    border-radius: 2px;
}
.tab.active {
    color: #fff;
    position: relative;
}
.tab.active::before {
    content: "";
    position: absolute;
    left: 0;
    height: 3px;
    width: 100%;
    background: #034ea1;
    bottom: -7px;
    border-radius: 2px;
}
.tabs li span {
    padding: 8px 30px;
    display: block;
    font-size: 24px;
    color: #fff;
}
.tabs li {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.gallery-heading h1 {
    font-size: 48px;
    color: #fff;
    margin: 40px 0;
    font-weight: 400;
}
/* Slider */
.slider-container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    padding-bottom: 100px;
}

.slider-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.splide__slide img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 90%);
    text-align: center;
    align-items: center;
    justify-content: center;
}
.gallery-popup{
    width: 55%;
    height: 500px;
}
.lightbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.close {
    position: absolute;
    top: -15px;
    right: -15px;
    cursor: pointer;
}
.splide__arrow svg {
    fill: #fff;
}
/* Next/Prev Button Styles */
.nav-btn {
    position: absolute;
    top: 50%;
    color: #fff;
    background-color: #034ea1;
    border: none;
    cursor: pointer;
    transform: translateY(-50%);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 22px;
}

.nav-btn:hover {
    background-color: #00b7ac;
}

#prev-btn {
    left: -22px;
}

#next-btn {
    right: -22px;
}
.splide:not(.is-overflow) .splide__pagination {
    display: block !important;
}
.slider-box {
    padding: 40px;
    background: #034ea1;
    border-radius: 15px;
    border: 2px solid #fff;
    margin-bottom: 30px;
}
.slider-box h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 400;
}
.splide__pagination__page.is-active {
    background: #fff !important;
    transform: scale(1.4) !important;
    opacity: 1 !important;
    border-radius: 50%;
    outline: 1.5px dashed #fff !important;
    outline-offset: 2px !important;
}
.splide__slide {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}
.gallery-text {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 30px;
    background: #fff;
    padding: 10px 60px;
}
.gallery-text h3 {
    font-size: 16px;
    color: #00b7ac;
}
.splide__pagination__page {
    background-color: #fff !important;
    opacity: 1 !important;
}
.slider-box .splide__arrow {
    background: #fff !important;
}
.section-padding{
    padding: 15px 0;
}
.slider-box img{
    width: 430px;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
}
.gallery-container h2{
    text-align: center;
    font-size: 34px;
    color: #fff;
    margin-bottom: 30px;
}
@media (max-width: 991px) {
    .gallery-popup {
        width: 85%;
        height: 500px;
    }
    .gallery-container h2{
        margin-top: 40px;
        margin-bottom: 15px;
    }
}
@media (max-width: 768px) {
    .slider-box .splide__arrow {
        background: none !important;
    }
    .slider-box {
        padding: 20px;
    }
    .slider-container {
        padding-bottom: 75px;
    }
    .slider-box:last-child {
        margin-bottom: 0px;
    }
    .gallery-heading h1 {
        font-size: 38px;
        margin: 20px 0;
    }
    .tabs li span {
        font-size: 22px;
    }
    .slider-box h2 {
        color: #fff;
        font-size: 22px;
        margin-bottom: 20px;
    }
}
@media (max-width: 767px) {
    .slider-box {
        padding: 10px;
    }
    .gallery-popup {
        margin: 0px 35px;
    }
    .gallery-popup {
        width: 85%;
        height: 350px;
    }
    .slider-box img {
        width: 100%;
    }
}
@media (max-width: 499px) {
    .gallery-heading h1 {
        font-size: 36px;
        margin: 15px 0;
    }
    .section-padding {
        padding: 25px 0;
    }
    .tabs li span {
        padding: 5px 30px;
        font-size: 20px;
    }
    .slider-box h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .slider-container {
        padding-bottom: 65px;
    }
    .gallery-text {
        padding: 5px 45px;
    }
    .slider-box .splide__pagination {
        bottom: -45px !important;
    }
    .gallery-popup {
        width: 100%;
        height: auto;
    }
}
