/* --------------- Menu --------------- */
.navbar {
  position: absolute;
  left: 0;
  top: 30px;
  padding: 0;
  margin: 0;
  width: 100%;
  background: transparent;
  z-index: 9999999;
}
.navbar.nav-scroll {
  padding: 0;
  position: fixed;
  top: -80px;
  padding: 15px 0;
  -webkit-transition: -webkit-transform 0.8s;
  transition: -webkit-transform 0.8s;
  -o-transition: transform 0.8s;
  transition: transform 0.8s;
  transition: transform 0.8s, -webkit-transform 0.8s;
  -webkit-transform: translateY(80px);
  -ms-transform: translateY(80px);
  transform: translateY(80px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.navbar .logo {
  padding: 7px 15px;
  border-radius: 30px;
}
.navbar .navbar-nav {
  padding: 2px 5px;
  border-radius: 30px;
  margin-left: 15px;
}
.navbar .navbar-nav .nav-link {
  padding: 5px 20px;
  border-radius: 30px;
  font-size: 14px;
  color: #000;
}
.navbar .navbar-nav .nav-link.active {
  background: rgba(0, 0, 0, 0.1);
}
.navbar .topnav .butn {
  padding: 7px 20px;
  background: #000;
  color: #fff;
  margin-right: 15px;
}

/* Styles pour le bouton hamburger */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  background: transparent;
  color: #000;
  display: none; /* Caché par défaut */
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  width: 1.5em;
  height: 1.5em;
}

/* Styles pour le menu mobile */
@media (max-width: 991.98px) {
  /* Afficher le bouton hamburger sur mobile */
  .navbar .navbar-toggler {
    display: block !important;
  }

  /* Masquer la navbar normale sur mobile */
  .navbar .navbar-nav {
    display: none;
  }

  /* Afficher le menu collapse quand ouvert */
  .navbar .navbar-collapse.show {
    display: block !important;
  }

  .navbar .navbar-collapse.show .navbar-nav {
    display: block;
    margin-left: 0;
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .navbar .navbar-collapse.show .navbar-nav .nav-link {
    padding: 10px 15px;
    margin: 5px 0;
    text-align: center;
  }
}

/* Styles pour embellir la section équipe */
.team-mp .item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.team-mp .item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.team-mp .item .img {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  margin-right: 25px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.team-mp .item:hover .img {
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.team-mp .item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-mp .item:hover .img img {
  transform: scale(1.1);
}

.team-mp .item .cont h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.team-mp .item .cont span {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  display: block;
  margin-bottom: 15px;
}

.team-mp .item .social-icon {
  display: flex;
  gap: 15px;
}

.team-mp .item .social-icon a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.team-mp .item .social-icon a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.team-mp .item .social-icon a i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.team-mp .item .social-icon a:hover i {
  transform: scale(1.2);
}

/* Styles pour la section équipe responsive */
@media (max-width: 768px) {
  .team-mp .item .d-flex {
    flex-direction: column;
    text-align: center;
  }

  .team-mp .item .img {
    margin: 0 auto 20px auto;
    max-width: 120px;
    margin-right: 0;
  }

  .team-mp .item .cont {
    margin-bottom: 20px;
  }

  .team-mp .item .cont h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }

  .team-mp .item .cont span {
    font-size: 0.9rem;
  }

  .team-mp .item .social-icon {
    justify-content: center;
  }

  .team-mp .item .social-icon a {
    margin: 0 10px;
  }
}
