.cases-heading{
    background-image: url(https://teamvoy.com/wp-content/uploads/2025/04/background-button-image.jpeg?id=5181) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
   padding: 150px 0 80px 0;
}

.cases-heading div{
    display: flex;
    margin: 0 auto;
    max-width: 1380px;
}

.cases-heading h1{
  width: 100%; 
    margin: 0 50px;
}
      

.cases {
      padding: 40px 0;
      overflow-x: hidden;
    }

    .cases-wrapper {
      max-width: 1380px;
      margin: 0 auto;
      width: 100%;
    }

    .cases-content {
      margin: 0 50px;
    }

    .cases-categories {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 40px;
    }

    .category-btn {
      font-size: 16px;
      padding: 10px 20px;
      border: 1px solid #000;
      background: transparent;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      color: #000;
    }

    .category-btn.active {
      pointer-events: none;
      cursor: default;
    }
    
    .category-btn.active,
    .category-btn:hover {
      background: #000;
      color: #fff;
    }

    .cases-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      overflow: visible;
    }

    .case-card {
      position: relative;
      height: 420px;
      overflow: hidden;
      color: #fff;
      text-decoration: none;
      display: block;
      transform: scale(1);
      transition: transform 0.45s ease;
      opacity: 0;
      transform: translateY(8px) scale(0.995);
      transition: opacity 0.55s ease, transform 0.55s ease;
    }

    .case-card.show {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    .case-bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
    }

    .case-shade {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.4);
      transform: scaleY(1);
      transform-origin: bottom;
      transition: transform 0.45s ease;
      z-index: 1;
      pointer-events: none;
    }

    .case-content {
      position: absolute;
      left: 24px;
      right: 24px;
      bottom: 24px;
      z-index: 2;
    }

    .case-content h2 {
      margin: 0 0 8px;
      font-size: 30px;
      line-height: 1.3;
      color: #fff;
    }

    .case-content span {
      font-size: 14px;
      opacity: 0.85;
      color: #fff !important;
    }

    .case-card:hover .case-content h3,
    .case-card:hover .case-content span {
      color: #fff !important;
    }

    .case-card:hover {
      transform: scale(1.035);
    }

    .case-card:hover .case-shade {
      transform: scaleY(0.4);
    }

    @media (max-width: 1480px) {
      .cases-content {
        margin: 0;
      }

      .cases-wrapper {
        padding: 0 100px;
      }
    }

    @media (max-width: 1024px) {
      .cases-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .cases-content {
        margin: 1rem;
        padding: 0;
      }

      .cases-wrapper {
        padding: 0;
      }

      .cases-grid {
        grid-template-columns: 1fr;
      }

      .case-card {
        height: 340px;
      }
    }

     .gradient-bg {
        height: 95vh;
        display: flex;
        justify-content: center;
        align-items: center;
        /* background: linear-gradient(60deg, #DACDE3, #D8ECF9, #DAE5A7, #F2EFA8); */
        background: url(https://teamvoy.com/wp-content/uploads/2025/04/background-button-image.jpeg);
        background-size: 300% 300%;
        animation: waveGradient 7s ease-in-out infinite;
        color: white;
        text-align: center;
        position: relative;
        transition: background-position 0.1s ease-out;
      }

      @keyframes waveGradient {
        0% {
          background-position: 0% 50%;
        }
        25% {
          background-position: 50% 100%;
        }
        50% {
          background-position: 100% 50%;
        }
        75% {
          background-position: 50% 0%;
        }
        100% {
          background-position: 0% 50%;
        }
      }

      .black-box {
        background-color: black;
        padding: 8% 0;
        margin: 0 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
        opacity: 0;
        transform: translateY(30px) scale(0.96);
        animation: boxAppear 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        animation-delay: 0.4s;
      }

      @keyframes boxAppear {
        to {
          opacity: 1;
          transform: translateY(0) scale(1);
        }
      }

      .white-line {
        color: white;
        display: inline-block;
        opacity: 0;
        transform: translateY(40px);
        font-weight: 400 !important;
        margin-bottom: 20px !important;
        max-width: 700px;
        font-size: 36px;
        text-transform: capitalize !important;
      }

      .sub-info {
        color: white;
        margin-top: 0;
        margin-bottom: 24px;
        font-weight: 300;
        max-width: 700px;
        opacity: 0;
        transform: translateY(40px);
      }

      .gradient-button {
        opacity: 0;
        transform: translateY(40px);
        padding: 12px 40px !important;
        color: #000 !important;
        font-size: 18px !important;
        font-style: normal;
        font-weight: 400 !important;
        line-height: 24px;
        border: 1px solid #000;
        letter-spacing: 0.016px;
        padding: 12px 28px;
        cursor: pointer;
        background-image: linear-gradient(to right, #dae5a7 0%, #dacde3 50%, #dae5a7 100%);
        background-size: cover;
        background-position: center;
        opacity: 0;
        transform: translateY(40px);
        margin-top: 20px;
      }

      .gradient-button:hover {
        background-image: linear-gradient(to right, #dacde3 0%, #dae5a7 50%, #dacde3 100%);
      }

      .gradient-button:active {
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        position: relative;
      }

      .box-wrapper {
        max-width: 1380px;
        margin: 0 auto;
        width: 100%;
      }

      @media (max-width: 1480px){
       .black-box{
         margin: 0; 
       }

       .box-wrapper{
         margin: 0 100px;
       }
      }

      @media (max-width: 768px) {
        .gradient-bg {
          height: 100vh;
        }
        .black-box {
          margin: 1rem;
          padding: 8% 24px;
          height: 100%;
          justify-content: center;
        }
        .content h2 {
          font-size: 32px !important;
          line-height: 40px;
        }
        .gradient-button {
          width: 100%;
        }
        .box-wrapper {
          margin: 0;
          height: 90%;
        }
      }

      .slider-wrapper {
        max-width: 1315px;
        margin: 0 auto;
      }

      .slider-container {
        display: flex;
        height: 404px;
        gap: 80px;
        margin: 80px 20px;
        align-items: center;
      }

      .left-panel {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }

      .left-panel h2 {
        color: #000;
        font-size: 36px;
        font-style: normal;
        font-weight: 400;
        line-height: 44px;
        text-transform: capitalize;
        margin: 0;
      }

      .navigation {
        display: flex;
        gap: 12px;
      }

      .nav-btn {
        display: flex;
        padding: 16px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border: 1px solid #9a9a9a;
        background-color: white;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .nav-btn svg path {
        stroke: black;
        transition: stroke 0.3s ease;
      }

      .nav-btn:hover {
        background: black;
        border-color: black;
      }

      .nav-btn:hover svg path {
        stroke: white;
      }

      .right-panel {
        height: 100%;
        flex: 1;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
      }

      .slide {
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.4s ease;
        position: absolute;
        width: calc(100% - 100px);
        left: 50px;
        height: 100%;
      }

      .slide.active {
        opacity: 1;
        transform: translateX(0);
        position: relative;
        width: 100%;
        left: 0;
      }

      .slide-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
      }

      .quote {
        color: #000;
        font-size: 36px;
        font-style: normal;
        font-weight: 400;
        line-height: 44px;
      }

      .author {
        display: flex;
        align-items: flex-end;
        gap: 24px;
      }

      .author img{
        width: 80px;
        height: 80px;
      }

      .avatar{
        min-width: 80px;
        height: 80px;
        background: url(https://teamvoy.com/wp-content/uploads/2025/04/background-button-image.jpeg);
        animation: waveGradient 7s ease-in-out infinite;
        display: flex;
       justify-content: center;
       align-items: center;
       font-size: 36px;
       font-weight: 500;
      }

      @keyframes waveGradient {
        0% {
          background-position: 0% 50%;
        }
        25% {
          background-position: 50% 100%;
        }
        50% {
          background-position: 100% 50%;
        }
        75% {
          background-position: 50% 0%;
        }
        100% {
          background-position: 0% 50%;
        }
      }

      .author p {
        margin: 0;
        color: #000;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 32px;
        letter-spacing: 0.09px;
        opacity: 0.8;
      }

      @media (max-width: 1480px) {
        .slider-container {
          margin: 0;
        }

        .slider-wrapper {
          margin: 80px 100px;
        }
      }

      @media (max-width: 1200px) {
        .slider-container {
          gap: 32px;
        }

        .quote {
          font-size: 26px;
          line-height: 36px;
        }
      }

      @media (max-width: 992px) {
        .quote {
          font-size: 2vw;
          line-height: 28px;
        }

        .author p {
          font-size: 16px;
          line-height: 24px;
        }
      }

      @media (max-width: 768px) {
        .slider-wrapper {
          margin: 0;
        }

        .slider-container {
          flex-direction: column;
          height: auto;
          margin: 1rem;
          gap: 24px;
        }

        .slide {
          width: 100%;
          left: 0;
        }

        .left-panel {
          width: 100%;
          flex-direction: row;
        }

        .paragraph-divider {
          display: none;
        }

        .nav-btn {
          width: 50px;
          height: 50px;
        }

        .slide-content {
          gap: 24px;
          min-height: 350px;
        }

        .quote {
          font-size: 18px;
        }
      }

      .testimonials-container {
        background: url(https://teamvoy.com/wp-content/uploads/2025/04/background-button-image.jpeg);
        background-size: cover;
        background-position: center;
      }

      @media (min-width: 992px) {
        .testimonials-container {
          transition: background 0.8s cubic-bezier(0.16, 1, 0.3, 1);
          min-height: 100vh;
        }

        .testimonials-container.slide-1 {
          background: #000;
        }

        .testimonials-scroll-container {
          height: 200vh;
          min-height: 200vh;
          position: relative;
          max-width: 1380px;
          margin: 0 auto;
        }

        .testimonials-sticky {
          position: sticky;
          top: 60px;
          height: 100vh;
          margin: 0 50px;
          display: flex;
          flex-direction: column;
          justify-content: center;
        }

        .testimonials-title {
          color: #000;
          font-size: 36px;
          font-style: normal;
          font-weight: 400;
          line-height: 44px;
          margin-bottom: 30px;
          transform: translateY(40px);
          opacity: 0;
          transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .testimonials-title.white {
          color: #fff;
        }

        .testimonials-title.visible {
          transform: translateY(0);
          opacity: 1;
        }

        .testimonials-slides {
          position: relative;
          width: 100%;
          height: 650px;
        }

        .testimonials-slide {
          position: absolute;
          inset: 0;
          opacity: 0;
          transform: translateY(50px);
          transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
          pointer-events: none;
          overflow: hidden;
          cursor: pointer;
        }

        .testimonials-slide.active {
          opacity: 1;
          transform: translateY(0);
          pointer-events: auto;
        }

        .testimonials-slide video {
          width: 100%;
          object-fit: cover;
          object-position: left;
          display: block;
          box-shadow: 0 0 0 1px #444;
          cursor: pointer;
        }

        .watch-overlay {
          position: absolute;
          top: 15px;
          right: 15px;
          background: rgba(255, 255, 255, 0.8);
          color: #000;
          padding: 10px 18px;
          font-weight: 400;
          border-radius: 6px;
          font-size: 18px;
          transition: all 0.3s;
          z-index: 2;
          cursor: pointer;
          pointer-events: none;
        }

        .watch-overlay:hover {
          background: #fff;
        }

        .testimonials-slide video.playing + .watch-overlay {
          display: none;
        }

        .subtitle-overlay {
          position: absolute;
          bottom: 60px;
          left: 50%;
          transform: translateX(-50%);
          background: rgba(0, 0, 0, 0.7);
          color: white;
          padding: 8px 16px;
          border-radius: 4px;
          font-size: 18px;
          font-family: Arial, sans-serif;
          text-align: center;
          max-width: 80%;
          display: none;
          z-index: 10;
        }

        .testimonials-lightbox {
          position: fixed;
          inset: 0;
          background: rgba(0, 0, 0, 0.8);
          display: flex;
          align-items: center;
          justify-content: center;
          z-index: 1000;
          opacity: 0;
          visibility: hidden;
          transition: all 0.4s;
        }

        .testimonials-lightbox.active {
          opacity: 1;
          visibility: visible;
        }

        .testimonials-lightbox video {
          max-width: 90%;
          max-height: 90%;
        }

        .testimonials-lightbox-close {
          position: absolute;
          top: 20px;
          right: 30px;
          font-size: 32px;
          color: #fff;
          cursor: pointer;
          user-select: none;
        }
      }

      @media (min-width: 992px) and (max-width: 1480px) {
        .testimonials-sticky {
          margin: 0;
        }
        .testimonials-scroll-container {
          padding: 0 100px;
        }
        .testimonials-slide video {
          object-fit: contain;
          height: 100%;
        }
      }

      @media (max-width: 992px) {
        .testimonials-scroll-container {
          height: auto;
          padding: 20px 16px;
        }

        .testimonials-sticky {
          position: static;
          height: auto;
        }

        .testimonials-title {
          color: #fff;
          position: static;
          font-size: 36px;
          font-style: normal;
          font-weight: 400;
          line-height: 44px;
          margin-bottom: 20px;
          transform: none;
          opacity: 1;
        }

        .testimonials-slides {
          position: static;
          height: auto;
        }

        .testimonials-slide {
          position: static;
          opacity: 1;
          transform: none;
          pointer-events: auto;
          cursor: default;
          margin-bottom: 20px;
        }

        .testimonials-slide video {
          width: 100%;
          height: auto;
          box-shadow: none;
        }

        .watch-overlay {
          display: none;
        }

        .subtitle-overlay {
          display: none;
        }

        .testimonials-lightbox {
          display: none;
        }
      }