/* Updated carousel caption styles */
.carousel-caption {
    background: white;
    border-radius: 0 0 8px 8px;
    padding: 15px;
    position: static;
    width: 100%;
    left: 0;
    right: 0;
    margin-top: 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carousel-item:hover .carousel-caption {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-caption h5 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.carousel-caption p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #444;
}