html {
  scroll-behavior: smooth;
}

/* Smooth underline hover */
.nav-link {
  position: relative;
  font-weight: 500;
  color: #333;
  transition: transform 0.25s ease, color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 0%;
  background: black;
  transition: width 0.3s ease;
}

.nav-link:hover {
  transform: scale(1.12);
  color: black;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile link styling */
.mobile-link {
  padding-bottom: 4px;
  border-bottom: 1px solid #eee;
  transition: transform 0.25s ease;
}

.mobile-link:hover {
  transform: scale(1.08);
}

#hero-bg {
  opacity: 1;
}

.cta-zoom {
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.cta-zoom:hover {
  transform: scale(1.08);
}

#typing-text,
#cursor {
  text-shadow: 0 0 10px rgba(216, 179, 109, 0.7);
}

#testimonial-slider {
  position: relative;
}

.testimonial-slide {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  position: absolute;
}

.testimonial-slide.active {
  opacity: 1 !important;
}

.flow-box {
  background: white;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  text-align: center;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.flow-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.flow-text {
  font-size: 1.125rem;
  color: #4b5563;
}

.flow-arrow {
  font-size: 2rem;
  color: #6b7280;
  margin: 16px 0;
}
