/* Auto carousel  Css Start */
.font-feature {
    font-size: 36px;
    font-weight: 300;
    line-height: 56px;
    color: #BFC9CF;
    cursor: pointer;
    position: relative;
    width: fit-content;
    padding-bottom: 10px;
    transition: all 0.3s ease-in-out;
}

.border-link {
    width: fit-content;
    border-bottom: 1px solid #05202E;
}


.section-spacing {
    padding: 80px 64px;
}

.carousel-slide {
    display: none;
    position: relative;
    height: 100%;
    width: 100%;
    transition: all 3s ease-in-out;
}

.carousel-slide.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    border-radius: 4px;
    position: absolute;
    inset: 0;
}

.popup-video-crousel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.popup-video-crousel img {
    width: 64px;
    height: 64px;
    position: static;
}

.feature-nav {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}

.view-application-link {
    display: block;
    margin-top: 12px;
}

.font-feature:hover {
    color: #05202E;
}

.font-feature::before {
    background-color: #E9A23E;
    bottom: 0;
    content: "";
    height: 3px;
    left: 0;
    min-height: 3px;
    position: absolute;
    right: 0;
    z-index: 2;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .75s cubic-bezier(.19, 1, .22, 1);
}

.font-feature:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.font-feature.active:hover::before {
    content: none;
}

.font-feature.active {
    color: #05202E;
}

.font-feature.active::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: #E9A23E;
    bottom: 0;
    left: 0;
    animation: fillProgress 3s ease-in-out forwards;
}


@keyframes fillProgress {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.video-section {
    position: relative;
    max-width: 546px;
    min-height: 612px;
    width: 100% !important;
    overflow: hidden;
}

.feature-content.active {
    display: block !important;
}

.view-application-link:hover {
    border-bottom: 1px solid #E9A23E;
    color: #E9A23E !important;
}

/* video popup animation start */

/* overlay at start */
.mfp-fade.mfp-bg {
    opacity: 0;

    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}

/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;

    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}

/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

/* video popup animation end */



@media (max-width: 1200px) {
    .font-feature {
        font-size: 28px;
        line-height: 34px;
        color: #05202E;
        padding-bottom: 0;
    }

    .feature-title {
        margin-bottom: 12px;
    }

}

@media (min-width: 1024px) {
    .carousel-slide {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        height: 100%;
        width: 100%;
        padding-top: 112%;
        transition: all 0.75s ease-out;
    }

    .carousel-slide.active {
        animation: slide-animation 0.75s ease-out;
    }

    @keyframes slide-animation {
        0% {
            left: -100%;
        }

        100% {
            left: 0;
        }
    }
}

@media (max-width: 1023px) {
    .carousel-mobile-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .carousel-mobile-slide img {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
        border-radius: 4px;
        position: absolute;
        inset: 0;
    }

    .video-section {
        min-height: auto;
        height: 350px;
        max-width: 100%;
        margin-bottom: 12px;
    }

    .tab-content {
        margin-bottom: 28px;
    }

    .tab-content:last-child {
        margin-bottom: 0px;
    }

    .font-feature::before {
        content: none;
    }
}

@media (max-width: 769px) {
    .section-spacing {
        padding: 40px 32px;
    }
}

@media (max-width: 426px) {
    .section-spacing {
        padding: 40px 16px;
    }

    .video-section {
        height: 180px;
    }
}

/* Auto carousel  Css End */