/* --------------- portfolio style3 --------------- */
.tc-portfolio-style3 {
  position: relative;
  padding: 140px 0;
  background-color: #fff;
  overflow: hidden;
}
.tc-portfolio-style3 .bg {
  position: absolute;
  top: -20%;
  right: 0;
  width: 100%;
  height: 140%;
  -o-object-fit: cover;
     object-fit: cover;
  max-height: inherit;
}
.tc-portfolio-style3 .title {
  margin-bottom: 110px;
}
.tc-portfolio-style3 .title .links a {
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  -webkit-margin-end: 50px;
          margin-inline-end: 50px;
}
.tc-portfolio-style3 .title .links a:hover {
  color: var(--color-yellow1);
}
.tc-portfolio-style3 .projects-slider {
  position: relative;
  overflow: hidden;
}
.tc-portfolio-style3 .projects-slider .swiper-slide {
  opacity: 0 !important;
}
.tc-portfolio-style3 .projects-slider .swiper-slide-active {
  opacity: 1 !important;
}
.tc-portfolio-style3 .projects-slider .swiper-slide-active .project-card .info {
  -webkit-transform: translateY(0) scale(1);
          transform: translateY(0) scale(1);
  opacity: 1;
}
.tc-portfolio-style3 .projects-slider .swiper-slide-active .project-card .main-img {
  -webkit-transform: translate(0, 0) scale(1);
          transform: translate(0, 0) scale(1);
  opacity: 1;
}
.tc-portfolio-style3 .projects-slider .slider-controls {
  position: absolute;
  left: 0;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.tc-portfolio-style3 .projects-slider .slider-controls .swiper-button-next,
.tc-portfolio-style3 .projects-slider .slider-controls .swiper-button-prev {
  position: static;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  -webkit-margin-end: 30px;
          margin-inline-end: 30px;
}
.tc-portfolio-style3 .projects-slider .slider-controls .swiper-button-next::after,
.tc-portfolio-style3 .projects-slider .slider-controls .swiper-button-prev::after {
  color: #000;
  position: relative;
  font-size: 25px;
}
.tc-portfolio-style3 .projects-slider .project-card .info {
  position: relative;
  padding-bottom: 50px;
  height: 100%;
  -webkit-transform: translateY(-100px) scale(0.7);
          transform: translateY(-100px) scale(0.7);
  opacity: 0;
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}
.tc-portfolio-style3 .projects-slider .project-card .info .arrow-icon {
  position: relative;
  width: 80px;
  height: 80px;
  background-color: #fff;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 25px;
  margin-top: 90px;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
          clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 1px solid #B4B4B4;
}
.tc-portfolio-style3 .projects-slider .project-card .info .arrow-icon:hover {
  background-color: var(--color-yellow1);
}
.tc-portfolio-style3 .projects-slider .project-card .info .arrow-icon::after {
  position: absolute;
  content: "";
  right: 19px;
  bottom: 0;
  height: 50%;
  width: 1px;
  background-color: #B4B4B4;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transform-origin: bottom;
          transform-origin: bottom;
}
.tc-portfolio-style3 .projects-slider .project-card .main-img {
  height: 550px;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 190px), calc(100% - 190px) 100%, 0 100%);
          clip-path: polygon(0 0, 100% 0, 100% calc(100% - 190px), calc(100% - 190px) 100%, 0 100%);
  -webkit-transform: translate(200px, 200px) scale(0.7);
          transform: translate(200px, 200px) scale(0.7);
  opacity: 0;
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

@media screen and (max-width: 991px) {
  .tc-portfolio-style3 .title .links a {
    font-size: 13px;
    -webkit-margin-end: 15px;
            margin-inline-end: 15px;
  }
  .tc-portfolio-style3 .projects-slider .slider-controls {
    left: auto;
    right: 0;
  }
  .tc-portfolio-style3 .projects-slider .slider-controls .swiper-button-prev,
.tc-portfolio-style3 .projects-slider .slider-controls .swiper-button-next {
    -webkit-margin-start: 30px;
            margin-inline-start: 30px;
    -webkit-margin-end: 0;
            margin-inline-end: 0;
  }
}

/* --------------- Eco projects grid alignment --------------- */
.tc-latest-cases-style1 .cases-content,
.eco-projects-grid {
  justify-content: flex-start !important;
}