:root {
    --bs-font-sans-serif: "Rethink Sans", sans-serif;
    --cj-main-color: #0044FF;
    --cj-light-color: #E9F1F7;
    --cj-main-height: 650px
}

body {
    overflow-x: hidden;
}

::selection {
    color: #ffff;
    background: var(--cj-main-color);
}

body {
    scrollbar-width: thin; /* "auto" or "thin" */
    scrollbar-color: var(--cj-main-color); /* scroll thumb and track */
}

::-webkit-scrollbar {
    cursor: pointer;
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: white; /* color of the tracking area */
}

::-webkit-scrollbar-thumb {
    background-color: var(--cj-main-color); /* color of the scroll thumb */
    border-radius: 20px; /* roundness of the scroll thumb */
}

* {
    scrollbar-color: var(--cj-main-color) white; /*bar, bg*/
    scrollbar-width: thin;
}

.hero-wrapper {
    background-image: url('../images/header-image.png');
    height: var(--cj-main-height);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.hero-wrapper--mask {
    position: absolute;
    bottom: -2px;
    width: 100%;
    left: 0;
    background-image: url("../images/header-mask.svg");
    height: 170px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.hero-wrapper--mask::before {
    content: '';
    position: absolute;
    left: -99%;
    width: 100%;
    background-color: white;
    bottom: 0;
    height: 100%;
}

.hero-wrapper--mask::after {
    content: '';
    position: absolute;
    width: 100%;
    right: -99%;
    background-color: white;
    bottom: 0;
    height: 100%;
}
@media (max-width: 1400px) {
    .hero-wrapper--mask{
        height: 149px;
    }
}

@media (max-width: 1199.98px) {
    .hero-wrapper--mask{
        height: 130px;
        background-size: cover;
    }
}
@media (max-width: 991.98px) {
    .hero-wrapper--mask::before, .hero-wrapper--mask::after{
        display: none;
    }
}


.hero-wrapper .main-logo img {
    max-height: 50px
}


.hero-content--navigation .nav-link {
    --bs-nav-link-color: #000000;
    font-weight: bold;
    position: relative;
}

.hero-content--navigation .nav-link:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -20px;
    width: 10px;
    opacity: 0;
    height: 10px;
    border-radius: 100%;
    background-color: var(--cj-main-color);
    display: block;
    transform: translateX(-50%);
    transition: all .3s ease-in-out;
}

.hero-content--navigation .nav-link:hover, .hero-content--navigation .nav-link.active {
    color: var(--cj-main-color);
}

.hero-content--navigation .nav-link:hover:before, .hero-content--navigation .nav-link.active:before {
    bottom: 0;
    opacity: 1;
}

.hero-wrapper .hamburger-action {
    cursor: pointer;
}

.hero-wrapper .hamburger-action .hamburger-icon span {
    display: block;
    background-color: var(--cj-main-color);
    width: 25px;
    height: 4px;
    margin: 5px auto;
    transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
    border-radius: 12px;
}

.hero-wrapper .hamburger-action.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 7px);
}

.hero-wrapper .hamburger-action.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.hero-wrapper .hamburger-action.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero-content--navigation-mobile {
    position: relative;
    top: -68px;
    padding-top: 68px;
    border-radius: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease-in-out;
}

.hero-content--navigation-mobile.active {
    opacity: 1;
    visibility: visible;
}

.hero-content--partners img {
    max-height: 40px;
}

.hero-section {
    background-color: var(--cj-main-color);
}

.hero-section--fct {
    column-gap: 8rem;
    min-height: 260px;
    position: relative;
    isolation: isolate;
}

.hero-section--fct::after {
    content: '';
    background-image: url('../images/bg-fct.png');
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
}

.section-title {
    font-size: 1.375rem;
    padding-left: 3rem;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: var(--cj-main-color);
    display: block;
    transform: translateY(-50%);
}

.card-summary, .card-aim, .card-partners, .card-references {
    --bs-card-bg: var(--cj-light-color);
}

.card-summary .card-image, .card-aim .card-image {
    min-width: var(--cpj-image-width, 150px);
}

.card .card-title {
    font-size: 1.375rem;
}

.card-summary .card-title, .card-aim .card-title, .card-references .card-title {
    font-weight: 600;
}

.card-summary .card-image.no-image {
    --cpj-image-width: 80px;
}

.card-partners .card-text {
    font-size: .85rem;
    line-height: 1.3;
}

.card-partners .card-title {
    font-size: inherit;
}

.card-partners:hover .card-partners--arrow {
    transform: scale(1.2);
}

.card-partners .card-partners--arrow {
    rotate: -45deg;
    transition: transform .2s;
}

.card-partners .card-image {
    min-height: 70px;
    display: flex;
    justify-content: center;
    margin-bottom: .5rem;
}

.nav-tabs {
    gap: .4rem;
}

.nav-tabs .nav-link {
    --bs-nav-link-color: #808080;
    background-color: var(--cj-light-color);
    min-width: 160px;
    font-size: 1.125rem;
    font-weight: 400;
    -webkit-border-top-left-radius: 12px;
    -webkit-border-top-right-radius: 12px;
}

.nav-tabs .nav-link:hover {
    color: white;
    background-color: var(--cj-main-color);
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    --bs-nav-tabs-link-active-color: white;
    --bs-nav-tabs-link-active-bg: var(--cj-main-color);
}

.call-to-action {
    width: 25%;
}

@media (max-width: 991.98px) {
    .hero-content--navigation {
        display: none;
    }

    .hero-content--navigation-mobile .hero-content--navigation {
        display: block;
    }

    .hero-content--navigation-mobile .hero-content--navigation .nav {
        flex-direction: column;
    }

    .call-to-action {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .card-content {
        flex-direction: column;
    }

    .hero-section--fct {
        column-gap: 3rem;
        min-height: 160px;
    }

    .hero-section--fct::after {
        display: none;
    }
}
