
.sic-gallery-section {
    padding: 65px 0;
    background: #f7fcf8;
}

.sic-gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #d9e4db;
    margin-bottom: 32px;
}

.sic-gallery-tab {
    background: transparent;
    border: 1px solid transparent;
    border-bottom: 0;
    padding: 16px 23px;
    font-size: 16px;
    color: #222;
    cursor: pointer;
    transition: .25s;
}

.sic-gallery-tab:hover,
.sic-gallery-tab.active {
    color: #087943;
    background: #fff;
    border-color: #d9e4db;
    font-weight: 700;
}

.sic-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.sic-gallery-item {
    position: relative;
    height: 290px;
    border-radius: 20px;
    overflow: hidden;
    cursor: zoom-in;
    background: #e5eee7;
}

.sic-gallery-item[hidden] {
    display: none;
}

.sic-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.sic-gallery-item:hover img {
    transform: scale(1.06);
}

.sic-gallery-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #c8f3d2;
    color: #10532c;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
}

.sic-gallery-empty {
    text-align: center;
    padding: 30px;
    color: #637567;
}

/* Lightbox Popup */
.sic-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, .92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 65px 70px;
}

.sic-lightbox.sic-lightbox-open {
    display: flex;
}

.sic-lightbox img {
    display: block;
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 5px;
}

.sic-lightbox button {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.sic-lightbox button:hover {
    background: #087943;
}

.sic-lightbox-close {
    top: 20px;
    right: 25px;
}

.sic-lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.sic-lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.sic-lightbox-count {
    position: absolute;
    bottom: 18px;
    color: #fff;
    font-size: 14px;
}

body.sic-lightbox-active {
    overflow: hidden;
}

@media (max-width: 991px) {
    .sic-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .sic-gallery-item {
        height: 260px;
    }
}

@media (max-width: 575px) {
    .sic-gallery-section {
        padding: 40px 0;
    }

    .sic-gallery-grid {
        grid-template-columns: 1fr;
    }

    .sic-gallery-item {
        height: 260px;
        border-radius: 14px;
    }

    .sic-gallery-filter {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .sic-gallery-tab {
        white-space: nowrap;
        padding: 13px 17px;
    }

    .sic-lightbox {
        padding: 55px 12px;
    }

    .sic-lightbox-prev {
        left: 5px;
    }

    .sic-lightbox-next {
        right: 5px;
    }

    .sic-lightbox button {
        width: 38px;
        height: 38px;
    }
}
