.ova-gallery-service .wrap-content {
  position: relative;
  overflow: hidden;
}
.ova-gallery-service .wrap-content .item {
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  position: relative;
  cursor: pointer;
}
.ova-gallery-service .wrap-content .item:hover {
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}
.ova-gallery-service .wrap-content .item:hover img {
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}
.ova-gallery-service .wrap-content .item:hover .content {
  transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  opacity: 1;
  bottom: 30px;
}
.ova-gallery-service .wrap-content .item img {
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  display: block;
  width: 100%;
  object-fit: cover;
}
.ova-gallery-service .wrap-content .item .content {
  transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  position: absolute;
  width: 100%;
  bottom: 20px;
  left: 30px;
  opacity: 0;
}
.ova-gallery-service .wrap-content .item .content .wrap-title {
  display: flex;
  align-items: center;
  column-gap: 7px;
  background-color: var(--secondary);
  padding: 10px 22px;
  width: max-content;
  max-width: 85%;
}
.ova-gallery-service .wrap-content .item .content .wrap-title .icon {
  display: inline-flex;
}
.ova-gallery-service .wrap-content .item .content .wrap-title .icon i {
  font-size: 21px;
  display: inline-flex;
  color: #fff;
}
.ova-gallery-service .wrap-content .item .content .wrap-title .icon svg {
  width: 21px;
  height: 21px;
}
.ova-gallery-service .wrap-content .item .content .wrap-title .title {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
}
.ova-gallery-service .wrap-content .item .content .description {
  display: inline-block;
  margin: 0 0 8px 0;
  padding: 6px 22px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  background-color: rgba(229, 229, 229, 0.71);
  color: var(--heading);
}
.ova-gallery-service.template1.equal_column .wrap-content {
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 1024px) {
  .ova-gallery-service.template1.equal_column .wrap-content {
    grid-template-columns: auto;
  }
}
.ova-gallery-service.template1 .wrap-content {
  display: grid;
  grid-gap: 30px;
  grid-template-columns: 1.6fr 1.6fr 1fr;
}
@media (max-width: 1024px) {
  .ova-gallery-service.template1 .wrap-content {
    grid-template-columns: auto;
  }
}
.ova-gallery-service.template1 .wrap-content .item img {
  height: 430px;
}
@media (max-width: 1024px) {
  .ova-gallery-service.template1 .wrap-content .item img {
    height: 360px;
  }
}
.ova-gallery-service.template2 .background-text {
  margin: 0;
  font-size: 50px;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
  top: 50%;
  left: -80px;
  transform: translate(-50%, -50%) rotate(-90deg);
  z-index: 1;
}
@media (max-width: 1600px) {
  .ova-gallery-service.template2 .background-text {
    font-size: 48px;
    left: -40px;
  }
}
@media (max-width: 1320px) {
  .ova-gallery-service.template2 .background-text {
    left: 0;
  }
}
@media (max-width: 1024px) {
  .ova-gallery-service.template2 .background-text {
    font-size: 36px;
    left: 20px;
  }
}
@media (max-width: 767px) {
  .ova-gallery-service.template2 .background-text {
    display: none;
  }
}
.ova-gallery-service.template2 .wrap-content {
  display: flex;
}
@media (max-width: 1024px) {
  .ova-gallery-service.template2 .wrap-content {
    flex-direction: column;
  }
}
.ova-gallery-service.template2 .wrap-content .item {
  width: 100%;
  flex: 1;
}
.ova-gallery-service.template2 .wrap-content .item:hover {
  flex: 1.8;
}
.ova-gallery-service.template2 .wrap-content .item img {
  width: 100%;
  height: 420px;
  filter: none;
}
@media (max-width: 600px) {
  .ova-gallery-service.template2 .wrap-content .item img {
    height: 330px;
  }
}
.ova-gallery-service.template3.two_column .wrap-content {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 767px) {
  .ova-gallery-service.template3.two_column .wrap-content {
    grid-template-columns: auto;
  }
}
.ova-gallery-service.template3.three_column .wrap-content {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .ova-gallery-service.template3.three_column .wrap-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .ova-gallery-service.template3.three_column .wrap-content {
    grid-template-columns: auto;
  }
}
.ova-gallery-service.template3.four_column .wrap-content {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1200px) {
  .ova-gallery-service.template3.four_column .wrap-content {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1024px) {
  .ova-gallery-service.template3.four_column .wrap-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .ova-gallery-service.template3.four_column .wrap-content {
    grid-template-columns: auto;
  }
}
.ova-gallery-service.template3 .wrap-content {
  display: grid;
  grid-gap: 30px;
}
.ova-gallery-service.template3 .wrap-content .item img {
  height: 260px;
}
.ova-gallery-service.template3 .wrap-content .item .content .wrap-title {
  background-color: var(--heading);
}

.rtl .ova-gallery-service .item .content {
  left: unset;
  right: 30px;
}