/* Slider Styles */
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin: 0 20px;
    max-width: calc(100% - 40px);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    min-width: 100%;
    position: relative;
    height: 550px;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.prev { left: 15px; }
.next { right: 15px; }

.dots {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    display: inline-block;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #000;
}

/* Responsive Slider */
@media (max-width: 768px) {
    .slide {
        height: 300px;
    }
    .slider {
        margin: 0 15px;
        max-width: calc(100% - 30px);
    }
}

@media (max-width: 480px) {
    .slide {
        height: 250px;
    }
    .slider-btn {
        padding: 8px;
    }
    .slider {
        margin: 0 10px;
        max-width: calc(100% - 20px);
    }
}