.carousel-item img {
    width: 100%;
    height: 600px; 
    object-fit: cover; 
}

.carousel-caption {
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    text-align: center; 
    color: #fff;
    padding: 15px;
    width: 100%; 
}

.carousel-caption h1 {
    font-size: 3rem; 
    font-weight: 700;
    color: #fff;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8); 
    margin-bottom: 15px;
    line-height: 1.2;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); 
    line-height: 1.4;
}

.btn-slider {
    background-color: #052c49;
    color: #fff;
    padding: 10px 30px;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    transition: background-color 0.3s ease-in-out;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2); 
}

.btn-slider:hover {
    background-color: #08375c;
}


@media (max-width: 768px) {
    .carousel-item img {
        height: 400px; 
    }

    .carousel-caption {
        padding: 10px;
    }

    .carousel-caption h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .btn-slider {
        padding: 8px 20px;
        font-size: 0.9rem; 
    }
}

@media (max-width: 576px) {
    .carousel-item img {
        height: 300px; 
    }

    .carousel-caption h1 {
        font-size: 1.8rem; 
    }

    .carousel-caption p {
        font-size: 0.9rem; 
    }
}
