html, body{
    margin: 0;
    padding: 0;
    height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #0f141b;
    background-size: 200%;
    background-repeat: no-repeat;
    background-position: top center;
    background-attachment: fixed;
    min-height: 100vh;
    background-image: url(/assets/Backgrounds/services-bg.jpg);
    scroll-padding-top: 40vh;
}

@font-face {
    font-family: "Radio Canada Big";
    src: url(/fonts/RadioCanadaBig-VariableFont_wght.ttf);
}

body {
	line-height: 1.5;
    font-family: "Radio Canada Big";
	> footer {
		position: sticky;
		top: 100dvh;
	}
    overflow-x: hidden;
    width: 100vw;
}

:root{
    --accent: #19285F;
    --primary: #404955;
    --secondary: #BDC9F3;
    --tertiary: #8B989A;
    --button-timing-function: cubic-bezier(.01,.93,.45,.98);
}

::-webkit-scrollbar{
    background-image: url(/assets/Extra/noisemap.png);
}

::-webkit-scrollbar-thumb{
    background-color: #243757;
    border-radius: 100px;
    border: 0.2em solid #1b1d24;
}

::-webkit-scrollbar-thumb:hover{
    background-color: #76bdd3;
    transition-duration: 300ms;
    margin: 10px;
    background-image: url(/assets/Extra/noisemap.png);
}

::-webkit-scrollbar-track{
    width: 15px;
    margin-block: .5em;
    background-color: #1b1d24;
    background-image: url(/assets/Extra/noisemap.png);
}


nav {
    background-color: rgba(0, 0, 0, 0.496);
    height: 75px;
    width: 100%;
    z-index: 99;
    position: fixed;
    backdrop-filter: blur(100px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .center{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

nav .center ul{
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    padding: 0;
    padding-right: 75px;
    margin: 0;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

nav .center a, nav .center li{
    text-decoration: none;
    list-style-type: none;
    color: white;
    font-size: 1.3rem;
    font-family: "Radio Canada Big";
    padding: 0;
    margin: 0;
    text-align: top;
}

nav .center li:hover{
    font-weight: 900;
    transition-duration: 300ms;
}

nav .center li:not(:hover){
    transition-duration: 800ms;
}

nav .center li{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

nav .center .indicator{
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: white;
}

nav .right{
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

main .start{
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
}

main .start .content-wrapper{
    width: 90%;
    height: 50%;
    display: flex;
    align-items: top;
    justify-content: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
}
 
.start .overlay{
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(14, 14, 14, 0.8), rgba(14, 14, 14, 0.6), rgba(14, 14, 14, 0.2));
    z-index: 1;
    position: absolute;
}

.start{
    border-bottom: 1px solid rgba(121, 155, 242, 0.011);
}

main .start .content-wrapper .heading{
    font-family: "Radio Canada Big";
    color: white;
    font-size: 3rem;
    letter-spacing: -1pt;
    font-weight: 500;
}

main .start .content-wrapper p{
    color: var(--tertiary);
    font-size: 20pt;
    font-family: "Radio Canada Big";
    text-align: center;
    width: 1050px;
}

nav .left .logo-area{
    width: 180px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 8px;
    padding-left: 16px;
    padding-right: 16px;
}

nav .left .logo-area:active{
    scale: 0.9;
    transition-duration: 200ms;
    transition-timing-function: var(--button-timing-function);
    background-color: rgba(0, 0, 0, 0.253);
    border-radius: 10px;
}

nav .left .logo-area:not(:active){
    transition-duration: 200ms;
}

nav .left .logo-area {
    position: relative;
    overflow: hidden;
}

nav .left .logo-text {
    position: absolute;
    transition-duration: 150ms;
    opacity: 0;
    left: 10px;
}

nav .left .logo{
    margin-right: auto;
}

.start .button-area{
    margin-top: 50px;
    display: flex;
    gap: 10px;
}

.start .button-area button{
    padding: 12px;
    border-radius: 99px;
    border-style: none;
    font-family: "Radio Canada Big";
    cursor: pointer;
    font-size: 1.2rem;
}

.start .button-area .learn-more-button{
    background-color: var(--accent);
    color: var(--secondary);
    padding-left: 15px;
    padding-right: 15px;
}

.start .button-area .call-button{
    background-color: var(--secondary);
    color: var(--accent);
    padding-left: 42px;
    padding-right: 42px;

}

.start .button-area button:hover{
    filter: saturate(1.25) brightness(1.1);
    transition-duration: 200ms;
    box-shadow: -3px 3px 5px rgba(0, 0, 0, 0.203);
}

.start .button-area button:not(:hover){
    transition-duration: 200ms;
}

.start .button-area button:active{
    scale: 0.9;
    transition-duration: 200ms;
    transition-timing-function: var(--button-timing-function);
}

.play-icon{
    padding-left: 3px;
}

nav .contact-us-button{
    padding: 9px;
    border-radius: 99px;
    border-style: none;
    font-family: "Radio Canada Big";
    cursor: pointer;
    font-size: 1.1rem;
    background-color: var(--secondary);
    color: var(--accent);
    padding-left: 17px;
    padding-right: 17px;
    user-select: none;
}

nav .contact-us-button:hover{
    filter: saturate(1.25) brightness(1.1);
    transition-duration: 200ms;
    box-shadow: -3px 3px 5px rgba(0, 0, 0, 0.203);
}

nav .contact-us-button:not(:hover){
    transition-duration: 200ms;
}

nav .contact-us-button:active{
    scale: 0.9;
    transition-duration: 200ms;
    transition-timing-function: var(--button-timing-function);
}

.language-switcher, .search-icon, .close-icon, .menu-button{
    scale: 0.8;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    cursor: pointer;
    border-radius: 100%;
    background-color: rgba(255, 255, 255, 0);
    border-style: none;
}

.language-switcher:hover, .search-icon:hover, .close-icon:hover{
    transition-duration: 200ms;
    background-color: rgba(255, 255, 255, 0.167);
    transition-timing-function: var(--button-timing-function);
}

.language-switcher:not(:hover), .search-icon:not(:hover), .close-icon:not(:hover){
    transition-duration: 500ms;
}

.language-switcher:active, .search-icon:active, .close-icon:active{
    scale: 0.7;
    transition-duration: 200ms;
    transition-timing-function: var(--button-timing-function);
    background-color: rgba(0, 0, 0, 0.253);
}

.search-input {
    transition: all 300ms ease;
    border: none;
    outline: none;
    font-size: 16px;
    color: white;
    font-family: "Radio Canada Big";
    transition-timing-function: var(--button-timing-function);
    width: 200px;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.253);
    border-radius: 25px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    /* outline: 2px solid rgba(42, 109, 181, 0.322); */
}

.result-list-container{
    background-color: #0000006c;
    border-radius: 8px;
    padding: 0;
    top: 75px;
    position: absolute;
    cursor: pointer;
    background-image: url(/assets/Extra/noisemap.png);
    transition-timing-function: var(--button-timing-function);
    transition-duration: 200ms;
    padding-right: 3px;
    padding-left: 3px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    min-width: 300px;
    backdrop-filter: blur(100px);
    max-height: 500px;
    overflow-y: auto;
}

.result-list-container li{
    padding: 7px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0);
    text-decoration: none;
    list-style-type: none;
    margin: 4px;
    cursor: pointer;
    color: white;
    font-family: "Radio Canada Big";
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.result-list-container ul{
    margin: 0;
    padding: 0;
}

.result-list-container ul li:hover{
    background-color: rgba(0, 0, 0, 0.183);
    transition-duration: 200ms;
    scale: 1.025;
}

.result-list-container ul li:not(:hover){
    transition-duration: 500ms;
}

.result-list-container p{
    padding: 0;
    margin: 0;
}

.result-list-container ul li:active{
    transform-origin: center;
    scale: 1;
    opacity: 0.5;
}

.result-list-container{
    user-select: none;
    display: none;
    opacity: 0;
}

.highlight-span {
    transition-duration: 1000ms;
    background-color: #f7e80f;
    color: #181e2e;
    font-weight: 900;
    padding-left: 8px;
    padding-right: 10px;
    border-radius: 5px;
    box-shadow: 0 0 20px #ffcc1264;
}

.close-icon{
    display: none;
    opacity: 0;
}

.search-input{
    width: 0;
    /* display: none; */
    opacity: 0;
    margin: 0;
    padding: 0;
    user-select: none;
}

.language-switcher:before{
    content: attr(data-tooltip);
    position: absolute;
    color: white;
    background-color: var(--primary);
    padding: 15px;
    font-family: "Radio Canada Big";
    font-size: 1.5rem;
    text-wrap: nowrap;
    border-radius: 10px;
    transition-duration: 200ms;
    scale: 0.8;
    transform: translateY(70px);
    opacity: 0;
    user-select: none;
    pointer-events: none;
    box-shadow: 0 0 50px rgba(27, 27, 43, 0.599);
    z-index: 9999;
}

.language-switcher:hover:before{
    scale: 0.9;
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.22, 1.275);
    opacity: 1;
}

.search-icon:before{
    content: attr(data-tooltip);
    position: absolute;
    color: white;
    background-color: var(--primary);
    padding: 15px;
    font-family: "Radio Canada Big";
    font-size: 1.5rem;
    text-wrap: nowrap;
    border-radius: 10px;
    transition-duration: 200ms;
    scale: 0.8;
    transform: translateY(70px);
    opacity: 0;
    user-select: none;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.39);
    pointer-events: none;
}

.search-icon:hover:before{
    scale: 0.9;
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.22, 1.275);
    opacity: 1;
}

header .dropdown{
    background-color: hsla(233, 0%, 9%, 0.841);
    height: 560px;
    width: 100%;
    z-index: 98;
    position: fixed;
    backdrop-filter: blur(50px);
    display: flex;
    justify-content: center;
    align-items: start;
    top: 75px;
    gap: 180px;
    padding-top: 20px;
    opacity: 0;
    pointer-events: none;
    transform: rotateX(20deg);
    transform-origin: top;
}

header .dropdown h3, header .dropdown h2{
    color: rgba(255, 255, 255, 0.545);
    font-weight: 300;
    user-select: none;
    cursor: pointer;
    max-width: 560px;
    margin: 15px;
    padding: 0;
    font-size: 1.3rem;
}

header .dropdown h3{
    color: rgba(173, 173, 173, 0.399);
    cursor: auto;
    font-size: 1.1rem;
}

header .dropdown h2:hover > a{
    color: white;
    transition-duration: 200ms;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.581);
    transition-timing-function: var(--button-timing-function);
    translate: (10px, 10px);
}

header .dropdown h2:not(:hover) > a{
    transition-duration: 300ms;
}

header .dropdown h2{
    line-height: 1.5rem;
}

header .dropdown a{
    text-decoration: none;
    color: rgba(255, 255, 255, 0.545);
}

.language-switcher{
    z-index: 100;
}

@media only screen and (max-width: 1420px) {
    nav .center{
        display: none;
    }
    .nav-mobile{
        top: 75px !important;
    }
    .menu-button{
        display: flex !important;
    }
  }

@media only screen and (max-width: 1176px) {
    .content-wrapper p{
        max-width: 300px !important;
        font-size: 1rem !important;
    }
    .content-wrapper h1{
        max-width: 500px;
        text-align: center;
        font-size: 2.3rem !important;
        font-weight: 600 !important;
    }
    footer{
        font-size: 0.8rem;
        flex-direction: column;
        padding: 15px;
        padding-bottom: 110px;
        font-weight: 400 !important;
        gap: 12px;
        width: 100vw;
    }

    footer .separator{
        width: 93% !important;
        height: 1px !important;
        background-color: rgba(255, 255, 255, 0.158) !important;
    }

    footer p, footer a{
        color: white !important;
    }

    .button-area{
        scale: 0.8;
    }

    .result-list-container{
        background-color: #171c20;
        top: 65px !important;
        background-image: none;
        width: 100vw;
        font-size: 1.2rem;
        font-weight: 400;
        font-family: "Radio Canada Big";
        position: absolute !important;
        left: 0px;
        transform: translateX(-80px);
    }
    .result-list-container li{
        padding: 10px;
    }
        
    .logo-text{
        display: none;
    }
    .content-wrapper{
        margin: 0 !important;
    }
    .contact-us-button{
        display: none;
    }
    html{
        overflow: hidden;
    }
    .logo-area{
        width: 30px !important;
    }
    main .start{
        height: 100px !important;
    }
    nav .right{
        gap: 0px !important;
    }
    html{
        height: 100svh;
    }
    nav{
        height: 55px;
    }
    .nav-mobile{
        top: 55px !important;
    }
    nav .right{
        scale: 0.75;
        transform-origin: right;
    }
    nav .left{
        scale: 0.75;
        transform-origin: left;
    }
    .logo{
        scale: 0.8;
    }
    .start .content-wrapper .heading{
        font-size: 2rem !important;
    }
    .close-icon{
        width: 75px;
        margin-right: 3px;
    }
    .content-wrapper, main .start{
        height: 100px !important;
        margin-top: 100px;
    }
    .end.flex-en .container-0, .end.flex-en .container-1, .end.flex-fr .container-0, .end.flex-fr .container-1{
        /* border-radius: 15px; */
        width: 87vw;
        justify-content: center;
        padding: 26px;
        padding-left: 40px;
        padding-right: 40px;
        gap: 20px;
        min-height: 100px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .end .description, .end .title{
        max-width: 400px !important;
        font-weight: 400;
    }
    main .heading{
        font-size: 2rem !important;
        padding: 15px;
        padding-top: 0;
        padding-bottom: 0;
        letter-spacing: -1pt;
        font-weight: 599;
    }
    main .start .heading.heading-start{
        font-size: 1.5rem !important;
        padding: 22px;
        padding-top: 0;
        padding-bottom: 0;
        font-weight: 500;
        opacity: .8;
        letter-spacing: unset;
    }
    main .start .overlay{
        height: 100px;
    }
    p.sub-heading{
        font-size: 1.3rem !important;
        padding: 22px;
        padding-top: 0;
        padding-bottom: 0;
        font-weight: 500;
        opacity: .8;
    }
    .end.flex-en .container-0 .content-left, .end.flex-en .container-1 .content-left, .end.flex-fr .container-0 .content-left, .end.flex-fr .container-1 .content-left{
        width: 100px !important;
    }
    main img{
        width: 100px;
        height: 100px;
        border-radius: 5px !important;
    }
    main .title{
        width: 95%;
        font-size: 1.3rem !important;
        font-weight: 100 !important;
    }
    main .description{
        width: 95%;
        font-size: 1rem !important;
        font-weight: 100 !important;  
    }
    main b{
        font-weight: 600 !important;        
    }
    .end.flex-en .container-vertical .content-left, .end.flex-en .container-vertical .content-left, .end.flex-fr .container-vertical .content-left, .end.flex-fr .container-vertical .content-left{
        width: 400px !important;
        height: auto !important;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }
    .end.flex-en .container-vertical .content-left img, .end.flex-en .container-vertical .content-left img, .end.flex-fr .container-vertical .content-left img, .end.flex-fr .container-vertical .content-left img{
        width: 338px !important;
        height: auto !important;
    }
    .end.flex-en .container-vertical .title, .end.flex-fr .container-vertical .title{
        text-align: center !important;
        max-width: none !important;
    }
    .title b{
        font-size: 1.5rem !important;
        font-weight: 600 !important;
        letter-spacing: -1px !important;
    }
  }

@media only screen and (max-width: 803px) {
    .content-wrapper p{
        max-width: 500px;
    }
    .content-wrapper h1{
        max-width: 500px;
        text-align: center;
    }
    .contact-us-button{
        display: none;
    }
}

@media only screen and (max-width: 1780px) {
    main .heading{
        max-width: 700px;
        text-align: center;
    }
}

nav .left{
    display: flex;
    align-items: center;
}

nav .menu-button{
    padding-left: 25px;
    padding-right: 20px;
    padding-top: auto;
    padding-bottom: auto;
    height: 100%;
    cursor: pointer;
    height: 75px;
    display: flex;
    align-items: center;
    display: none;
}

.search-input{
    background-color: rgba(192, 218, 235, 0.082);
}

.nav-mobile{
    background-color: rgba(0, 0, 0, 0.496);
    height: 100%;
    width: 100%;
    z-index: 99;
    position: fixed;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: top;
    color: white;
    font-family: "Radio Canada Big";
    top: 75px;
    font-size: 1.2rem;
    left: -100px;
    opacity: 0;
    pointer-events: none;
    transition-duration: 300ms !important;
    transition-timing-function: cubic-bezier(.05,.53,0,1.02) !important;
    overflow-y: unset;
}

.nav-mobile ul li{
    text-decoration: none;
    list-style: none;
}

.menu-button{
    width: 75px;
    height: 75px;
}

.menu-button svg{
    scale: 1.3;
}
.nav-mobile a{
    list-style: none;
    text-decoration: none;
    color: white;
}

.nav-mobile li{
    margin-top: 20px;
}

.nav-mobile button{
    background-color: rgba(0, 0, 0, 0);
    color: white;
    border-style: none;
    font-family: "Radio Canada Big";
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
}

.nav-mobile .page-2{
    position: absolute;
    opacity: 0;
    pointer-events: none;
    padding-right: 50px;
}

.nav-mobile .page-2{
    padding-bottom: 200px !important;
    font-family: "Radio Canada Big";
    font-size: 1.2rem;
    font-weight: 400;
}

.page-1, .page-2{
    transition-duration: 300ms !important;
    transition-timing-function: var(--button-timing-function) !important;
}

.page-2 p{
    font-size: 1rem;
    opacity: 0.5;
}

main .end{
    /* height: 300dvh; */
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    font-weight: 500;
    width: 100vw;
}

main .start{
    width: 100vw;
}

main .container-0{
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: rgba(15, 15, 15, 0.55);
    backdrop-filter: blur(10px);
    width: 100%;
    padding: 50px;
    min-height: 300px;
    gap: 50px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

main .end .heading{
    font-size: 4rem;
    color: white;
}

main .end .title{
    color: white;
    font-size: 2rem;
    margin-top: 0;
    overflow: visible;
}

main .end .description{
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    font-weight: 100;
    font-family: "Radio Canada Big";
    padding-bottom: -2000px;
}

main .end img{
    border-radius: 10px;
}

main .container-1{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    background-color: rgba(2, 2, 2, 0.6);
    backdrop-filter: blur(10px);
    width: 100%;
    padding: 50px;
    min-height: 300px;
    gap: 50px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

main .content-right{
    width: 600px;
}

main .indent{
    margin-left: 50px;
}

main .separator{
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 99px;
}

main .sub-heading{
    font-weight: 400;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.788);
    max-width: 700px;
    text-align: center;
    margin-bottom: 75px;
}

main .end.flex-en{
    background-color: unset !important;
}

main .overlay{
    background: unset !important; 
}

.title b{
    font-weight: 700;
    letter-spacing: -1px;
    font-size: 2rem;
}