/* VitalHealthPortal — Global Styles */
/* 95%+ styling is handled by Tailwind. This file is intentionally minimal. */

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-top: 10px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0fdfa; }
::-webkit-scrollbar-thumb { background: #5eead4; border-radius: 3px; }

/* Card image zoom */
.card-img { overflow: hidden; }
.card-img img { transition: transform 0.5s ease; }
.card-img:hover img { transform: scale(1.05); }

/* Line clamp */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Floating hero cards animation */
.float-slow { animation: floatY 6s ease-in-out infinite; }
.float-slow-delay { animation: floatY 6s ease-in-out infinite; animation-delay: 1.2s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}