    /* Smooth scrolling for anchor links */
    html {
      scroll-behavior: smooth;
    }
    /* Offset page content to account for fixed navbar height */
    body {
      padding-top: 32px; /* Adjust if navbar height changes (approximately 56px for Bootstrap navbar) */
    }
    
 /* animated undelines on anchor links */   
    .nav-link {
        position: relative;
        display: inline-block;
        text-decoration: none;
        color: inherit;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 4px; /* underline thickness */
        background-color: #a4d6e0;
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.6s ease;
    }

    .nav-link:hover::after,
    .nav-link:focus::after {
        transform: scaleX(1);
    }

    /* Hero section styling */
    .hero-section {
      padding: 4rem 0;
      background-color: #e7f5f8; /* Blend background to image */
      text-align: center;
    }
    /* Common section padding */
    .services-section, .about-section, .testimonials-section, .contact-section {
      padding: 4rem 0;
    }
    .about-section{
    
         background-color: #fff;
      position: relative;
      min-height: 300px; /* give vertical space for bubbles */
      overflow: hidden;
    }
    
    .hero-section {
      background-color: #e7f5f8;
      position: relative;
      min-height: 300px; /* give vertical space for bubbles */
      overflow: hidden;
    }
    
    
    .contact-section{
     background-color: #0d6efd;
      position: relative;
      min-height: 800px; /* give vertical space for bubbles */
      overflow: hidden;
    }
    /* Service icon styling */
    .service-icon {
      font-size: 5rem;
      margin-bottom: 1rem;
      color: #0d6efd; /* Bootstrap primary color for icons */
    }
    /* Testimonial text style */
    .testimonial {
      font-style: italic;
    }
    
    footer{
     background-color: #0d6efd;
    }


@keyframes shakeSideToSide {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.btn-shake {
  display: inline-block;
  animation: shakeSideToSide 0.6s ease-in-out infinite;
  animation-delay: 2s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-fill-mode: both;
  animation-timing-function: ease-in-out;
  animation-play-state: running;
}


@keyframes shakePause {
  0%, 70%, 100% { transform: translateX(0); }
  72% { transform: translateX(-4px); }
  74% { transform: translateX(4px); }
  76% { transform: translateX(-4px); }
  78% { transform: translateX(4px); }
  80% { transform: translateX(0); }
}

.btn-shake {
  animation: shakePause 5s ease-in-out infinite;
}


.img-zoom {
  transition: transform 0.4s ease;
}

.img-zoom:hover {
  transform: scale(1.05);
}


.speech-bubble {
  position: relative;
  border-radius: 1rem;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 15px 15px 0;
  border-style: solid;
  border-color: var(--bs-primary) transparent transparent transparent;
}



#hero {
  position: relative;
  overflow: hidden;
}

.sparkle-layer {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
}

#hero .container,
#hero img,
#hero h1,
#hero p,
#hero a {
  position: relative;
  z-index: 1;
}    




.footer-wave-container {
  position: relative;
  width: 100%;
  height: 120px;
  margin-bottom: -7px; /* Safari gap fix */
  overflow: hidden;
}

.footer-waves {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/* make sure footer appears above the wave */
footer {
  position: relative;
  z-index: 1;
}


/* Responsive for smaller screens */
@media (max-width: 768px) {
  .footer-wave-container {
    height: 60px;
    min-height: 40px;
  }

  .footer-waves {
    height: 60px;
  }
}

.grecaptcha-badge { 
    z-index: 15;
}