#myCarousel {
    position: relative;
    height: 100vh;
}

#myCarousel .carousel-inner .item {
    height: 100vh;
    overflow: hidden; /* Important: hides overflow during zoom */
}

/* Zoom effect - using keyframes */
.carousel-zoom .item img {
    transform: scale(1);
    transition: transform 8s ease-in-out;
}

.carousel-zoom .item.active img {
    transform: scale(1.15);
    animation: zoomEffect 8s ease-in-out forwards;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

/* Fade animation with zoom */
/*.carousel-fade .carousel-inner .item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}*/

.carousel-fade .carousel-inner .item.active {
    opacity: 1;
}

.carousel-caption {
    top: 50%;
    left: 60%;
    padding-bottom: 5%;
    right: 0;
    text-align: left;
    transform: translateY(-50%);
}

/* Rest of your existing styles... */
.carousel-caption h1 {
    font-family: raavi;
    font-size: 60px;
    font-weight: 600;
    line-height: 18px;
    margin-bottom: 25px;
}

.carousel-caption > p {
    font-size: 30px;
    color: #fff;
}

.carousel-caption > a {
    text-transform: uppercase;
    color: #fff;
    background: #041132;
    padding: 6px 12px;
}

/* ... keep your other styles */