
#home-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  padding: 50px 200px;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: #2f4f2f;
}

.home-card {
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow:hidden;
  /* padding: 30px; */
  transition: transform 0.3s;
}

.home-card .txt {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 15px;
  width: 100%;
  /* height: 100%; */
  padding: 30px;
  /* overflow: auto; */
}

.home-card img {
  object-fit: cover;
  height: 100%;
  width: 60%;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;

}


@media only screen and (max-width: 768px) {
  #home-cards {
    padding: 50px 20px;
  }

  .home-card {
    flex-direction: column;
    height: auto;

  }

  .home-card img {
    width: 100%;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }
}