/****************************
==============================
   table of content 
==============================

1.    Import files
2.    Header
3.    Banner
4.    About Intro
5     CTA
6.    Course
7.    Registration
8.    Team
9.    Event
10.   Testimonial 
11.   Blog 
12.   Client 
13.   Footer 

******************************/

//Import files
@import "variable";
@import "base";

@import "elements/button";
@import "elements/animation";
@import "elements/space";
@import "elements/list";
@import "elements/typography";

@import "components/header";
@import "components/footer";
@import "components/banner";
@import "components/counter";
@import "components/cta";
@import "components/service";
@import "components/appOverview";
@import "components/workProcess";
@import "components/testimonial";
@import "components/faq";
@import "components/feature";
@import "components/pricing";
@import "components/callToAction";
@import "components/video";

@import "responsive";

/*==========================
// header 
===========================*/

.header {
   @include absolute();
   right: 0;
   margin: 0 auto;
   z-index: 99;
}

/*==========================
// Banner  
===========================*/

.banner {
   @include background-content();
   position: relative;
   display: flex;
   align-items: center;
   z-index: 4;
   padding: 100px 0;
   &.banner-slide {
      height: 100vh;
      padding: unset;
   }
   &-box {
      background: #FDF7E9;
      border-radius: 10px;
      min-height: 530px;
      margin: 0 auto;
      background-size: 100%;
      background-repeat: no-repeat;
      @media (min-width: 992px) {
         width: calc(100% - 120px);
      }
   }
}

//  slider content animation
#banner__slider {
  .owl-item {
    &.active {
      .tp-banner-content {
        .banner-sub-title {
          animation-duration: 1s;
          -webkit-animation-duration: 1s;
          animation-fill-mode: both;
          -webkit-animation-fill-mode: both;
          animation-name: fadeInDown;
          animation-delay: 0.3s;
        }
        .block-title {
          animation-duration: 1s;
          -webkit-animation-duration: 1s;
          animation-fill-mode: both;
          -webkit-animation-fill-mode: both;
          animation-name: fadeInDown;
          animation-delay: 0.3s;
        }
        p {
          animation-duration: 1s;
          -webkit-animation-duration: 1s;
          animation-fill-mode: both;
          -webkit-animation-fill-mode: both;
          animation-name: fadeInUp;
          animation-delay: 0.3s;
        }
        .block-btn {
          animation-duration: 1s;
          -webkit-animation-duration: 1s;
          animation-fill-mode: both;
          -webkit-animation-fill-mode: both;
          animation-name: fadeInUp;
          animation-delay: 0.3s;
        }
      }
    }
  }
}

// banner breadcrumb
.banner-breadcrumb {
  justify-content: center;
  .breadcrumb-item {
    font-weight: 400;
    a {
      color: $title-color;
      &:hover {
        color: $primary-color;
      }
    }
    &.active {
      color: $primary-color;
      font-weight: 700;
    }
    &:last-of-type {
      &::before {
        color: $title-color;
      }
    }
  }
}

@media (max-width: 991px) {
  .banner {
    padding: 180px 0 100px;

  }
}

@media (max-width: 767px) {
  .banner {
    padding: 150px 0 80px;

  }
}

// tab nav
.tab-menu {
  position: relative;
  background-color: #f2f2f2;

  .menu-item {
    margin: 0;
    border-right: 2px solid $white-color;
  }

  .menu-link {
    font-size: 14px;
    line-height: 20px;
    color: $title-color;
    font-weight: 700;
    display: inline-block;
    padding: 12px 27px;
    position: relative;
    .tab-menu-icon {
      margin-right: 4px;
    }
    &.active,
    &:hover {
      background-color: $white-color;
      .tab-menu-icon {
        color: $primary-color;
      }
      &:before {
        visibility: visible;
        opacity: 1;
      }
    }

    &:before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 4px;
      background-color: $primary-color;
      visibility: hidden;
      opacity: 0;
      @include transition();
    }
  }
}

// tab-content
.tab-item {
  padding: 50px 0;
}

.social-links {
  li {
    display: inline-block;
    margin-right: 5px;
    a {
      font-size: 18px;
      &.fb {
        color: #1877f2;
      }
      &.tw {
        color: #55acf2;
      }
      &.in {
        color: #007bb5;
      }
      &.be {
        color: #ff4500;
      }
    }
    &:last-of-type {
      margin-right: 0;
    }
  }
}


/*==========================
// start blog
===========================*/

.blog {
  background-color: var(--white);
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.03);
  &:hover {
    .blog-img {
      img {
        transform: scale(1.08);
      }
    }
    .blog-content {
      .blog-title {
        a {
          color: var(--primary)
        }
      }
    }
    .readmore-btn{
      color: var(--primary);
    }
  }
}

// blog img
.blog-img {
  overflow: hidden;
  img {
    width: 100%;
    height: auto;
    @include transition();
    transform: scale(1);
    object-fit: cover;
  }
}

// blog content
.blog-content {
  padding: 25px;
  .blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    .meta-list {
      li {
        display: inline-block;
        color: var(--dark2);
        text-transform: capitalize;
        margin-right: 30px;
        font-size: 14px;
        line-height: 22px;
        i {
          color: var(--success);
          margin-right: 6px;
        }
        a {
          display: inline-block;
          color: inherit;
          &:hover {
            color: $primary-color;
          }
        }
      }
    }
  }
  .desc {
    color: var(--dark2);
  }
}

.blog-title {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 30px;
  a {
    color: var(--dark)
  }
  &.title-md {
    font-size: 28px;
    line-height: 38px;
  }
  &.title-lg {
    font-size: 38px;
    line-height: 48px;
  }
}
.readmore-btn {
  margin-top: 20px;
  color: var(--dark2);
  i {
    font-size: 12px;
    padding-left: 5px;
    transition: all ease 0.4s;
  }
  &:hover {
    i {
      padding-left: 10px;
    }
  }
}

.post-footer {
  padding: 30px 0;
  border-bottom: 1px solid #ECECEC;
}

@media (min-width: 992px) {
  .post-footer {
    padding: 60px 0;
  }
}

// right side blog-post-wrapper
.blog-post-wrapper {
  border: 1px dashed #ececec;
  border-radius: $border-radius-sm;
  padding: 0 30px;
}

// post-widget
.post-widget {
  padding: 35px 0;
  border-bottom: 1px dotted #ececec;
  .post-widget-title {
    font-size: 24px;
    line-height: 30px;
    margin: 0 0 25px;
  }
  &:last-of-type {
    border-bottom: none;
  }

}

.related-post {
  padding: 60px 0;
  .sec-title {
    margin-bottom: 30px;
    font-size: 28px;
  }
}

/*==========================
// Client Logo
===========================*/
.client-section {
  .single-client {
    border: 1px solid $border-color;
    padding: 30px;
    img {
      max-width: 127px;
      margin: 0 auto;
    }
  }
}

/*============================
//  FAQ Section
===========================*/

.tp-accordion {
  .accordion-item {
    border-bottom: 1px solid #E2E2E2;
    border-width: 0 0 1px 0;
    &:last-of-type {
      margin-bottom: 0;
    }

  }
  .accordion-body {
    padding-left: 0;
    padding-top: 20px;
    background-color: #fff;
    P {
      font-size: 18px;
      line-height: 30px;
    }
  }
  .accordion-button {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: #161851;
    background: transparent;
    padding-left: 0;     
    &.collapsed {
      background-color: transparent;
      color: $black-color;
      @include transition();
    }

    &:focus {
      outline: 0;
      box-shadow: none;
    }
  }
}

@media (min-width: 768px) {
  .tp-accordion {
    .accordion-button { 
      font-size: 24px;
    }
  }
}

// overview 
.block-image {
  &.overview-image{
    max-width: 350px;
  }
}

/*============================
//  Intregration Section
===========================*/
.sec-intregration {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding-bottom: 150px;
  .btn-link {
    color: $primary-color;
    font-size: 18px;
    font-weight: 700;
    .icon {
      font-size: 16px;
      margin-left: 5px;
    }
  }
}

@media (min-width: 992px){
  .sec-intregration {
    background-size: contain;
    padding-bottom: 200px;
  }
}

/*
// team
*/
.team {

  &-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    .team-social {
      position: absolute;
      right: 10px;
      bottom: 20px;
      z-index: 1;
      opacity: 0;
      visibility: hidden;
      transition: ease-in 0.3s;
      transition-delay: ease-in-out 0.9s;
      a {
        display: block;
        width: 36px;
        height: 36px;
        font-size: 18px;
        color: #161851;
        background: #fff;
        text-align: center;
        border-radius: 50%;
        line-height: 37px;
        margin-bottom: 10px;
      }
    }
    &::after{
      position: absolute;
      content: "";
      left: 100%;
      top: 100%;
      width: 380px;
      height: 380px;
      background: #FF6159;
      border-radius: 50%;
      transition: all ease 0.4s; 
    }
  }
  &-content {
    padding-top: 30px;
    .title {
      font-size: 20px;
      line-height: 25px;
      font-weight: 700;
      text-transform: capitalize;
      color: #161851;
    }
    .designation {
      font-size: 14px;
      font-weight: 400;
      color: #5E687C;
    }
  }
  &-single {
    position: relative;
    &:hover,
    &.active {
      .team-thumb {
        &::after{
          left: 45%;
          top: 45%;
        }
      }
      .team-social {
        right: 30px;
        visibility: visible;
        opacity: 1;
      }
    }
  }
}

// price

.price {
  &-single {
    padding: 45px;
    box-shadow: 0px 4px 90px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    .pricing-price {
      padding: 40px 0 18px;
      h3 {
        font-size: 48px;
        color: #000000;
        span {
          font-size: 18px;
        }
      }
    }
    .btn {
      border-radius: 25px;
    }
    .price-content {
      li {
        margin-bottom: 5px;
        i {
          color: $primary-color;
          margin-right: 10px;
        }
      }
    }
    &.active {
      background: $primary-color;
      color: #fff;
      h3 {
        color: #fff;
      }
      .price-header {
        p {
          color: #fff;
        }
      }
      .btn {
        background: #fff;
        color: $primary-color;

      }
      .price-content {
        li i {
          color: #fff;
        }
      }
    }
  }
  &-header {
    padding-bottom: 30px;
    p {
      font-size: 20px;
      color: #5E687C;
      margin: 0;
    }
  }
}

// contact 
.address {
  &-item {
    display: flex;
    h3 {
      font-size: 20px;
      font-weight: 700;
      color: #161851;
    }
    p {
      margin: 0;
      color: #5E687C;
    }
    .micon {
      font-size: 40px;
    }
    .address {
      margin-top: -9px;
      padding-left: 20px;
    }
  }
}

.minput {
  background: #F6F6F6;
  color: #AFB2B8;
  font-size: 16px;
  border-radius: 6px;
  padding: 10px 15px;
  border: none;
  &:focus {
    box-shadow: none;
    background: #F6F6F6;
  }
}

.content-box {
  background: $white-color;
  box-shadow: 0px 4px 70px 30px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  padding: 30px;
}
.box-title {
  font-size: 24px;
  line-height: 32px;
  color: $black-color;
  font-weight: 700;
}

.platform-section {
  padding: 100px 0;
  background-color: #FDF7E9;
  .section-heading {
    padding-top: 60px;
    width: calc(100% - 40px);
    margin: 0;
    .dot-shape {
      position: absolute;
      left: 0;
      z-index: -1;
      img {
        max-width: 168px;
        width: 100%;
      }
    }
    .rect-shape {
      position: absolute;
      right: 0;
      z-index: -1;
      img {
        max-width: 180px;
        width: 100%;
        object-fit: cover;
      }
    }
  }
  @media (min-width: 991px) {
    .section-heading {
      padding-top: 100px;
      padding-bottom: 260px;
      margin: 0 auto -205px;
    }
  }
}
.content-box {
  .icon {
    img {
      max-width: 68px;
      margin-bottom: 5px;
    }
  }
}

@media (min-width: 1024px) {
  .platform-section {
    padding: 100px 0;
    background-color: unset;
    .section-heading {
      .dot-shape {
        left: -43px;
      }
      .rect-shape {
        position: absolute;
        right: 0;
        img {
          max-width: 180px;
          width: 100%;
          object-fit: cover;
        }
      }
    }
  }
}

@media (min-width: 1300px) {
  .platform-section {
    padding: 100px 0;
    .section-heading {
      .dot-shape {
        left: -168px;
      }
      .rect-shape {
        right: 0;
      }
    }
    .platform-item:nth-child(even) {
      .content-box {
        margin-top: -40px;
      }
    }
  }
}
