@charset "UTF-8";

.wide.heading {
    align-items: center;
    gap: clamp( 20px, 7.29vw, 140px );
    margin: 0;
    padding: clamp( 80px, 7.29vw, 140px ) 0 60px;
    text-align: left;
}

.wide.heading h2 {
    display: flex;
    color: #041633;
    margin: 0;
    flex-basis: 27.92vw;
}

.wide.heading p {
    display: flex;
    flex-basis: 27.92vw;
}

img {
    vertical-align: middle;
}

.feat-services {
    padding: clamp( 80px, 7.29vw, 140px ) 0;
    background-color: #fff;
}

.feat-services .featImg img {
    position: absolute;
    left: 0;
    object-fit: cover;
    object-position: center center;
    height: 100%;
    filter: brightness(0.75);
    transition: all .75s linear;
}

.feat-services .container.grid {
    display: grid;
    height: fit-content;
    gap: 16px;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    overflow: hidden;
    padding: 0;
}

.featLink {
    position: relative;
    display: inline-flex;
    height: clamp( 380px, 35.42vw, 680px );
    width: 100%;
    padding: 0;
    overflow: visible;
    border-radius: 20px;
    overflow: hidden;
}

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

.featLink:hover .featImg,
.featLink:hover img {
    filter: brightness(0.8);
    height: 105%;
    width: 105%;
    object-position: center;
    transition: all .75s linear;
}

.featLink .featContent img,
.featLink:hover .featContent img {
    filter: none;
    width: auto;
    height: 24px;
}

.featBox {
    padding: 0;
    width: 100%;
    height: clamp( 380px, 35.42vw, 680px );
    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;
     transition: all .75s linear;
}

.featContent {
    position: relative;
    backdrop-filter: blur(14px);
    display: flex;
    background-color: transparent;
    width: 93%;
    border-radius: 10px;
    margin: 0 auto 16px;
    padding: 16px;
    /* margin-bottom: 16px; */
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: space-around;
}

.featContent h4 {
    color: #f8f8f8;
    font-weight: 500;
    font-size: clamp( 20px, 1.25vw, 24px );
    line-height: 125%;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
    margin: 0;
}

.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: 1024px ) {
    .feat-services .row.flex {
        flex-wrap: wrap;
    }

    .feat-services .container.grid {
        padding: 0 32px;
    }

    .wide.heading {
        flex-direction: column;
        padding: 32px;
        gap: 20px
    }

    .wide.heading h2,
    .wide.heading p {
        flex-basis:auto;
    }

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

    .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: 414px;
        width: 100%;
    }

    .feat-services .container.grid {
        grid-template-columns: unset;
    }
}