/* Slider Section Styles */
.slider-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, #1D2D4A 0%, #2a3f5f 50%, #3498db 100%);
    box-shadow: 0 4px 15px rgba(29, 45, 74, 0.2);
}

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

.slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1D2D4A 0%, #2a3f5f 50%, #3498db 100%);
    overflow: hidden;
    transform: scale(1.1);
}

/* Shine overlay base */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 40%;
    height: 100%;
    background: linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.65) 45%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    z-index: 2;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    loading: eager;
    decoding: async;
    filter: blur(0);
    transform: translateZ(0);
    will-change: transform;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Trigger shine when slide becomes active */
.slide.active::after {
    animation: slide-shine 1.2s ease;
}

@keyframes slide-shine {
    0% { left: -120%; }
    100% { left: 140%; }
}

.slide:nth-child(2) {
    background: linear-gradient(45deg, #1D2D4A 0%, #3d4f6b 100%);
}

.slide:nth-child(3) {
    background: linear-gradient(45deg, #1D2D4A 0%, #4a5d7a 100%);
}

.slide:nth-child(4) {
    background: linear-gradient(45deg, #1D2D4A 0%, #5a6b88 100%);
}

.slide:nth-child(5) {
    background: linear-gradient(45deg, #1D2D4A 0%, #6a7a96 100%);
}

.slide-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 20px;
    z-index: 2;
    background: rgba(29, 45, 74, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.3rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.nav-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.nav-btn:hover {
    background: rgba(255,255,255,0.3);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255,255,255,0.3);
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: all 0.4s ease;
}

.dot:hover::before {
    opacity: 0.5;
}

.dot.active {
    background: white;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* Responsive Design for Slider */
@media (max-width: 768px) {
    .slider-section {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slide-content {
        padding: 20px 30px;
    }
}

@media (max-width: 480px) {
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content {
        padding: 15px 20px;
    }
}
