/* Zoom animations for owl carousel */
.owl-carousel {
    margin-top: -1px !important; /* Remove space between navbar and carousel */
}

.owl-carousel .item {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.owl-carousel .item img {
    width: 100% !important;
    height: auto;
    object-fit: cover;
    display: block;
}

.owl-carousel .zoomIn {
    animation: owlZoomIn 1s cubic-bezier(0.4, 0, 0.2, 1) both;
    transform-origin: center center;
}

.owl-carousel .zoomOut {
    animation: owlZoomOut 1s cubic-bezier(0.4, 0, 0.2, 1) both;
    transform-origin: center center;
}

@keyframes owlZoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.85, 0.85, 0.85);
    }
    50% {
        opacity: 1;
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}

@keyframes owlZoomOut {
    from {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
    50% {
        opacity: 0.5;
        transform: scale3d(1.15, 1.15, 1.15);
    }
    to {
        opacity: 0;
        transform: scale3d(0.85, 0.85, 0.85);
    }
}

.owl-carousel .owl-item {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.owl-carousel .owl-item.active {
    transform: scale(1);
    z-index: 2;
}

.owl-carousel .owl-item:not(.active) {
    transform: scale(0.85);
    opacity: 0;
}

/* Remove any unwanted margins/padding */
.main-content-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#home {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

section#home .container-fluid {
    padding: 0 !important;
    margin: 0 !important;
}

.tm-owl-carousel-1col {
    margin: 0 !important;
} 