@charset "UTF-8";

img {
    vertical-align: middle;
}

.feat-services {
    /* padding: clamp(40px, 4.167vw, 80px); */
    background-color: #f1f1f1;
}

.feat-services img {
    object-fit: cover;
    object-position: 38% center;
    height: 100%;
    filter: brightness(0.5);
    transition: filter 1.2s ease-in-out;
}

.feat-services .row.flex {
    flex-wrap: nowrap;
}

.featLink {
    position: relative;
    display: inline-flex;
    height: clamp( 400px, 41.667vw, 800px );
    padding: 0;
    overflow: visible;
    flex: 1;
    transition: all 1.2s ease-in-out;
    /* z-index: auto; */
}

.featLink::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 100%;
    top: 0;
    right: -1.5px;
    background-color: rgb(248 248 248 / 40%);
    z-index: 2;
}

.featLink:last-of-type:after {
    display: none;
}

.featLink:hover {
    text-decoration: none;
    width: min(50.365vw, 967px);
    flex: 2;
    transition: all 1.2s ease-in-out;
}

.featLink:hover img {
    /* filter: none; */
    transition: filter 1.2s ease-in-out;
}

.featBox {
    padding: 0;
    width: 100%;
    height: clamp( 195px, 41.667vw, 800px );
    display: flex;
    transition: all .5s ease;
    flex-direction: column;
    justify-content: flex-end;
}

.featImg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.featContent {
    position: relative;
    display: flex;
    background-color: transparent;
    padding: 40px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}

.featContent h4 {
    color: #f8f8f8;
    font-weight: 400;
    font-size: clamp( 20px, 2.083vw, 40px );
    line-height: clamp( 28px, 2.5vw, 48px );
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
    margin-left: clamp( 30px, 3.125vw, 60px );
    margin-bottom: 0;
}

.featLink .featContent .fade-in {
    display: flex;
    opacity: 0;
    color: #f8f8f8;
    transition: all 1s ease;
    margin: 0;
    flex-direction: row;
    align-items: center;
    text-transform: uppercase;
}

.featLink:hover .featContent .fade-in {
    opacity: 1;
    margin: 0 32px 0 0;
    transition: all 1s ease;
    transition-delay: .5s
}

.featLink .featContent .fade-in .fas {
    margin: 0;
    transition: all 1s ease;
}

.featLink:hover .featContent .fade-in .fas {
    margin: 0 0 0 10px;
    transition: all 1s ease;
    transition-delay: .5s;
}

.ftBtn a.btn-text {
    color: #000;
    font-family: 'Barlow Condensed',sans-serif;
    font-size: clamp(14px, .833vw, 16px);
    line-height: clamp(22px, 1.25vw, 24px);
    letter-spacing: clamp(.25px, .033vw, .67px);
    font-weight: 600;
    text-transform: uppercase;
    transition: all .5s ease;
}

.ftBtn a.btn-text .fas {
    opacity: 0;
    margin-left: -10px;
    transition: all .75s ease;
}

.featBox:hover a.btn-text .fas {
    opacity: 1;
    margin-left: 5px;
    transition: all .75s ease;
}

@media ( max-width: 1024px ) {
    .feat-services .row.flex {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .featContent h4 {
        margin: 0 auto;
        width: 100%;
        text-align: center;
    }

    .featLink,
    .featLink:hover {
        width: 100%;
    }

    .featLink:nth-of-type(2)::before {
        content: '';
        position: absolute;
        display: block;
        background-color: rgb(248 248 248 / 40%);
        width: 3px;
        height: 100%;
        left: -1.5px;
        top: 0;
        z-index: 2;
    }

    .featLink:nth-of-type(1)::after,
    .featLink:nth-of-type(2)::after {
        height: 3px;
        width: 100%;
        right: unset;
        top: unset;
        bottom: -1.5px;
    }
}

@media ( max-width: 567px ) {
    .featLink,
    .featBox {
        height: min(50.088vw, 284px);
    }


}