/* 
==================================================
|| VARIABLES
==================================================
*/

:root{
    --color-orange:  #f37335;
    --color-yellow: #FF9F1C;
    --color-green: #2EC4B6;
    --color-blue: #011627;
    --color-azur: #06BEB6;
    --color-red: #ED213A;
    --color-purple: #8360c3;
    --color-grey: #F2F2F2;
    --color-background: #FDFFFC;
    --color-shade:#fff3ed;
    --color-gradient-primary: linear-gradient(to right, #aa4b6b, #6b6b83, #3b8d99);
    --color-gradient-red: linear-gradient(to right, #ed213a, #93291e);
    --color-gradient-yellow: linear-gradient(to left, #fdc830, #f37335);
    --color-gradient-purple: linear-gradient(to right, #8360c3, #2ebf91);
    --color-gradient-green: linear-gradient(to right, #2ebf91, #06beb6);
    --color-gradient-blue: linear-gradient(to right, #06beb6, #48b1bf);

    --font-opensans: 'Open Sans', sans-serif;
    --font-poppins: 'Poppins', sans-serif;
}

/* 
==================================================
|| COMMONS
==================================================
*/

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body{
    font-family: var(--font-opensans);
    color: var(--color-blue);
    margin: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}


body::-webkit-scrollbar {
    width: 5px;
}

body::-webkit-scrollbar-track {
    background: var(--color-background);
}

body::-webkit-scrollbar-thumb {
    background: var(--color-orange);
}

div, section, nav, footer, input{
    box-sizing: border-box;
}

.container, .flickable{
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.row{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}
  
.col{
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
    position: relative;
    padding-right: 30px;
}

.col:last-child{
    padding: 0;
}

.col.center{
    text-align: center;
}

.col.col-noflex{
    display: initial;
}

.clearfix::after{
    content: "";
    clear: both;
    display: table;
}

#about .row, .flickable .row, #rdv .row, #article .row{
    align-items: center;
    justify-content: center;
}

/* 
==================================================
|| COMMONS
==================================================
*/

.animated-link, .highlight{
    position: relative;
    display: inline-block;
    padding: 10px 0;
    overflow: hidden;
    font-weight: bold;
    text-decoration: none;
    color: var(--color-blue);
    font-size: 1rem;
    transition: transform .4s cubic-bezier(.175,.885,.32,1.275);
}

.animated-link::after, .highlight::after{
    content: '';
    display: inline-block;
    width: 30px;
    height: 3px;
    background-color: var(--color-orange);
    position: absolute;
    bottom: 0;
    left: -30px;
    margin-top: 15px;
    opacity: 1;
    transition: transform .35s cubic-bezier(.645,.045,.355,1);
}

.animated-link:hover, .highlight:hover{
    transform: translateY(-10px);
}

.animated-link:hover::after, .highlight:hover::after{
    transform: translateX(30px);
}

.highlight, .menu-container a.highlight{
    color: var(--color-orange);
}

.btn{
    display: inline-block;
    font-size: 1rem;
    padding: 10px 20px;
    background-color: var(--color-orange);
    color: var(--color-background);
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px 4px;
    transition: all .4s cubic-bezier(.175,.885,.32,1.275);
}

.btn:hover{
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(243,115,53,0.22);
    transform: translateZ(30px) scale(1.025);
}

.btn.btn-highlight{
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(243,115,53,0.22);
    transform: translateZ(30px) scale(1.025);
}

.btn.btn-highlight:hover{
    box-shadow: none;
    transform: translateZ(0) scale(1);
}

.btn.btn-waze{
    background-color: #32CCFE;
}

.btn.btn-google{
    background-color: #EA4335;
}

.btn.btn-video{
    background-color: var(--color-yellow);
}

.btn i{
    display: inline-block;
    margin-right: 5px;
}

.btn.btn-blog i{
    margin: 0 0 0 10px;
    display: none;
    transition: all .4s cubic-bezier(.175,.885,.32,1.275);
}

.btn.btn-blog:hover i{
    display: inline-block;
}

.container.main{
    margin: 90px auto;
}

.section-title.center{
    text-align: center;
    margin-bottom: 30px;
}

.section-title h3{
    font-family: var(--font-poppins);
    margin: 0;
    font-size: 2rem;
}

.section-title .subtitle{
    margin: 0;
    text-transform: uppercase;
    color: var(--color-blue);
    opacity: 0.5;
    font-weight: bold;
}

.deco{
    display: inline-block;
    width: 60px;
    height: 3px;
    background-color: var(--color-orange);
}

.flick-cell{
    width: 100%;
    margin-bottom: 30px;
}

.text-highlight{
    color: var(--color-orange);
    display: inline-block;
}

/* 
==================================================
|| NAV
==================================================
*/

.menu-container{
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--color-blue);
    padding: 20px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
    box-sizing: border-box;
    background-color: var(--color-background);
    border-radius: 4px 4px;
    margin-top: 15px;
}

.menu-logo{
    line-height: 0;
    margin: 0 20px;
}

.menu-logo img{
    max-height: 80px;
    max-width: 120px;
    flex-shrink: 0;
}

.menu-container input{
    display: block;
    width: 35px;
    height: 25px;
    margin: 0;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
}

/* Burger menu */
.menu-container span{
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #cdcdcd;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                opacity 0.55s ease;
}

.menu-container span:first-child{
    transform-origin: 0% 0%;
}

.menu-container span:nth-child(3){
    transform-origin: 0% 100%;
}

.menu-container input:checked ~ span{
    opacity: 1;
    transform: rotate(45deg) translate(3px,-1px);
    background: #232323;
}

.menu-container input:checked ~ span:nth-child(4){
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

.menu-container input:checked ~ span:nth-child(3){
    transform: rotate(-45deg) translate(-5px,11px);
}

.menu ul{
    list-style: none;
}

.skill-nav a{
    display: inline-block;
    padding: 10px 20px 10px 10px;
    border-radius: 4px 4px;
    background-color: var(--color-grey);
    color: var(--color-blue);
    font-weight: bold;
    text-decoration: none;
    position: relative;
}

.skill-nav a .deco-nav{
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--color-grey);
    position: absolute;
    bottom: 0;
    left: 12px;
    z-index: -1;
    transition: all .4s cubic-bezier(.175,.885,.32,1.275);
}

.skill-nav a:hover .deco-nav, .skill-nav a.active .deco-nav{
    bottom: -15px;
}

.skill-nav a.active .deco-nav{
    border-top: 15px solid var(--color-orange);
}

.skill-nav .icon, .btn .icon, .checklist .icon{
    width: 35px;
    height: 35px;
    display: inline-block;
    background-color: var(--color-background);
    text-align: center;
    color: var(--color-blue);
    border-radius: 4px 4px;
    line-height: 35px;
    margin-right: 10px;
    transition: all .4s cubic-bezier(.175,.885,.32,1.275);
}

.skill-nav a:hover .icon, .skill-nav a.active .icon, .btn:hover .icon, .checklist .icon{
    box-shadow: 0 14px 28px rgba(0,0,0,0.05), 0 10px 10px rgba(0,0,0,0.02);
}

.skill-nav a.active{
    background-color: var(--color-orange);
    color: var(--color-background);
}

/* 
==================================================
|| VIDEO BACKGROUND
==================================================
*/

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: url('../img/hero.jpg') center center no-repeat;
    background-size: cover;
    min-height: 600px;
}

.video-wrapper::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 50vh;
    min-height: 600px;
    background-color: rgba(50,50,50,0.35);
    left: 0;
    top: 0;
}

.video-wrapper iframe, .article .video-wrapper img{
    width: 100vw;
    height: 56.25vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
    min-height: 100vh;
    min-width: 177.77vh; /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.article .video-wrapper img{
    object-fit: cover;
}

/* 
==================================================
|| HERO
==================================================
*/

#hero{
    height: calc(50vh - 150px);
    min-height: 450px;
}

.hero-content{
    padding:15px 0;
    color: var(--color-background);
    font-family: var(--font-poppins);
}

.hero-content h1{
    font-size: 3rem;
    line-height: 3rem;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 1);
}

.hero-content h1 span{
    font-family: var(--font-opensans);
    font-size: 2rem;
    color: var(--color-orange);
}

.hero-deco{
    height: 45vh;
    min-height: 580px;
    width: 65%;
    background: var(--color-gradient-yellow);
    padding: 40px;
    margin-top: 30px;
    border-radius: 4px 4px;
    align-self: flex-end;
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.05), 0 10px 10px rgba(0,0,0,0.02);
}

.hero-deco img{
    position: absolute;
    width: 150%;
    top: calc(25% - 100px);
    right: 0;
    transform: translateZ(100px);
}

.btn.btn-highlight.btn-hero{
    padding: 15px 30px;
}

.bar-content{
    width: 80%;
    padding: 20px;
    background-color: var(--color-background);
    box-shadow: 0 14px 28px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.12);
    border-radius: 4px 4px;
    z-index: 9;
    position: relative;
}

.bar-content h1{
    font-family: var(--font-poppins);
    margin: 0;
    font-size: 1.5rem;
}

.bar-content p{
    /*font-family: var(--font-poppins);*/
    margin: 0;
    color: var(--color-orange);
}

.bar-text{
    float: left;
}

.bar-content .btn{
    float: right;
    margin-top: 2px;
}

#hero .col{
    padding: 0;
}

/* 
==================================================
|| ABOUT
==================================================
*/

.dla-people{
    width: calc(100% / 6 - 5px);
    display: inline-block;
    transition: all .4s cubic-bezier(.175,.885,.32,1.275);
    border-radius: 4px 4px;
    position: relative;
    background: transparent;
    overflow: hidden;
}

.dla-people:hover{
    transform: translateZ(30px) scale(1.5);
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    z-index: 9;
}

.dla-people img{
    display: block;
    width: 100%;
}

.dla-people p{
    font-family: var(--font-poppins);
    font-weight: 700;
    color: var(--color-orange);
    position: absolute;
    width: 100%;
    bottom: -150px;
    left: 0;
    margin: 0;
    font-size: 1.15rem;
    transition: all .4s cubic-bezier(.175,.885,.32,1.275);
}

.dla-people:hover p{
    bottom: 30px;
}

.dla-people p span{
    display: block;
    font-family: var(--font-opensans);
    font-size: 1rem;
    color: var(--color-background);
}

.map{
    padding: 30px;
    border-radius: 4px 4px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.05), 0 10px 10px rgba(0,0,0,0.02);
}

.map p{
    margin: 0;
}

iframe{
    border-radius: 4px 4px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.05), 0 10px 10px rgba(0,0,0,0.02);
}

#video{
    margin-top: 30px;
}

#video .text-video{
    position: absolute;
    text-align: center;
    z-index: 6;
    width: 100%;
    text-align: center;
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 2rem;
    line-height: 3rem;
    color: var(--color-background);
    top: 15%;
}

#video .text-video span{
    color: var(--color-orange);
}

#video .play-video {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: url(../img/landing_play_hover.png);
    background-size: contain;
    cursor: pointer;
    top: 50%;
    left: calc(50% - 50px);
    opacity: 0.5;
    transition: opacity .5s, transform .5s cubic-bezier(.645,.045,.355,1);
    z-index: 6;
    box-shadow: 0 14px 28px rgba(0,0,0,0.05), 0 10px 10px rgba(0,0,0,0.02);
}

#video .play-video:hover {
    opacity: 1;
    transform: scale(1.05);
}

#video .video-cover{
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../img/video-cover.jpg') center center no-repeat;
    background-size: cover;
    top: 0;
    left: 0;
    z-index: 5;
    border-radius: 4px 4px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.05), 0 10px 10px rgba(0,0,0,0.02);
}

#video .video-cover::after{
    content: '';
    position: absolute;
    background-color: rgba(50, 50, 50, 0.25);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* 
==================================================
|| PRESTATIONS
==================================================
*/

#prestations{
    margin-bottom: 0;
}

.flickable.container.main{
    margin: 30px auto;
    position: relative;
}

.flick-cell img{
    width: 100%;
}

#mobile-action{
    position: fixed;
    bottom: 15px;
    right: 15px;
    display: none;
}

.flick-folio-1, .flick-folio-2, .flick-folio-3{
    max-height: 400px;
    margin-right: 15px;
}

.flickity-page-dots .dot{
    background: var(--color-orange) !important;
}

.flickity-page-dots{
    bottom: -30px !important;
}

#certifications img{
    width: 200px;
}
/* 
==================================================
|| FORM
==================================================
*/

#form-rdv{
    margin: 0;
}

button.btn{
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    height: 44px;
    margin-top: 15px;
}

.input-group{
    margin: 15px 0;
}

.input-group.center{
    text-align: center;
}

.input-group label{
    display: block;
    padding-bottom: 5px;
    font-weight: bold;
}

.input-group input{
    width: 75%;
    padding: 12px 15px;
    border-radius: 4px 4px;
    border: 2px solid var(--color-grey);
    background-color: var(--color-grey);
    outline: none;
    box-shadow: none;
    color: var(--color-blue);
    font-size: 1.05rem;
}

.input-group input:focus{
    border: 2px solid var(--color-orange);
}

.hero-deco.rdv-deco{
    position: absolute;
    height: 500px;
    top: 0;
    margin-top: -100px;
    z-index: -1;
}

.checklist{
    padding: 30px;
    background: var(--color-background);
    border-radius: 4px 4px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.05), 0 10px 10px rgba(0,0,0,0.02);
    position: relative;
    margin-right: 60px;
}

.checklist::after{
    content: '';
    width: 50%;
    height: 180%;
    position: absolute;
    z-index: -1;
    background: var(--color-gradient-yellow);
    top: -45%;
    right: -60px;
    border-radius: 4px 4px;
}

.checklist p{
    margin: 0;
}

.checklist ul{
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

.checklist ul li{
    margin-bottom: 5px;
    font-family: var(--font-poppins);
    font-weight: bold;
}

.flip-card{
    background-color: transparent;
    width: 100%;
    height: 460px;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
}
  
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}
  
.flip-card.active .flip-card-inner {
    transform: rotateY(180deg);
}
  
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}
  
.flip-card-back {
    transform: rotateY(180deg);
}

/* 
==================================================
|| ARTICLES
==================================================
*/

.card{
    padding: 30px;
    border-radius: 4px 4px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.05), 0 10px 10px rgba(0,0,0,0.02);
}

.card img{
    width: 100%;
}

.card h3{
    margin-bottom: 0;
}

/* 
==================================================
|| FOOTER
==================================================
*/

footer{
    border-top: 3px solid var(--color-grey);
    padding: 30px 0;
}

footer p{
    font-weight: bold;
    font-family: var(--font-poppins);
    margin-top: 0;
}

footer ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li a{
    text-decoration: none;
    color: var(--color-blue);
}

footer ul li a:hover{
    color: var(--color-orange);
}

footer .btn{
    float: right;
}

footer .btn i{
    margin-right: 0;
}

/* 
==================================================
|| RESPONSIVE
==================================================
*/
  
/* mobile styles */

@media only screen and (max-width: 1280px) {
    .menu-container{
        margin-top: 0;
    }
    .container{
        padding: 15px;
    }
}

@media only screen and (max-width: 940px){
    #video .play-video{
        top: 25%;
    }
    .video-wrapper{
        height: 80vh;
        min-height: initial;
    }
    #about{
        margin-top: 15px;
    }
    #hero {
        height: calc(80vh - 67px);
        min-height: initial;
        text-align: center;
    }
    #hero .row{
        align-items: center;
        justify-content: center;
    }
    .hero-content h1{
        font-size: 2rem;
        line-height: 2rem;
    }
    #hero .btn-video{
        margin-top: 5px;
    }
    .hero-content{
        padding: 0;
    }
    .no-mobile{
        display: none !important;
    }
    .row{
        display: block;
        width: 100%;
    }
    .col{
        display: block;
        width: 100%;
        padding: 0;
    }
    .container.main{
        padding: 0 15px;
    }
    .dla-people{
        width: calc(100% / 3 - 3px);
    }
    .input-group, button.btn{
        width: 100%;
    }
    .input-group input{
        width: 100%;
    }
    .checklist{
        margin: 0;
    }
    .checklist::after{
        display: none;
    }
    .skill-nav a, .adress .btn{
        display: block;
        margin-bottom: 5px;
    }
    .section-title h3{
        font-size: 1.5rem;
    }
    #people .row, #certifications .row{
        text-align: center;
    }
    footer.container.main{
        padding: 30px 15px;
        text-align: center;
        margin-bottom: 0;
    }
    footer .btn{
        float: none;
        margin-top: 30px;
    }
    footer .menu-logo{
        position: initial;
        margin: 0;
        margin-left: -8px;
    }
    footer .col{
        margin: 15px 0;
    }
    #mobile-action{
        display: block;
    }
    .menu-container {
        flex-direction: column;
        align-items: flex-end;
        border-radius: 0;
    }
    .menu-logo {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    .menu-logo img {
        max-height: 40px;
    }
    .menu{
        /*display: none;*/
        position: absolute;
        box-sizing: border-box;
        width: 100%;
        height: calc(100vh - 67px);
        right: -100%;
        top: 67px;
        margin: 0;
        padding: 30px;
        background: var(--color-background);
        -webkit-font-smoothing: antialiased;
        /* to stop flickering of text in safari */
        transform-origin: 0% 0%;
        transform: translateX(0%);
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    }
    .menu ul{
        list-style: none;
        margin: 0 0 30px 0;
        padding: 0;
    }
    .menu-container input:checked ~ .menu {
        transform: translateX(-100%);
    }
}

/* desktop styles */
@media only screen and (min-width: 940px) { 
    .menu-container {
        width: 100%;
    }
    .menu-container input {
        display: none;
    }
    /* Burger menu */
    .menu-container span {
        display: none;
    }
    .menu {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .menu ul {
        display: flex;
        padding: 0;
    }
    .menu li {
        padding: 0 20px;
    }
}