/* Professional Medical Slider Styles */
.slider-banner {
    position: relative;
    overflow: hidden;
    height: 80vh;
    max-height: 650px;
    min-height: 450px;
}

.banner-slider-2 {
    height: 100%;
    position: relative;
}

.slide-item {
    position: relative;
    height: 80vh;
    max-height: 650px;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slide-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.slide-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 76, 218, 0.5) 0%, rgba(0, 86, 255, 0.4) 100%);
    z-index: 2;
}

.slide-item .transform-center {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 60px 0;
}

.slide-item .content-wrapper {
    animation: slideInUp 1s ease-out;
}

.slide-item h1 {
    font-size: clamp(28px, 5vw, 56px) !important;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.slide-item p {
    font-size: clamp(16px, 2vw, 22px) !important;
    line-height: 1.5;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Slick slider navigation */
.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0;
}

.slick-prev:before, .slick-next:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
    color: #004cda;
    opacity: 1;
}

.slick-prev:before {
    content: '\f104';
}

.slick-next:before {
    content: '\f105';
}

.slick-prev {
    left: 30px;
}

.slick-next {
    right: 30px;
}

.slick-prev:hover, .slick-next:hover {
    background: #004cda;
    transform: translateY(-50%) scale(1.1);
}

.slick-prev:hover:before, .slick-next:hover:before {
    color: white;
}

/* Slick dots */
.slick-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex !important;
    list-style: none;
    padding: 0;
    margin: 0;
}

.slick-dots li {
    margin: 0 5px;
}

.slick-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    font-size: 0;
    transition: all 0.3s ease;
}

.slick-dots .slick-active button {
    background: white;
    transform: scale(1.2);
}

/* Animations */
@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .slider-banner {
        height: 60vh;
        max-height: 500px;
        min-height: 400px;
    }
    
    .slide-item {
        height: 60vh;
        max-height: 500px;
        min-height: 400px;
    }
    
    .slide-item .overlay {
        background: linear-gradient(135deg, rgba(0, 76, 218, 0.3) 0%, rgba(0, 86, 255, 0.2) 100%);
    }
    
    .slide-item .transform-center {
        padding: 30px 0;
    }
    
    .slide-item h1 {
        margin-bottom: 15px;
        text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
    }
    
    .slide-item p {
        margin-bottom: 25px;
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
    }
    
    .slick-prev, .slick-next {
        width: 45px;
        height: 45px;
    }
    
    .slick-prev:before, .slick-next:before {
        font-size: 16px;
    }
    
    .slick-prev {
        left: 15px;
    }
    
    .slick-next {
        right: 15px;
    }
    
    .slick-dots {
        bottom: 15px;
    }
}

@media (max-width: 480px) {
    .slider-banner {
        height: 50vh;
        max-height: 400px;
        min-height: 300px;
    }
    
    .slide-item {
        height: 50vh;
        max-height: 400px;
        min-height: 300px;
    }
    
    .slide-item img {
        object-fit: cover;
        object-position: center center;
        width: 100%;
        height: 100%;
    }
    
    .slide-item .overlay {
        background: linear-gradient(135deg, rgba(0, 76, 218, 0.2) 0%, rgba(0, 86, 255, 0.1) 100%);
    }
    
    .slide-item .transform-center {
        padding: 20px 0;
        display: flex;
        align-items: center;
        height: 100%;
    }
    
    .slide-item h1 {
        text-shadow: 0 3px 20px rgba(0, 0, 0, 0.8);
        font-weight: 800;
        margin-bottom: 10px;
    }
    
    .slide-item p {
        text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
        font-weight: 600;
        margin-bottom: 0;
    }
    
    .slick-dots {
        bottom: 10px;
    }
}

/* Performance optimizations */
.slide-item img {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.slick-track {
    transform: translateZ(0);
}