/* Dashboard Hero Slider Styles */
.dashboard-hero {
    margin-bottom: 3rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 475px; /* Increased height for better visibility */
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%; /* Better image cropping */
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #ffffff;
    padding: 2.5rem 2rem 2rem;
    text-align: center;
}

.slide-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    color: #fff;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.slide-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
}

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

.nav-btn {
    background: rgba(255,255,255,0.4);
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    padding: 0.6rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-btn:hover {
    background:whitesmoke;
    transform: scale(1.15);
}

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
}

.dot.active {
    background: #ffffff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.dot:hover {
    background: rgba(255,255,255,0.9);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-slider {
        height: 350px;
    }
    
    .slide-content h3 {
        font-size: 1.75rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 300px;
    }
    
    .slide-content {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .slide-content h3 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .nav-btn {
        font-size: 1.2rem;
        padding: 0.5rem 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 250px;
    }
    
    .slide-content {
        padding: 1.5rem 1rem 1rem;
    }
    
    .slide-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .nav-btn {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 400px) {
    .hero-slider {
        height: 220px;
    }
    
    .slide-content h3 {
        font-size: 1.1rem;
    }
    
    .slide-content p {
        font-size: 0.85rem;
    }
}