.infolio-services-card{
  background: rgba(0, 0, 0, 0.01);
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  .title{
    color: #1a1a1a;
  }
  .description{
    color: #777777;
  }
  a,a:hover{
    color: inherit;
  }
  &:hover {
    .readmore-animate {
      opacity: 1;
      top: 0px;
      right: 0px;

      .arrow {

        img {
          transform: none;
          opacity: 1;
        }
      }
    }

    .read-more.to-in {
      margin-left: 0;
    }
    .animate h5 , .animate p{
      transform: translateY(0px);
      opacity: 1;
    }
  }
  .animate h5,  .animate p {
    transform: translateY(50px);
    transition: all .5s;
  }
  .animate p{
    opacity: 0;
  }
  .o-hidden{
    overflow: hidden;
  }
  .read-more{
    &.to-in {
      margin-left: -100px;
      transition: all .4s;
    }
    color: #1a1a1a;
    margin-top: 30px;
    .sub-title{
      color: #1a1a1a;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 2px;
    }
    .icon-img{
      margin-left: 5px;
      width: 20px;
    }
  }
  .avatar{
    opacity: .5;
  }
  .readmore-animate{
    position: absolute;
    top: -20px;
    right: -20px;
    background: #ffffff;
    padding: 10px;
    border-radius: 0 0 0 30px;
    transition: all .4s;
    opacity: 0;
    &:hover{

      .arrow{
        background: #14cf93;
      }
    }

    .arrow{
      width: 70px;
      height: 70px;
      line-height: 70px;
      border: 1px solid rgba(0,0,0,.08);
      border-radius: 50%;
      text-align: center;
      transition: all .4s;
      .read-more-image{
        width: 20px;
      }
      img{
        opacity: 0;
        transform: translateX(-20px) translateY(20px);
        transition-delay: .8s;
        transition: all .4s;
      }
    }

    .shap-left-top{
      position: absolute;
      top: 0;
      left: -2.1rem;
      transform: rotate(90deg);
      line-height: 1;

      svg{
        width: 2.1rem;
        height: 2.1rem;
        path{
          fill: #ffffff;
        }
      }
    }

    .shap-right-bottom{
      position: absolute;
      bottom: -2.1rem;
      right: 0;
      transform: rotate(90deg);
      line-height: 1;

      svg{
        width: 2.1rem;
        height: 2.1rem;
        path{
          fill: #ffffff;
        }
      }
    }
  }
}

body.tcg-dark-mode {
  .infolio-services-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.1);
    .title{
      color: #ffffff;
    }
    .description{
      color: #c6c8c9;
    }
    .read-more{
      color: #ffffff;
      .sub-title{
        color: #ffffff;
      }
    }
    .readmore-animate{
      background: #1a1a1a;
      .arrow{
        border: 1px solid rgba(255,255,255,.08);
      }
      .shap-left-top{
        svg{
          path{
            fill: #1a1a1a;
          }
        }
      }

      .shap-right-bottom{
        svg{
          path{
            fill: #1a1a1a;
          }
        }
      }
    }
  }
}

@media (prefers-color-scheme: dark) {
  body.tcg-auto-mode {
    .infolio-services-card {
      background: rgba(255, 255, 255, 0.01);
      border: 1px solid rgba(255, 255, 255, 0.1);
      .title{
        color: #ffffff;
      }
      .description{
        color: #c6c8c9;
      }
      .read-more{
        color: #ffffff;
        .sub-title{
          color: #ffffff;
        }
      }
      .readmore-animate{
        background: #1a1a1a;
        .arrow{
          border: 1px solid rgba(255,255,255,.08);
        }
        .shap-left-top{
          svg{
            path{
              fill: #1a1a1a;
            }
          }
        }

        .shap-right-bottom{
          svg{
            path{
              fill: #1a1a1a;
            }
          }
        }
      }
    }
  }
}