.gallery-sections{
  padding: 70px 0;
  position: relative;
}

.gallery-sections h4 {
    font-size: 40px;
    line-height: 46px;
    margin-bottom: 35px;
    margin-left: 60px;
    padding-top: 30px;
}

.gallery-sections h4 a{
    text-decoration: none;
    color: #002D5B;
}

.gallery-sections h4 a:hover{
    color: #ff0000;
}

.gallery-sections .main .gallery-divs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
  justify-content: center;
  align-items: center;
}
.gallery-sections .main .card {
  display: block;
  color: #252a32;
  border-radius: 2px;
  background: #ffffff;
}
.gallery-sections .main .card-image {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 70%;
  background: #ffffff;
  position: relative;
}
.gallery-sections .main .card-image img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
    transition: -webkit-transform .2s ease;
    transition: transform .2s ease;
    transition: transform .2s ease,-webkit-transform .2s ease;
    -webkit-transition: transform .2s ease;
    -moz-transition: transform ease .2s;
    -ms-transition: transform ease .2s;
    object-fit: cover;
}

.gallery-sections .main .card-image img:hover{
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

@media only screen and (max-width: 600px) {
  .gallery-sections .main .gallery-divs {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1rem;
  }
  .gallery-sections{
    padding: 30px 0;
  }
}