
*{
    scroll-behavior: smooth;
}
.enlarged-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 100;
    justify-content: center;
    align-items: center;
    display: flex; /* Use flexbox for centering */
}

.enlarged-image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain; /* Ensures image stays within modal bounds */
}

/* Responsive centering and image scaling */
@media only screen and (max-width: 768px) {
    .enlarged-image-modal img {
        max-width: 100%;  /* For very small screens, set max-width to 100% */
        max-height: 80vh; /* Adjust max-height based on desired viewport coverage */
    }
}
