:root {
    --primary-color: #01559b;
    --secondary-color: #01559b;
    --dark-color: #555b60;
    --light-color: #ecf0f1;
    --text-color: #333;
    --primary: #2c3e50;
    --secondary: #01559b;
    --accent: #55585d;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --text: #333;

}
@font-face {
  font-family: 'Avenir Next Pro';
  src: url('/public/Avenir-next-lt-pro/AvenirNextLTPro-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir Next Pro';
  src: url('/public/Avenir-next-lt-pro/AvenirNextLTPro-It.otf') format('opentype');
  font-weight: normal;
  font-style: italic;
}
.custom-toast {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 280px;
  z-index: 9999;
  padding: 15px 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  opacity: 1;
  transition: opacity 0.5s ease;
}
.custom-toast.hide {
  opacity: 0;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* overflow-x: hidden; */
    font-family: 'Avenir Next Pro', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}
.section-title{
  font-size: 26px;
}
p{
  font-size: 16px;
}
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}
header {
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    border-bottom: 3px solid #015799;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
    z-index: 1000;
}




header.scrolled {
    background-color: white;
    border-bottom: 3px solid #015799;
}
/* Couleur initiale (blanc) pour quand le header est transparent */
header .nav-link,
header .logo span {
    color: inherit;
    transition: color 0.3s ease;
}

/* Couleur quand on scroll */
header.scrolled .nav-link,
header.scrolled .logo span {
    color: black;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    width: 100px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
}
.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
  margin-top: 0; /* pour éviter un décalage */
}

.dropdown-menu {
  display: none;
}
.nav-item {
    margin-left: 30px;
    position: relative;
}

.nav-link {
    color: black;
    font-weight: 500;
    font-size: 0.70rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    padding: 10px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}
/* Hero Section avec Diaporama */
.hero{
  height: 100vh;
  width: 100%;
}
.hero_par {
    height: 100%;
    width: 100%;
    position: relative;
    /* top: 115px; */
    /* overflow: hidden; */
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.hero-background {
  background-color: black;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover; /* Affiche l’image entière */
  background-repeat: no-repeat; /* Évite les répétitions */
  background-position: center; /* Centre l’image */
}

title{
  color: red;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}
.page-banner {
    /* margin-top: 110px; */
    background-size: cover;
    background-position: center;
    padding: 18px 0;
    color: white;
    position: relative;
    z-index: 1;
}
.page-banner .container {
    position: relative;
    z-index: 2;
    top: 16px;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background: rgba(0, 100, 80, 0.4); /* assombrit le ciel */
    z-index: -1;
}
.banner-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
}
.breadcrumb {
    justify-content: center;
    margin-top: 7px;
    font-size: 1.1rem;
}
.breadcrumb a {
    color: white;
    text-decoration: none;
}

.slider-controls {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Boutons gauche/droite centrés verticalement */
.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 3;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.prev-btn:hover,
.next-btn:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Dots centrées en bas */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: white;
}


.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

/* Styles des boutons hero existants */
.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn2{
  display: inline-block;
    padding: 12px 10px;
    background-color: transparent ;
    color: #01559b ;
    border: 2px solid #01559b ;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}
.btn-check:checked + .btn2 {
    background-color: green;
    color: white;
    border-color: green;
}


.btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: white !important;
    border: 2px solid white;
    color: #025597 !important;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: #025597;
    color: var(--primary-color);
}

/* About Section */
/* .section {
    padding: 100px 0;
} */

.section-dark {
    background-color: var(--dark-color);
    color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
    color: #7d8185;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
}

.section-title.text-center:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 05px;
    max-width: 700px;
}

.text-center {
    text-align: center;
}



/* Actualities */
.news {
    background-color: var(--light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary);
}

.news-excerpt {
    margin-bottom: 15px;
}

/* Services Section */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Projects Section */
.projects-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-button {
    padding: 8px 20px;
    margin: 0 5px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.filter-button.active,
.filter-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 10px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.project-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.project-link {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
}

.project-link:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: white;
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.project-card:hover .project-link:after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 20px;
    background-color: white;
    text-align: center;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-position {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-color);
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    padding: 0 20px;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    line-height: 1;
}

.testimonial-text:before {
    top: -20px;
    left: -10px;
}

.testimonial-text:after {
    bottom: -60px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

.read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.read-more:hover {
    color: #002b5c;
}

/* Footer */
footer {
    background-color: #002b5c; /* Bleu foncé pro */
    color: white;
    padding: 60px 20px 30px;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    /* max-width: 1200px; */
    margin: auto;
  }
  
  .footer-logo {
    font-size: 26px;
    font-weight: bold;
    color: white;
    text-decoration: none;
  }
  
  .footer-logo span {
    color: #015799;
  }
  
  footer p {
    margin: 10px 0 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #ddd;
  }
  
  .footer-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #015799;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links li {
    margin-bottom: 10px;
  }
  
  .footer-links a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: #015799;
  }
  
  .social-links {
    margin-top: 15px;
  }
  
  .social-link {
    display: inline-block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    background: #015799;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    margin-right: 8px;
    transition: background 0.3s;
    text-transform: uppercase;
  }
  
  .social-link:hover {
    background-color: #015799;
  }
  
  .copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #ccc;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
  }
  
  .btn-orange {
        background-color: #015799;
        color: white;
        font-weight: bold;
        border: none;
        border-radius: 4px;
        padding: 8px 15px;
        transition: background-color 0.3s ease;
}

    .btn-orange:hover {
        background-color: #7d8185;
    }

    .newsletter-form input[type="email"] {
        min-width: 220px;
    }

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .experience-box {
        right: 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

   .section-title {
        font-size: 2rem;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 80%;
        height: calc(100vh - var(--header-height));
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 0 0 30px 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

   

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .projects-filter {
        flex-wrap: wrap;
    }

    .filter-button {
        margin-bottom: 10px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    .btn-outline {
        margin-left: 0;
    }
}

.logiciels-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

/* .logiciels-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
} */
.logiciels-container {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.carousel-track:hover {
    animation-play-state: paused; /* Pause l'animation au survol */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 11)); /* Ajustez en fonction de la largeur totale */
    }
}

.logiciel-item {
    flex: 0 0 180px; /* Largeur fixe pour chaque élément */
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.logiciel-item:hover {
    transform: scale(1.05) translateY(-10px);
}

/* Effet d'ombre sur les bords pour une meilleure transition visuelle */
.logiciels-container:before,
.logiciels-container:after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logiciels-container:before {
    left: 0;
    background: linear-gradient(to right, rgb(95 94 94 / 3%), transparent);
}

.logiciels-container:after {
    right: 0;
    background: linear-gradient(to left, rgb(95 94 94 / 3%), transparent);
}
.logiciel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 170px;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.logiciel-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.logiciel-logo {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.logiciel-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logiciel-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
}

/* Logos stylisés pour les logiciels qui n'ont pas d'image */
.logo-autocad {
    color: #0696D7;
    font-size: 36px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.logo-revit {
    color: #00BEEE;
    font-size: 34px;
    font-weight: bold;
    font-family: 'Segoe UI', sans-serif;
}

.logo-tekla {
    color: #FF6D00;
    font-size: 30px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    display: inline-block;
}

.logo-robot {
    color: #0099DA;
    font-size: 30px;
    font-weight: bold;
    font-family: 'Tahoma', sans-serif;
}

.logo-solidworks {
    color: #D70036;
    font-size: 25px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
}

.logo-rhino {
    color: #333333;
    font-size: 28px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
}

.logo-plaxis {
    color: #3C82C4;
    font-size: 30px;
    font-weight: bold;
    font-family: 'Verdana', sans-serif;
}

.logo-archicad {
    color: #1F4E79;
    font-size: 28px;
    font-weight: bold;
    font-family: 'Trebuchet MS', sans-serif;
}

.logo-etabs {
    color: #00723F;
    font-size: 30px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
}

.logo-sketchup {
    color: #D9271E;
    font-size: 28px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
}

/* Style pour la légende en bas */
.logiciels-footer {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: #666;
}

/* Media queries pour la responsivité */
@media (max-width: 992px) {
    .logiciels-container {
        gap: 30px;
    }

    .logiciel-item {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .logiciels-container {
        gap: 20px;
    }

    .logiciel-item {
        width: 130px;
        height: 130px;
        padding: 15px;
    }

    .logiciel-logo {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    .logiciel-name {
        font-size: 14px;
    }
}


.value {
  padding: 60px 20px;
  background-color: #fff;
  font-family: 'Segoe UI', sans-serif;
}

.value h1 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #7c8185;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 15px;
}

.value h1::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}



.values-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.value-item {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: flex-start;
  gap: 20px; 
}

.circle {
  width: 60px;
  height: 60px;
  background-color: #3b444f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.value-item:hover .circle {
  transform: rotate(10deg) scale(1.05);
}


.circle .number {
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.value-item h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.value-item p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}
.value-item {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.value-item {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.value-item:nth-child(1) {
  animation-delay: 0.1s;
}
.value-item:nth-child(2) {
  animation-delay: 0.3s;
}
.value-item:nth-child(3) {
  animation-delay: 0.5s;
}

@media (max-width: 768px) {
  .values-container {
    flex-direction: column;
  }

  .value-item {
    flex-direction: row;
    align-items: flex-start;
  }
}
.excellence-section {
  background: #f8f9fa;
  padding: 60px 20px;
  text-align: center;
}

/* .section-title {
  font-size: 30px;
  margin-bottom: 40px;
  text-transform: uppercase;
  color: #333;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--secondary-color);
  margin: 10px auto 0;
  border-radius: 2px;
} */

/* .excellence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 30px;
} */

.excellence-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.excellence-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.excellence-card i {
  font-size: 36px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.excellence-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #222;
}

.excellence-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}
.excellence-grid {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
  margin: 20px 0;
}

.excellence-track {
  display: flex;
  animation: excellenceScroll 25s linear infinite;
  width: max-content;
}

.excellence-track:hover {
  animation-play-state: paused; /* Pause l'animation au survol */
}

@keyframes excellenceScroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(calc(-300px * 5)); /* Ajustez en fonction du nombre d'éléments */
  }
}

.excellence-card {
  flex: 0 0 280px; /* Largeur fixe pour chaque carte */
  margin: 0 10px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.excellence-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Effet d'ombre sur les bords pour une meilleure transition visuelle */
.excellence-grid:before,
.excellence-grid:after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.excellence-grid:before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.excellence-grid:after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}
/* Projet - Card */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: scale(1.02);
}

/* Images individuelles */
.project-img,
.project-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* Galerie d'images superposées */
.project-gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 16/16;
    overflow: hidden;
}

.project-gallery img {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

/* Image visible par défaut */
.project-gallery img:first-child {
    opacity: 1;
}

/* Effet de survol - transition vers 2e image */
.project-gallery:hover img:first-child {
    opacity: 0;
}
.project-gallery:hover img:last-child {
    opacity: 1;
}

/* Overlay */
.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Badge "Projet à venir" */
.badge-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #015799;
    color: white;
    padding: 6px 12px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

  

/* moyens */
.nos-moyens-section {
  background-color: #0d4d8c71;
  padding: 60px 20px;
  color: white;
  text-align: center;
}



.moyens-grid {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
}

.logo-wrapper {
  position: relative;
  width: 220px;
  margin: 0 auto;
  text-align: center;
}

.logo-wrapper img {
  width: 100%;
  max-width: 220px;
  margin-bottom: 10px;
}

.logo-text {
  font-size: 14px;
  color: #ccc;
  line-height: 1.4;
}

.moy {
  position: absolute;
  font-size: 16px;
  max-width: 150px;
  color: #fff;
}

.top-left {
  top: 0;
  left: 0;
}

.bottom-left {
  bottom: 0;
  left: 0;
}

.top-right {
  top: 0;
  right: 0;
}

.bottom-right {
  bottom: 0;
  right: 0;
}

/* Responsive ajustement */
@media (max-width: 600px) {
  .moyens-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .moy {
    position: static;
    text-align: center;
    max-width: 100%;
  }

  .logo-wrapper {
    order: -1;
  }
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.value-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 40px;
    color: #ffa500;
    margin-bottom: 15px;
}

.value-text {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}


/* organigramme */
.organigramme-section {
    padding: 60px 0;
    
  }

 

  .organigramme-structure {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .node {
    padding: 15px 25px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 10px;
    text-align: center;
    color: #0e5da0;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 500;
  }

  .node:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }

  .main {
    background-color: #3498db;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    width: 250px;
    position: relative;
  }

  .main:after {
    content: '';
    position: absolute;
    width: 2px;
    height: 30px;
    background-color: #555b60;
    bottom: -30px;
    left: 50%;
  }

  .sub-nodes {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    position: relative;
  }

  .sub-nodes:before {
    content: '';
    position: absolute;
    width: 80%;
    height: 2px;
    background-color: #555b60;
    top: -20px;
    left: 10%;
  }

  .node.with-children {
    width: 280px;
    background-color: white;
    /* color: black; */
    position: relative;
    padding-bottom: 20px;
  }

  .node-title {
    font-weight: 600;
    margin-bottom: 5px;
  }

  .child-nodes {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .child-nodes:before {
    content: '';
    position: absolute;
    width: 2px;
    height: 15px;
    background-color: #555b60;
    top: -15px;
    left: 50%;
  }

  .child-node {
    background-color: #555b60;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    margin: 8px 0;
    width: 240px;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
  }

  .child-node:hover {
    transform: translateX(5px);
  }

  /* Personnel Clé Section */
  .personnel-section {
    padding: 60px 0;
    background-color: #f8f9fa;
  }
  
  .personnel-header {
    background-color: #0e5da0;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
  }
  
  .personnel-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .personnel-column {
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
  }
  
  .personnel-title {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #69695a;
    position: relative;
    padding-bottom: 15px;
  }
  
  .personnel-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #0e5da0;
  }
  
  .personnel-list {
    list-style: none;
    padding: 0;
  }
  
  .personnel-list li {
    /* margin-bottom: 15px; */
    display: flex;
    align-items: baseline;
    color: #0e5da0;
    font-size: 1.1rem;
  }
  
  .personnel-list li:before {
    content: "•";
    font-size: 1.5rem;
    margin-right: 10px;
    color: #0e5da0;
  }
  
  .personnel-footer {
    text-align: center;
    font-style: italic;
    color: #777;
    margin-top: 50px;
  }
  
  .logo-container {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .logo-container img {
    height: 60px;
  }

  /* Responsive adjustments */
  @media (max-width: 992px) {
    .sub-nodes {
      flex-direction: column;
      align-items: center;
    }

    .sub-nodes:before {
      width: 2px;
      height: 20px;
      top: -20px;
      left: 50%;
    }
    
    .node.with-children {
      margin-top: 30px;
    }
    
    .personnel-container {
      flex-direction: column;
    }
    
    .personnel-column {
      margin-bottom: 30px;
    }
    
    .logo-container {
      position: relative;
      right: auto;
      top: auto;
      transform: none;
      text-align: center;
      margin-top: 20px;
    }
  }

  /* Animation for reveal-on-scroll */
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
  }

  .reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  /* prestations */
  .prestations-section {
    /* background: ; */
    color: inherit;
    padding: 60px 0;
    overflow: hidden;
  }

  .section-header {
    text-align: center;
    margin-bottom: 50px;
  }

 

  .intro-text {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
  }
  .prestations-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px;
  }
  .card {
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background-color: #fff;
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
  
  .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .card p {
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
  }
  .prestations-container {
    /* max-width: 1000px; */
    margin: 0 auto;
  }

  .prestations-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
  }

  .prestations-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
  }

  .prestations-list li.animate {
    opacity: 1;
    transform: translateY(0);
  }

  .prestations-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #f1c40f;
    font-size: 1.5em;
    line-height: 1;
  }

  .phase-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #025597;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
    margin: 40px 0 20px;
    border-left: 5px solid #f1c40f;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s, transform 0.5s;
  }

  .phase-title.animate {
    opacity: 1;
    transform: translateX(0);
  }

  .conception-grid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }

  .conception-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    margin: 10px;
    border-radius: 5px;
    flex: 1 0 calc(25% - 20px);
    min-width: 160px;
    text-align: center;
    transition: transform 0.3s, background-color 0.3s;
    opacity: 0;
    transform: scale(0.9);
  }

  .conception-item.animate {
    opacity: 1;
    transform: scale(1);
  }

  .conception-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
  }
  .conception-item:hover {
    transform: translateY(-5px);
  }
  
  .conception-item i {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
    display: block;
  }
  
  .conception-item span {
    font-size: 18px;
    font-weight: bold;
  }
  .execution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .execution-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
  }

  .execution-item.animate {
    opacity: 1;
    transform: translateY(0);
  }

  .execution-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }

  .execution-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #f1c40f;
    transition: width 0.3s;
  }

  .execution-item:hover:before {
    width: 10px;
  }

  
 

  /* Responsive styles */
  @media (max-width: 768px) {
    .execution-grid {
      grid-template-columns: 1fr;
    }
    
    .conception-item {
      flex: 1 0 calc(50% - 20px);
    }
  }


  /* contact */
  .contact-hero {
    background: linear-gradient(rgba(59, 130, 246, 0.9), rgba(59, 130, 246, 0.7)), 
                url('https://source.unsplash.com/random/1600x900/?office') no-repeat center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
}

.contact-form-card h2 {
    color: var(--primary-color);
    margin-bottom: 24px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.contact-form-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 60px;
    background-color: var(--secondary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-medium);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #b4b6b8bf;
    
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 10px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    margin-right: 8px;
}

.btn:hover {
    background-color: #7c8185;
    transform: translateY(-2px);
}

.btn2:hover {
    background-color: #7c8185;
    transform: translateY(-2px);
}
.info-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    height: 100%;
}

.info-card h2 {
    color: var(--primary-color);
    margin-bottom: 24px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.info-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 60px;
    background-color: var(--secondary-color);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item i {
    color: var(--secondary-color);
    font-size: 20px;
    margin-right: 15px;
    margin-top: 3px;
}

.contact-info-content h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-info-content p {
    color: #4b5563;
    line-height: 1.5;
}

.contact-info-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-content a:hover {
    text-decoration: underline;
}

.map-container {
    height: 250px;
    margin-top: 30px;
    border-radius: var(--radius);
    overflow: hidden;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.gdpr-consent {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.gdpr-consent input {
    margin-right: 10px;
    margin-top: 5px;
}

.gdpr-consent label {
    font-size: 0.9rem;
    color: #4b5563;
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
}
.swiper-pagination-bullet-active {
  opacity: var(--swiper-pagination-bullet-opacity, 1);
  background: #002b5c !important;
}





.swiper-button-next, .swiper-button-prev {
    
    color: #002b5c !important;
}




/* Image plein format dans col-md-6 */
.col-md-6 img.object-fit-contain {
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
  animation: fadeInUp 1s ease forwards;
}