/* Educational Slider Styles - Enhanced V2 - 100% Responsive */

.rv-educational {
    padding: 80px 0;
    background: var(--rv-bg-soft);
}

.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
    height: clamp(520px, 68vw, 760px);
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    cursor: grab;
    user-select: none;
    background: #0a192f;
}

.slider-container:active {
    cursor: grabbing;
}

.edu-slider {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
}

.edu-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background: #0a192f;
}

.edu-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #0a192f;
    pointer-events: none;
}

/* Floating Navigation Buttons */
.slider-btn-float {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.slider-btn-float:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-float.prev { left: 15px; }
.slider-btn-float.next { right: 15px; }

/* Dot Navigation */
.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(10, 46, 115, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    width: 20px;
    border-radius: 4px;
    background: var(--rv-primary);
}

@media (max-width: 768px) {
    .rv-educational { padding: 60px 0; }
    .slider-container {
        border-radius: 0;
        margin-top: 24px;
        height: clamp(440px, 112vw, 600px);
    }
    .slider-btn-float {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.3); /* Better visibility on mobile */
    }
    .slider-btn-float.prev { left: 10px; }
    .slider-btn-float.next { right: 10px; }
    
    /* Adjust aspect ratio for vertical mobile screens if needed, but 4:3 is usually safe */
}
