.slider-container1 {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    background: white;
    border: 3px solid #800000;
   
}

@media (min-width: 768px) {
    .slider-container1 {
        height: 370px;
        border: 3px solid #800000;
    }
}

.slider-wrapper1 {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide1 {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: white;
}

.slide1 img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


.text-content {
    height: 40%;
    padding: 1.5rem;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}



.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    color: white;
}

.slider-container1:hover .nav-button {
    opacity: 1;
}

.nav-button:hover {
    background: rgba(255,255,255,0.3);
}

.nav-prev {
    left: 1rem;
}

.nav-next {
    right: 1rem;
}

.dots-container1 {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

    .dot.active {
        background: #374151;
        transform: scale(1.1);
    }

    .dot:hover {
        background: rgba(0,0,0,0.5);
    }
