/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/


*, *::before, *::after {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}


/* Example Newsreader font class - replace or customize as needed */
.newsreader {
  font-family: "Newsreader", serif;
  font-optical-sizing: auto;

  font-style: normal;
}

.raleway {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}
/* For Chrome, Edge, Safari */
::-webkit-scrollbar {
  display: none;
}

/* For Firefox */
body {
    scrollbar-width: none;
    -ms-overflow-style: none; /* IE/Edge */
    overflow-x: hidden;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 300 !important;
    font-size: 1rem !important;
    color: #f0f0f0 !important;
    line-height: 1.6;
}
p{
    font-family: 'Raleway', sans-serif !important;
    font-weight: 300 !important;
    font-size: 1rem !important;
    color: #4a4a4a !important;
    line-height: 1.6;
}

h1{
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}
h1.display-1{
    
    color: #8197f0;
}

h2{
    font-size: 2em;
    margin-bottom: 18px;
    font-weight: 600;
}
h3{
    font-size: 1.75em;
    margin-bottom: 16px;
    font-weight: 600;
}
h4{
    font-size: 1.5em;
    margin-bottom: 14px;
    font-weight: 500;
}
h5{
    font-size: 1.25em;
    margin-bottom: 12px;
    font-weight: 400;
}
h6{
    font-size: 1em;
    margin-bottom: 10px;
    font-weight: 300;
}
h1, h2, h3, h4, h5, h6{
    font-family: "Newsreader", serif;
    font-optical-sizing: auto;
    text-transform: uppercase;
    color: #0429B6;
    letter-spacing: 0.05em;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);

}

/* loader */
#oc-preloader {
            position: fixed;
            inset: 0;
            z-index: 2000;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            -webkit-box-pack: center;
                -ms-flex-pack: center;
                    justify-content: center;
            background: -o-linear-gradient(315deg, rgba(4,40,182,0.95) 0%, rgba(255,133,0,0.95) 100%);
            background: linear-gradient(135deg, rgba(4,40,182,0.95) 0%, rgba(255,133,0,0.95) 100%);
            color: #fff;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
            gap: 1rem;
            -webkit-transition: opacity 500ms ease, visibility 500ms ease;
            -o-transition: opacity 500ms ease, visibility 500ms ease;
            transition: opacity 500ms ease, visibility 500ms ease;
            opacity: 1;
            visibility: visible;
            -webkit-backdrop-filter: blur(6px);
                    backdrop-filter: blur(6px);
        }

        #oc-preloader.loaded {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        /* Card */
        #oc-preloader .box {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            gap: 1rem;
            padding: 0.6rem 1rem;
            border-radius: 12px;
            background: rgba(255,255,255,0.06);
            -webkit-box-shadow: 0 6px 30px rgba(2,6,23,0.45);
                    box-shadow: 0 6px 30px rgba(2,6,23,0.45);
        }

        /* Logo */
        #oc-preloader .logo {
            width: 56px;
            height: 56px;
            border-radius: 10px;
            overflow: hidden;
            -webkit-box-flex: 0;
                -ms-flex: 0 0 56px;
                    flex: 0 0 56px;
            display: -ms-grid;
            display: grid;
            place-items: center;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.06);
        }
        #oc-preloader .logo img{ width: 40px; height: auto; display: block; }

        /* Spinner */
        .oc-spinner {
            width: 56px;
            height: 56px;
            position: relative;
        }
        .oc-spinner svg { width: 100%; height: 100%; -webkit-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%; transform-origin: 50% 50%; -webkit-animation: spin 1.6s linear infinite; animation: spin 1.6s linear infinite; }
        .oc-spinner circle {
            fill: none;
            stroke: #fff;
            stroke-opacity: 0.16;
            stroke-width: 4;
        }
        .oc-spinner .ring {
            stroke: #fff;
            stroke-opacity: 0.95;
            stroke-linecap: round;
            stroke-width: 4;
            stroke-dasharray: 120;
            stroke-dashoffset: 40;
            -webkit-animation: dash 1.6s ease-in-out infinite;
                    animation: dash 1.6s ease-in-out infinite;
        }

        @-webkit-keyframes spin { to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }

        @keyframes spin { to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
        @-webkit-keyframes dash {
            0% { stroke-dashoffset: 120; stroke-opacity: 0.95; }
            50% { stroke-dashoffset: 40; stroke-opacity: 0.6; }
            100% { stroke-dashoffset: 120; stroke-opacity: 0.95; }
        }
        @keyframes dash {
            0% { stroke-dashoffset: 120; stroke-opacity: 0.95; }
            50% { stroke-dashoffset: 40; stroke-opacity: 0.6; }
            100% { stroke-dashoffset: 120; stroke-opacity: 0.95; }
        }

        /* Text */
        #oc-preloader .meta {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
            gap: 2px;
            text-align: left;
        }
        #oc-preloader .meta .brand {
            font-weight: 700;
            letter-spacing: 0.4px;
            font-family: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
            font-size: 1rem;
            color: #fff;
        }
        #oc-preloader .meta .tag {
            font-size: 0.85rem;
            opacity: 0.9;
            color: rgba(255,255,255,0.92);
        }

        /* Subtle animated underline */
        #oc-preloader .meta .underline {
            margin-top: 6px;
            height: 3px;
            width: 48px;
            border-radius: 3px;
            background: -webkit-gradient(linear, left top, right top, from(rgba(255,255,255,0.18)), to(rgba(255,255,255,0.55)));
            background: -o-linear-gradient(left, rgba(255,255,255,0.18), rgba(255,255,255,0.55));
            background: linear-gradient(90deg, rgba(255,255,255,0.18), rgba(255,255,255,0.55));
            -webkit-transform-origin: left center;
                -ms-transform-origin: left center;
                    transform-origin: left center;
            -webkit-animation: glow 1.8s ease-in-out infinite;
                    animation: glow 1.8s ease-in-out infinite;
            opacity: 0.9;
        }
        @-webkit-keyframes glow {
            0% { -webkit-transform: scaleX(0.3); transform: scaleX(0.3); opacity: 0.6; }
            50% { -webkit-transform: scaleX(1); transform: scaleX(1); opacity: 1; }
            100% { -webkit-transform: scaleX(0.3); transform: scaleX(0.3); opacity: 0.6; }
        }
        @keyframes glow {
            0% { -webkit-transform: scaleX(0.3); transform: scaleX(0.3); opacity: 0.6; }
            50% { -webkit-transform: scaleX(1); transform: scaleX(1); opacity: 1; }
            100% { -webkit-transform: scaleX(0.3); transform: scaleX(0.3); opacity: 0.6; }
        }

        /* Small note */
        #oc-preloader .loading-note {
            margin-top: 10px;
            font-size: 0.82rem;
            color: rgba(255,255,255,0.9);
            opacity: 0.95;
        }

        /* Respect reduced motion */
        @media (prefers-reduced-motion: reduce) {
            .oc-spinner, .oc-spinner svg { -webkit-animation: none; animation: none; }
            .oc-spinner .ring { -webkit-animation: none; animation: none; }
            #oc-preloader .meta .underline { -webkit-animation: none; animation: none; }
        }
.lead{
    font-size: 1.25rem;
    font-weight: 300;
    color: #f0f0f0 !important;
}
p{
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    letter-spacing: 0.02em;
}
.yellow{
    color: #FF8500;
    font-weight: 700;
}
.bg-yello{
    background-color: #ff8400ab;
    border-radius: 2%;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.card-why{
    background-color: #0428b618;
}

.galerie-title{
    color: #FF8500;
}
#galerie-p{
    color: #f0f0f0 !important;
}
.custom-bg-primary {
    background-color: #0429B5; /* Remplace #yourcolorcode par le code couleur de ton choix */
}
.custom-bg-secondary{
    background-color: #FF8500;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    z-index: 1000;
    background-color: #fff;
    -webkit-backdrop-filter: blur(40px);
            backdrop-filter: blur(40px);
}

.navbar-nav{
    height: 100%;
}
.navbar img{
    height: 38px;
    width: auto;
}
.nav-item{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: 100%;
    width: 100%;
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    height: 54px;
    /* text-transform: uppercase; */
    font-family: 'Poppins', sans-serif;
    letter-spacing: 2px;
}
.nav-item li{
    text-align: center;
}
.nav-link{
    color: #f0f0f0;
    letter-spacing: 3px;
    text-shadow: 0 0 8px rgba(0,0,0,0.3), 0 2px 4px rgba(0,0,0,0.25), 2px 0 4px rgba(0,0,0,0.25), -2px 0 4px rgba(0,0,0,0.25);
}
.nav-item .nav-link:hover{
    -webkit-transform: translateY(1px);
        -ms-transform: translateY(1px);
            transform: translateY(1px);
    color: #0429B6;
    /* text-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5); */
}
.nav-item .nav-link.active{
    -webkit-transform: scale(1.09);
        -ms-transform: scale(1.09);
            transform: scale(1.09);
    letter-spacing: 3px;

    /* transform: translateY(1px); */
    color: #0429B6;
    text-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
}

.nav-item a {
    text-decoration: none;
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    padding: 0 20px;
    display: inline-block;
    height: 45px;
    width: 150px;
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
.background-clip{
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -1;
}
@media(min-aspect-ratio:16/9){
    .background-clip{
        height: auto;
        width: 100%;
    }
}
@media(max-aspect-ratio:16/9){
    .background-clip{
        height: 100%;
        width: auto;
    }
}
.banner {
    height: 100vh;
    /* background-image: url(/img/photo\ sur\ chantier.jpeg);
    background-size: cover;
    background-position: center; */
    background-color: rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    color: #fff;
    text-align: center;
    padding: 50px;
    -webkit-box-shadow: 0px 1px 50px rgba(0, 0, 0, 0.5);
            box-shadow: 0px 1px 50px rgba(0, 0, 0, 0.5);
}
.banner-text{
    font-size: 2em;
    font-weight: bold;
    text-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    padding: 20px 20px;
    -webkit-box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.5);
            box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}
.video-container {
  position: relative;
  width: 100%;
  height: 300px; /* ou la hauteur que tu veux */
  overflow: hidden; /* évite que la vidéo dépasse */
  border-radius: 10px; /* optionnel : coins arrondis */
}

/* La vidéo s’adapte à la taille du parent */
.video-container video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* couvre toute la div sans déformation */
  -o-object-position: center;
     object-position: center;
  display: block;
}

.custom-box{
    min-height: 200px;
    -webkit-transition: -webkit-box-shadow 0.3s ease-in-out;
    transition: -webkit-box-shadow 0.3s ease-in-out;
    -o-transition: box-shadow 0.3s ease-in-out;
    transition: box-shadow 0.3s ease-in-out;
    transition: box-shadow 0.3s ease-in-out, -webkit-box-shadow 0.3s ease-in-out;
}
.custom-box:hover{
    -webkit-box-shadow: var(--bs-shadow-lg)!important;
            box-shadow: var(--bs-shadow-lg)!important;
}
.section{
    padding-top: 70px;
    padding-bottom: 70px;
} 
body section{
    scroll-margin-top: 110px; /* Pour compenser la hauteur de la navbar fixe */
}
.fill-img{
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
}
.staff .card{
    min-height: 265px;
}
.staff .card img{
    height: 200px;
    -o-object-fit: cover;
       object-fit: cover;
}
.competences .card{
    min-height: 359px!important;
}

.service img{
    height: 200px;
    -o-object-fit: cover;
       object-fit: cover;
}
.mission img{
    height: 500px;
    -o-object-fit: cover;
       object-fit: cover;
}
.competence img{
    height: 300px;
    -o-object-fit: cover;
       object-fit: cover;
}
.galerie-carousell img{
    height: 533px;
    width: 800px;
    -o-object-fit: cover;
       object-fit: cover;
}
.project-img{
    height: 400px;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}
.backdrop-blur {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
@media (min-width: 768px) {
    .project-img {
        height: 500px;
        width: 100%; /* ou max-width: 100% */
    }
}
.project-img {
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
    height: 300px;
    -webkit-transition: -webkit-transform 0.6s ease;
    transition: -webkit-transform 0.6s ease;
    -o-transition: transform 0.6s ease;
    transition: transform 0.6s ease;
    transition: transform 0.6s ease, -webkit-transform 0.6s ease;
}

.carousel-item.active .project-img {
    -webkit-transform: scale(1.02);
        -ms-transform: scale(1.02);
            transform: scale(1.02);
}

@media (min-width: 768px) {
    .project-img {
        height: 450px;
    }
}

@media (min-width: 992px) {
    .project-img {
        height: 500px;
    }
}

.backdrop-blur {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
#galerie {
    position: relative;
    background-image: url('img/vu\ de\ haut\ loin.jpeg'); /* Remplace avec ton image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; /* ou auto selon ton besoin */
    overflow: hidden;
}
#galerie p{
    color: whitesmoke;
}

#galerie::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2); /* Couleur par-dessus (noir semi-transparent) */
    backdrop-filter: blur(10px); /* Effet flou */
    -webkit-backdrop-filter: blur(10px); /* Support Safari */
    z-index: 1;
}

/* Pour que le contenu passe au-dessus du voile flouté */
#galerie > * {
    position: relative;
    z-index: 2;
}

/* 
.carousel-indicators.thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.carousel-indicators.thumbnails button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.carousel-indicators.thumbnails button.active,
.carousel-indicators.thumbnails button:hover {
    opacity: 1;
}

.carousel-indicators.thumbnails img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: border 0.3s ease;
}

.carousel-indicators.thumbnails button.active img,
.carousel-indicators.thumbnails button:hover img {
    border-color: #007bff; /* Couleur bleue Bootstrap, à ajuster */


/* staff */
#staff h5 {
  font-weight: 600;
}

#staff span {
  font-style: italic;
}


input[type="text"], input[type="email"], input[type="number"] {
    border: none; /* Supprimer toutes les bordures */
    border-bottom: 2px solid #0429B6; /* Bordure uniquement en bas */
    background-color: transparent; /* Fond transparent */
    outline: none; /* Pas d'effet de focus par défaut */
    width: 100%; /* Largeur adaptée */
    padding: 5px 0; /* Espacement */
    -webkit-transition: border-color 0.3s ease;
    -o-transition: border-color 0.3s ease;
    transition: border-color 0.3s ease; /* Transition pour un effet esthétique */
    border-radius: 0;
}

input[type="text"]:focus, input[type="email"]:focus, textarea:focus, input[type="number"]:focus {
    border-bottom: 2px solid #0056d6; /* Couleur changée au focus */
    background: none;
}
footer a.text-white:hover {
    color: #f1c40f; /* Couleur jaune dorée au survol */
    text-decoration: underline; /* Souligne au survol */
}

footer i {
    -webkit-transition: -webkit-transform 0.2s ease;
    transition: -webkit-transform 0.2s ease;
    -o-transition: transform 0.2s ease;
    transition: transform 0.2s ease;
    transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}

footer i:hover {
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2); /* Légère augmentation au survol */
}
footer h5{
    color: #FF8500;
}
#map{
    height: 200px;

}