.navbar .logo img {
    height: 50px; /* Adjust as needed */
}

.navbar .liens {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.navbar .liens li {
    margin-left: 10px;
}

.navbar .liens a {
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1em;
}

.navbar .btn-login {
    background-color: #ff6600; 
    padding: 8px 20px;
    border-radius: 100px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.navbar .btn-login:hover {
    background-color: #e65c00;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 10px 5%;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: #fff; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
}

.navbar.scrolled .liens a {
    color: #283373;
}

.navbar.scrolled .btn-login {
    color: #fff;
    background-color: #ff6600; 
}

.navbar.scrolled .liens a {
    color: #333; 
}

.navbar .liens a.active-link {
    color: #ff6600; 
    font-weight: 900; 
}

.navbar.scrolled .liens a.active-link {
    color: #ff6600;
}

/* Burger menu styles */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    z-index: 3002;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: absolute;
    right: 18px;
}
.burger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 5px 0;
    background: #283373;
    border-radius: 2px;
    transition: 0.3s;
}
.burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.open span:nth-child(2) {
    opacity: 0;
}
.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    z-index: 3002;
    position: absolute;
    right: 18px;
    top: 18px;
    box-shadow: none;
    transition: background 0.2s;
}
.burger span {
    display: block;
    width: 22px;
    height: 3px;
    margin: 4px 0;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

.div-btn-login{
    margin-left: 20px;
}
.navbar.scrolled .burger span {
    background: #222;
}
.burger:hover {
    background: rgba(40,51,115,0.07);
}


.video-banner-service {
    height: 450px;
    position: relative;
    overflow: hidden;
    padding-top: 85px;
}

.video-banner-service video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Place video behind overlay */
}

.video-overlay h1,.video-overlays h1, h2{
    font-family: 'Monda', sans-serif;
    color: #FFF;
    text-align: center;
}

.video-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: left;
    padding-left: 50px;
    flex-direction: column;
    background-color: #e0522b45;
}

.projets-title{
    font-family: 'Monda', sans-serif;
    font-size: 3.5em;
    font-weight: 700;
    color: #FFF;
}

.projets-subtitle {
    font-size: 1.1em;
    color: #FFF;
    line-height: 1.5;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .projets-title {
        font-size: 2em;
    }

    .video-banner-service {
    height: 300px;
}

}

@media (max-width: 480px) {

        .projets-title {
        font-size: 1.8em;
    } 
}

    .swiper {
      width: 100%;
      max-width: 1000px;
      height: 500px;
      margin-top: 50px;
    }

    .swiper-slide {
      background: #000;
      border-radius: 15px;
      overflow: hidden;
      position: relative;
      width: 300px;
      height: 450px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      color: #fff;
      transition: transform 0.3s ease;
    }

    .swiper-slide img {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
      top: 0;
      left: 0;
      opacity: 0.75;
    }

    .content {
      position: relative;
      padding: 20px;
      background: rgba(0, 0, 0, 0.4);
    }

    .content h3 {
      margin: 0;
      font-size: 20px;
      font-weight: bold;
    }

    .content p {
      font-size: 16px;
      margin: 8px 0;
    }

    .swiper-button-next,
    .swiper-button-prev {
      color: #ff6600;
    }

@media (max-width: 900px) {
  .burger {
    display: flex;
    position: fixed;
    top: 12px;
    right: 20px; 
    z-index: 3002;
    background: transparent;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .burger:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3001;
    padding: 0;
    height: 60px;
  }

  .navbar .liens {
    position: absolute;
    top: 60px;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    width: 220px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.10);
    padding: 18px 0;
    display: none;
    border-radius: 18px 0 0 18px;
    z-index: 99;
    margin: 0;
  }

  .navbar .liens.open {
    display: flex;
  }

  .navbar .liens a {
    color: #333 !important;
    display: block;
    padding: 14px 28px;
    font-size: 1.08rem;
    border-bottom: 1px solid #f7f7f7;
    font-weight: 500;
    width: 100%;
    text-align: left;
    position: relative;
    transition: background 0.2s, color 0.2s;
  }


  .navbar .liens a.active-link,
    .navbar .liens a:hover,
  .navbar .liens li:hover > a {
    background: #ff6600;
    color: #ffffff !important;
    font-weight: 900;
  }

  /* Effet de fond changé pour toute la page */
  body.menu-open {
    background-color: rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
  }

  .navbar .logo img {
    height: 40px;
    transition: transform 0.3s ease;
  }

  @keyframes slideIn {
    from {
      transform: translateX(-100%);
    }
    to {
      transform: translateX(0);
    }
  }

  .navbar .liens.open {
    animation: slideIn 0.3s ease-out forwards;
  }

  .swiper {
  height: 300px;
  margin-top: 30px;
}

    .swiper-slide {
      width: 150px;
      height: 300px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .liens {
        flex-direction: column;
        width: 100%;
        display: none; /* Hidden by default */
    }

    .liens.active {
        display: flex; /* Shown when active */
    }

    .navbar nav {
        width: 100%;
    }

    .navbar .btn-login {
color: #fff;
background-color: transparent;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        margin-left: auto; /* Push to the right */
    }

    .menu-toggle .bar {
        height: 3px;
        width: 25px;
        background-color: white;
        margin: 4px 0;
        transition: 0.4s;
    }
}