.comparison-slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .comparison-slider video {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .video-wrapper {
    position: relative;
    width: 100%;
  }
  
  .video-right {
    position: relative;
    width: 100%;
    display: block;
  }
  
  .video-left-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
  }
  
  .video-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    max-width: 900px;
    height: 100%;
    object-fit: cover;
  }
  
  .slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: white;
    cursor: ew-resize;
    z-index: 4;
    transform: translateX(-50%);
  }
  
  .slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
  
  .slider-handle::after {
    content: '◀ ▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    z-index: 5;
    pointer-events: none;
  }
  
  .comparison-slider:hover .slider-handle {
    background-color: #4a9eff;
  }