/*------------------------------------------------------***Style for Dev 2***------------------------------------------------------*/

/* Background container full width and height */
.bubbles-area {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1; /* Ta7t l-content */
  pointer-events: none;
  overflow: hidden;
}

/* Each bubble (span) */
.bubble {
  width: 40px;
  height: 40px;
  position: absolute;
  bottom: -60px;
  background-image: url('/wp-content/uploads/2025/06/bp-clean-entreprise-de-nuisible-nice-bubble.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  opacity: 0;
  animation: rise 8s linear infinite;
}

/* Random animation delays (generate manually for 25 bubbles) */
.bubble:nth-child(1) { animation-delay: 0s; }
.bubble:nth-child(2) { animation-delay: 1s; }
.bubble:nth-child(3) { animation-delay: 2s; }
.bubble:nth-child(4) { animation-delay: 0.5s; }
.bubble:nth-child(5) { animation-delay: 1.5s; }
.bubble:nth-child(6) { animation-delay: 2.2s; }
.bubble:nth-child(7) { animation-delay: 0.8s; }
.bubble:nth-child(8) { animation-delay: 3s; }
.bubble:nth-child(9) { animation-delay: 1.1s; }
.bubble:nth-child(10) { animation-delay: 2.7s; }
.bubble:nth-child(11) { animation-delay: 0.3s; }
.bubble:nth-child(12) { animation-delay: 1.8s; }
.bubble:nth-child(13) { animation-delay: 3.4s; }
.bubble:nth-child(14) { animation-delay: 2.9s; }
.bubble:nth-child(15) { animation-delay: 1.3s; }
.bubble:nth-child(16) { animation-delay: 2.5s; }
.bubble:nth-child(17) { animation-delay: 0.6s; }
.bubble:nth-child(18) { animation-delay: 3.1s; }
.bubble:nth-child(19) { animation-delay: 1.6s; }
.bubble:nth-child(20) { animation-delay: 2.4s; }
.bubble:nth-child(21) { animation-delay: 0.9s; }
.bubble:nth-child(22) { animation-delay: 1.2s; }
.bubble:nth-child(23) { animation-delay: 2.1s; }
.bubble:nth-child(24) { animation-delay: 3.3s; }
.bubble:nth-child(25) { animation-delay: 1.7s; }

/* Bubble rising animation */
@keyframes rise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-120vh) scale(0.7);
    opacity: 0;
  }
}


