/* Testimonial styles */
.box-tes-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 30px;
    border-radius: 20px;
    background-color: #ffffff;
  }
  
  /* Note styling with expandable functionality */
  .box-tes-item .note {
    position: relative;
    margin-top: 12px;
    overflow: hidden;
    max-height: 132px; /* Default height for collapsed state */
    transition: max-height 0.4s ease;
    cursor: pointer;
  }
  
  /* Expanded state */
  .box-tes-item .note.expanded {
    max-height: 1000px; /* Large enough to show all content */
  }
  
  /* Gradient fade for collapsed state */
  .box-tes-item .note:not(.expanded)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
    pointer-events: none;
  }
  
  /* Visual indicator that text is clickable */
  .box-tes-item .note.truncated:not(.expanded)::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 4px;
    background-color: #138590;
    border-radius: 2px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  
  .box-tes-item .note.truncated:hover:not(.expanded)::before {
    opacity: 1;
  }
  
  /* Quote icon */
  .box-tes-item .icon-quote {
    font-size: 60px;
    color: #138590;
  }
  
  /* Avatar section */
  .box-tes-item .box-avt {
    margin-top: auto;
    padding-top: 24px;
  }
  
  /* Star rating */
  .box-tes-item .list-star {
    margin-top: 12px;
    gap: 4px;
  }
  
  .box-tes-item .list-star .icon {
    font-size: 14px;
  }
  
  /* Fix for mobile view */
  @media (max-width: 767px) {
    .tf-sw-testimonial .swiper-slide {
      width: 100% !important;
    }
    
    .box-tes-item {
      margin: 0 auto;
      max-width: 90%;
    }
  }
  
  /* Swiper container styles */
  .tf-sw-testimonial {
    overflow: hidden;
    width: 100%;
  }
  
  .tf-sw-testimonial .swiper-slide {
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
  }
  
  /* Pagination styles */
  .sw-pagination-testimonial {
    margin-top: 20px;
  }
  
  .sw-pagination-testimonial .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #e4e4e4;
    opacity: 1;
  }
  
  .sw-pagination-testimonial .swiper-pagination-bullet-active {
    background: #138590;
  }
  