.referral-header{
    background: url('../images/referral/referral-bg-header.webp') no-repeat;
    background-size: 100%;
    height: 43.333vw;
}

.rfHeaderWrapper{
    width: 67.708vw;
    margin: 0 auto;
}

.rfHeadText{
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-size: 4.688vw;
    line-height: 7.031vw;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
}

.header-ref{
    margin-bottom: 7.813vw !important;
}

.rf-head-message{
    background: url('../images/referral/head-message-bg.webp');
    background-size: 100%;
    width: 71.667vw;
    height: 12.656vw;
    margin: -14vw auto 4.844vw auto;
    padding-top: 9.115vw;
}

.rf-head-message-text{
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 1.302vw;
    line-height: 165%;
    text-align: center;
    color: #FFFFFF;
    width: 42.292vw;
    margin: 0 auto;
}

/*--------------------WHO SECTION----------------------*/

.rf-who-header{
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-size: 2.188vw;
    line-height: 3.281vw;
    text-align: center;
    color: #242424;
    width: 46.927vw;
    margin: 0 auto;
    margin-bottom: 4.688vw;
}

.who-row{
    position: relative;
    width: 67.708vw;
    height: 45.833vw;
    margin: 0 auto;
}

.who-client-image{
    top: 23.698vw;
    position: absolute;
    width: 9.688vw;
    height: 8.750vw;
}

.whoClientTextWrapper{
    width: 21.875vw;
    height: 8.333vw;
    background: #FFFFFF;
    border-radius: 1.667vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    left: 5.729vw;
    top: 9.323vw;
    z-index: 2;
}

.whoClientTextWrapper::after{
    content: ' ';
    position: absolute;
    bottom: -5.208vw;
    left: 3.750vw;
    border-left: 0 solid transparent;
    border-right: 2.240vw solid transparent;
    border-top: 5.208vw solid #FFFFFF;
}

.who-client-text{
    font-weight: 700;
    font-size: 1.667vw;
    line-height: 2.500vw;
    width: 16.042vw;
    color: #242424;
}


.who-hero-image{
    top: 0;
    z-index: 1;
    position: absolute;
    width: 53.958vw;
    height: 45.833vw;
    right: 0;
}

.whoHeroTextWrapper{
    width: 44.792vw;
    height: 15.417vw;
    background: #FFFFFF;
    border-radius: 1.667vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    right: -15vw;
    top: 14.656vw;
    z-index: 2;
}

.whoHeroTextWrapper::after{
    content: ' ';
    position: absolute;
    top: -5.208vw;
    left: 27.880vw;
    border-left: 2.240vw solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 5.208vw solid #FFFFFF;
}

.who-hero-text{
    font-weight: 400;
    font-size: 1.146vw;
    line-height: 165%;
    color: #242424;
    width: 38.958vw;
}

.hightlightSpan{
    font-weight: 700;
}

/*--------------------PARTNERSHIP SECTION----------------------*/
.partnership-row{
    position: relative;
    width: 100vw;
    height: 74.635vw;
    margin: 0 auto;
    background-image: url('../images/referral/partnership-bg.webp');
    background-size: 100%;
    margin-top: -10.5vw;
}

.partnership-client-image{
    top: 38.672vw;
    left: 74.323vw;
    position: absolute;
    width: 9.688vw;
    height: 8.750vw;
    z-index: 2;
}

.partnershipClientTextWrapper{
    width: 21.875vw;
    height: 10.833vw;
    background: #FFFFFF;
    border-radius: 1.667vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    left: 56.250vw;
    top: 22.005vw;
    z-index: 2;
}

.partnershipClientTextWrapper::after{
    content: ' ';
    position: absolute;
    bottom: -5.1vw;
    left: 18.333vw;
    border-right: 0 solid transparent;
    border-left: 2.240vw solid transparent;
    border-top: 5.208vw solid #FFFFFF;
}

.partnership-client-text{
    font-weight: 700;
    font-size: 1.667vw;
    line-height: 2.500vw;
    width: 16.042vw;
    color: #242424;
}


.partnership-hero-image{
    top: 0;
    z-index: 2;
    position: absolute;
    width: 52.500vw;
    height: 31.979vw;
    left: 0;
}

.partnership-hero-image-mob{
    display: none;
}

.partnership-platform-image{
    top: 26.432vw;
    z-index: 1;
    position: absolute;
    width: 67.917vw;
    height: 23.542vw;
    left: 16.146vw;
}

.partnership-planet-image{
    top: 13.672vw;
    z-index: 1;
    position: absolute;
    width: 16.146vw;
    height: 7.292vw;
    left: 39.063vw;
}

.partnershipHeroTextWrapper{
    width: 44.792vw;
    height: 22.604vw;
    background: #FFFFFF;
    border-radius: 1.667vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    left: 21.875vw;
    top: 26.5vw;
    z-index: 2;
}

.partnershipHeroTextWrapper::after{
    content: ' ';
    position: absolute;
    top: -5.208vw;
    left: 11.786vw;
    border-left: 2.240vw solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 5.208vw solid #FFFFFF;
}

.partnership-hero-text{
    font-weight: 400;
    font-size: 1.146vw;
    line-height: 165%;
    color: #242424;
    width: 38.958vw;
}

/*----------------NEED SECTION-------------------------*/

.need-row{
    position: relative;
    width: 100vw;
    height: 88.594vw;
    margin: 0 auto;
    background: url('../images/referral/need-bg.webp') bottom no-repeat;
    background-size: 100%;
    margin-top: -17vw;
}

.need-client-image{
    top: 34.844vw;
    left: 16.198vw;
    position: absolute;
    width: 9.688vw;
    height: 8.750vw;
    z-index: 2;
}

.needClientTextWrapper{
    width: 21.875vw;
    height: 8.333vw;
    background: #FFFFFF;
    border-radius: 1.667vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    left: 21.875vw;
    top: 20.625vw;
    z-index: 2;
}

.needClientTextWrapper::after{
    content: ' ';
    position: absolute;
    bottom: -5.1vw;
    left: 3.750vw;
    border-right: 2.240vw solid transparent;
    border-left:  0 solid transparent;
    border-top: 5.208vw solid #FFFFFF;
}

.need-client-text{
    font-weight: 700;
    font-size: 1.667vw;
    line-height: 2.500vw;
    width: 16.042vw;
    color: #242424;
}


.need-hero-image{
    top: 0;
    z-index: 2;
    position: absolute;
    width: 33.333vw;
    height: 40.729vw;
    left: 50.521vw;
}

.needHeroTextWrapper{
    width: 44.792vw;
    height: 27.917vw;
    background: #FFFFFF;
    border-radius: 1.667vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    left: 33.333vw;
    top: 25.8vw;
    z-index: 2;
}

.needHeroTextWrapper::after{
    content: ' ';
    position: absolute;
    top: -5.208vw;
    left: 26.369vw;
    border-left: 2.240vw solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 5.208vw solid #FFFFFF;
}

.need-hero-text{
    font-weight: 400;
    font-size: 1.146vw;
    line-height: 165%;
    color: #242424;
    width: 38.958vw;
}

.need-bottom-text-wrapper{
    width: 48.646vw;
    margin: 0 auto;
    text-align: center;
    margin-top: 31.51vw;
}

.need-bottom-text-label{
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-size: 2.188vw;
    line-height: 3.281vw;
    color: #FFFFFF;
    vertical-align: baseline;
}

.email-label{
    border-radius: 3.125vw;
    background-color: #ffffff4b;
    font-weight: 600;
    font-size: 1.354vw;
    line-height: 2.031vw;
    padding: 0.152vw 0.465vw 0.156vw;
    margin-top: 0.513vw;
    position: absolute;
    cursor: pointer;
    color: #FFFFFF;
}

.mobile-br{
    display: none;
    line-height: 4vw;
}

.empty-span{
    border-radius: 3.125vw;
    background-color: #ffffff4b;
    font-weight: 600;
    font-size: 1.354vw;
    line-height: 2.031vw;
    padding: 0.052vw 0.365vw 0.156vw;
    margin-left: 0.260vw;
    color: #FFFFFF;
    cursor: pointer;
    opacity: 0;
}

.need-bottom-text-sublabel{
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 1.042vw;
    line-height: 165%;
    color: #FFFFFF;
    width: 28.542vw;
    margin: 1.250vw auto 0;
}
/*------------------------MOBILE-----------------------*/
@media screen and (max-width: 1023px) {
    .referral-header{
        background: url('../images/referral/referral-bg-header-mob.webp') no-repeat;
        background-size: 100%;
        height: 218.889vw;
    }
    
    .rfHeaderWrapper{
        width: 90vw;
    }
    
    .rfHeadText{
        font-size: 13.333vw;
        line-height: 135%;
        text-align: left;
    }

    .header-ref{
        margin-bottom: 23.889vw !important;
    }

    .rf-head-message{
        background: url('../images/referral/head-message-bg-mob.webp');
        background-size: 100%;
        width: 93.333vw;
        height: 65.833vw;
        margin: -85vw auto 20.094vw auto;
        padding-top: 40.278vw;
    }
    
    .rf-head-message-text{
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 600;
        font-size: 4.444vw;
        line-height: 165%;
        text-align: center;
        color: #FFFFFF;
        width: 77.778vw;
        margin: 0 auto;
    }

    /*--------------------WHO SECTION----------------------*/

    .rf-who-header{
        font-size: 8.889vw;
        line-height: 13.333vw;
        width: 86.667vw;
        margin-bottom: 20vw;
    }

    .who-row{
        width: 100%;
        height: 281.667vw;
    }
    
    .who-client-image{
        top: 0;
        left: 36.111vw;
        width: 31.111vw;
        height: 27.778vw;
    }
    
    .whoClientTextWrapper{
        width: 91.111vw;
        height: 26.667vw;
        border-radius: 4.444vw;
        left: 4.444vw;
        top: 40vw;
        z-index: 2;
    }

    .whoClientTextWrapper::after{
       display: none;
    }
    
    .whoClientTextWrapper::before{
        content: ' ';
        position: absolute;
        top: -11.111vw;
        left: calc(50vw - 8vw);
        border-left: 4.811vw solid transparent;
        border-right: 4.811vw solid transparent;
        border-bottom: 11.111vw solid #FFFFFF;
    }
    
    .who-client-text{
        font-size: 5.833vw;
        line-height: 8.889vw;
        width: 73.333vw;
    }
    
    
    .who-hero-image{
        top: 71vw;
        z-index: 1;
        position: absolute;
        width: auto;
        height: 107.222vw;
        right: 0;
    }
    
    .whoHeroTextWrapper{
        width: 91.111vw;
        height: 130vw;
        border-radius: 4.444vw;
        right: -4.444vw;
        top: 130.222vw;
        z-index: 2;
    }
    
    .whoHeroTextWrapper::after{
        content: ' ';
        position: absolute;
        top: -11.111vw;
        left: 37.880vw;
        border-left: 4.811vw solid transparent;
        border-right: 0 solid transparent;
        border-bottom: 11.111vw solid #FFFFFF;
    }
    
    .who-hero-text{
        font-weight: 400;
        font-size: 5vw;
        width: 73.333vw;
    }

    /*--------------------PARTNERSHIP SECTION----------------------*/
.partnership-row{
    height: 360.722vw;
    background-image: url('../images/referral/partnership-mobile-bg.webp');
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: -23vw;
}

.partnership-client-image{
    top: 44.889vw;
    left: 67.778vw;
    width: 31.111vw;
    height: 27.778vw;
}

.partnershipClientTextWrapper{
    width: 91.111vw;
    height: 26.667vw;
    border-radius: 4.444vw;
    left: 4.444vw;
    top: 84.889vw;
    z-index: 2;
}

.partnershipClientTextWrapper::after{
    display: none;
}

.partnershipClientTextWrapper::before{
    content: ' ';
    position: absolute;
    top: -11.111vw;
    left: 71.478vw;
    border-right: 0 solid transparent;
    border-left: 4.811vw solid transparent;
    border-bottom: 11.111vw solid #FFFFFF;
}

.partnership-client-text{
    font-size: 5.833vw;
    line-height: 8.889vw;
    width: 75vw;
}


.partnership-hero-image{
    display: none;
}

.partnership-hero-image-mob{
    display: block;
    top: 0;
    z-index: 2;
    position: absolute;
    width: 95.556vw;
    height: 46.111vw;
    top: 116vw;
    left: 0;
}

.partnership-platform-image{
    top: 117.089vw;
    width: 91.111vw;
    height: 31.667vw;
    left: 4.444vw;
}

.partnership-planet-image{
    top: 58vw;
    width: 43.333vw;
    height: 17.778vw;
    left: 4.444vw;
}

.partnershipHeroTextWrapper{
    width: 91.111vw;
    height: 196.667vw;
    border-radius: 4.444vw;
    left: 4.444vw;
    top: 137.056vw;
    z-index: 2;
}

.partnershipHeroTextWrapper::after{
    top: -11.111vw;
    left: 41.367vw;
    border-left: 4.811vw solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 11.111vw solid #FFFFFF;
}

.partnership-hero-text{
    font-weight: 400;
    font-size: 5vw;
    width: 73.333vw;
}

/*--------------------NEED SECTION----------------------*/
.need-row{
    height: 560.278vw;
    background: none;
    margin-top: -30vw;
}

.need-client-image{
    top: 45vw;
    left: 36.111vw;
    width: 31.111vw;
    height: 27.778vw;
}

.needClientTextWrapper{
    width: 91.111vw;
    height: 26.667vw;
    border-radius: 4.444vw;
    left: 4.444vw;
    top: 85vw;
    z-index: 2;
}

.needClientTextWrapper::after{
   display: none;
}

.needClientTextWrapper::before{
    content: ' ';
    position: absolute;
    top: -11.111vw;
    left: calc(50vw - 8vw);
    border-left: 4.811vw solid transparent;
    border-right: 4.811vw solid transparent;
    border-bottom: 11.111vw solid #FFFFFF;
}

.need-client-text{
    font-size: 5.833vw;
    line-height: 8.889vw;
    width: 75vw;
}

.need-hero-wrapper{
    background-image: url('../images/referral/need-mob-bg.webp');
    background-size: 100%;
    background-position: top center;
    background-repeat: no-repeat;
    margin-top: 111vw;
    height: 430vw;
}

.need-hero-image{
    display: block;
    top: 0;
    z-index: 2;
    position: absolute;
    width: 91.111vw;
    height: 110.694vw;
    top: 116vw;
    left: 0;
}

.need-platform-image{
    top: 117.089vw;
    width: 91.111vw;
    height: 31.667vw;
    left: 4.444vw;
}

.need-planet-image{
    top: 58vw;
    width: 43.333vw;
    height: 17.778vw;
    left: 4.444vw;
}

.needHeroTextWrapper{
    width: 91.111vw;
    height: 221.667vw;
    border-radius: 4.444vw;
    left: 4.444vw;
    top: 75vw;
    z-index: 2;
}

.needHeroTextWrapper::after{
    top: -11vw;
    left: 23vw;
    border-left: 4.811vw solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 11.111vw solid #FFFFFF;
}

.need-hero-text{
    font-weight: 400;
    font-size: 5vw;
    width: 73.333vw;
}

.need-bottom-text-wrapper{
    width: 91.111vw;
    margin: 0 auto;
    text-align: center;
    margin-top: 100vw;
}

.need-bottom-text-label{
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-size: 6.111vw;
    line-height: 9.167vw;
    color: #FFFFFF;
    vertical-align: baseline;
}

.mobile-br{
    display: block;
}

.email-label{
    border-radius: 16.667vw;
    background-color: #ffffff4b;
    font-weight: 600;
    font-size: 5vw;
    line-height: 7.500vw;
    padding: 0vw 2vw 1vw;
    margin-top: 0.513vw;
    position:relative;
}

.empty-span{
    display: none;
}

.need-bottom-text-sublabel{
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 5vw;
    line-height: 165%;
    color: #FFFFFF;
    width: 91.111vw;
    margin: 6.667vw auto 0;
}
}
