/* Slider Wrapper */
.slider-wrapper {
    overflow: hidden; /* Hide overflowing items */
    position: relative;
}

/* Slider Container */
.slider-container {
    display: flex;
    transition: transform 0.5s ease; /* Smooth scrolling transition */
}

/* Slider Item */
.slider-item {
    flex: 0 0 20%; /* Each item takes 20% of the container width */
    max-width: 20%;
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
}

/* Team Item Styling */
.team__item {
    background: #039FE9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

/* Navigation Buttons */
.slider-button {
    z-index: 10;
    font-size: 24px;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
}

.slider-button:hover {
    background-color: #f0f0f0;
    border-radius: 50%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slider-item {
        flex: 0 0 50%; /* Each item takes 50% of the container width on small screens */
        max-width: 50%;
    }
}
