﻿/*@import url('https://fonts.googleapis.com/css?family=Inconsolata|Lato:300,400,700');*/
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --primary-color: #3AA7AC;
    --secondary-color: #395667;
}

/* scrollbars styling */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/* End Srollbars Styling */

/* Global Styling */
body {
    /*font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;*/
    font-family: "Roboto", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.mt-40 {
    margin-top: 40px;
}

.container section {
    padding: 100px 0;
}

p {
    font-weight: 300
}

h1 {
    color: var(--secondary-color);
}

h2 {
    color: var(--primary-color);
    font-size: 1em;
    font-weight: 300;
}

.btnx {
    font-size: 15px;
    padding: 10px 30px;
    margin: 0.3em 0.3em;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .btnx:hover,
    .btnx:focus {
        transform: scale(1.03);
        outline-offset: 3px;
        color: white;
    }

    .btnx.phone-call {
        background-color: #f87b00a1;
        outline: solid 1px #e8cb78;
        margin: 0.3em 2em;
    }

    .btnx.primary {
        background-color: #10374acc;
        outline: solid 1px #1c485d;
    }

    .btnx.secondary {
        background-color: #3aa7acfc;
        outline: solid 1px #3aa7ac;
    }

    .btnx.more {
        margin-top: 10px;
        font-size: 14px;
        background-color: transparent;
        border: none;
        outline: none;
        color: darkgray;
        font-weight: 400;
    }

.loading-area {
    position: absolute;
    display: none;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
}
/* End Global Styling */
/* Header - Menu Navigation */
header.navigation-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(18 101 97 / 68%);
    box-shadow: 0 0 2px 0px rgb(0 0 0 / 30%);
    backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: transform 0.5s ease-in-out, margin 0.3s ease-in-out, border-radius 0.3s ease-in-out;
}

    header.navigation-bar.hide {
        transform: translateY(-100px);
    }

    header.navigation-bar.sticky {
        border-radius: 10px;
        margin: 10px 30px;
    }

    header.navigation-bar .logo svg {
        width: 8em;
        margin: 0 2em;
    }

    header.navigation-bar .links {
        font-size: 1.5em;
        font-weight: 300;
        margin-right: 20px;
        margin-left: auto;
        margin-right: 0;
    }

        header.navigation-bar .links > a {
            color: #ebebeb;
            padding: 1em 0.3em;
            font-size: 0.8em;
            font-weight: 400;
            text-align: center;
            text-decoration: none;
            transition: all .5s;
        }

    header.navigation-bar.sticky .links > a {
        padding: 0.5em 0.3em;
    }

    header.navigation-bar.sticky .logo svg {
        margin: 0 2em;
    }

    header.navigation-bar .links > a:hover {
        color: var(--secondary-color);
    }

    header.navigation-bar .links > .line {
        background: var(--secondary-color);
        height: 2px;
        pointer-events: none;
    }

    header.navigation-bar .links {
        display: grid;
        grid-template-columns: repeat(var(--items), 1fr);
        position: relative;
    }


        header.navigation-bar .links > .line {
            opacity: 0;
            transition: all .5s;
            position: absolute;
            bottom: 0;
            left: var(--left, calc(100% / var(--items) * (var(--index) - 1)));
            width: var(--width, calc(100% / var(--items)));
            --index: 0;
        }

        header.navigation-bar .links a i {
            display: none
        }


header .links > a:hover ~ .line {
    opacity: 1;
}

.links > a:nth-of-type(1):hover ~ .line {
    --index: 1;
}

.links > a:nth-of-type(2):hover ~ .line {
    --index: 2;
}

.links > a:nth-of-type(3):hover ~ .line {
    --index: 3;
}

.links > a:nth-of-type(4):hover ~ .line {
    --index: 4;
}

.links > a:nth-of-type(5):hover ~ .line {
    --index: 5;
}

.links > a:nth-of-type(6):hover ~ .line {
    --index: 6;
}

.links > a:nth-of-type(7):hover ~ .line {
    --index: 7;
}

.links > a:nth-of-type(8):hover ~ .line {
    --index: 8;
}

.links > a:nth-of-type(9):hover ~ .line {
    --index: 9;
}

.links > a:nth-of-type(10):hover ~ .line {
    --index: 10;
}

.links > a:last-of-type:hover ~ .line {
    --index: var(--items);
}

header.navigation-bar.sticky .btnx.phone-call {
    padding: 8px 30px;
}

/* End header - Menu Navigation */

/* Footer */
footer.footer {
    padding: 120px 0 30px 0;
    background-color: #efefef;
    background-image: url('../img/footer-section-separator.webp');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
}

    footer.footer h3 {
        color: #727272;
        font-size: .9em;
    }

    footer.footer a {
        color: #727272;
        padding-right: 5px;
    }

    footer.footer .contact {
        color: #727272;
    }

        footer.footer .contact p {
            margin-bottom: 6px;
            font-size: .7em;
        }

        footer.footer .contact i {
            margin-right: 6px;
            font-size: .7em;
        }

/* End Footer */

/* Home - Hero Section */
#hero-section {
    background-color: #efefef;
    background-image: url('../img/hero-section-separator.webp');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: bottom center;
    height: calc(100vh + (100vw * 0.0951));
    overflow: hidden;
}

    #hero-section .img img {
        height: 100vh;
        float: right;
    }

    #hero-section > div {
        background-image: url(../img/hero-section.webp);
        background-repeat: no-repeat;
        background-size: auto 100%;
        background-position: center right;
        width: 100vw;
        height: 100vh;
        overflow: hidden;
    }

    #hero-section .text {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 40vw;
        height: calc(100vh - 100px);
        margin: 85px 50px 50px 50px;
        padding: 5vh;
        background-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 0 2px 0px rgb(0 0 0 / 30%);
        backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 10px;
    }

        #hero-section .text h1 {
            background: #0E3145;
            background: linear-gradient(to right, #0E3145 1%, #3AA7AC 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-family: "Roboto", sans-serif;
            font-style: normal;
            font-size: clamp(40px, 5vw, 60px);
            margin-bottom: 20px;
        }

            #hero-section .text h1 .first-word {
                font-weight: 700;
            }

            #hero-section .text h1 .second-word {
                font-weight: 400;
            }
/* End Home - Hero Section */

/* Home - Who We Are Section */

#who-we-are-section {
    position: relative;
    overflow: hidden;
}

    #who-we-are-section img {
        width: 80%;
        position: absolute;
        right: -10vw;
        z-index: -1;
    }

/* End Home - Who We Are Section */

/* card */
.card {
    position: relative;
    overflow: hidden;
    justify-content: space-between;
    height: 100%;
}

.card-body {
    flex: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-img-top {
    width: 35%;
    margin: 15px auto;
    display: block;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.35s ease-in-out;
    border-radius: inherit;
}

    /* Overlay visible */
    .card-overlay.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Le bouton X */
    .card-overlay::after {
        content: "✕";
        position: absolute;
        top: 10px;
        right: 12px;
        font-size: 20px;
        font-weight: bold;
        cursor: pointer;
    }

h5 {
    color: var(--primary-color);
    font-weight: 300;
}

/* End card */


/* Home - Services Section */

#services-section .service .service-img {
    background-image: url('../img/services-sprite.webp');
    background-size: 600px;
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
}

#services-section .service h3 {
    padding-top: 20px;
    font-size: 1.2em;
    font-weight: 500;
    color: var(--secondary-color);
}

#services-section .service .service-text {
    padding: 20px 0 0 40px;
    font-size: 0.9em;
}

/* End Home - Services Section */

/* Home - Call to Contact Section */
#call-to-contact-section {
    background-image: url('../img/contact-background.png');
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    text-align: center;
    color: white;
}
/* End Home - Call to Contact Section */

/* Contact Page */

.contact-background {
    background-color: #efefef;
    background-image: url(../img/hero-section-separator.webp);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: bottom center;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.form-side {
    /*display: flex;
    flex-direction: column;
    justify-content: space-between;*/
    /*width: 40vw;*/
    /*height: calc(100vh - 150px);*/
    margin: 100px 50px 50px 50px;
    padding: 5vh;
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 2px 0px rgb(0 0 0 / 30%);
    backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
}

    .form-side .form-group {
        margin-bottom: 20px;
    }

    .form-side .btnx.secondary {
        border: none;
        margin: 0;
        width: 100%;
    }

.form-control {
    box-shadow: none;
    border: none;
    outline: solid 1px #bfbfbf;
    outline-offset: 0px;
    transition: outline-offset 0.3s ease;
}

    .form-control:focus {
        box-shadow: none;
        outline-offset: 3px;
        outline: solid 1px #bfbfbf;
    }

.text-side {
    margin-top: 100px;
}
/* End Contact Page */


.wave-shape-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

span.spinner-border {
    display: inline-block;
    margin-bottom: 0;
    position: static;
    margin-right: 5px;
}
