/* Slider Section */
.slider-section {
    margin-bottom: 2rem;
    padding: 0;
    width: 100%;
    overflow: hidden;
}

.slider-container {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
}

.slide-content {
    position: relative;
    width: 100%;
    height: 50vh; /* Responsive height */
    min-height: 300px; /* Minimum height for small screens */
    max-height: 600px; /* Maximum height for large screens */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
}

.slide-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.slide-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin: 0;
    opacity: 0.9;
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    z-index: 2;
}

.slider-arrow:hover {
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.slider-arrow-left {
    left: 1rem;
}

.slider-arrow-right {
    right: 1rem;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .slide-content {
        height: 40vh;
        min-height: 250px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slide-overlay {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .slide-content {
        height: 35vh;
        min-height: 200px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }

    .slide-overlay {
        padding: 1rem;
    }
}
