.custom-slider {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

.custom-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 100%;
    transition: left 0.5s ease-in-out;
}

.custom-slide img {
    width: 100%;
    height: auto;
}

.custom-slide.active {
    left: 0;
}

.custom-slide.prev {
    left: -100%;
}
/* Dots for pagination */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}
.dot.active {
    background-color: #333;
}

/* Arrows for navigation */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.prev-arrow {
    left: 10px;
}
.next-arrow {
    right: 10px;
}

@media (max-width: 768px) {
    .custom-slider {
        height: 300px; /* Example for tablets */
    }
}

@media (max-width: 480px) {
    .custom-slider {
        height: 200px; /* Example for mobile phones */
    }
}
