/* Bagda Fresh Milk Supply - Premium Royal Dairy Blue Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --blue-950: #071A34;
  --blue-900: #0C274E;
  --blue-850: #103366;
  --blue-800: #1E40AF;
  --blue-700: #1D4ED8;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-100: #DBEAFE;
  --blue-50: #EFF6FF;
  --gold-500: #F59E0B;
  --gold-400: #FBBF24;
  --gold-100: #FEF3C7;
  --bg-page: #F8FAFC;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: #0F172A;
  overflow-x: hidden;
  width: 100%;
}

/* Modern Card Elevation */
.dairy-card {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px -4px rgba(12, 39, 78, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dairy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(12, 39, 78, 0.12);
  border-color: #BFDBFE;
}

/* Glassmorphism Badge */
.glass-badge {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 25px -5px rgba(12, 39, 78, 0.12);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue-700);
}

/* Hide scrollbar for clean horizontal swiping on mobile */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Input Styles */
input, select, textarea {
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 16px; /* Prevents auto-zoom on iOS */
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-600) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
}

/* Floating Badges Animation */
@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.float-gentle {
  animation: floatGentle 4.5s ease-in-out infinite;
}

@keyframes floatGentleDelay {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.float-gentle-delay {
  animation: floatGentleDelay 5s ease-in-out infinite 1s;
}

/* Pulse Glow Animation */
@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

/* Mobile Nav Drawer Transition */
#mobileMenu {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
