.imageGallery {
    width: 80%;
    margin: 100px auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    grid-gap: 30px;
}

/* MOBILE: 2 images side by side */
@media (max-width: 576px) {
    .imageGallery {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
        width: 95%;
    }
}

/* IMAGE STYLE */
.imageGallery img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* MOBILE IMAGE HEIGHT FIX */
@media (max-width: 576px) {
    .imageGallery img {
        height: 200px;
    }
}

/* SAFE HOVER ZOOM */
.imageGallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(68, 77, 136, 0.25);
    border-radius: 20px;
}

/* FULL IMAGE MODAL */
.fullImageClass {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
}

/* FIXED IMAGE FIT (IMPORTANT FOR MOBILE) */
.fullImageClass img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 20px;
    border: 2px solid white;
}

/* CLOSE BUTTON */
.fullImageClass span {
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
