/* Global font reset */
body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #222;
}

/* Buttons and call-to-action */
button, .cta {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

/* Smooth font rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*Animation*/
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideFadeIn {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate-slideFadeIn {
  animation: slideFadeIn 1s ease-out forwards;
}
.animate-slideFadeIn.delay-200 {
  animation-delay: 0.2s;
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

.animate-slowZoom {
  animation: slowZoom 15s ease-in-out infinite;
}


/* Parallax effect for Header background image*/
#home-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* slightly taller for parallax */
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/*Header Navigation*/
.nav-link {
  position: relative;
  padding-bottom: 4px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #2563eb; /* blue-600 */
  transition: width 0.3s ease;
}

.nav-link.active {
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 8px;
  color: #2563eb;
}

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

.mobile-link {
  font-weight: 500;
  border-bottom: 1px solid #e5e7eb;
}
