.why-contents {
  display: flex;
  justify-content: center;
  flex-direction: column;
  /* align-items: center; */
  /* min-height: 70vh; */
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
}

.why-contents h2 {
  text-align: center;
  font-size: 25px;
  font-weight: lighter;
  color: var(--blue);
  margin: 0;
  padding-top: 1rem;
}

.why-contents strong {
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  color: var(--blue);
}

.why-about-sales {
  color: #fff;
  padding: 1.5rem 0 0;
  text-align: center;
}
.why-about-sales-grid {
  display: flex;
  justify-content: center;
  /* align-items: flex-start; */
  margin: 1.5rem auto;
  position: relative;
  height: 100%;
}

.why-about-sales-card {
  display: flex;
  background: #fff;
  box-shadow: 8px 6px 20px rgba(0, 0, 0, 0.3), 0 1.5px 6px rgba(0, 0, 0, 0.3);
  width: 10rem;
  height: 22rem;
  outline: 5px solid white;
  transition: transform 0.8s ease, 
  box-shadow 0.6s ease, 
  width 0.8s ease;
  z-index: 1;
  overflow: hidden;
  cursor: pointer;
  opacity: 1;
  padding: 2rem;
}

.why-about-sales-card:hover,
.why-about-sales-card.active {
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.12);
  z-index: 10;
  width: 50rem;
  backdrop-filter: blur(2px);
  background: rgba(255, 255, 255, 0.1);

}

.why-about-sales-card:first-child {
  margin-left: 0;
}

.why-about-sales-card .why-about-sales-text {
  opacity: 0;
  max-height: 0;
  /* transition: opacity 0.3s, max-height 0.3s; */
  padding-top: 0;
}

.why-about-sales-card:hover .why-about-sales-text,
.why-about-sales-card.active .why-about-sales-text {
  opacity: 1;
  transform: translateY(0);
  padding-top: 1.5rem;
 /* transition: max-width 0.3s, padding-top 0.3s, cubic-bezier(.4,2.08,.55,.44), transform 0.6s cubic-bezier(.4,2.08,.55,.44);
  transform: translateY(0); */
}

i {
  font-size: 2rem;
  color: var(--orange);
}

.why-about-sales-card.active i {
  display: none;
}


.why-about-sales-card:not(:hover):not(.active) {
  pointer-events: auto;
  flex-direction: column;
  justify-content: space-between;
}

  .why-about-sales-img {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
  }

  .why-about-sales-img img {
    padding: 1rem;
    width: 5.6rem;
    height: 5.6rem;
    border-radius: 14px;
  }
  .why-about-sales-text {
    display: flex;
    flex-direction: column;
    justify-content: left;
    color: black;
    font-weight: lighter;
    padding-top: 4rem;
    opacity: 1;              /* always visible */
    transform: translateY(20px); 
    transition: transform 0.6s ease;  /* only slide, no fade */
  }
  
  .why-about-sales-text strong {
    font-size: 55px;
    font-family: 'roboto slab';
    text-align: left;
    font-weight: bold;
    color: var(--orange);
    /* padding-bottom: 1.5rem; */
  }

  .why-about-sales-text p { 
    font-size: 1.25rem;
    text-align: left;
    font-weight: lighter;
  }

@media (max-width: 1264px) {
  .why-about-sales-text strong {
    font-size: 40px;
    line-height: 1.2;
  }
}

  @media (max-width: 1024px) {
    .why-about-sales-grid {
      flex-direction: column;
      flex-wrap: wrap;
      align-items: center;
      height: auto;
      gap: 1.5rem;
      word-wrap: break-word;
    }
  
    br {
      display: none;
    }

    .why-about-sales-card {
      border-radius: 1rem;
      width: 100%;
      max-width: 22rem;
      height: auto;
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
      box-shadow: 8px 6px 20px rgba(0, 0, 0, 0.119), 0 1.5px 6px rgba(0, 0, 0, 0.152);
      cursor: default;
      padding: 1.5rem;

      i {
        display: none;
      }
    }
  
    .why-about-sales-card:hover,
    .why-about-sales-card.active {
      width: 100%;
      box-shadow: 8px 6px 20px rgba(0, 0, 0, 0.119), 0 1.5px 6px rgba(0, 0, 0, 0.152);
    }
  
    .why-about-sales-text {
      opacity: 1 !important;
      max-height: none !important;
      padding-top: 0;
      transform: none !important;
      transition: none !important;
      word-wrap: break-word;
      overflow-wrap: break-word;

      strong {
        font-size: 35px;
      }

    }
  }
  