.gallery-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

.gallery-section .gallery-item  {
    position: relative;
    margin-bottom: 20px;
}

.gallery-section .gallery-item .image-container {
    position: relative;
    width: 100%;
    height: 300px;    
    overflow: hidden;
}

.gallery-section .gallery-item .image-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 80%);
    z-index: 1;
    pointer-events: none;
}

.gallery-section .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-section .gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-section .overlay {
    position: absolute;
    bottom: 20px;
    left: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    z-index: 2;
    text-align: center;
    pointer-events: none;
    transition: background 0.3s ease;
}

.gallery-section .overlay h3 {
    font-family: "Area-Normal-Semibold, sans-serif";
    font-size: 20px;
    color: #fff;
    margin: 0;
    text-align: left;
    pointer-events: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .gallery-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
}

@media (max-width: 767px) {
    .gallery-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
}