  /* Hero skaidriÅ³ stilius */
        #hero {
            position: relative;
           /* height: 500px;*/
            overflow: hidden;
        }

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

        /* PapildomÅ³ stiliÅ³ perÄ—jimo efektai */
        .carousel-control-prev-icon, .carousel-control-next-icon {
            background-color: black;
        }

        .carousel-indicators li {
            background-color: black;
        }

       /* .carousel-caption {
            bottom: 20px;
            left: 20px;
            right: 20px;
            text-align: center;
            color: white;
            background-color: rgba(0, 0, 0, 0.5);
            padding: 10px;
        }*/


.carousel-caption {
    position: absolute;  /* Užtikrins, kad caption bus tiksliai nustatytas */
    bottom: 20px;
    left: 0;
    right: 0;
    width: 100%; /* Juosta bus per visa ploti */
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
}