/* --- Vertical Course Slider Styles --- */
.course-vertical-slider {
    position: relative;
    width: 100%;
    height: 450px;
    margin-bottom: 4rem;
    border-radius: 30px;
    overflow: hidden;
    background: #000;
    /* Contrast for non-covering images */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.slider-track {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.course-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b1d1a;
}

.course-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    /* CRITICAL: No cropping */
}

/* Semi-transparent Overlay for Title */
.slide-overlay {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-md);
}

.slide-overlay span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #2E5C55;
}

/* Dots Navigation */
.slider-dots {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dots .dot.active {
    background: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .course-vertical-slider {
        height: 300px;
        margin-bottom: 2rem;
    }

    .slide-overlay {
        bottom: 1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}