* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
:root {
  --primary-color: #ffc72c;
}

body {
  background-color: var(--usefull);
}

.language-switcher {
  transition: all 0.3s ease;
}
.language-switcher:hover {
  transform: scale(1.1);
}
.nav-link {
  position: relative;
}
.nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  transition: width 0.3s ease;
}
.nav-link:hover:after {
  width: 100%;
}
.dropdown:hover .dropdown-menu {
  display: block;
  position: absolute;
  top: 15px;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.transition-all {
  transition: all 0.3s ease;
}

.card-3d {
  transform-style: preserve-3d;
  transition: all 0.5s ease;
}
.card-3d:hover {
  transform: rotateY(10deg) rotateX(5deg);
}
.input-field {
  transition: all 0.3s ease;
}
.input-field:focus {
  box-shadow: 0 0 0 3px rgba(0, 20, 100, 0.8);
}
.floating {
  animation: floating 6s ease-in-out infinite;
}
@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}
.form-container {
  position: relative;
  z-index: 10;
}

/* TimeLine A propos */

.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  border: 4px solid rgba(200, 200, 200, 0.5);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 0;
  height: 100%;
  width: 2px;
  background: rgba(0, 0, 0, 0.1);
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
  .timeline-item::before {
    left: -30px;
    width: 20px;
    height: 20px;
  }

  .timeline::before {
    left: 25px;
  }
}