.slider {
    height: 550px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slide {
    height: 550px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide img {
    height: 550px;
    width: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 15%;
    left: 13%;
    right: 25%;
    background: rgba(255, 255, 255, 0.1); 
    color: #fafafa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    gap: 20px;
}

.active-slide {
    opacity: 1;
}

.slide-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.slide-buttons {
    position: absolute;
    right: 20px;
    top: 37%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slide-button {
    background: rgba(255, 255, 255, 0.2); 
    color: #333;
    padding: 0.5em;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    text-align: center;
    cursor: pointer;
    margin-right: 1em;
    transition: background 0.2s;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-button.active-button {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.slider__title {
    font-weight: 600;
    text-transform: uppercase;
}

.slider__text {
    font-weight: 500;
}

@media (max-width: 1024px) {
    .slide-content {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .slider {
        height: 350px;
    }
    
    .slide {
        height: 350px;
    }
    
    .slide img {
        height: 350px;
    }

    .slide-buttons {
        top: 15%;
        right: 5px;
      
      	display: none;
    }
}