html {
  scroll-behavior: smooth;
}



/* Desktop nav hover underline */
.nav-link {
  position: relative; /* ensure pseudo-element is positioned correctly */
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #022873;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

/* Mobile sidebar active link */
.mobile-link.active {
  border-left: 4px solid #022873;
  padding-left: 0.5rem;
}

/* Fade-in up animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-fade {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

/* Optional: slight hover lift on image card */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Feature icon background */
.feature-icon {
  background: #c2d2f2; /* Light Blue */
}

/* Card hover animation */
.feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.1);
}

/* Circle Gradient */
.gradient-bg {
  background: linear-gradient(135deg, #022873, #0a4ca3);
}

/* Button Gradient */
.btn-gradient {
  background: linear-gradient(135deg, #022873, #0a4ca3);
  transition: 0.3s ease;
}

.btn-gradient:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

#trusted-by img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#trusted-by img:hover {
  opacity: 1;
  transform: scale(1.1);
}
/* nav link code active  */
.nav-link.active {
  position: relative;
  color: #022873 !important; /* highlight color */
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #022873;
  border-radius: 5px;
}
