.pegahealth--insurance {
}

.pegahealth--values {
  background-color: #fbfbff;
  .row-pos {
    position: relative;
  }

  .first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
  }
  .last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  &--wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    @media (max-width: 900px) {
        flex-wrap: wrap;
    }
    &--item {
        // box-shadow: 0px 0px 6px #acabab29;
        border: 1px solid #f8f8fc;
        height: 220px;
        width: 25%;
        cursor: pointer;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;

        @media (max-width: 900px) {
            flex-wrap: wrap;
            height: 200px;
            width: 50%;
        }
    
        &--front {
          display: flex;
          align-items: center;
          justify-content: center;
          flex-direction: column;
          width: 100%;
          height: 100%;
          img {
            width: 70px;
          }
          &--title {
            --minFontSize: 16px;
            --maxFontSize: 24px;
            --scaler: 5vw;
            font-size: clamp(var(--minFontSize), var(--scaler), var(--maxFontSize));
            margin-bottom: 0;
            font-weight: 700;
            padding-top: 28px;
            color: $c-main;
          }
        }
    
        &--back {
          background-color: $c-white;
          color: white;
          position: absolute;
          width: 100%;
          height: 220px;
          border-radius: 12px;
          // padding: 24px 80px;
          display: flex;
          align-items: center;
          justify-content: center;
          flex-direction: row;
          flex-wrap: wrap;
        
          z-index: 999;
          top: 0;
          left: 0;
          visibility: hidden;
          @media (max-width: 900px) {
            height: 200px;
            flex-wrap: wrap;

            }
    
    
          &--left {
            background-color: #fbfdff;
            text-align: center;
            display: flex;
            align-content: center;
            justify-content: center;
            flex-direction: column;
            height: 100%;
            width: 25%;
            padding: 16px;
            border-top-left-radius: 12px;
            border-bottom-left-radius: 12px;

            @media (max-width: 900px) {
                border-bottom-left-radius: 0;
                border-top-left-radius: 12px;
                border-top-right-radius: 12px;
                width: 100%;
            }
            img {
              width: 70px;
              height: 70px;
            }
    
            &--title {
              color: $c-main;
              --minFontSize: 14px;
              --maxFontSize: 18px;
              --scaler: 7vw;
              font-size: clamp(
                var(--minFontSize),
                var(--scaler),
                var(--maxFontSize)
              );
              margin-bottom: 0;
              font-weight: 800;
              padding-top: 16px;
              padding-bottom: 8px;
            }
          }
    
          &--right {
            height: 100%;
            width: 75%;
            background-color: white;
            color: $c-gray;
            border-top-right-radius: 12px;
            border-bottom-right-radius: 12px;
            @media (max-width: 900px) {
                border-top-right-radius: 0;
                border-bottom-left-radius: 12px;
                border-bottom-right-radius: 12px;
                width: 100%;
            }
            padding: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            p {
                font-size: 16px;
                line-height: 28px;
                font-weight: 500;
                margin-bottom: 0;
                @media (max-width: 900px) {
                    font-size: 12px;
                    line-height: 24px;
                }
            }
          }
        }
    
        .close {
          position: absolute;
          right: 1%;
          top: 3%;
    
          i {
            color: $c-main;
            font-size: 24px;
          }
        }
      }
  } 

}


.pegahealth--subscription {
  background-color: #fbfbff;


  &--item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 16px 12px;
    // border-radius: 1.5em;
    // box-shadow: 0 20px 20px rgba(0,0,0,.08);
    box-shadow: 0px 0px 6px #B2B2B229;
    border-radius: 12px;
    transition: box-shadow 200ms cubic-bezier(.02, .01, .47, 1), transform 200ms cubic-bezier(.02, .01, .47, 1);
    
    &:hover {
    //   box-shadow: 0 40px 40px rgba(0,0,0,.16);
      box-shadow: 0px -6px 0 $c-second;
      transform: translate(0,-20px);
    }

 


    &--img {
        margin: 2em auto 2em;
        height: 90px;
        max-width: 9.3em;
      }
    
      &--title {
          text-align: center;
        h3 {
            margin: 0;
            text-transform: capitalize;
            --minFontSize: 16px;
            --maxFontSize: 22px;
            --scaler: 7vw;
            font-size: clamp(var(--minFontSize), var(--scaler), var(--maxFontSize));
            font-weight: 700;
            line-height: 30px;
            color: $c-gray;
            padding-bottom: 12px;
        }
      }
   
    
      &--features {
        margin: 1em 0 .9em;
        padding: 0;
        list-style-type: none;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }
    
      &--feature {
        display: flex;
        align-items: center;
        font-weight: bold;
        text-align: center;
        margin-bottom: 8px;
        --minFontSize: 12px;
        --maxFontSize: 14px;
        --scaler: 7vw;
        font-size: clamp(var(--minFontSize), var(--scaler), var(--maxFontSize));
        font-weight: 500;
        line-height: 24px;
        color: $c-gray;
      }
    
      &--button {
        background: var(--pricing-table-color);
        color: #fff;
        margin-top: auto;
        padding: 1em 2em;
        text-decoration: none;
        width: 100%;
        border-radius: 1.87em;
        text-align: center;
        transition: background .2s ease-in-out;
        text-transform: capitalize;
    
        &:hover {
          background-color: hsl(122, 39%, 49%);
        }
      }
  }


}


.pegahealth--advantages {
    &--item {
      box-shadow: 0px 0px 6px #B2B2B229;
      border-radius: 12px;
      background-color: white;
      padding: 16px;
      border: 1px solid white;
      transition: box-shadow 200ms cubic-bezier(.02, .01, .47, 1), transform 200ms cubic-bezier(.02, .01, .47, 1);
      
      &:hover {
        background-color: #F8F8FC;
        border: 1px solid $c-third
      }
      &--head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 24px;

        img {
          width: 72px;
          height: 72px;
        }

        h3 {
          --minFontSize: 40px;
          --maxFontSize: 80px;
          --scaler: 7vw;
          font-size: clamp(var(--minFontSize), var(--scaler), var(--maxFontSize));
          font-weight: 700;
          line-height: 30px;
          color: #EBEFF5;
        }
      }

      &--desc {
        p {
          --minFontSize: 12px;
          --maxFontSize: 16px;
          --scaler: 7vw;
          font-size: clamp(var(--minFontSize), var(--scaler), var(--maxFontSize));
          font-weight: 500;
          line-height: 24px;
          color: $c-gray;

          small {
          font-weight: 400;
          color: $c-gray;
          font-size: 12px;
          }
        }
      }
    }
}


.pegahealth--care {
  &--wrapper {
    &--item {
      padding-inline-start: 1em;
      padding: 12px 0;
      border-bottom: 1px solid #f8fbff;
      p {
        color: $c-black;
        margin-bottom: 0;
        line-height: 28px;
        font-size: 18px;

      }

      &::marker {
        content: "👉 ";
      }
    }
  }
}

.pegahealth--care--quote {
    text-align: center;
    z-index: 1;
   p {
    font-size: 24px;
    line-height: 36px;
    font-weight: 700;
    color: $c-third;
  }
  &.blockquote {
    padding: 60px 80px 40px;
    position: relative;

    @media (max-width: 800px) {
      padding: 45px 25px 40px;
    }
  }
  &.blockquote p {
    text-align: center;
  }
  &.blockquote:before {
    position: absolute;
    font-family: "FontAwesome";
    top: 25%;
    left: 15%;
    opacity: 0.7;
    content: "\f10d";
    font-size: 100px;
    color: #EBEFF5;
    z-index: -1;
  }
  &.blockquote::after {
    content: "";
    bottom: 25px;
    left: 0;
    right: 0;
    margin: 0 auto;
    position: absolute;
    border-bottom: 3px solid $c-second;
    height: 3px;
    width: 20%;
  }
}

.pegahealth--care--quote--left {
  text-align: left;
  z-index: 9;
 p {
  font-size: 24px;
  line-height: 36px;
  font-weight: 700;
  color: $c-third;
}
&.blockquote {
  padding: 30px 50px 40px;
  position: relative;
  @media (max-width: 800px) {
    padding: 25px 25px 20px;
  }
}
&.blockquote p {
  text-align: left;
}
&.blockquote:before {
  position: absolute;
  font-family: "FontAwesome";
  top: 35%;
  left: 2%;
  opacity: 0.7;
  content: "\f10d";
  font-size: 90px;
  color: #EBEFF5;
  z-index: -1;
}

}

.pegahealth--care--mutual {
  background-color: #fbfbff;

  &--content {
    background-color: white;
    border: 1px solid #ECEFF4;
    padding: 16px;

    @media (max-width: 800px) {
      padding: 10px;
    }

    h4 {
      color: $c-third;
      font-weight: 600;
      font-size: 18px;
      padding-bottom: 10px;
      line-height: 32px;
    }

    ul {
      

     li {
      padding: 2.8px 0;
      border-bottom: 1px solid #f8fbff;
      &::marker {
        content: "👉 ";
      }
     }
    }
  }

}

.pegahealth--care--pages {

  &--card {
    border: 1px solid #ECEFF4;
    padding: 24px;
    text-align: center;
    transition: all .2s;
    position: relative;
    cursor: pointer;


    & span{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: block;
      box-sizing: border-box;
      z-index: -1;

      
    }
    
    & span:nth-child(1)
    {
      transform:rotate(0deg);
      bottom: 0;
      left: 0;
    }
    
    & span:nth-child(2)
    {
      display: none;
    }
    
    & span:nth-child(3)
    {
      transform:rotate(180deg);
      bottom: 0;
      left: 0;
    }
    
    & span:nth-child(4)
    {
      display: none;
      left: 0;
    }
    
    & span:before
    {
      content: '';
      top: 0;
      left: 0;
      position: absolute;
      width:100%;
      height: 2px;
      background: $c-second;
      animation: animate 4s linear infinite;
    }
    
    @keyframes animate {
      0% {
      transform:scaleX(0);
      transform-origin: left;
      }
      50%
      {
        transform:scaleX(1);
      transform-origin: left;
      }
      50.1%
      {
        transform:scaleX(1);
      transform-origin: right;
        
      }
      
      100%
      {
        transform:scaleX(0);
      transform-origin: right;
        
      }
      
      
    } 





    a {
      text-decoration: none;
    }

    h4 {
      font-size: 18px;
      font-weight: 600;
      color: $c-main;
    }
    p {
      font-size: 14px;
      font-weight: 500;
      color: $c-gray;
      margin-bottom: 0;
    }

    &:hover {
      background-color: #ECEFF4;
    }
  }
}


.pegahealth--care--rh {

}


.pegahealth--care--boss {

  &--steps {
    display: flex;
    align-items: center;
    justify-content: space-around;
    @media (max-width: 800px) {
      flex-wrap: wrap;
    }

    &--step {
      width: 20%;
      margin: 0 10px;
      border: 1px solid $c-third;
      background-color: #F8F8FC;
      padding: clamp(12px, 5vw, 18px);
      text-align: center;
      @media (max-width: 800px) {
        width: 44%;
        margin: 10px;
      }
      h4 {
        margin-bottom: 0;
        font-size: clamp(16px , 5vw, 20px);
        color: $c-third;
      }
    }
  }

  &--card {
    background-color: #F9FAFD;
  }

  ul {
      

    li {
     padding: 2.8px 0;
     border-bottom: 1px solid #f8fbff;
     color: $c-black;
     line-height: 28px;
     &::marker {
       content: "👉 ";
     }
    }
   }
}