.zoom-cursor img {
    cursor: zoom-in; 
    transition: transform 0.3s ease, opacity 0.5s ease;
  }

  .userflow img {
    width: 1300px;
    height: 600px;
    object-fit: cover;
    object-position: 80% 0%;
  }
  
  .modal-content {
    background-color: #fff;
    border: none;
    overflow: auto;
    max-height: 100vh;
  }
  .modal-body {
    padding: 0;
    text-align: center;
  }
  .modal-body img {
    max-width: 100%;
    height: auto;
  }
  .close-icon {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1.5rem;
    color: #000;
    cursor: pointer;
    z-index: 1056;
  }

/* slider component */

  .slider-container {
    position: relative;
    width: 100%;
    max-width: 1435px;
    margin: 0 auto 60px;
}

.comparison-container {
    position: relative;
    height: 600px; /* Adjust based on your images */
    overflow: hidden;
}

/* Before image - static and fixed */
.before-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* After image - this will be revealed by the slider */
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    clip-path: inset(0 0 0 50%); /* Hide right half initially */
}

/* Slider control */
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: white;
    left: 50%;
    z-index: 3;
    cursor: ew-resize;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}




/* Replace the existing slider-button CSS with this */
.slider-button {
position: absolute;
width: 32px;
height: 50px;
border-radius: 50px;
background-color: #4299e1;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 4;
cursor: ew-resize;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
/* Changed to row direction for vertical line alignment */
flex-direction: row;
}

/* Remove the previous arrow indicators completely */
.slider-button:before, 
.slider-button:after {
content: none;
}

/* Add the three vertical lines directly to the button */
.slider-button .line {
width: 2px;
height: 16px;
background-color: white;
margin: 0 2px;
display: block;
}



.label {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 5;
}

.before-label {
    top: 20px;
    left: 20px;
}

.after-label {
    top: 20px;
    right: 20px;
}

.instructions {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

.customize-note {
    background-color: #f7fafc;
    border-left: 4px solid #4299e1;
    padding: 15px 20px;
    margin-top: 40px;
    border-radius: 4px;
}

/* Just for demonstration purpose - replace with your actual images */
.placeholder-img {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-weight: bold;
    font-size: 24px;
    color: white;
}

.before-placeholder {
    background-color: #cbd5e0;
}

.after-placeholder {
    background-color: #a0aec0;
}