.faq-single-widget {
  padding: 30px;
  @include glass-card;
  border-radius: 4px;
  margin-top: 15px;
  transition: all 0.3s ease-out;
  position: relative;
  overflow: hidden;
  &:hover {
    box-shadow: var(--glass-shadow);
  }
  .faq-header {
    h4 {
      position: relative;
      cursor: pointer;
      width: 100%;
      padding-right: 30px;
      i {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        display: none;
        color: $black_800;

        & + i {
          display: block;
          color: $brand_color;
        }
      }

      &.collapsed {
        i {
          display: block;

          & + i {
            display: none;
          }
        }
      }
    }
  }
  .faq-body {
    &::before {
      content: "";
      position: absolute;
      height: 100%;
      width: 4px;
      background-color: $brand_color;
      left: 0;
      top: 0;
      z-index: 1;
    }
    p {
      margin-top: 20px;
    }
  }
}

.faq-single-widget-two {
  padding: 26px 30px;
  @include glass-card;
  border-radius: 8px;
  margin-top: 20px;
  transition: all 0.3s linear;
  position: relative;
  &:hover {
    box-shadow: var(--glass-shadow);
  }
  .faq-header {
    h4 {
      color: $brand_color;
      font-weight: 600;
      font-size: 24px;
      line-height: 26px;
      position: relative;
      cursor: pointer;
      width: 100%;
      padding-right: 20px;
      &.collapsed {
        color: $black_750;
      }
      i {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        display: none;
        color: $black_750;

        & + i {
          display: block;
          color: $brand_color;
        }
      }

      &.collapsed {
        i {
          display: block;

          & + i {
            display: none;
          }
        }
      }
    }
  }
  .faq-body {
    &::before {
      content: "";
      position: absolute;
      height: 100%;
      width: 100%;
      box-shadow: 0 1px 0 0 rgba(#fff, 30%), 0 5px 20px 0 rgba(#000, 7%);
      left: 0;
      top: 0;
      z-index: -1;
      border-radius: 8px;
    }
    p {
      margin-top: 15px;
      margin-bottom: 0;
    }
  }
}

.faq-area-one {
  background-image: url(../img/home-one/faq-bg.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.faq-area-two {
  .question-img {
    transform: translateX(-55px);
  }

  .contact-action {
    h2 {
      color: $black_900;
      font-weight: 700;
      margin-bottom: 10px;
    }
    p {
      margin-bottom: 24px;
    }
    a {
      padding: 14px 33px;
    }
  }

  .content {
    padding-left: 60px;
  }
  .faq-single-widget {
    margin-top: 32px;
  }
}

.faq-area-three {
  padding: 70px 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  .bg-shape {
    img {
      position: absolute;
      z-index: -1;
      &:nth-child(1) {
        left: 0;
        top: 10%;
      }
      &:nth-child(2) {
        right: 0;
        top: 50%;
      }
    }
  }
}
