/* Custom styles */
.clip-path-wave {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 30%);
}

/* Animation for cards */
.custom-sponsor-card,
.custom-testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-sponsor-card:hover,
.custom-testimonial-card:hover {
    transform: translateY(-5px);
}

/* Before/After slider styles */
.before-after-container {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 0.5rem;
}

.before-image, .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.after-image {
    width: 50%;
}

.slider-handle {
    position: absolute;
    width: 4px;
    height: 100%;
    background: white;
    left: 50%;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
}

.slider-handle::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .clip-path-wave {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 10%);
    }
}
