@font-face{
    font-family: 'Avenir Next Medium';
    src: url('../fonts/avenir-next/AvenirNextLTPro-Medium.otf');
    font-display: auto;
}

@font-face{
    font-family: 'Avenir Next Bold';
    src: url('../fonts/avenir-next/AvenirNextLTPro-Bold.otf');
    font-display: auto;
}

@font-face{
    font-family: 'Avenir Next Regular';
    src: url('../fonts/avenir-next/AvenirNextLTPro-Regular.otf');
    font-display: auto;
}

@font-face{
    font-family: 'DroidSerif-Bold';
    src: url('../fonts/droid-serif/DroidSerif-Bold.ttf');
}

@font-face{
    font-family: 'Nunito Sans Regular';
    src: url('../fonts/NunitoSans-Regular.ttf');
    font-display: auto;
}

:root{
    --purple-bg: #9E13C0;
    --orange-bg: #FF7845;
    --red-bg: #B70807;
    --blackish-bg: #083a55;
}

body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

#our-motor{
  font-weight:lighter;
  font-style: italic;
}

.back-to-top{
    width: 40px;
    height: 40px;
    border-radius: 5px;
    border: 2px solid #FF576B;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    outline: none;
    z-index: 5;
    opacity: 0;
    transition: 300ms;
    display: block;
}

.back-to-top.active{
    cursor: pointer;
    opacity: 0.6;
}

.back-to-top.active:hover{
    opacity: 1;
}

.back-to-top img{
    width: 60%;
}

.carousel{
    position: relative;
    height: calc(100% - 76px);
    z-index: 10;
    background: white;
}

.carousel__change-btn{
    background-color: transparent;
    height: 40px;
    width: 40px;
    padding: 0;
    position: absolute;
    top: 50%;
    margin-top: -20px;
    border: none;
    outline: none;
    z-index: 5;
    cursor: pointer;
}

.carousel__change-btn.left{
    left: 20px;
}

.carousel__change-btn.right{
    right: 20px;
}

.carousel__change-btn img{
    height: 80%;
}

.carousel-img{
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: 1.5s;
    height: 100%;
    z-index: 1;
    object-fit: cover
}

.carousel img.active{
    opacity: 1;
}

.content{
    width: 100%;
    height: calc(100vh - 76px);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-direction: column;
}

header .header{
    width: 70%;
    font-size: 40px;
    font-family: 'Avenir Next Bold', sans-serif;
    text-align: center;
    margin-bottom: 0;
}

.subtext{
    width: 50%;
    font-size: 18px;
    font-family: 'Avenir Next Medium', sans-serif;
    text-align: center;
    margin: 30px 0 0;
}

section{
    margin-top: 85px;
    position: relative;
}

.making-a-difference{
    margin-top: 95px;
}

.our-partners{
    /*margin-top: 50px*/
}

section .header{
    font-family: 'Avenir Next Bold', sans-serif;
    font-size: 60px;
    text-align: center;
    color: #C6C6C6;
    margin: 0 0 35px;
}

.concepts_details{
    margin-top: 150px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.concept_details__image{
    position: relative;
}

.concept_details__image .background{
    background-color: #083a55;
    width: calc(90% + 10px);
    height: 402px;
    position: absolute;
    z-index: 1;
    top: 57px;
    border-radius: 0 5px 5px 0;
    box-shadow: 30px 30px 50px -13px rgba(0,0,0,0.1);
}

.concepts_details img{
    width: 90%;
    position: relative;
    height: 449px;
    z-index: 2;
    border-radius: 0 5px 5px 0;
    object-fit: cover;
}

.concepts_details_text{
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    padding: 80px 0 100px;
}

.concepts_details_text div:first-child{
    /* margin-bottom: 20px; */
}

.concept{
    color: #4A4A4A;
    font-family: 'Avenir Next Regular', sans-serif;
    font-size: 18px;
}

.concept img{
    width: 108px;
}

.concept p{
    width: 450px;
    margin: 5px 0 0;
}

.concept text{
    font-family: 'DroidSerif-Bold', sans-serif;
}

.difference-stats{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    padding: 0 100px;
    margin-top: 50px;
    width: 100%;
    box-sizing: border-box;
}

.stat{
    color: #083A55;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-img{
    height: 92px;
    width: 92px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-bottom: 24px;
}

.stat-img img{
    height: 26px;
}

.stat-img.purple{
    background-color: #9E13C0;
}
.stat-img.yellow{
    background-color: #083a55;
}

.stat-img.brown{
    background-color: #B76800;
}

.stat-img.green{
    background-color: #417505;
}

.stat-img.blue{
    background-color: #003183;
}

.stat-header{
    font-family: 'Avenir Next Bold', sans-serif;
    font-size: 20px;
    text-align: center;
    margin: 0;
}

.stat-description{
    max-width: 235px;
    font-family: 'Avenir Next Regular', sans-serif;
    font-size: 16px;
    text-align: center;
    margin: 5px 0;
}

.job-details{
    height: 386px;
    /*background-image: url('../images/home/index-5.png');*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 65px 0 0;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.job-details__image{
    position: absolute;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-details p{
    width: 80%;
    color: white;
    font-family: 'Avenir Next Regular', sans-serif, sans-serif;
    font-size: 20px;
    line-height: 36px;
    text-align: center;
}

.button-wrapper{
    position: relative;
}

.programs-wrapper,.partners-wrapper,.testimonials-wrapper{
    width: calc(100% - 200px);
    box-sizing: border-box;
    position: relative;
    margin: auto;
    padding: 0;
    scroll-behavior: smooth;
    overflow: hidden;
}

.programs{
    display: flex;
    align-items: stretch;
    width: 100%;
    scroll-behavior: smooth;
    left: 0;
}

.program{
    width: 32.3%;
    border-radius: 5px;
    transition: 300ms;
    margin-right: 1.4%;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}

.program img{
    height: 259px;
    width: 100%;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
}

.program div{
    border: 1px solid #E8E8E8;
    border-radius: 0 0 5px 5px;
    transition: 300ms;
    height: calc(100% - 260px);
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
    box-sizing: border-box;
}

.program:hover div{
    border-color: transparent;
}

.program-header{
    font-family: 'Avenir Next Medium', sans-serif;
    font-size: 16px;
    color: #333232;
    padding-left: 18px;
    margin: 26px 0 0;
}

.program-description{
    font-family: 'Nunito Sans Regular', sans-serif;
    font-size: 14px;
    color: #3B3B3B;
    padding: 0 18px;
    margin: 23px 0 38px;
    width: 100%;
    box-sizing: border-box;
}

.program a{
    font-family: 'Avenir Next Regular', sans-serif;
    font-size: 14px;
    color: #4A4A4A;
    text-decoration: none;
    padding-left: 18px;
    display: inline-block;
    margin-top: auto;
}

.program a:hover span{
    text-decoration: underline;
}

.program a:hover svg{
    margin-left: 5px;
}

.program a svg{
    height: 10px;
    fill: #4A4A4A;
    position: relative;
    top: 1px;
    transition: 300ms;
}

.program:hover{
    box-shadow: 10px 10px 30px rgba(0,0,0,0.24);
}

.program.purple:hover{
    background-color: var(--purple-bg);
}

.program.orange:hover{
    background-color: var(--orange-bg);
}

.program.red:hover{
    background-color: var(--red-bg);
}

.program.blackish:hover{
    background-color: var(--blackish-bg);
}

.program:hover a,
.program:hover .program-header,
.program:hover .program-description{
    color: white;
}

.program:hover svg{
    fill: white;
}

.program.purple:hover div{
    border-color: var(--purple-bg);
}

.program.orange:hover div{
    border-color: var(--orange-bg);
}

.program.red:hover div{
    border-color: var(--red-bg);
}

.program-scroll-btn,.partner-scroll-btn,.testimonial-scroll-btn{
    position: absolute;
    top: 50%;
    height: 40px;
    margin-top: -20px;
    background-color: transparent;
    border: none;
    outline: none;
    display: none;
    cursor: pointer;
}

.partner-scroll-btn{
    top: 110px;
}

.program-scroll-btn.left,.partner-scroll-btn.left,.testimonial-scroll-btn.left{
    left: 40px;
}

.program-scroll-btn.right,.partner-scroll-btn.right,.testimonial-scroll-btn.right{
    right: 40px;
}

.program-scroll-btn.active,.testimonial-scroll-btn.active{
    display: block;
}


.partners-wrapper{
    height: 40px;
    position: relative;
}

.partners__scroll-btn{
    position: absolute;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    top: 50%;
    margin-top: -10px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    z-index: 4;
}

.partners__scroll-btn.left{
    left: 5%;
}

.partners__scroll-btn.right{
    right: 5%;
}

.partners{
    display: flex;
    scroll-behavior: smooth;
    padding: 0;
    position: absolute;
}
.group-partner{
    margin-right: 120px;
}

.partner{
    position: relative;
    display: flex;
    width: fit-content;
    flex-shrink: 0;
    margin-right: 120px;
    left: 0;
}

.partner img{
    transition: 100ms ease-in;
    height: 40px;
}

.partner:not(:hover) img{
    filter: grayscale(100%);
}

.partner .header{
    margin-bottom: 50px;
}

.partner span{
    display: none;
    position: absolute;
    top: -40px;
    margin-left: 20px
}

.partner:hover span{
    display: inline-block;
}

.know-more{
    height: 168px;
    background-image: url('../images/home/index-6.png');
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 65px;
    box-sizing: border-box;
    justify-content: center;
}

.know-more p{
    color: white;
    font-family: 'Avenir Next Regular', sans-serif;
    font-size: 20px;
    margin: 10px 0 20px;
    text-align: center;
}

.buttons button,.buttons a{
    height: 44px;
    width: 171px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    border: none;
    transition: 300ms;
    cursor: pointer;
    font-family: 'Avenir Next Medium', sans-serif;
    font-size: 14px;
    background-color: white;
    text-decoration: none;
}

.buttons .redbg{
    background-color: #FF576B;
    color: white;
}

.buttons .redbg{
    margin-right: 20px;
}

.video{
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
    flex-wrap: wrap;
}

.video iframe{
    display: block;
}

.video-column-large{
    flex-basis: 60%;
    height: 500px;
}

.video-column-large iframe,.video-column-large .iframe{
    height: 100%;
    width: 100%;
}

.video-column{
    flex-basis: 36%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 300px;
}

.video-column .iframe{
    height: 46%;
}

.video-column iframe{
    height: 100%;
    width: 100%;
}

.iframe{
    position: relative;
}

.iframe-placeholder{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    cursor: pointer;
    transition: 300ms;
}

.video-column-large .iframe-placeholder__overlay{
    padding: 30px;
}

.iframe-placeholder__overlay{
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    opacity: 0;
    transition: 300ms;
    padding: 20px;
    box-sizing: border-box;
}

.iframe-placeholder .iframe-placeholder__overlay{
    opacity: 1;
}

.iframe-placeholder:hover .iframe-placeholder__button{
    filter: brightness(90%);
}

.iframe-placeholder__overlay-title{
    font-family: "Avenir Next Bold", sans-serif;
    font-size: 18px;
    color: white;
    margin: 0;
}

.iframe-placeholder--hide{
    display: none;
}

.iframe-placeholder__button{
    display: inline-flex;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: white;
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    align-items: center;
    justify-content: center;
}

.iframe-placeholder__button--small{
    height: 60px;
    width: 60px;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
}

.iframe-placeholder__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials__content{
    display: flex;
    width: 100%;
    height: 450px;
    scroll-behavior: smooth;
    padding-bottom: 30px;
    padding-top: 62px;
}

.testimonial{
    width: 30%;
    font-family: 'Avenir Next Regular', sans-serif, sans-serif;
    font-size: 14px;
    display: flex;
    padding: 60px 30px 0px 10px;
    flex-direction: column;
    align-items: center;
    border: 1px solid #E8E8E8;
    border-radius: 5px;
    box-sizing: border-box;
    color: #3B3B3B;
    flex-shrink: 0;
    position: relative;
    text-align: center;
    transition: 400ms;
}
.testimonial.active{
    position: fixed;
    height: 80vh;
    width: 80%;
    z-index: 10;
    background-color: #083A55;
    top: 5%;
    left: 10%;
    /* border: none; */
    /* padding: 0 5%; */
    box-sizing: border-box;
    cursor: default;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: unset;
    margin: 50px auto;
}

.testimonial .close-testimonial{
    display: none
}
.testimonial:not(.active) .big{
    display: none;
}
.testimonial.active .close-testimonial{
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    background: transparent;
    border: none;
    height: 30px;
    width: 30px;
    background-image: url('../images/cancel.svg');
    outline: none;
}

.testimonial.active .testimonial-description a{
    display: none;
}
.testimonial .testimonial-description a{
    /* margin: 150px 0px 0px 0px; */
    color: #083A55;
}
.testimonial .testimonial-description a:hover{
    color: red;
}

.testimonial:not(.active) .testimonial__image{
    height: 90px;
    width: 90px;
    position: absolute;
    top: -45px;
    object-fit: cover;
    border-radius: 50%;
}
.testimonial.active .testimonial-description{
    color: white;
    margin: 4% 5% 1% 5%;
    /* border: 1px solid; */

}
.testimonial.active .testimonial__image{
    height: 140px;
    width: 140px;
    position: absolute;
    top: -45px;
    object-fit: cover;
    border-radius: 50%;
}
.testimonial:not(:last-of-type){
    margin-right: 5.5%;
}

.testimonial:hover{
    box-shadow: 7px 7px 40px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
    cursor: pointer;
}

.testimonial p{
    line-height: 1.8;
}

.testimonial .details{
    margin: auto 0 10px;
}

.testimonial.active .details p{
    color: white;
}
.testimonial .details p{
    margin: 5px 0;
}

.testimonial .author{
    font-family: 'Avenir Next Medium', sans-serif;
    /* color: white; */
    /* color: #083A55; */
}

.testimonial .about{
    font-size: 12px;
    text-align: center;
    color: #898989;
}

.feature{
    padding: 15px 10%;
    background-color: #083a55;
    font-family: "Avenir Next Regular", sans-serif;
    font-size: 16px;
    margin: 0;
    color: white;
    font-weight: normal;
    text-align: center;
}

.feature__link{
    color: white;
    margin-left: 6px;
}

.feature__icon{
    fill: #FF576B;
    height: 12px;
    margin-left: 4px;
}

@media(max-width: 1075px){
    .difference-stats{
        padding: 0 50px
    }
    .programs-wrapper, .partners-wrapper, .testimonials-wrapper{
        width: calc(100% - 120px)
    }
    .program-scroll-btn.left, .partners__scroll-btn.left, .testimonial-scroll-btn.left{
        left: 20px;
    }
    .program-scroll-btn.right, .partners__scroll-btn.right, .testimonial-scroll-btn.right{
        right: 20px;
    }
}

@media (max-width: 1000px) {
    .program{
        width: 45%;
        margin-right: 5%;
    }  
}

@media(max-width: 875px){
    .difference-stats{
        padding: 0 20px;
    }
    .video-column-large{
        flex-basis: 100%;
        height: unset;
    }
    .video-column{
        flex-basis: 100%;
        min-width: unset;
    }
    .video iframe{
        height: 400px;
        margin-bottom: 40px;
    }
    .video{
        display: block;
    }
    .iframe{
        margin-bottom: 30px;
    }
    .testimonial{
        width: 47%;
    }
    .testimonial.active{
        padding: 1px 10px 0px 10px;
    }
    .testimonial .details{
        margin:  10px 10px;
    }
    .testimonial.active .testimonial-description{
        margin: 0px;
        padding: 0px;
        /* border: 1px solid; */
    }
}

@media(max-width: 760px){
    .difference-stats{
        grid-template-columns: 1fr 1fr;
        grid-gap: 40px 0;
    }
    .concepts_details{
        grid-template-columns: 1.5fr 1fr;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .concept p{
        width: 100%;
    }
    .testimonial{
        width: 90%;
    }
    .testimonial-scroll-btn img,
    .program-scroll-btn img,
    .partners__scroll-btn img{
        height: 24px;
    }
    .testimonial.active{
        padding: 1px 10px 0px 10px;
    }
    .testimonial .details{
        margin:  10px 10px;
    }
    .testimonial.active .testimonial-description{
        margin: 0px;
        padding: 0px;
        /* border: 1px solid; */
    }
}

@media (max-width: 700px) {
    .program{
        width: 350px;
        margin-right: 30px;
    }

.testimonial.active{
    height: 100vh;
    width: 100%;
    /* z-index: 10; */
    /* top: 0; */
    /* right: 1px; */
    left: 1%;
}
.testimonial{
    width: 90%;
}

.testimonial.active{
    padding: 1px 10px 0px 10px;
}
.testimonial .details{
    margin:  10px 10px;
}
.testimonial.active .testimonial-description{
    margin: 0px;
    padding: 0px;
    /* border: 1px solid; */
}

}

@media(max-width: 640px){
    
    header .header{
        width: 95%;
    }
    header .subtext{
        width: 85%;
    }
    .concepts_details{
        grid-template-columns: 1fr;
        grid-gap: 30px;
    }
    .concept_details__image img, .concepts_details_text{
        margin: auto;
        display: block;
        width: 90%;
    }
    .concept_details__image .background{
        display: none;
    }
    .programs-wrapper, .partners-wrapper, .testimonials-wrapper{
        width: calc(100% - 30px)
    }
    .programs-wrapper{
        margin: 0 10px 0 20px;
    }
    .program-scroll-btn.left, .partners__scroll-btn.left, .testimonial-scroll-btn.left{
        left: 5px;
        z-index: 5;
    }
    .program-scroll-btn.right, .partners__scroll-btn.right, .testimonial-scroll-btn.right{
        right: 10px;
        z-index: 5;
    }
    .sub-nav.active{
        width: 80%;
    }
    .concepts_details_text{
        padding-bottom: 60px;
    }
    .making-a-difference{
        margin-top: 0;
    }
    .testimonial.active{
        padding: 1px 10px 0px 10px;
    }
    .testimonial .details{
        margin:  10px 10px;
    }
    .testimonial.active .testimonial-description{
        margin: 0px;
        padding: 0px;
        /* border: 1px solid; */
    }
}

@media(max-width: 530px){

    section .header {
        margin: 0 auto 20px;
        width: 90%;
        font-size: 40px;
    }
    .job-details{
        height: auto;
    }
    .difference-stats{
        grid-template-columns: 1fr;
    }
    .blog,.newsletter{
        grid-column: 1;
    }
    .carousel__change-btn.left{
        left: 0;
    }
    .carousel__change-btn.right{
        right: 0;
    }
    .testimonial.active{
        padding: 1px 10px 0px 10px;
    }
    .testimonial .details{
        margin:  10px 10px;
    }
    .testimonial.active .testimonial-description{
        margin: 0px;
        padding: 0px;
        /* border: 1px solid; */
    }
}

@media (max-width: 400px) {
    .program{
        width: 95%;
        margin-right: 5%;
    }
    .testimonial.active{
        padding: 1px 10px 0px 10px;
    }
    .testimonial .details{
        margin:  10px 10px;
    }
    .testimonial.active .testimonial-description{
        margin: 0px;
        padding: 0px;
        /* border: 1px solid; */
    }
   
}



