/* ==========================================
   Gallery Tabs
========================================== */

.gallery-tabs-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 5px 0 10px;
}

.gallery-tabs {
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-tabs .nav-link {
    color: #333;
    background-color: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 30px;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.gallery-tabs .nav-link:hover {
    background-color: #e9e9e9;
    transform: translateY(-2px);
}

.gallery-tabs .nav-link.active {
    background-color: #198754;
    color: #ffffff;
    border-color: #198754;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}


/* ==========================================
   Gallery Grid
========================================== */

.gallery-grid {
    margin-left: 0;
    margin-right: 0;
}

.gallery-grid > div {
    margin-bottom: 10px;
}


/* ==========================================
   Gallery Images
========================================== */

.gallery_img_part {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.35s ease;
    display: block;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.gallery_img_part:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}


/* ==========================================
   Tab Animation
========================================== */

.tab-pane {
    animation: galleryFadeIn 0.4s ease-in-out;
}

@keyframes galleryFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================
   Tablet
========================================== */

@media (max-width: 991px) {

    .gallery-tabs {
        justify-content: flex-start !important;
        flex-wrap: nowrap;
        width: max-content;
    }

    .gallery-tabs-wrapper {
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .gallery_img_part {
        height: 240px;
    }
}


/* ==========================================
   Mobile
========================================== */

@media (max-width: 575px) {

    .gallery-tabs-wrapper {
        margin-bottom: 25px;
    }

    .gallery-tabs .nav-link {
        padding: 8px 16px;
        font-size: 13px;
    }

    .gallery_img_part {
        height: 190px;
        border-radius: 8px;
    }
}


.parallax_background_privacy_sub {
    z-index: 0 !important;
}

.gallery-tabs-wrapper {
    position: relative;
    z-index: 9999 !important;
}