html, body{
  scroll-behavior: smooth;
  overflow-x: hidden;
}
/* Navbar container background */
.navbar {
  background-color: #373738; /* Dark gray background */
}

/* Make all nav links white by default */
.nav-link {
  color: #86C128;
  position: relative;
  transition: color 0.3s ease;
}
.nav-link.active {
  background-color: rgba(88, 88, 88, 0.1); /* subtle highlight */
  color: #86C128 !important; /* light green if overriding white */
  border-radius: 0.25rem;
}

.nav-link.active::after {
  width: 100%;
  background-color: #86C128; /* underline in light green */
}
/* Hover effects for links */
.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1); /* light overlay */
  color: #86C128 !important;
}

/* Animated underline stays white */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background-color: #86C128;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}
.navbar-toggler {
  background-color: #86C128; /* Bootstrap success green */
  border-color: #fafafa;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,..."); /* optional: custom white icon */
}

/* Logo styling */
.logo-img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-height: 40px;
  width: auto;
}
/* Adjust logo size on small devices */
@media (max-width: 576px) {
  .logo-img {
    max-height: 26px; /* or your preferred smaller height */
  }
}
.logo-img:hover {
  transform: scale(1.05);
}


/* Preloader Fullscreen */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(-15deg, #ec0d0d, #094049, #04612e, #310101);
  background-size: 400% 400%;
  animation: gradientBG 10s ease infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.2s ease;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Text animation */
.raj-title span {
  display: inline-block;
  color: #FFF;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.2s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered delay for each letter */
.raj-title span:nth-child(1) { animation-delay: 0.1s; }
.raj-title span:nth-child(2) { animation-delay: 0.2s; }
.raj-title span:nth-child(3) { animation-delay: 0.3s; }
.raj-title span:nth-child(4) { animation-delay: 0.4s; }
.raj-title span:nth-child(5) { animation-delay: 0.5s; }
.raj-title span:nth-child(6) { animation-delay: 0.6s; }
.raj-title span:nth-child(7) { animation-delay: 0.7s; }
.raj-title span:nth-child(8) { animation-delay: 0.8s; }
.raj-title span:nth-child(9) { animation-delay: 0.9s; }
.raj-title span:nth-child(10) { animation-delay: 1.0s; }
.raj-title span:nth-child(11) { animation-delay: 1.1s; }
.raj-title span:nth-child(12) { animation-delay: 1.2s; }
.raj-title span:nth-child(13) { animation-delay: 1.3s; }
.raj-title span:nth-child(14) { animation-delay: 1.4s; }
.raj-title span:nth-child(15) { animation-delay: 1.5s; }
.raj-title span:nth-child(16) { animation-delay: 1.6s; }
.raj-title span:nth-child(17) { animation-delay: 1.7s; }
.raj-title span:nth-child(18) { animation-delay: 1.8s; }
.raj-title span:nth-child(19) { animation-delay: 1.9s; }



/* hero section */
/* Base animation setup */
#home{
  background-color: #ffeeee !important;
}
.animate-slide-up {
  opacity: 0;
  transform: translateY(40px);
  animation: slideUp 1s ease forwards;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.animate-zoom-in {
  opacity: 0;
  transform: scale(0.9);
  animation: zoomIn 1s ease forwards;
}

/* Keyframes */
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Delay utility classes */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }


/* COUNTER */
.counter {
  font-size: 2.5rem;
  transition: all 0.3s ease-in-out;
}

/* SEVICES */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.service-img {
  transition: transform 0.5s ease;
}

.service-card:hover .service-img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.service-card:hover .overlay {
  opacity: 1;
}
.zoom-on-hover {
  transition: transform 0.5s ease;
}
.zoom-on-hover:hover {
  transform: scale(1.05);
}

/*services*/
.service-image {
  transition: transform 0.3s ease;
  height: 100%;
}
.service-image img {
  transition: transform 0.5s ease;
}
.service-image:hover img {
  transform: scale(1.08);
}
.service-image .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-image:hover .overlay {
  opacity: 1;
}



    .team-section {
      background-color: #f8f9fa;
      padding: 60px 0;
    }
    .team-member {
      transition: transform 0.3s ease;
    }
    .team-member:hover {
      transform: translateY(-10px);
    }
    .team-title {
      font-size: 1.1rem;
      font-weight: 600;
      color: #6c757d;
    }
    .team-name {
      font-size: 1.3rem;
      font-weight: 700;
      color: #343a40;
    }