/* Vision Slider Styles */
.vision-slider-container {
    position: relative;

    overflow: hidden;
    margin: 0;
    z-index: 1000;

    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.vision-slider {
    display: flex;
    position: relative;
    transition: transform 0.5s ease-out;
    width: max-content;
    height: 100%;
}

.vision-slider h3
{
    font-family: "The Seasons", Sans-serif;
  font-weight: 600;
  color: #082A5B;
}

.vision-slide {
    width: 100vw;
    min-width: 300px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 20px;
    height: 100%;
}

.vision-slide:last-child {
    margin-right: 0;
}

.vision-slide-icon {
    width: 160px;
    height: 160px;
    margin: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vision-slide-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 120px;
}

.vision-image-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.vision-slide-title {
    font-size: 2.1rem;
    margin-bottom: 15px;
    color: #0f3057;
    font-weight: 600;
}

.vision-slide-description {
    font-size: 16px;
    line-height: 1.6;
    font-family: var( --e-global-typography-text-font-family ), Sans-serif;
  font-size: var( --e-global-typography-text-font-size );
  font-weight: var( --e-global-typography-text-font-weight );
  color: #082A5B;
}

.vision-slider-progress {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.vision-slider-progress-bar {
    height: 100%;
    width: 0;
    background-color: #0f3057;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Navigation dots */
.vision-slider-dots {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.vision-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(15, 48, 87, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.vision-slider-dot.active {
    background-color: #0f3057;
    transform: scale(1.2);
}

/* Navigation Arrows */
.vision-slider-prev,
.vision-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
     /* background-color: rgba(15, 48, 87, 0.5); Semi-transparent dark blue */
    color: var( --e-global-color-secondary );
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 30px; /* Center the arrow vertically */
    text-align: center;
    cursor: pointer;
    z-index: 10; /* Ensure arrows are above slides */
    transition: background-color 0.3s ease;
    padding: 0; /* Remove default padding */
}

.vision-slider-prev:hover ,
.vision-slider-next:hover {
    background: transparent !important;
}

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

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





@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .vision-slide {
        padding: 15px;
    }
    
    .vision-slide-title {
        font-size: 20px;
    }
    
    .vision-slide-description {
        font-size: 14px;
    }
}
