html { 
  scroll-behavior: auto; 
}

.nav-link {
  position: relative;
  align-content: center;
}
.nav-link.active {
  color: #0369a1;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 100%;
  background: #0369a1;
}

.card {
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.input {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  color: black;
}

.btn {
  background: #0369a1;
  padding: 12px;
  border-radius: 999px;
  width: 100%;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

/* PROGRAMME CARD (DEFAULT) */
.program-card {
  background: #dbeafe; /* light blue */
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: all 0.35s ease;
  border: 1px solid #bfdbfe;
}

/* HOVER STATE (DARK BLUE TILE) */
.program-card:hover {
  background: #1e40af; /* deep blue */
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.25);
}

/* TEXT COLOR SWITCH */
.program-card h3,
.program-card p,
.program-card span {
  transition: color 0.3s ease;
}

.program-card:hover h3,
.program-card:hover p,
.program-card:hover span {
  color: #ffffff;
}