/* Animated Service Slider - Simple Fade Version v1.3.0 */
.animated-service-slider {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

/* Simple slide transitions with fade */
.service-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.service-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Simple overlay */
.service-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: opacity 0.5s ease;
}

/* Content container */
.service-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

@media (max-width: 1024px) {
    .service-content {
        max-width: 900px;
        gap: 40px;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .service-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0 20px;
    }
}

/* Service Left Section - No complex animations */
.service-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

@media (max-width: 768px) {
    .service-left {
        min-height: 40vh;
    }
}

/* Service title */
.service-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.02em;
}

/* Service Right Section - No complex animations */
.service-right {
    flex: 1;
    max-width: 550px;
}

/* Simple services card */
.services-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.services-card:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .services-card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .services-card {
        padding: 25px;
        border-radius: 16px;
    }
}

/* Sub-Services List - Simple without staggered animations */
.sub-services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sub-service-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.sub-service-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Simple icon */
.sub-service-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007cba, #00a8e8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 123, 186, 0.4);
    transition: transform 0.3s ease;
}

.sub-service-item:hover .sub-service-icon {
    transform: scale(1.05);
}

.sub-service-content {
    flex: 1;
}

.sub-service-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.3;
}

.sub-service-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.5;
}

/* Line Progress Indicator on Right Side */
.progress-line-container {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .progress-line-container {
        bottom: 30px;
        top: auto;
        right: 50%;
        transform: translateX(50%);
        flex-direction: column-reverse;
        gap: 15px;
    }
}

/* Vertical Progress Line */
.progress-line {
    width: 3px;
    height: 200px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .progress-line {
        width: 150px;
        height: 3px;
    }
}

.progress-line-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, #007cba, #00a8e8);
    border-radius: 2px;
    transition: height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 10px rgba(0, 123, 186, 0.6);
}

@media (max-width: 768px) {
    .progress-line-fill {
        bottom: auto;
        left: 0;
        top: 0;
        width: 0%;
        height: 100%;
        transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        background: linear-gradient(to right, #007cba, #00a8e8);
    }
}

/* Progress Labels */
.progress-labels {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .progress-labels {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.progress-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-label:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-3px);
    border-color: rgba(255, 255, 255, 0.3);
}

.progress-label.active {
    color: #ffffff;
    background: rgba(0, 123, 186, 0.3);
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 123, 186, 0.2);
    font-weight: 600;
}

@media (max-width: 768px) {
    .progress-label {
        font-size: 0.8rem;
        padding: 6px 10px;
        max-width: 120px;
    }
    
    .progress-label:hover {
        transform: translateY(-2px);
    }
}

/* Remove old scroll progress */
.scroll-progress {
    display: none;
}

/* Performance optimizations */
.animated-service-slider * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .animated-service-slider *,
    .animated-service-slider *::before,
    .animated-service-slider *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .services-card {
        background: rgba(255, 255, 255, 0.9);
        border: 2px solid #000000;
        color: #000000;
    }
    
    .service-slide::before {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .sub-service-item {
        border: 2px solid rgba(255, 255, 255, 0.8);
        background: rgba(0, 0, 0, 0.3);
    }
    
    .sub-service-title,
    .sub-service-description {
        color: #ffffff;
    }
    
    .progress-label {
        background: rgba(255, 255, 255, 0.9);
        color: #000000;
        border-color: #000000;
    }
}

/* Focus states for accessibility */
.progress-label:focus,
.sub-service-item:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* Loading state */
.animated-service-slider.loading {
    pointer-events: none;
}

.animated-service-slider.loading .service-slide {
    transition: none;
} 