/* Navbar container with relative positioning for bubbles */
/* .navbar {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  height: 80px;
} */

/* Bubbles container */
.bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Individual bubble styling */
.bubble {
  position: absolute;
  background: radial-gradient(circle, #fbd91b 0%, #fbd91b 70%, #fbd91b 100%);
  border-radius: 50%;
  opacity: 0;
  animation: bubbleFloat 8s infinite linear;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.5),
              inset 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Bubble floating animation */
@keyframes bubbleFloat {
  0% {
    transform: translateY(20px) translateX(20px) rotate(0deg) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(10px) translateX(20%) rotate(45deg) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translateY(30px) translateX(30%) rotate(180deg) scale(2);
  }
  80% {
    opacity: 0.6;
    transform: translateY(40px) translateX(50%) rotate(270deg) scale(3);
  }
  100% {
    transform: translateY(50px) translateX(40%) rotate(360deg) scale(0);
    opacity: 0;
  }
}

/* Bubble size variations */
.bubble:nth-child(1) {
  width: 6px;
  height: 6px;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 6s;
}

.bubble:nth-child(2) {
  width: 8px;
  height: 8px;
  left: 20%;
  animation-delay: 1s;
  animation-duration: 8s;
}

.bubble:nth-child(3) {
  width: 4px;
  height: 4px;
  left: 35%;
  animation-delay: 2s;
  animation-duration: 7s;
}

.bubble:nth-child(4) {
  width: 10px;
  height: 10px;
  left: 50%;
  animation-delay: 3s;
  animation-duration: 9s;
}

.bubble:nth-child(5) {
  width: 5px;
  height: 5px;
  left: 65%;
  animation-delay: 4s;
  animation-duration: 6s;
}

.bubble:nth-child(6) {
  width: 7px;
  height: 7px;
  left: 80%;
  animation-delay: 5s;
  animation-duration: 8s;
}

.bubble:nth-child(7) {
  width: 9px;
  height: 9px;
  left: 90%;
  animation-delay: 6s;
  animation-duration: 7s;
}

/* Additional bubbles for more density */
.bubble:nth-child(8) {
  width: 3px;
  height: 3px;
  left: 15%;
  animation-delay: 1.5s;
  animation-duration: 5s;
}

.bubble:nth-child(9) {
  width: 6px;
  height: 6px;
  left: 40%;
  animation-delay: 3.5s;
  animation-duration: 8s;
}

.bubble:nth-child(10) {
  width: 8px;
  height: 8px;
  left: 75%;
  animation-delay: 2.5s;
  animation-duration: 6s;
}

/* Pulsing animation for extra glow effect */
@keyframes bubblePulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5),
                inset 0 0 10px rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.8),
                inset 0 0 15px rgba(255, 255, 255, 0.5);
  }
}

/* Add pulse to random bubbles */
.bubble:nth-child(odd) {
  animation: bubbleFloat 8s infinite linear, bubblePulse 2s infinite ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .bubble {
    animation-duration: 5s;
  }
  
  .bubble:nth-child(n+6) {
    display: none; /* Hide some bubbles on mobile for performance */
  }

  .top-section{
    position: relative !important;
    height: 60rem;
  }
  .tp-fullwidth-forcer{
    height: 0px !important;
  }

  #home-header1{
    margin-top: 14rem !important;
    font-size: larger !important;
  }
  #home-header3{
    margin-top: 12rem !important;
    background-color: #fbd91b;
    color: black;
    padding: 5px 5px;
    border-radius: 10px;
  }
}

.home-par{
  margin: 5px;
}


.home-par::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #fbd91b;
  transform: scaleX(0);
  transform-origin: center;
  animation: underline-grow 3s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes underline-grow{
  0%{
    transform: scaleX(0.5);
  }
   50% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0.5);
  }
}
