.gallery-one {
    padding: 50px 0;
    background-color: #f7f7f7;
}

.gallery-one .block-title {
    text-align: center;
    margin-bottom: 30px;
}

.gallery-one .block-title h3 {
    font-size: 36px;
    color: #333;
}

.gallery-one__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 120px;
    justify-content: center; /* Center the images in the grid */
}

.gallery-one__item {
    /* width: calc(33.333% - 10px); */
    max-width: 300px; /* Add a maximum width to ensure they don't get too large */
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    border: 5px solid yellow; /* Yellow border */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition for smooth hover effect */
    padding: 0px;
}

.gallery-one__item img {
    width: 100%;
    height: 300px; /* Fixed height to make the images square */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-one__item:hover {
    transform: translateY(-10px); /* Slightly lift the item on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Enhance the shadow on hover */
}

.gallery-one__item:hover img {
    transform: scale(1.05); /* Slightly zoom in on the image */
}
