/* Custom styles for core features carousel navigation */
.features-carousel-container {
    position: relative;
}

/* Equal-height cards regardless of content length */
.features-carousel-one .owl-stage {
    display: flex;
    align-items: stretch;
}

.features-carousel-one .owl-item {
    display: flex;
    height: auto;
}

.features-carousel-one .item {
    width: 100%;
    display: flex;
}

.features-carousel-one .feature-box {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.features-carousel-one .feature-box > div:last-child {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.features-carousel-one .feature-box ul {
    margin-top: auto;
}

.features-carousel-one .owl-nav {
    display: block !important;
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.features-carousel-one .owl-nav button {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: rgba(0,70,192,0.8) !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 18px;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.features-carousel-one .owl-nav button:hover {
    background-color: rgba(255,158,25,0.9) !important;
    transform: scale(1.05);
}

.features-carousel-one .owl-nav .owl-prev {
    left: -20px;
}

.features-carousel-one .owl-nav .owl-next {
    right: -20px;
}

@media (max-width: 767px) {
    .features-carousel-one .owl-nav button {
        opacity: 0.8;
        width: 30px;
        height: 30px;
    }

    .features-carousel-one .owl-nav .owl-prev {
        left: -15px;
    }

    .features-carousel-one .owl-nav .owl-next {
        right: -15px;
    }
}
