.ova-project {
  display: grid;
  grid-gap: 30px;
}
.ova-project.two_column {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 767px) {
  .ova-project.two_column {
    grid-template-columns: auto;
  }
}
.ova-project.three_column {
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 1200px) {
  .ova-project.three_column {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .ova-project.three_column {
    grid-template-columns: auto;
  }
}
.ova-project.four_column {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media (max-width: 1200px) {
  .ova-project.four_column {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .ova-project.four_column {
    grid-template-columns: auto;
  }
}
.ova-project .item:hover .ova-media .project-img img {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}
.ova-project .item:hover .ova-media .content {
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.ova-project .item:hover .ova-media .content .title {
  color: var(--secondary);
}
.ova-project .item:hover .ova-media .icon {
  border: 1px solid #fff;
}
.ova-project .item:hover .ova-media .icon i {
  color: #fff;
}
.ova-project .item .ova-media {
  position: relative;
}
.ova-project .item .ova-media .mask {
  content: "";
  background: linear-gradient(0deg, black 0%, rgba(0, 0, 0, 0.2) 65%);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.ova-project .item .ova-media .project-img {
  overflow: hidden;
}
.ova-project .item .ova-media .project-img img {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-transform: scale(1);
  transform: scale(1);
  height: 520px;
  object-fit: cover;
  display: block;
  width: 100%;
}
.ova-project .item .ova-media .content {
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  position: absolute;
  width: 100%;
  bottom: 30px;
  left: 30px;
  z-index: 2;
}
.ova-project .item .ova-media .content .title {
  margin: 0;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.4;
  color: #fff;
  padding-bottom: 5px;
}
.ova-project .item .ova-media .content .sub_title {
  margin: 0;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.4;
  text-transform: uppercase;
  color: #fff;
}
.ova-project .item .ova-media .icon {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--secondary);
  background-color: transparent;
}
.ova-project .item .ova-media .icon i {
  color: var(--secondary);
  font-size: 16px;
  display: inline-flex;
}
.ova-project .item.item-template2 {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 0px 12px 0px #0000001A;
}
.ova-project .item.item-template2:hover .ova-media .content {
  background: linear-gradient(0deg, rgba(101, 45, 143, 0) -71.91%, rgba(0, 82, 248, 0.51) -28.36%, #B879E9 60.31%);
}
.ova-project .item.item-template2:hover .ova-media .content .title, .ova-project .item.item-template2:hover .ova-media .content .sub_title {
  color: #fff;
}
.ova-project .item.item-template2 .ova-media .mask {
  background: transparent;
}
.ova-project .item.item-template2 .ova-media .project-img img {
  filter: grayscale(0.2);
  height: 340px;
  border-radius: 10px 10px 12px 12px;
}
.ova-project .item.item-template2 .ova-media .content {
  min-height: 90px;
  background: #fff;
  left: 0;
  bottom: 0;
  padding: 20px 35px;
}
.ova-project .item.item-template2 .ova-media .content .title {
  font-size: 20px;
  text-transform: uppercase;
  color: var(--heading);
}
@media (max-width: 420px) {
  .ova-project .item.item-template2 .ova-media .content .title {
    font-size: 18px;
  }
}
.ova-project .item.item-template2 .ova-media .content .sub_title {
  color: var(--text);
  font-weight: 500;
}

.rtl .ova-project .item .ova-media .icon {
  right: unset;
  left: 20px;
}