.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 300px;
}

.slide-item {
    position: relative;
    height: 100%;
}

.slide-image {
    width: 100%;
    height: 100%;
}

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

.slide-caption-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
}

.slide-caption {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.slide-caption h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
}

.slide-caption p {
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.slide-btn {
    text-align: center;
    margin-top: 1rem;
}

.flex-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flex-btn:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .slider {
        height: 400px;
    }
    .slide-caption {
        padding: 1.5rem;
    }
    .slide-caption h2 {
        font-size: 1.8rem;
    }
    .slide-caption p {
        font-size: 1rem;
        line-height: 1.4;
    }
} 