.section_services {
  /* background: linear-gradient(rgb(0, 0, 0, 0.75), rgb(0, 0, 0, 0.75)),
    url(assets/images/5053309.jpg) !important; */
}

.heading {
  min-height: 20vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white !important;
  background-color: transparent !important;
  font-size: 30px;
  box-sizing: border-box;
  padding-top: 20px;
  padding-bottom: 5rem;
}

.heading h1 {
  border-bottom: 1px solid white;
}

.container2 {
  min-height: 60vh;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  background-color: transparent !important;
  color: grey;
  box-sizing: border-box;
}

.card-container {
  height: 200px;
  width: 250px;
  margin: 2rem 2rem;
  position: relative;
}

.full-card {
  height: 100%;
  width: 100%;
  position: absolute;
  background-color: #293241;
  border: 1px solid #3f51b5;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card2 {
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 2;
}

.card-content {
  text-align: center;
}

.card-container .full-card .card-content img {
  width: 4rem !important;
}

.card-top {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 00px;
  /* background-color: #eba33a; */
  background-color: #0e5493;
  color: white;
  transition: all 0.5s;
  border-radius: 10px;
  padding: 10px;
  box-sizing: border-box;
}

.card-container:hover .hover1 {
  top: -80%;
  transform: rotate(30deg) scale(1.1);
}

.card-container:hover .hover2 {
  top: -80%;
  transform: scale(1.1);
}

.card-container:hover .hover3 {
  top: -80%;
  transform: rotate(30deg) scale(1.1);
}

@media only screen and (max-width: 576px) {
  .heading h1 {
    font-size: larger;
    padding-left: 1rem;
  }

  .card-container {
    margin-top: 10rem;
  }
}
