html, body {
    overflow-x: hidden;
  }

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.gallery-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h6 {
    font-size: 18px;
    font-weight: 600;
}

.gallery-overlay span {
    font-size: 14px;
    opacity: 0.85;
}
@media (max-width: 768px) {
    section {
        padding: 11rem 0 0 0;
    }
}
@media (min-width: 769px) {
    section {
        padding: 90px 0  ;
    }
}
 