.projects-type-container {
  margin-top: 80px;
}

.swiper-button-next {
  background: #000 !important;
  opacity: 0.8;
  border-radius: 4px;
  color: #fff !important;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 50% !important;
  /* transform: translateY(-50%); */
  right: 10px;
  height: 40px !important;
  width: 40px !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  content: "";
}

.swiper-button-prev {
  background: #000 !important;
  opacity: 0.8;
  border-radius: 4px;
  color: #fff !important;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 50% !important;
  /* transform: translateY(-50%); */
  left: 10px;
  height: 40px !important;
  width: 40px !important;
}

.swiper-button-next i,
.swiper-button-prev i {
  font-size: 16px;
}

.swiper-button-disabled {
  opacity: 0.5 !important;
}

.fw-bold-icon::before {
  font-weight: bold !important;
  line-height: unset !important;
}

.residential-projects-container,
.commercial-projects-container,
.retail-projects-container,
.health-care-projects-container {
  /* display: grid; */
  /* grid-template-columns: repeat(3, 1fr); */
  /* grid-template-rows: repeat(3, 1fr); */
  /* gap: 1rem; */

  /* @media only screen and (max-width: 1023px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media only screen and (max-width: 768px) {
    grid-template-columns: repeat(1, 1fr);
  } */
}

.residential-projects-container .custom-col,
.commercial-projects-container .custom-col,
.retail-projects-container .custom-col,
.health-care-projects-container .custom-col {
  height: fit-content;
}

/* .residential-projects-container .custom-col:nth-of-type(2) {
  height: 750px;
} */

.img-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* transform: translateY(100%); */
  transition: all 0.8s ease-in-out;
  padding: 0 0.5rem;
  overflow: hidden;
  height: 4rem;
  border-radius: 8px 8px 0 0;

  @media only screen and (max-width: 500px) {
    font-size: 0.875rem;
  }

  @media only screen and (max-width: 375px) {
    font-size: 0.75rem;
  }
}

.img-title > div:nth-of-type(1) {
  width: 70%;
  opacity: 0;
  transition: all 1.2s ease-in;
}

.custom-col .img-title > div:nth-of-type(1),
.custom-col .img-title .img-btn {
  opacity: 1;
  /* transition: all 0.4s ease-out; */
}

.img-title .img-btn {
  font-size: 0.875rem;
  /* background: #000; */
  border: 1px solid #fff;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-weight: 400;
  opacity: 0;
  transition: opacity 1.2s ease-in, background 0.3s ease, color 0.3s ease;

  &:hover {
    background: #fff;
    color: #000;
    font-weight: 700;
  }
}

/* .custom-col:hover .img-title {
  transform: translateY(0);
} */

/* .custom-col:hover .img-title > div:nth-of-type(1),
.custom-col:hover .img-title .img-btn {
  opacity: 1;
} */

/* .custom-col img {
  overflow: hidden;
} */

.custom-col {
  height: fit-content;
  width: 100%;
}

.custom-col img {
  object-fit: contain !important;
  overflow: hidden;
  height: 100%;
  width: 100%;
  transition: transform 0.7s ease-in-out;
}

.custom-col:hover img {
  transform: scale(1.1);
}
