.implementation-hero{
    padding-top:160px;
    padding-bottom:263px;
    background-color: black;
    position: relative;
    background: url("../img/implementation-hero-background.jpg") no-repeat center;
    background-size: cover;
}

.implementation-hero p{
    margin-bottom: 60px;
    width: 92%;
    margin-top: 30px;
}

.implementation-hero h1{
    color: white;
}

.implementation-stages .flex-row{
    justify-content: center;
    text-align: center;
}
.list-implementation-stages,
.implementation-stages-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}
.list-implementation-stages li {
    display: none;
    text-align: center;
}
.list-implementation-stages li.active {
    display: block;
}
.implementation-stages{

}
.implementation-stages-timeline {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
}
.implementation-stages-timeline li {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-basis: 20%;
    text-align: center;
    position: relative;
    cursor: pointer;
}
.implementation-stages-timeline li:before,
.implementation-stages-timeline li:after {
    content: "";
    width: 50%;
    position: absolute;
    display: block;
    height: 2px;
    bottom: 9px;
    background: var(--red);
}
.implementation-stages-timeline li:not(.active) h3,
.implementation-stages-timeline li:not(.active) p {
    opacity: 0.7
}
.implementation-stages-timeline li.active h4 {
    font-weight: 600;
}
.implementation-stages-timeline li:before {
    left: 0;
}
.implementation-stages-timeline li:after {
    right: 0;
}
.implementation-stages-timeline li.active:after,
.implementation-stages-timeline li.active ~li:after,
.implementation-stages-timeline li.active ~li:before {
    background-color: rgba(0,0,0,0.3);
}
.implementation-stages-timeline li.active ~li .circle {
    background-color: #686868;
    cursor: pointer;
}

.implementation-stages-timeline h4 {
    padding: 0;
    font-size: 20px;
    text-align: center;
    font-weight: 400;
}
.implementation-stages-timeline h4:before {
    display: none;
}
.implementation-stages-timeline p {
    font-size: 16px;
}
.implementation-stages-timeline .circle {
    width: 20px;
    height: 20px;
    background-color: var(--red);
    display: block;
    margin-top: 10px;
    border-radius: 20px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 5;
}
.implementation-stages-timeline .circle.small {
    width: 10px;
    height: 10px;
    margin-bottom: 5px;
}

.stages-text-block-wrapper{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
}

.stages-text-block{
    max-width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stages-text-block p{
    font-size: 14px;
}
.text-block-title{
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}



.implementation-agile-framework .button-link:after {
    right: calc(100% - 290px);
    border-color: black;
}

.implementation-agile-framework .button-link{
    color: white;
    margin-top:40px;
    width:415px;
}

.implementation-agile-framework .button-link:before{
    background-color: white;
}

.implementation-agile-framework .button-link:after{
    border-color: white;
}

.implementation-agile-framework h2
{
    margin-bottom: 30px;
}

.implementation-agile-framework p:not(:last-of-type),
.implementation-stages p:not(:last-of-type)
{
    margin-bottom: 20px;
}

.implementation-agile-framework{
    padding: 120px 0;
    background-color: var(--graphite);
    overflow: hidden;
    min-height: 900px;
    display: flex;
    align-items: center;
}


.implementation-agile-framework .line-break-heading:before{
    left: -10px;
    right:110px;
    opacity: 1;
}

.implementation-agile-framework .white-red:after {
    right: 225px;
}

.implementation-agile-framework .flex-row
{
    align-items: center;
}

.implementation-deployment .button-link:hover:after, 
.implementation-agile-framework .button-link:hover:after {
    right: 0;
    opacity: 0;
}


.implementation-deployment .button-link{
    width:415px;
    color: black;
    margin-top: 40px;
}

.implementation-deployment .button-link:after {
    right: calc(100% - 186px);
    border-color: black;
}

.implementation-deployment .button-link:before {
    background-color: black;
}

.implementation-deployment,
.implementation-stages{
    background-color: #F2F2F2;
    padding: 120px 0px;
}

.implementation-deployment p,
.implementation-stages p{
    color:black;
}

.implementation-deployment h2,
.implementation-stages h2{
    margin-bottom: 30px;
}

.implementation-deployment p:not(:last-of-type){
    margin-bottom: 20px;
}

.implementation-deployment .line-break-heading:before{
    left: -10px;
    right:25px;
    opacity: 0.6;
}

.implementation-deployment .flex-row
{
    align-items: center;
}

.implementation-deployment h2 .header-prefix,
.implementation-stages h2 .header-prefix{
    color: rgba(0, 0, 0, 0.7);
}

.implementation-stages h2 .header-prefix{
    padding-left: 0;
}

.implementation-deployment  span.header-prefix:before{
    background-color: rgba(0, 0, 0, 0.7);
}


.implementation-stages  span.header-prefix:before{
    display: none;
}

.implementation-stages .offset-left-10px{
    margin-left: 0;
}

.implementation-deployment .grid-md-2-5{
    display: flex;
    flex-direction: column;   
}

.deployment-icon{
    width: 88px;
    height: 88px;
}

.cloud-deployment{
    background: url(../img/cloud-icon.png);
}

.on-premise-deployment{
    background: url(../img/on-premise-icon.png);
}

.deployment-model{
    display: flex;
    flex-direction: column;
}

.deployment-model:last-of-type{
    margin-top: 60px;
}

.deployment-model p{
    line-height: 1.8;
}

.deployment-model h5{
    margin-top: 30px;
    margin-bottom: 10px;
}

.implementation-deployment h2:after{
    right: -25px;
}

@media (max-width: 767px) {
    .container{
        padding: 0px 20px;
    }

    .implementation-agile-framework .button-link, .implementation-hero .button-link,
    .implementation-deployment .button-link{
        width: 100%;
        font-size: 16px;
    }

    .implementation-agile-framework h2, .implementation-deployment h2{
        font-size: 1.8em;
    }

    .line-break-heading{
        display: inline;
        margin-right: 0;
    }

    .implementation-agile-framework .agile-framework-chart {
        background: no-repeat center / contain url(../img/agile-framework-chart.png);
        width: 100%;
        height: 306px;
        margin-top: 40px;
    }

    .implementation-agile-framework .button-link:after {
        right: calc(100% - 240px);
    }

    .implementation-deployment .button-link:after {
        right: calc(100% - 163px);
    }
}

@media (min-width: 767px) {

    .implementation-agile-framework .agile-framework-chart {
        background: no-repeat center / contain url(../img/agile-framework-chart.png);
        width: 100%;
        height: 306px;
        margin-top: 40px;
    }

    h2{
        font-size: 1.8em;
    }

    
}

@media screen and (max-width: 992px){
    h1 .header-prefix, h2 .header-prefix, span.header-prefix {
        font-size: 16px;
    }
    .implementation-deployment .grid-md-2-5 {
        order: 2;
    }
    .deployment-model, .deployment-model:last-of-type{
        margin-top: 40px;
    }
    h1{
        font-size: 2em;
    }

    .implementation-agile-framework h2, .implementation-deployment h2{
        margin-bottom: 20px;
    }
    .implementation-agile-framework .line-break-heading:before,
    .implementation-agile-framework .white-red:after,
    .implementation-deployment h2.black-red:after,
    .implementation-deployment .line-break-heading:before {
        display: none;
    }

    .offset-left-10px{
        margin-left: 0;
    }
    
}

@media screen and (min-width: 992px){
    .implementation-agile-framework .agile-framework-chart {
        background: no-repeat right / contain url(../img/agile-framework-chart.png);
        width: 100%;
        height: 306px;
        margin-left: 40px;
        margin-top: 0;
    }

    h2:after {
        left: -16px;
        width: 5px;
        height: 80%;
        bottom: -5px;
    }
    .offset-left-10px {
        margin-left: 16px;
    }

    .implementation-agile-framework h2:after {
        height: 67%;
    }
}

@media screen and (min-width: 1200px){

    h2{
        font-size: 2.1em;
    }
}
@media screen and (max-width: 1200px){

    .implementation-agile-framework, .implementation-deployment, .implementation-hero, .implementation-stages{
        padding: 80px 0;
    }
}

@media screen and (min-width: 1600px){

    .implementation-agile-framework .agile-framework-chart{
        background: no-repeat center / contain url("../img/agile-framework-chart.png");
        width: 100%;
        height: 420px;
        margin-left: 0;
    }

    
    h2:after {
        content: "";
        left: -10px;
        right: -30px;
        position: absolute;
        display: block;
        height: 15px;
        bottom: 5px;
        background-color: var(--darkgrey);
        z-index: -1;
    }
    .implementation-deployment h2:after,
    .implementation-agile-framework h2:after,
    .implementation-stages h2:after {
        width: auto;
    }

    .implementation-agile-framework h2:after {
        height: 15px;
    }

    .implementation-agile-framework .grid-xl-1-3  {
        flex-basis: 40%;
        max-width: 40%;
    }

    .implementation-deployment .grid-xxl-1-3{
        flex-basis: 44%;
        max-width: 44%;
    }
    .implementation-agile-framework .grid-xl-1-3 p, 
    .implementation-deployment .grid-xl-1-3 p{
        width: 85%;
    }

     h2{
        font-size: 2.4em;
    }

  
}
@media screen and (max-width: 1600px){

    p{
        font-size: 14px;
    }
    .line-break-heading {
        display: inline;
    }

    .implementation-deployment .line-break-heading:before,
    .implementation-agile-framework .line-break-heading:before {
        display: none;
    }



}
    
@media screen and (min-width: 1920px){

    h2{
        font-size: 2.8em;
    }
}
