@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: brightness(0.5);
    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: 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: none;
    margin-left: clamp( 30px, 3.125vw, 60px );
}

.featLink .featContent .fade-in {
    display: flex;
    opacity: 0;
    color: #F8F8F8;
    font-weight: 600;
    transition: all 1s ease;
    margin: 0;
    flex-direction: row;
    align-items: center;
    font-size: 16px;
    text-transform: uppercase;
}

.featLink:hover .featContent .fade-in {
    opacity: 1;
    margin: 0 32px 0 0;
    letter-spacing: clamp( 0.87px, 0.08vw, 1.54px );
    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: 1060px ) {
    .feat-services .row.flex {
        flex-wrap: wrap;
    }

    .featContent h4 {
        margin: 0 20px;
        width: 100%;
        font-size: 32px;
        line-height: 40px;
        text-align: left;
    }

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

    .featLink:nth-of-type(2)::before, .featLink:nth-of-type(4)::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::after {
        height: 3px;
        width: 100%;
        right: unset;
        top: unset;
        bottom: -1.5px;
    }
}

@media ( max-width: 567px ) {
    .featLink,
    .featBox {
        height: 300px;
        width: 100%;
    }

    
}