.plans-section {
  background-color: var(--body-bg);
  padding: 100px 20px !important;
  position: relative;
  overflow: hidden;


  .plans_header_1 {
    font-family: 'DG Trika', sans-serif;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
    line-height: 40px;
    color: var(--text-primary);
    font-size: clamp(1rem, 5vw, 3rem);
  }

  .plans_header_2 {
    font-family: 'DG Trika', sans-serif;
    text-align: center;
    line-height: normal;
    color: var(--text-secondary-invert);
     font-size: clamp(1rem, 5vw, 3rem);
  }

  .plans_section_tags {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;

    .plans_section_tag {
      display: flex;
      align-items: center;
      gap: 16px;
      padding-inline: 16px;
      border-radius: 70px 0 70px 0;

      img {
        height: 48px;

        @media screen and (max-width:786px) {
          height: 24px;
        }
      }

      p {
        margin-bottom: 0;
        font-size: clamp(0.8rem, 2.5vw, 1.5rem);
        color: var(--text-secondary-invert);
        font-family: 'DG Trika', sans-serif;
        line-height: normal;
      }
    }
  }

  .plans_section_clients {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-block: 32px;

    p {
      margin-bottom: 0;
      text-align: center;
      font-size: 20px;
      color: var(--text-secondary-invert);
      font-family: 'DG Trika', sans-serif;
      line-height: normal;
    }

    .plans_section_clients_images {
      display: flex;

      img {
        width: 50px;
        height: 50px;
        overflow: hidden;
        border-radius: 50%;
        margin-inline: -10px;
        border: 2px solid var(--body-bg);
      }
    }


  }



  .plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 80px auto;

   
  }


   @media (min-width: 786px) {
      .plans-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (min-width: 1200px) {
      .plans-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }


  .plan-card {
    position: relative;
    background: var(--card-bg);
    border: 2px solid var(--text-secondary);
    border-radius: 80px 0 80px 0;
    padding: 50px 30px 30px;
    box-shadow: 0 10px 30px var(--card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.5s ease, box-shadow 0.3s ease;
    cursor: pointer;

    &:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px var(--card-shadow);


    }


    .popular-badge {
      position: absolute;
      top: -20px;
      left: 50%;
      transform: translateX(-50%);
      background: linear-gradient(to right, #FF7434, #238481);
      color: #fff;
      padding: 6px 16px;
      border-radius: 30px;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .plan-icon {
      width: 100%;

      margin-bottom: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      border-radius: 16px;
      font-size: 1.5rem;
      transition: transform 0.6s ease;

      .plan-title {

        max-width: fit-content;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;



        h4 {
          color: var(--text-primary);
          margin-bottom: 0;
          font-size: 1.5rem;
          font-weight: 900;
          font-family: 'DG Trika', sans-serif;
          line-height: normal;

        }

        p {
          color: var(--text-secondary-invert);
          line-height: normal;
          font-size: 0.9rem;
          font-family: 'DG Trika', sans-serif;
          line-height: normal;
          margin-bottom: 0;
        }


        .tapered-line {
          height: 4px;

          max-width: 1100px;
          padding-inline: 80px;
          margin: 20px auto;
          text-align: center;

          justify-content: center;
          /* overall height */
          border: none;
          /* remove default <hr> border */
          background: var(--gradient-both);
          border-radius: 2px;
        }
      }
    }

    h3 {
      font-size: 1.8rem;
      margin-bottom: 10px;
    }

    .price {
      display: flex;
      align-items: baseline;
      gap: 8px;
      margin-bottom: 10px;

      span:first-child {
        color: var(--text-primary);
        margin-bottom: 0;
        font-size: 2rem;
        font-weight: 900;
        font-family: 'DG Trika', sans-serif;
        line-height: normal;
      }

      span:last-child {
        color: var(--text-secondary-invert);
        line-height: normal;
        font-size: 0.9rem;
        font-family: 'DG Trika', sans-serif;
        line-height: normal;
        margin-bottom: 0;
      }
    }

    .description {
      color: var(--text-secondary-invert);
      line-height: normal;
      font-size: 0.9rem;
      font-family: 'DG Trika', sans-serif;
      line-height: normal;
      margin-bottom: 24px;
    }

    .employee-calculator {
      margin: 14px 0 18px;
      padding: 14px;
      border: 1px solid var(--text-secondary);
      border-radius: 18px;
      background: var(--body-bg);
    }

    .employee-calculator__head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 10px;
      flex-wrap: wrap;
    }

    .employee-calculator__label {
      margin: 0;
      color: var(--text-primary);
      font-family: 'DG Trika', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      line-height: 1;
    }

    .employee-calculator__unit-price {
      margin: 0;
      color: var(--text-secondary-invert);
      font-family: 'DG Trika', sans-serif;
      font-size: 0.85rem;
      line-height: 1;
    }

    .employee-calculator__controls {
      display: grid;
      grid-template-columns: 42px 1fr 42px;
      gap: 8px;
      align-items: center;
    }

    .employee-control {
      width: 42px;
      height: 42px;
      border: 1px solid var(--text-secondary);
      border-radius: 12px;
      background: #fff;
      color: var(--text-primary);
      font-family: 'DG Trika', sans-serif;
      font-size: 1.2rem;
      font-weight: 700;
      cursor: pointer;
      transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
      padding: 0;
      line-height: 1;
    }

    .employee-control:hover {
      background: var(--text-primary);
      border-color: var(--text-primary);
      color: var(--text-white);
    }

    .employee-count-input {
      width: 100%;
      height: 42px;
      border: 1px solid var(--text-secondary);
      border-radius: 12px;
      background: #fff;
      color: var(--text-primary);
      text-align: center;
      font-size: 1rem;
      font-family: 'DG Trika', sans-serif;
      font-weight: 700;
      padding: 0 10px;
    }

    .employee-count-input:focus {
      outline: none;
      border-color: var(--text-primary);
      box-shadow: 0 0 0 3px rgba(35, 132, 129, 0.2);
    }

    .employee-calculator__total {
      margin: 10px 0 0;
      color: var(--text-secondary-invert);
      font-family: 'DG Trika', sans-serif;
      font-size: 0.92rem;
      line-height: 1;
    }

    .employee-calculator__total strong {
      color: var(--text-primary);
      font-size: 1.1rem;
      font-weight: 800;
      margin-left: 4px;
    }

    .plan-items {
      margin-top: 10px;
      margin-bottom: 50px;

      .item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 10px;
        opacity: 0;
        transform: translateX(-10px);
        animation: fadeIn 0.5s forwards;

        p {
          color: var(--text-secondary-invert);
          line-height: normal;
          font-size: 0.8rem;
          font-family: 'DG Trika', sans-serif;
          line-height: normal;
          margin-bottom: 0;
        }

        .check {
          width: 20px;
          height: 20px;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;

          flex-shrink: 0;
        }

        &.included {
          .check {
            color: var(--text-primary);
          }
        }

        &.excluded {
          .check {
            color: var(--gray-500);

          }
        }
      }
    }

    .start-now {

      display: flex;
      justify-content: center;
      align-items: center;
      width: 250px;
      margin: 0 auto;
      gap: 16px;
      padding-inline: 42px;
      padding-block: 12px;
      background-color: var(--text-primary);
      color: var(--text-white);
      border-radius: 70px 0 70px 0;
      border: none;
      font-family: 'DG Trika', sans-serif;
      transition: background-color 0.2s ease, color 0.2s ease;


    }
  }

  .plans-buttons {
    width: 100%;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;

    .btn-primary {
      background: var(--hero-btn-primary-bg);
      color: #fff;

      &:hover {
        background: var(--hero-btn-primary-hover);
      }
    }
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}




.plan-card:hover {
  background-color: var(--text-secondary);
  /* color: var(--text-white); */
}

.plan-card:hover .plan-icon .plan-title h3 {
  color: var(--gray-100);
}

.plan-card:hover .plan-icon .plan-title p {
  color: var(--teal-100);
}

.plan-card:hover .plan-icon img {
  filter: brightness(0) saturate(100%) invert(88%) sepia(12%) saturate(445%) hue-rotate(125deg);
}

.plan-card:hover .plan-icon .plan-title .tapered-line {
  background: var(--gradient-both-invert);
}

.plan-card:hover .price span:first-child {
  color: var(--gray-100);
}

.plan-card:hover .price span:last-child {
  color: var(--teal-100);
}

.plan-card:hover .description {
  color: var(--gray-100);
}



.plan-card:hover .plan-items .included .check svg {
  color: var(--gray-100);
}

.plan-card:hover .plan-items .excluded .check svg {
  color: var(--teal-100);
  opacity: 0.2;
}


.plan-card:hover .plan-items .item p {
  color: var(--teal-100);
}


.plan-card:hover .start-now {
  color: var(--text-secondary);
  background-color: var(--teal-100);
}



/* .plan-card:hover .price span:last-child,
.plan-card:hover .description,



.plan-card:hover svg {
  color: var(--text-white);
}


.plan-card:hover i {
  color: var(--text-white);
} */