/*================================================
Template name: Acnalys – Business Consulting - HTML Template
Version: 1.0.0
Author: Website_Stock 
Author url: https://themeforest.net/user/website_stock

[ Table of Contents ]

01: Banner
02: Latest Project
==================================================*/

@import "main";

// 01: Banner
.banner {
  background-color: $primary;
  .banner-img {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    overflow: hidden;
    @include background-image("./../images/about-us/banner.png");
    position: relative;
    .overlay {
      background-color: rgba(0, 0, 0, 0.5);
    }
  }
}

// 02: Latest Project
.latest-project {
  padding: 140px 0;
  position: relative;
  @include lg {
    padding: 80px 0;
  }
  @include md {
    padding: 40px 0;
  }
  .animated-circle {
    &.right {
      top: 0%;
      right: -13%;
    }
    &.left {
      bottom: 12%;
      left: -13%;
    }
  }
  .section-title {
    max-width: 538px;
    margin: 0 auto;
    text-align: center;
    .subtitle {
      margin-bottom: 24px;
      color: $primary;
      &::after {
        background-color: $primary;
      }
    }
    .title {
      margin-bottom: 70px;
    }
  }
  .grid-project {
    column-count: 3;
    column-gap: 1em;
    margin: 0;
    padding: 0;
    @include lg {
      column-count: 2;
    }
    @include sm {
      column-count: 1;
    }

    .grid-project-item {
      position: relative;
      overflow: hidden;
      display: block;
      margin-bottom: 16px;
      width: 100%;
      .img {
        width: 100%;
        height: 100%;
        img {
          width: 100%;
          height: 100%;
        }
      }
      .content {
        position: absolute;
        opacity: 0;
        bottom: 51px;
        left: 50%;
        width: 10px;
        height: 178px;
        background-color: #d90a2c80;
        border-top: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 38px 36px 47px 19px;
        @include transition(all, ease, 0.9s);
        @include transformX(-50%);
        @include xl {
          padding: 20px 16px;
        }
        @include sm {
          bottom: 15px;
        }
        h4 {
          @include scale(0.1);
          @include text($primary-text, $heebo, 500, 14px, 48px);
          @include transition(all, ease, 0.9s);
          @include xl {
            font-size: 12px;
            line-height: 30px;
          }
        }
        h3 {
          @include scale(0.1);
          @include text($primary-text, $marcellus, 400, 24px, 34px);
          @include transition(all, ease, 0.9s);
          @include xl {
            font-size: 18px;
            line-height: 25px;
          }
          @include lg {
            font-size: 16px;
            line-height: 20px;
          }
        }
      }
      &:hover {
        .content {
          opacity: 1;
          width: 87%;
          @include transition(all, ease, 0.9s);
        }
        h4 {
          @include scale(1);
          @include transition(all, ease, 0.9s);
        }
        h3 {
          @include scale(1);
          @include transition(all, ease, 0.9s);
        }
      }
    }
  }
}
