.goals-section {
    padding: 60px 0;
    text-align: center;
    font-family: Poppins, sans-serif;
}

.filter-buttons {
    margin-bottom: 30px;
}

.filter-buttons button {
    background: #eaeaea;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    margin: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-buttons .active,
.filter-buttons button:hover {
    background: #497ca7;
    color: #fff;
}

/* Tablet */
@media (max-width: 991px) {
    .filter-buttons button {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .filter-buttons {
        gap: 8px;
    }

    .filter-buttons button {
        padding: 7px 14px;
        font-size: 12px;
        border-radius: 5px;
    }
}

/* --------------------------------------- */
/* ===== BASE GALLERY ===== */
/* ===== BASE GALLERY (DESKTOP) ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 per row */
    gap: 25px;
}

/* ===== GALLERY ITEM ===== */
.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 1px solid #757678;
    transition: transform 0.3s ease;
}

/* ===== HOVER EFFECT ===== */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===== TABLET (2 images per row) ===== */
@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .gallery-item img {
        height: 180px;
    }
}

/* ===== MOBILE (1 image per row) ===== */
@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item img {
        height: 160px;
    }
}

/* Lightbox */
#lightbox {
    position: fixed;
    inset: 0;
    background:rgb(0 0 0 / 90%);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 9999;
    /* 👈 ADD THIS */

}

#lightbox.show {
    display: flex;
    opacity: 1;
}
/* 
#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
} */
 #lightbox img {
    max-width: 90%;
    max-height: 90%;
    /* border-radius: 10px; */
    transition: transform 0.2s ease;
    cursor: zoom-in;
    transform-origin: center center;
}
