.qs-slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    height: 500px; 
    margin-bottom: 30px;
    background-color: #f5f5f5;
}

.qs-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

.qs-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.qs-slide-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.qs-slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    width: 80%;
    pointer-events: none; /* Let clicks pass through to the link */
}

.qs-slide-text span {
	display: inline-block;
	background: rgba(12,11,75,0.721569);
	color: #fff;
	padding: 15px 30px;
	font-size: 32px;
	border-radius: 4px;
	text-transform: uppercase;
	font-family: oswald;
}

/* Navigation Buttons */
.qs-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    transition: background 0.3s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qs-slider-nav:hover {
    background: rgba(0,0,0,0.8);
}

.qs-slider-prev {
    left: 15px;
}

.qs-slider-next {
    right: 15px;
}

/* Pagination Dots */
.qs-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.qs-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.qs-slider-dot.active {
    background: #fff;
    border-color: rgba(0,0,0,0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .qs-slider-container {
        height: 300px;
    }
    .qs-slide-text span {
        font-size: 18px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .qs-slider-container {
        height: 200px;
    }
    .qs-slide-text span {
        font-size: 14px;
        padding: 8px 15px;
    }
}
