body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #18273F !important;
}

.site-header {
    background-color: #18273F;
    position: fixed;
    width: 100%;
    z-index: 100;
}

.navbar-brand img {
    height: 24px;
}

.navbar-nav .nav-item {
    margin-right: 15px;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: bold;
}

.navbar-nav .nav-item > a {
    color: white !important;
    text-align: right !important;
}

section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.card-body {
    padding: 20px;
}

.partner-logos img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

#portfolio, #method {
    background-color: #18273F;
}

#portfolio h2 {
    color: white !important;
}

#method h2 {
    color: white !important;
}

.portfolio-item {
    margin-bottom: 30px;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.social-links img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

footer {
    background-color: #18273F;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.text-with-icon {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #18273F !important;
    border: none !important;
    color: white;
}

.btn-primary > a {
    color: white !important;
    text-decoration: none;
}

.btn-inverted-primary {
    background-color: white !important;
    border: 1px solid #18273F !important;
    color: #18273F;
}

.btn-inverted-primary > a {
    color: #18273F !important;
    text-decoration: none;
}

a {
    color: #18273F !important;
}

footer a {
    color: #fff !important;
}

#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 0 60px;
    background: #18273F url(./az-subtle.png) repeat;
    color: white;
}

#masthead {
    background: #18273F url(./az-subtle.png) repeat;
    padding: 0 60px;
}

h1 {
    margin: 20px 0;
    font-size: 3rem;
    text-align: left;
    font-family: 'Roboto';
}

#hero p {
    font-size: 1.2rem;
    color: white;
    text-align: left;
}

.hero-content {
    padding-right: 20px;
}

.main-img {
    position: absolute;
    right: 10vw;
    bottom: 0px;
}

.small-main-img {
    display: none;
}

.main-img > img {
    border-radius: 20px;
}

h2, h4 {
    font-family: "Roboto";
    color: #18273F !important;
}

h4 a {
    text-decoration: none;
}

h1 {
    color: #18273F !important;
}

#hero h1 {
 color: white !important;
}

.hero-text {
    max-width: 38vw;
}

h2 {
    margin-bottom: 3rem !important;
}

.card-no-border {
    border: none !important;
}

#metier, #partenaire, #actualites, #contact {
    background-color: white !important;
}

#actualites {
    border-bottom: 1px solid #18273F;
}

i {
    line-height: 1.5 !important;
    color: #18273F !important;
}

.rating i {
    color: #FFD43B !important;
}

.testimonials {
    display: flex;
    gap: 20px;
    overflow: scroll;
    padding-left: 80px;
    padding-right: 80px;
    scrollbar-width: none; /* Pour Firefox */
}

.testimonials::-webkit-scrollbar {
    display: none; /* Pour Chrome, Safari et Opera */
}

.testimonial {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 300px;
    min-width: 300px;
    text-align: left;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.testimonial p {
    font-size: 1em;
    color: #5b5b5b;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-info i {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.client-details h3 {
    font-size: 1.2em;
    color: #333;
    margin: 0;
}

.client-details p {
    font-size: 0.9em;
    color: #777;
    margin: 0;
}

.date {
    font-weight: 700;
}

.illustration-container {
    display: flex;
    margin: auto;
    justify-content: space-around;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    flex-wrap: wrap;
}

.illustration-item {
    text-align: center;
    width: 200px;
    margin: 10px;
}

.illustration-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #d3d3d3;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2em;
    margin: 0 auto 15px;
    position: relative;
    line-height: 1.2em;
}

.illustration-number-odd {
    position: absolute;
    top: 10px;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    left: 0px;
    line-height: 28px;
    border: 2px solid white;
    font-size: 0.8em;
}

.illustration-number-even {
    position: absolute;
    bottom: 10px;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    right: 0px;
    line-height: 24px;
    border: 2px solid white;
    font-size: 0.8em;
}

.illustration-description {
    font-size: 1em;
    line-height: 1.2em;
    color: white;
}

.illustration-item:nth-child(1) .illustration-circle {
    background-color: #82a697;
}

.illustration-item:nth-child(2) .illustration-circle {
    background-color: #5f99be;
}

.illustration-item:nth-child(3) .illustration-circle {
    background-color: #696a7f;
}

.illustration-item:nth-child(4) .illustration-circle {
    background-color: #C77B67;
}

.illustration-item:nth-child(1) .illustration-number-odd {
    background-color: #82a697;
}

.illustration-item:nth-child(2) .illustration-number-odd {
    background-color: #5f99be;
}

.illustration-item:nth-child(3) .illustration-number-odd {
    background-color: #696a7f;
}

.illustration-item:nth-child(4) .illustration-number-odd {
    background-color: #C77B67;
}

.date {
    text-align: right;
    margin-top: 12px;
    margin-bottom: 12px;
}


.navbar-toggler {
    border: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important; /* Change la couleur de l'icône */
}

.navbar-toggler:focus,
.navbar-toggler:hover {
    outline: none !important;
    box-shadow: none !important;
}

.testimonials-container {
    position: relative;
}

.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: #18273F;
    color: white;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3)
}

.scroll-button.prev {
    left: 10px;
}

.scroll-button.next {
    right: 10px;
}



.logo-container {
    height: 40px;
}



@keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  .logos {
    overflow: hidden;
    background: white;
    white-space: nowrap;
    position: relative;
  }
  
  .logos:before,
  .logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
  }
  
  .logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
  }
  
  .logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
  }
  
  .logos:hover .logos-slide {
    animation-play-state: paused;
  }
  
  .logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
  }
  
  .logos-slide img {
    height: 50px;
    margin: 0 40px;
  }

    .article-body {
        background-color: white !important;
    }

@media (max-width: 768px) {
    .navbar-nav .nav-link {
        padding: 10px;
    }

    .testimonials {
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar-brand img {
        height: 16px;
    }

    #hero {
        padding: 0 30px;
    }

    #masthead {
        padding: 0 20px;
    }


    #hero h1 {
        font-size: 2rem;
    }

    .hero-text {
        max-width: revert;    
    }

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

    .hero-content {
        padding-right: 0;
    }

    .contact-info img, .social-links img {
        margin-bottom: 10px;
    }

    .main-img {
        display: none;
    }

    .small-main-img {
        display: flex;
        justify-content: center;
        padding-bottom: 20px;
        right: 20px;
    }


    .small-main-img > img {
        height: 200px;
        width: 200px;
        border-radius: 50%;
    }


    .article-content {
        margin-bottom: 32px;
    }

    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .logo-container {
        height: 30px;
    }

    .logos:before,
    .logos:after {
      position: absolute;
      top: 0;
      width: 30px;
      height: 100%;
      content: "";
      z-index: 2;
    }

    .logos-slide img {
        height: 50px;
        margin: 0 10px;
    }

    .scroll-button {
        display: none;
    }
}

