.gallery-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
  }

  .gallery-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
  }
  .gallery-card:hover img {
    transform: scale(1.05);
  }

  .gallery-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    font-weight: bold;
  }
  