/* ===== Base ===== */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ===== Selection ===== */
::selection { background: #4ec3cf; color: #050b0e; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #050b0e; }
::-webkit-scrollbar-thumb { background: #1a3a44; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #2a5560; }

/* ===== Fade up animation ===== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Card hover lift ===== */
.lift-on-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lift-on-hover:hover {
  transform: translateY(-4px);
}

/* ===== Form field auto-fill fix ===== */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
}
