@charset "UTF-8";

img {
    vertical-align: middle;
}

.feat-services {
    padding: 0;
    background-color: #f1f1f1;
}

.feat-services img {
    object-fit: cover;
    object-position: 38% center;
    height: 100%;
    filter: brightness(0.75);
    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;
    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(100vw, 1920px);
    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;
    background-color: transparent;
    padding: 40px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
}

.featContent h4 {
    color: #f8f8f8;
    font-weight: 600;
    font-size: clamp( 20px, 1.667vw, 32px );
    line-height: clamp( 28px, 2.083vw, 40px );
    letter-spacing: clamp( 1.28px, 0.133vw, 2.56px );
    text-align: left;
    text-transform: uppercase;
    margin-left: clamp( 30px, 3.125vw, 60px );
}

.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;
    }

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

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

    .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);
    }

    
}