.slider {
    position: relative;
    max-width: 100%;
    margin: 0; /* Remove any margin to ensure it doesn't overlap with the nav */
    overflow: hidden;
    top: 0; /* Position at the top of the container */
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 730px;
    object-fit: cover;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 100px; /* Increased width */
    height: 100px; /* Increased height */
    border-radius: 50%; /* Make buttons round */
    padding: 10px;
    color: white;
    font-weight: bold;
    font-size: 24px; /* Larger font size */
    transition: 0.6s ease;
    border: none;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Ensure buttons are on top */

}

.next {
    right: 150px; /* Space from the right edge */
}

.prev {
    left: 150px; /* Space from the left edge */
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}
