//  Volunteer single items
.testimonial-carousel-two {
  .owl-item {
    &.center {
      .volunteer-single-items {
        transition: .3s all ease;
        min-height: 440px;
        overflow: visible;
        border: 1px solid var(--main-color-one);
        padding: 10px;
        box-shadow: 0px 13px 26px rgba(221, 19, 26, 0.2);

        .content {
          opacity: 1;
          visibility: visible;
          transform: translateY(0px);
        }
      }
    }
  }
}

.volunteer-section-area {
  margin-top: 75px;

  &.style-01 {
    margin-top: 120px;
  }

  &.style-02 {
    margin-top: 116px;
  }

  &.style-03 {
    margin-top: 106px;
  }
}

.testimonial-carousel-two {
  .owl-nav {
    .owl-next {
      position: absolute;
      top: -105px;
      left: 80%;
      width: 60px;
      height: 60px;
      line-height: 60px;
      text-align: center;
      background: #fff;
      color: var(--main-color-one);
      font-size: 30px;
      border-radius: 5px;
      box-shadow: 0 7px 20px rgba(221, 19, 26, 0.24);
      transition: .5s all ease;

      &:hover {
        background: var(--main-color-one);
        color: #fff;
      }
    }

    .owl-prev {
      position: absolute;
      top: -105px;
      right: 80%;
      width: 60px;
      height: 60px;
      line-height: 60px;
      text-align: center;
      background: #fff;
      color: var(--main-color-one);
      font-size: 30px;
      border-radius: 5px;
      box-shadow: 0 7px 20px rgba(221, 19, 26, 0.24);
      transition: .5s all ease;

      &:hover {
        background: var(--main-color-one);
        color: #fff;
      }
    }
  }
}

.volunteer-single-items {
  position: relative;
  transition: .3s;
  position: relative;
  padding-bottom: 0px;
  border-radius: 10px;
  transition: height 0.7s all;
  margin-bottom: 30px;
  border: 1px solid #fff;
  min-height: 280px;
  overflow: hidden;

  &:hover {
    transition: .3s all ease;
    min-height: 441px;
    overflow: visible;
    border: 1px solid red;
    padding: 10px;
    box-shadow: 0px 13px 26px rgba(221, 19, 26, 0.2);

    .content {
      opacity: 1;
      visibility: visible;
      transform: translateY(0px);
    }
  }

  .thum {
    img {
      border-radius: 10px;
      width: 100%;
    }
  }

  .content {
    text-align: center;
    padding-top: 45px;
    transition: 0.7s all ease;
    transform: translateY(-100px);
    opacity: 0;
    visibility: hidden;

    .author-meta {
      .author-name {
        font-size: 24px;
        line-height: 28px;
        font-weight: 700;
        font-family: var(--body-font);
        color: var(--heading-color);
        transition: 0.7s all ease;
      }

      .designation {
        font-size: 16px;
        line-height: 26px;
        font-family: var(--body-font);
        font-weight: 400;
        color: #505050;
        margin-top: 10px;
        margin-bottom: 23px;
        transition: 0.7s all ease;
      }
    }

    .social-links {
      margin-bottom: -22px;
      position: relative;
      z-index: 99;

      i {
        width: 32px;
        height: 32px;
        border: 1px solid var(--main-color-one);
        line-height: 32px;
        text-align: center;
        margin-right: 10px;
        font-size: 15px;
        color: var(--main-color-one);
        border-radius: 5px;
        transition: 0.7s all ease;
        background-color: #fff;
        position: relative;

        +i {
          &::after {
            content: "";
            position: absolute;
            top: 15px;
            left: -15px;
            width: 14px;
            height: 1px;
            background: #fff;
          }
        }

        &:hover {
          background: var(--main-color-one);
          color: #fff;
        }

        &:last-child {
          margin-right: 0;
        }
      }
    }
  }
}

.volunteer-single-items-02 {
  position: relative;
  transition: .7s;
  position: relative;
  padding-bottom: 0px;
  border-radius: 10px;
  transition: height 0.7s all;
  margin-bottom: 30px;
  margin-right: 30px;
  border: 1px solid #fff;
  height: 280px;
  overflow: hidden;

  &:hover {
    transition: .7s all ease;
    height: 430px;
    overflow: visible;
    border: 1px solid red;
    padding: 10px;
    box-shadow: 0px 13px 26px rgba(221, 19, 26, 0.2);

    .content {
      opacity: 1;
      visibility: visible;
      transform: translateY(0px);
    }
  }

  .thum {
    img {
      border-radius: 10px;
      width: 100%;
    }
  }

  .content {
    text-align: center;
    padding-top: 45px;
    transition: 0.7s all ease;
    transform: translateY(-100px);
    opacity: 0;
    visibility: hidden;

    .author-meta {
      .author-name {
        font-size: 24px;
        line-height: 28px;
        font-weight: 700;
        font-family: var(--body-font);
        color: var(--heading-color);
        transition: 0.7s all ease;
      }

      .designation {
        font-size: 16px;
        line-height: 26px;
        font-family: var(--body-font);
        font-weight: 400;
        color: #505050;
        margin-top: 10px;
        margin-bottom: 23px;
        transition: 0.7s all ease;
      }
    }

    .social-links {
      margin-bottom: -22px;
      position: relative;
      z-index: 99;

      i {
        width: 32px;
        height: 32px;
        border: 1px solid var(--main-color-one);
        line-height: 32px;
        text-align: center;
        margin-right: 10px;
        font-size: 15px;
        color: var(--main-color-one);
        border-radius: 5px;
        transition: 0.7s all ease;
        background-color: #fff;
        position: relative;

        +i {
          &::after {
            content: "";
            position: absolute;
            top: 15px;
            left: -15px;
            width: 14px;
            height: 1px;
            background: #fff;
          }
        }

        &:hover {
          background: var(--main-color-one);
          color: #fff;
        }

        &:last-child {
          margin-right: 0;
        }
      }
    }
  }
}

.team-section-area {
  margin-top: 106px;

  &.style-01 {
    margin-top: 120px;
  }

  .team-wrapper {
    display: flex;
    flex-wrap: wrap;

    .team {
      width: 33.33%;
    }
  }
}

.team-single-items {
  margin-bottom: 30px;

  &:hover {
    .thumbnail {
      .social-area {
        opacity: 1;
        visibility: visible;
      }
    }
  }

  .content {
    text-align: center;
    margin-top: 15px;

    .member-name {
      font-size: 24px;
      line-height: 1.2;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .designation {
      font-size: 14px;
      line-height: 2;
      font-weight: 400;
      color: #000792;
      margin-bottom: 0;
      text-transform: uppercase;
    }
  }

  .thumbnail {
    position: relative;
    z-index: 0;

    &::before {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 50%;
      background: linear-gradient(180deg, rgba(4, 7, 46, 0) 0%, rgba(4, 7, 46, 1) 100%);
    }

    .social-area {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      align-items: center;
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      transition: .3s all ease;
      opacity: 0;
      visibility: hidden;

      li {
        display: inline-block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        border: 1px solid #C9C9C9;
        border-radius: 3px;
        color: $white;
        transition: .3s all ease;
        font-size: 18px;

        &:hover {
          border: 1px solid var(--main-color-one);
          background: var(--main-color-one);
          color: $white;
        }

        +li {
          margin-left: 10px;
        }
      }
    }
  }
}

.team-single-items-02 {
  margin-bottom: 30px;

  &:hover {
    .thumbnail {
      &::after {
        opacity: 1;
      }
    }
  }

  .team-content {
    margin-top: 5px;

    .member-name {
      font-size: 18px;
      line-height: 1.52;
      font-weight: 500;
      margin-bottom: 0px;
    }

    .designation {
      font-size: 14px;
      line-height: 2;
      font-weight: 400;
      color: var(--main-color-one);
      margin-bottom: 0;
      text-transform: uppercase;
    }
  }

  .thumbnail {
    position: relative;
    z-index: 0;
    width: 100%;
    transition: .3s all ease;

    &::after {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: transparent linear-gradient(270deg, #FFFFFF 0%, #FFFFFF00 100%) 0% 0% no-repeat padding-box;
      opacity: 0;
      transition: .3s all ease;
    }
  }
}

.legend-slider-one {
  &:hover {
    .owl-nav {
      opacity: 1;
    }
  }

  .owl-nav {
    font-size: 30px;
    color: var(--main-color-one);
    opacity: 0;
    transition: .3s all ease;

    .owl-prev {
      position: absolute;
      top: 25%;
      left: 10px;


    }

    .owl-next {
      position: absolute;
      right: 10px;
      top: 25%;
    }
  }
}