/* Standard Card */
a.talent-card {
  color: inherit; /* blue colors for links too */
  text-decoration: inherit; /* no underline */
}
.talent-card > .card {
    transition: transform 0.3s;
    /* max-width: none;
    min-width: none; */
    &:hover {
        transform: scale(1.03);
    } 
    
  min-width: 270px;
  max-width: 270px;
  height: 475px;
  position: relative;
  border-radius: 10px;
  border: 0.5px solid #5a5a5a;
  background: #181818;

  .card-badge,
  .card-button {
    position: absolute;
    top: 10px;
  }

  .card-badge {
    display: none;
    left: 10px;
    width: 110px;
    height: 20px;
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    background: linear-gradient(90deg, #83dfed 0%, #1e3f90 100%);
    font-size: 8px;
  }

  .card-button {
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light-gray);
    color: var(--white);
  }

  .card-image {
    width: 100%;
    height: 280px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    img {
      width: 100%;
      height: 100%;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      object-fit: cover;
    }
    .talent-category {
        position: absolute;
        right: 14px;
        top: 16px;
        background: #fff;
        padding: 5px 15px;
        color: #000;
        font-size: 12px;
        font-weight: 700;
        border-radius: 15px;

        -webkit-box-shadow: 2px 2px 5px 2px rgba(0,0,0,0.2);
        -moz-box-shadow: 2px 2px 5px 2px rgba(0,0,0,0.2);
        box-shadow: 2px 2px 5px 2px rgba(0,0,0,0.2);
    }
  }

  .card-body {
    padding: 2px 12px 10px 12px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    height: calc(100% - 280px);

    .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 10px;
      .header-name {
        display: flex;
        align-items: center;
        gap: 0.2em;
        max-width: 245px;
        width: fit-content;
        h3 {
          font-size: 16px;
          font-style: normal;
          font-weight: 600;
          line-height: normal;
        }
        .badge-background {
          width: 12px;
          height: 12px;
          background-repeat: no-repeat;
          background-image: url("./assets/icons/Badge-circle.png");
          display: flex;
          justify-content: center;
          align-items: center;
        }
      }
      .header-statistics {
        display: flex;
        align-items: center;
        gap: 3px;
        .header-rating {
          font-size: 10px;
          font-weight: 600;
        }
        .header-reviews {
          font-size: 10px;
          font-style: normal;
          font-weight: 400;
          line-height: 130%; /* 13px */
          letter-spacing: 0.1px;
        }
      }
    }

    .subheader {
      span {
        font-size: 11px;
        font-weight: 300;
        line-height: 13.31px;
      }
    }

    & .rates {
            /* div {
                width: auto;
                padding: 11px 8px;
                margin-top: 6px;
                span {
                    font-size: 10px;
                    font-weight: 400;
                }
            } */
        }

    .rates {
      display: flex;
      gap: 0;
      overflow: hidden;
      position: relative;
      height: 35px;
      white-space: nowrap; /* Keep all text in one line */
      width: 100%; /* Adjust to fit your layout */
      /* flex-direction: column; */
      .offers_container {
        display: flex;
        width: 100%;
        gap: 20px;
        animation-play-state: paused; /* Default: no scrolling */
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        .marquee_content {
          display: flex;
          gap: 20px; /* Spacing between offer titles */
          div.offer_title {
            white-space: nowrap; /* Prevent line breaks */
            width: fit-content;
            padding: 11px 8px;
            margin-top: 6px;
            height: 12px;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #424242;
            color: var(--white);
            min-width: 243px;
            border-radius: 10px;
            span {
                font-size: 10px;
                font-weight: 400;
            }
  
            
          }
        }
      }
    }
    

    

    .description {
        max-height: 94px;
        overflow: hidden;
        p {
            font-size: 14px;
            font-weight: 300;
            line-height: 18px;
            margin: 4px 0;
        }
    }

    .action {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 1em;
      .card-action {
        width: 200px;
        height: 34px;
        background-color: var(--standard-blue);
        color: var(--white);
        border-radius: 153px;
        font-size: 12px;
        font-weight: 600;
        margin-top: 1em;
        border: none;
        margin: 0 auto;
        cursor: pointer;
        position: absolute;
        bottom: 15px;
      }
    }
  }
}

.talent-card:hover .marquee_content {
  animation: title_marquee var(--scroll-duration, 20s) linear infinite;
}
@keyframes title_marquee {
  0% {
    transform: translateX(0); /* Start position */
  }
  100% {
      transform: translateX(calc(-1 * var(--marquee-width))); /* Move left by total width */
  }
}

/* ---------Offerings Card----------------- */

.offering-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 478px;
  max-width: 478px;
  height: 618px;
  border-radius: 10px;
  border: 1px solid rgba(183, 183, 183, 0.42);
  background: rgba(36, 36, 36, 0.72);

  .offering-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 110px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    background: linear-gradient(90deg, #80daea 0%, #254996 94.08%);
    margin-top: 10px;
    margin-left: 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 124%;
  }
  .offering-card-image {
    width: 100%;
    height: 268px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
    }
  }

  .offering-card-content {
    .offering-card-content-header {
      padding: 15px 20px 0 20px;
      display: flex;
      justify-content: space-between;
      height: 80px;
      .offering-card-content-header-text {
        span {
          font-size: 10px;
          font-weight: 300;
          line-height: 124%;
        }
        h3 {
          font-size: 20px;
          font-weight: 600;
          line-height: 120%;
          letter-spacing: 0.2px;
        }
      }
      figure {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
        border-radius: 100px;
        img {
          width: 100%;
          height: 100%;
          border-radius: 100px;
          object-fit: cover;
          margin-top: -50px;
        }
      }
    }

    .offering-card-content-description {
      margin: 0 20px;
      margin-top: 10px;
      font-size: 15px;
      font-style: normal;
      font-weight: 400;
      line-height: 124%;
    }

    .offering-card-content-badge {
      padding: 6px 16px;
      border-radius: 10px;
      background: #6f6f6f;
      display: flex;
      width: 66px;
      height: 17px;
      justify-content: center;
      align-items: center;
      margin: 10px 20px;
      font-size: 10px;
      font-style: normal;
      font-weight: 500;
      line-height: normal;
      border: none;
      color: var(--white);
    }

    .offering-card-content-owner {
      margin: 10px 20px;
      font-size: 13px;
      font-style: normal;
      font-weight: 400;
      line-height: 124%;
      span.highlighted {
        color: var(--standard-blue);
      }
    }
  }

  .offering-card-action {
    padding: 30px 20px;
    border-top: 1px solid #5c5c5c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    bottom: 0;
    span {
      font-size: 15px;
      font-style: normal;
      font-weight: 400;
      line-height: 124%;
    }
    button {
      border: none;
      width: 190px;
      height: 52px;
      flex-shrink: 0;
      border-radius: 153px;
      background: #254996;
      font-size: 15px;
      font-style: normal;
      font-weight: 400;
      line-height: 124%;
      color: var(--white);
      cursor: pointer;
    }
  }
}

/* ---------Offerings Card Mobile----------------- */
@media screen and (max-width: 768px) {
  .offering-card {
    min-width: 231px;
    max-width: 231px;
    height: 402px;

    .offering-card-badge {
      width: 53px;
      height: 13px;
      font-size: 5px;
      font-style: normal;
      font-weight: 400;
      line-height: 124%;
    }
    .offering-card-image {
      width: 231px;
      height: 174px;
      border-radius: 10px 10px 0px 0px;
    }

    .offering-card-content {
      .offering-card-content-header {
        padding: 0px 10px 0 10px;
        display: flex;
        justify-content: space-between;
        height: 60px;
        .offering-card-content-header-text {
          span {
            font-size: 7px;
            font-style: normal;
            font-weight: 300;
            line-height: 124%;
          }
          h3 {
            font-size: 12px;
            font-style: normal;
            font-weight: 600;
            line-height: 120%; /* 14.4px */
            letter-spacing: 0.12px;
          }
        }
        figure {
          width: 40px;
          height: 40px;
          img {
            margin-top: -50px;
          }
        }
      }

      .offering-card-content-description {
        font-size: 8px;
        font-style: normal;
        font-weight: 400;
        line-height: 124%;
        margin: 0;
        padding: 0 10px;
      }

      .offering-card-content-badge {
        width: 32px;
        height: 11px;
        padding: 3px 8px;
        font-size: 5px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        margin: 0;
        margin-left: 10px;
        margin-top: 15px;
      }

      .offering-card-content-owner {
        font-size: 7px;
        font-style: normal;
        font-weight: 400;
        line-height: 124%;
        margin: 0;
        margin-left: 10px;
        margin-top: 6px;
      }
    }

    .offering-card-action {
      padding: 15px 10px;
      span {
        font-size: 10px;
        font-style: normal;
        font-weight: 400;
        line-height: 124%;
      }
      button {
        width: 92px;
        height: 34px;
        font-size: 10px;
        font-style: normal;
        font-weight: 400;
        line-height: 124%;
      }
    }
  }
}

/* ---------Top Products Card----------------- */

.top-product-card {
  min-width: 529px;
  max-width: 529px;
  height: 390px;
  border-radius: 10px;
  border: 0.8px solid rgba(183, 183, 183, 0.42);
  background: rgba(36, 36, 36, 0.72);
  display: flex;
  .top-product-card-image img {
    width: 255px;
    height: 100%;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }
  .top-product-card-information {
    width: 60%;
    padding-left: 16px;
    padding-right: 30px;

    h3:first-of-type {
      color: #254996;
      font-size: 13px;
      font-style: normal;
      font-weight: 400;
      line-height: 124%; /* 16.12px */
      margin-top: 30px;
    }
    h3:last-of-type {
      color: var(--white);
      margin-top: 8px;
      font-size: 13px;
      font-style: normal;
      font-weight: 600;
      line-height: normal;
    }
    p {
      width: 212px;
      color: var(--white);
      font-size: 10px;
      font-style: normal;
      font-weight: 200;
      line-height: normal;
      margin-top: 24px;
    }
    .top-product-card-owner-image {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 20px;
      img {
        width: 40px;
        height: 40px;
        border-radius: 100px;
        object-fit: cover;
      }
      span {
        color: var(--white);
        font-size: 11px;
        font-style: normal;
        font-weight: 400;
        line-height: 124%; /* 13.64px */
      }
    }
    .top-product-card-action {
      margin-top: 60px;
      .top-product-card-action-price {
        display: flex;
        justify-content: space-between;
        align-items: center;
        span {
          font-size: 11px;
          font-style: normal;
          font-weight: 400;
          line-height: 124%;
        }
        .top-product-card-action-price-calculator {
          width: 59px;
          height: 22px;
          border-radius: 150px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          background-color: #3e3e3e;
          color: var(--white);
          padding: 6px;
          font-size: 8px;
          div:nth-child(2) {
            font-weight: 600;
            padding: 0 5px;
            border-right: 0.5px solid #959595;
            border-left: 0.5px solid #959595;
          }
        }
      }
      button {
        margin-top: 36px;
        width: 226px;
        height: 30px;
        border-radius: 153px;
        background: #254996;
        border: none;
        color: var(--white);
        cursor: pointer;
      }
    }
  }
}

/* ---------Top Products Card Mobile----------------- */

@media screen and (max-width: 768px) {
  .top-product-card {
    max-width: 311px;
    min-width: 311px;
    height: 245px;
    border-radius: 10px;
    border: 0.8px solid rgba(183, 183, 183, 0.42);
    background: rgba(36, 36, 36, 0.72);
    .top-product-card-image img {
      width: 149px;
      height: 244px;
      border-radius: 9px 0px 0px 9px;
    }
    .top-product-card-information {
      width: 60%;
      padding-left: 6px;
      padding-right: 35px;

      h3:first-of-type {
        font-size: 9px;
        font-style: normal;
        font-weight: 400;
        line-height: 124%;
        margin-top: 10px;
      }
      h3:last-of-type {
        font-size: 12px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        width: 116px;
      }
      p {
        font-size: 7px;
        font-style: normal;
        font-weight: 200;
        line-height: normal;
        width: 120px;
        margin-top: 5px;
      }
      .top-product-card-owner-image {
        display: flex;
        align-items: center;
        gap: 7px;
        margin-top: 14px;
        img {
          width: 25px;
          height: 25px;
        }
        span {
          font-size: 9px;
          font-style: normal;
          font-weight: 400;
          line-height: 124%; /* 13.64px */
        }
      }
      .top-product-card-action {
        margin-top: 20px;
        .top-product-card-action-price {
          span {
            font-size: 9px;
            font-style: normal;
            font-weight: 400;
            line-height: 124%;
          }
          .top-product-card-action-price-calculator {
            width: 35px;
            height: 12px;
            padding: 2px;
            font-size: 8px;
          }
        }
        button {
          width: 128px;
          height: 17px;
          font-size: 7px;
          font-style: normal;
          font-weight: 700;
          line-height: normal;
          margin-top: 15px;
        }
      }
    }
  }
}
