.slider-wrapper {
    width: 100%;
    margin: auto;
}

.slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 400px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: #2d3748;
}

.bottom-left-shade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    z-index: 5;
    pointer-events: none;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top;
    opacity: 0;
    z-index: 1;
    transition: opacity 0s;
}

.slide.active {
    opacity: 1;
    z-index: 2; 
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.slide.next-slide {
    opacity: 1;
    z-index: 3;
    clip-path: polygon(0% 100%, 100% 0%, 100% 100%, 0% 100%);
    animation: wipeIn 1s ease-in-out forwards;
}

@keyframes wipeIn {
    to {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
}

.static-slider-text {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    transform: none;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    z-index: 6;
    pointer-events: none;
    text-align: left;
    padding: 0 1rem;
    max-width: 60%;
}

.dot-container {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 7;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dot.active {
    background-color: #81e6d9;
    transform: scale(1.4);
    box-shadow: 0 4px 12px rgba(129, 230, 217, 0.6);
}

@media (max-width: 768px) {
    .static-slider-text {
        font-size: 2rem;
        bottom: 1rem;
        left: 1rem;
        max-width: 80%;
    }
    .dot-container {
        bottom: 0.5rem;
    }
    .bottom-left-shade {
        height: 50%;
    }
}

@media (max-width: 480px) {
    .static-slider-text {
        font-size: 1.5rem;
        bottom: 0.5rem;
        left: 0.5rem;
        max-width: 90%;
    }
}