#how-we-work {
    position: relative;
    z-index: 11;
    overflow: visible;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    /* margin-top: -150px; */
    padding-top: 0;
    background: #F9F9F9
}

#how-we-work::before {
    content: '';
    background: #B081F8;
    position: absolute;
    left: 0;
    top: -135px;
    width: calc(50vw - 715px);
    height: 206px;
    z-index: 3
}

.overflow-hidden {
    overflow: hidden;
}

.big-text {
    color: #B081F8;
    font-size: 150px;
    line-height: 1;
    margin-bottom: 20px;
    margin-top: -150px;
}

#how-we-work h1 {
    margin-bottom: 75px;
}

.general-content-how-we-work h3 {
    margin-top: 50px;
    font-weight: var(--font-weight-black);
}

.general-content-how-we-work p {
    max-width: 560px;
}

.list-draw-section {
    width: 100%;
    margin: 0 auto;
}

.list-draw-section ul {
    padding: 0;
    margin: 75px auto 0;
    list-style: none;
}

.list-draw-section ul li {
    background: #fff;
    color: #BABABA;
    font-weight: bold;
    padding: 12px 28px;
    margin-right: 20px;
    margin-bottom: 20px;
    float: left;
    position: relative;
}

.list-draw-section ul li span {
    position: absolute;
    top: -20px;
    right: -15px;
}

.list-draw-section ul li.color-purple {
    color: var(--color-purple);
}

.client::before {
    content: '';
    background: url(./imgs/crown.svg) center center no-repeat;
    background-size: contain;
    width: 23px;
    height: 20px;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: -10px;
    z-index: 1;
}

.list-draw-section ul li:last-child {
    margin-right: 0;
}

.cta-draw-section {
    display: flex;
    align-items: center;
    max-width: 550px;
    margin: 30px auto 0;
    justify-content: space-between;
}

.staff-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px white solid;
    overflow: hidden;
    background-color: #f4f4f4;
    position: absolute;
}

.staff-icon img {
    height: 100%;
    width: auto;
}

.icon-focused:hover,
.staff-icon:hover {
    box-shadow: 0px 0px 20px 0px #b081f8;
}

.focused-staff {
    box-shadow: 0px 0px 20px 0px #b081f8;
    color: var(--color-purple) !important
}

.staff-icon.focused-staff {
    box-shadow: 0px 0px 20px 0px #b081f8;
    color: var(--color-purple);
}
.list-draw-section ul li.focused-staff,
.list-draw-section ul li:hover {
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.16);
    color: var(--color-purple);
}
#crown-icon.focused-staff{
  box-shadow: 0px 0px 20px 0px #b081f8
}
.key-roles-title {
    color: #261944;
    font-weight: bold;
    font-size: 38px;
    line-height: 1.2;
    text-align: center;
    margin: 100px 0 50px;
}

@media screen and (min-width:992px) {
    .key-roles-title br {
        display: none;
    }
}

@media screen and (max-width:991px) {
    #how-we-work h1 {
        margin: 50px 0 30px;
        font-size: 30px;
        max-width: 70%;
        position: relative;
        padding-left: 30px;
    }
    #how-we-work h1::before {
        content: '';
        position: absolute;
        top: 0;
        left: -30px;
        width: 45px;
        height: 100%;
        background: #b081f8;
    }
    .big-text {
        font-size: 100px;
        margin-top: -50px;
        line-height: 60px;
    }
    .general-content-how-we-work {
        padding-bottom: 30px;
    }
    .general-content-how-we-work .cta-link {
        display: none;
    }
    .list-draw-section {
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    .list-draw-section ul {
        display: flex;
        /* flex-direction: column; */
        align-items: flex-start;
        justify-content: center;
        margin: 80px 0 0;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    #how-we-work .col-12 .general-content-how-we-work h3 {
        margin-top: 30px !important;
    }
    #how-we-work .col-12 .general-content-how-we-work h3:first-child {
        margin-top: 0px !important;
    }
    .list-draw-section ul li {
        padding: 12px 12px;
        flex: 46%;
        margin: 0 4% 50px 0;
        background: #fff;
    }
    .list-draw-section ul li:nth-child(2n) {
        margin-right: 0;
    }
    .list-draw-section ul li img {
        height: 44px;
    }
    .client::before {
        left: auto;
        right: 0;
    }
    .list-draw-section ul li span {
        top: -30px;
        right: 0;
        z-index: 1;
    }
    .cta-draw-section {
        align-items: flex-start
    }
}

#workflow-graphic-container {
    width: 100%;
    position: relative;
}

#workflow-graphic {
    position: relative;
    width: 100%;
    padding-top: 35.238%;
}

#workflow-graphic-container img {
    max-height: 50%;
}

@media ( max-width: 767px) {
    #workflow-graphic-container {
        padding-top: 48%;
        padding-bottom: 48%;
    }
    #workflow-graphic {
        transform: rotate(90deg) scale(2.5);
        margin-top: 160px;
        margin-bottom: 190px;
    }
    #workflow-graphic>div {
        transform: rotate(-90deg) scale(0.8) translateX(2px) translateY(-4px) !important;
    }
    #workflow-graphic .staff-icon {
        transform: rotate(-90deg) scale(1.25) translateX(1px) translateY(-2px) !important;
        border: 0;
        background: transparent;
        width: 23px;
        height: 23px;
    }
    #workflow-graphic-container img {
        max-height: 55%;
    }
    #workflow-graphic-container #crown-icon {
        transform: rotate(-90deg) scale(0.9) translateX(1px) translateY(-2px) !important;
    }
    #workflow-graphic-container #crown-icon img,
    #workflow-graphic-container .staff-icon img {
        max-height: 80%;
    }
}

#dashed-line-background {
    position: absolute;
    top: 13.51%;
    left: 4.2857%;
    width: 78.76%;
    height: 75.675%
}

#vertical-line-background {
    position: absolute;
    left: 28.19%;
    top: 13.51%;
    width: 3px;
    height: 75.40%;
}

#horizontal-line-background {
    position: absolute;
    top: 41.35%;
    left: 83.14%;
    width: 13.52%;
    height: 3px;
}

#flag-icon {
    position: absolute;
    left: 92.762%;
    top: 31.08%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 4px #f4f4f4 solid;
    background-color: white;
}

#crown-icon {
    position: absolute;
    left: 25.238%;
    top: 4.865%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px #f4f4f4 solid;
    background-color: white;
}

#pad-icon {
    position: absolute;
    left: 12.57%;
    top: 43.51%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #b081f8;
}

#arrows-icon {
    position: absolute;
    left: 80.5%;
    top: 33.5%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #b081f8;
}

#bulb-icon {
    position: absolute;
    left: .762%;
    top: 40.541%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 4px #f4f4f4 solid;
    background-color: white;
}

#staff-icon-andrei {
    left: 25.238%;
    top: 41.892%;
}

#staff-icon-mircea {
    left: 37.905%;
    top: 41.892%;
}

#staff-icon-raluca {
    left: 50.571%;
    top: 41.892%;
}

#staff-icon-sergiu {
    left: 64.762%;
    top: 60.811%;
}

#staff-icon-tiberiu {
    left: 25.239%;
    top: 79.73%;
}

@media ( min-width: 530px) and ( max-width: 767px) {
    #pad-icon,
    #arrows-icon {
        width: 30px;
        height: 30px;
    }
    #crown-icon,
    .staff-icon {
        width: 35px;
        height: 35px;
    }
    #bulb-icon,
    #flag-icon {
        width: 40px;
        height: 40px;
    }
}

@media (min-width:768px) {
    #workflow-graphic-container {
        width: 850px;
    }
    #workflow-graphic-container img {
        max-height: 100%;
    }
    #pad-icon,
    #arrows-icon {
        width: 40px;
        height: 40px;
    }
    #crown-icon,
    .staff-icon {
        width: 50px;
        height: 50px;
    }
    #bulb-icon,
    #flag-icon {
        width: 60px;
        height: 60px;
    }
}

@media (min-width:1200px) {
    #workflow-graphic-container {
        width: 1050px;
        margin: 0 auto;
    }
    #pad-icon,
    #arrows-icon {
        width: 50px;
        height: 50px;
    }
    #crown-icon,
    .staff-icon {
        width: 65px;
        height: 65px;
    }
    #bulb-icon,
    #flag-icon {
        width: 75px;
        height: 75px;
    }
}
