.vec11-scope * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.vec11-scope body {
    font-family: 'Arial', sans-serif;
    background: #f5f5f5;
    padding: 20px 0;
}

.vec11-scope .slider-container {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 5;
    margin: 40px auto;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: #fff;
    height: auto;
    min-height: 180px; /* Ensure there's always height */
    display: block;   
   
}
@media (max-width: 1200px) {
    .vec11-scope .slider-container {
        max-width: 95vw;
        aspect-ratio: 16 / 9;
    }
}
/* Mobile: 600x338 = ~16:9 */
@media (max-width: 768px) {
    .vec11-scope .slider-container {
        max-width: 98vw;
        aspect-ratio: 16 / 9;
    }
}
/* Small mobile: keep aspect ratio, but allow smaller height */
@media (max-width: 480px) {
    .vec11-scope .slider-container {
        max-width: 99vw;
        aspect-ratio: 16 / 9;
        border-radius: 10px;
    }
}


.vec11-scope .image-slider ,.vec11-scope .slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}
.vec11-scope .image-slider {
    width: 100%;
    height: 100%;
    position: relative;
}
.vec11-scope .slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s;
    display: block;
}

.vec11-scope .slide.active {
    opacity: 1;
    z-index: 2;
}

.vec11-scope .slide img,
.vec11-scope .slide picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #fff;
    border-radius: 0;
    position: absolute;
    top: 0; left: 0;
}
.vec11-scope .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        transparent 0%,
        rgba(0, 0, 0, 0.3) 30%,
        rgba(0, 0, 0, 0.7) 100%
    );
    color: white;
    padding: 30px;
    text-align: left;
    z-index:3;
}

.vec11-scope .slide-overlay h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.vec11-scope .slide-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Navigation Dots */
.vec11-scope .slider-dots {
    position: absolute;
    bottom: 20px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.vec11-scope .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.vec11-scope .dot.active {
    background: #FF6B00;
    border-color: white;
    transform: scale(1.2);
}

.vec11-scope .dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Navigation Arrows */
.vec11-scope .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

.vec11-scope .slider-arrow:hover {
    background: rgba(255, 107, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.vec11-scope .slider-arrow.prev {
    left: 20px;
}

.vec11-scope .slider-arrow.next {
    right: 20px;
}

/* Arrow Icons */
.vec11-scope .arrow-left,
.vec11-scope .arrow-right {
    width: 0;
    height: 0;
    border-style: solid;
}

.vec11-scope .arrow-left {
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid white;
    margin-left: -2px;
}

.vec11-scope .arrow-right {
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid white;
    margin-right: -2px;
}

/* Progress Bar */
.vec11-scope .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.vec11-scope .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B00, #ff812b);
    width: 0%;
    transition: width 0.1s linear;
    will-change: width;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .vec11-scope .slider-container {
        width: 85%;
        height: 35vh;
    }
    .vec11-scope .slide-overlay h3 {
        font-size: 1.8rem;
    }
    .vec11-scope .slide-overlay p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .vec11-scope .slider-container {
        width: 90%;
        height: 30vh;
    }
    .vec11-scope .slide-overlay {
        padding: 20px;
    }
    .vec11-scope .slide-overlay h3 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    .vec11-scope .slide-overlay p {
        font-size: 0.9rem;
    }
    .vec11-scope .slider-arrow {
        width: 40px;
        height: 40px;
    }
    .vec11-scope .arrow-left,
    .vec11-scope .arrow-right {
        border-top-width: 6px;
        border-bottom-width: 6px;
    }
    .vec11-scope .arrow-left {
        border-right-width: 10px;
    }
    .vec11-scope .arrow-right {
        border-left-width: 10px;
    }
    .vec11-scope .dot {
        width: 10px;
        height: 10px;
    }
    .vec11-scope .slider-dots {
        bottom: 15px;
        right: 20px;
        gap: 8px;
    }
}

@media screen and (max-width: 480px) {
    .vec11-scope .slider-container {
        width: 95%;
        height: 25vh;
        border-radius: 10px;
    }
    .vec11-scope .slide-overlay {
        padding: 15px;
    }
    .vec11-scope .slide-overlay h3 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    .vec11-scope .slide-overlay p {
        font-size: 0.8rem;
    }
    .vec11-scope .slider-arrow {
        width: 35px;
        height: 35px;
    }
    .vec11-scope .slider-arrow.prev {
        left: 10px;
    }
    .vec11-scope .slider-arrow.next {
        right: 10px;
    }
    .vec11-scope .dot {
        width: 8px;
        height: 8px;
    }
    .vec11-scope .slider-dots {
        bottom: 10px;
        right: 15px;
        gap: 6px;
    }
}

@media screen and (max-width: 360px) {
    .vec11-scope .slider-container {
        height: 22vh;
    }
    .vec11-scope .slide-overlay h3 {
        font-size: 1rem;
    }
    .vec11-scope .slide-overlay p {
        font-size: 0.75rem;
    }
}

/* High DPI Displays */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    .vec11-scope .slide-overlay h3,
    .vec11-scope .slide-overlay p {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .vec11-scope .slide {
        transition: none;
    }
    .vec11-scope .progress-fill {
        transition: none;
    }
    .vec11-scope .slider-arrow,
    .vec11-scope .dot {
        transition: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .vec11-scope body {
        background: #1a1a1a;
    }
    .vec11-scope .slider-container {
        background: #2a2a2a;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
}

/* Loading State */
.vec11-scope .slider-container.loading {
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
}

.vec11-scope .slider-container.loading::after {
    content: 'Loading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    color: #666;
}