/* 
 * PetCare Website - Main CSS File
 * This file replaces all Tailwind CSS with raw CSS while maintaining the same design
 */

/* ===== Base Styles ===== */
:root {
  /* Pet-friendly color palette */
  --pet-green-50: #f0fdf4;
  --pet-green-100: #dcfce7;
  --pet-green-200: #bbf7d0;
  --pet-green-300: #86efac;
  --pet-green-400: #4ade80;
  --pet-green-500: #22c55e;
  --pet-green-600: #16a34a;
  --pet-green-700: #15803d;
  --pet-green-800: #166534;
  --pet-green-900: #14532d;

  --pet-blue-50: #eff6ff;
  --pet-blue-100: #dbeafe;
  --pet-blue-200: #bfdbfe;
  --pet-blue-300: #93c5fd;
  --pet-blue-400: #60a5fa;
  --pet-blue-500: #3b82f6;
  --pet-blue-600: #2563eb;
  --pet-blue-700: #1d4ed8;
  --pet-blue-800: #1e40af;
  --pet-blue-900: #1e3a8a;

  --pet-warm-50: #fefce8;
  --pet-warm-100: #fef9c3;
  --pet-warm-200: #fef08a;
  --pet-warm-300: #fde047;
  --pet-warm-400: #facc15;
  --pet-warm-500: #eab308;
  --pet-warm-600: #ca8a04;
  --pet-warm-700: #a16207;
  --pet-warm-800: #854d0e;
  --pet-warm-900: #713f12;

  --pet-neutral-50: #fafafa;
  --pet-neutral-100: #f5f5f5;
  --pet-neutral-200: #e5e5e5;
  --pet-neutral-300: #d4d4d4;
  --pet-neutral-400: #a3a3a3;
  --pet-neutral-500: #737373;
  --pet-neutral-600: #525252;
  --pet-neutral-700: #404040;
  --pet-neutral-800: #262626;
  --pet-neutral-900: #171717;

  /* Spacing variables */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;
}

/* Global styles */
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: var(--pet-neutral-50);
  color: var(--pet-neutral-800);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  margin-top: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Layout Utilities ===== */
.container {
  width: 100%;
  max-width: 80rem; /* max-w-7xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-y-1 > * + * {
  margin-top: 0.25rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.gap-4 {
  gap: 1rem;
}

/* ===== Typography ===== */
.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-6xl {
  font-size: 3.75rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.text-center {
  text-align: center;
}

/* Text colors */
.text-white {
  color: white;
}

.text-pet-green-500 {
  color: var(--pet-green-500);
}

.text-pet-green-600 {
  color: var(--pet-green-600);
}

.text-pet-green-700 {
  color: var(--pet-green-700);
}

.text-pet-neutral-300 {
  color: var(--pet-neutral-300);
}

.text-pet-neutral-500 {
  color: var(--pet-neutral-500);
}

.text-pet-neutral-600 {
  color: var(--pet-neutral-600);
}

.text-pet-neutral-700 {
  color: var(--pet-neutral-700);
}

.text-pet-neutral-800 {
  color: var(--pet-neutral-800);
}

.text-pet-blue-500 {
  color: var(--pet-blue-500);
}

.text-pet-blue-700 {
  color: var(--pet-blue-700);
}

.text-red-500 {
  color: #ef4444;
}

.text-red-600 {
  color: #dc2626;
}

.text-red-700 {
  color: #b91c1c;
}

.text-red-800 {
  color: #991b1b;
}

.text-yellow-500 {
  color: #eab308;
}

.text-yellow-600 {
  color: #ca8a04;
}

.text-yellow-700 {
  color: #a16207;
}

.text-yellow-800 {
  color: #854d0e;
}

/* ===== Spacing ===== */
.m-0 {
  margin: 0;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-3 {
  margin-left: 0.75rem;
}

.ml-10 {
  margin-left: 2.5rem;
}

.mr-1 {
  margin-right: 0.25rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pb-3 {
  padding-bottom: 0.75rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.pl-8 {
  padding-left: 2rem;
}

/* ===== Backgrounds ===== */
.bg-white {
  background-color: white;
}

.bg-pet-neutral-50 {
  background-color: var(--pet-neutral-50);
}

.bg-pet-green-50 {
  background-color: var(--pet-green-50);
}

.bg-pet-green-100 {
  background-color: var(--pet-green-100);
}

.bg-pet-green-500 {
  background-color: var(--pet-green-500);
}

.bg-pet-green-600 {
  background-color: var(--pet-green-600);
}

.bg-pet-blue-50 {
  background-color: var(--pet-blue-50);
}

.bg-pet-blue-500 {
  background-color: var(--pet-blue-500);
}

.bg-pet-blue-600 {
  background-color: var(--pet-blue-600);
}

.bg-pet-warm-500 {
  background-color: var(--pet-warm-500);
}

.bg-pet-warm-600 {
  background-color: var(--pet-warm-600);
}

.bg-red-50 {
  background-color: #fef2f2;
}

.bg-red-500 {
  background-color: #ef4444;
}

.bg-red-600 {
  background-color: #dc2626;
}

.bg-yellow-50 {
  background-color: #fefce8;
}

.bg-pet-neutral-800 {
  background-color: var(--pet-neutral-800);
}

.bg-pet-neutral-900 {
  background-color: var(--pet-neutral-900);
}

/* ===== Borders ===== */
.border {
  border-width: 1px;
  border-style: solid;
}

.border-2 {
  border-width: 2px;
  border-style: solid;
}

.border-8 {
  border-width: 8px;
  border-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-l-2 {
  border-left-width: 2px;
  border-left-style: solid;
}

.border-pet-neutral-200 {
  border-color: var(--pet-neutral-200);
}

.border-pet-neutral-300 {
  border-color: var(--pet-neutral-300);
}

.border-pet-neutral-600 {
  border-color: var(--pet-neutral-600);
}

.border-pet-neutral-700 {
  border-color: var(--pet-neutral-700);
}

.border-pet-green-200 {
  border-color: var(--pet-green-200);
}

.border-pet-green-500 {
  border-color: var(--pet-green-500);
}

.border-red-200 {
  border-color: #fecaca;
}

.border-yellow-200 {
  border-color: #fef08a;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-full {
  border-radius: 9999px;
}

/* ===== Shadows ===== */
.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ===== Display ===== */
.hidden {
  display: none;
}

.block {
  display: block;
}

.inline-flex {
  display: inline-flex;
}

.overflow-hidden {
  overflow: hidden;
}

/* ===== Positioning ===== */
.sticky {
  position: sticky;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.z-50 {
  z-index: 50;
}

/* ===== Sizing ===== */
.h-4 {
  height: 1rem;
}

.h-8 {
  height: 2rem;
}

.h-16 {
  height: 4rem;
}

.h-32 {
  height: 8rem;
}

.w-4 {
  width: 1rem;
}

.w-8 {
  width: 2rem;
}

.w-16 {
  width: 4rem;
}

.w-32 {
  width: 8rem;
}

.w-full {
  width: 100%;
}

/* ===== Component Classes ===== */
.card-hover {
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-hover:hover {
  transform: scale(1.05);
}

.link-hover:hover {
  color: var(--pet-green-700);
}

.footer-link {
  color: var(--pet-neutral-300);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--pet-green-400);
}

.nav-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
}

/* Form validation styles */
.field-error {
  border-color: var(--red-500);
}

.field-error:focus {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.field-normal {
  border-color: var(--pet-neutral-300);
}

.field-normal:focus {
  border-color: var(--pet-green-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.error-message {
  color: var(--red-500);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Notification system */
.notification {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  max-width: 24rem;
  transform: translateX(0);
  transition: all 0.3s;
}

.notification-hidden {
  transform: translateX(100%);
}

.notification-content {
  display: flex;
  align-items: center;
}

.notification-message {
  flex: 1;
}

.notification-close {
  margin-left: 1rem;
  color: white;
}

.notification-close:hover {
  color: rgba(229, 231, 235, 0.9);
}

.notification-success {
  background-color: var(--green-500);
  color: white;
}

.notification-error {
  background-color: var(--red-500);
  color: white;
}

.notification-warning {
  background-color: var(--yellow-500);
  color: white;
}

.notification-info {
  background-color: var(--blue-500);
  color: white;
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

/* Health assessment styles */
.health-good {
  color: var(--pet-green-600);
}

.health-warning {
  color: var(--yellow-600);
}

.health-danger {
  color: var(--red-600);
}

.flex-start-item {
  display: flex;
  align-items: flex-start;
}

.flex-center-item {
  display: flex;
  align-items: center;
}

/* Vaccine tracker styles */
.reminder-overdue {
  background-color: var(--red-50);
  border: 1px solid var(--red-200);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.reminder-upcoming {
  background-color: var(--yellow-50);
  border: 1px solid var(--yellow-200);
  border-radius: 0.5rem;
  padding: 1rem;
}

.icon-red {
  color: var(--red-500);
}

.icon-yellow {
  color: var(--yellow-500);
}

.text-danger {
  color: var(--red-700);
}

.text-warning {
  color: var(--yellow-700);
}

.text-danger-dark {
  color: var(--red-800);
}

.text-warning-dark {
  color: var(--yellow-800);
}

/* Visibility utility classes */
.element-hidden {
  display: none;
}

/* AI Health Assessment Styles */
.section-padding {
  padding: 3rem 1rem;
}

.container-max-width {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pet-neutral-800);
  margin-bottom: 1.5rem;
}

.section-description {
  color: var(--pet-neutral-600);
  margin-bottom: 1.5rem;
}

.form-spacing {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.grid-2-cols {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-2-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.form-help-text {
  font-size: 0.875rem;
  color: var(--pet-neutral-500);
  margin-top: 0.25rem;
}

.page-background {
  background-color: var(--pet-neutral-50);
}

/* Navbar Styles */
.navbar {
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .navbar-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .navbar-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.875rem;
  color: var(--pet-green-500);
}

.logo-text {
  margin-left: 0.75rem;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pet-neutral-800);
}

.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: block;
  }
}

.nav-links {
  margin-left: 2.5rem;
  display: flex;
  align-items: baseline;
}

.nav-links > * + * {
  margin-left: 1rem;
}

.nav-link {
  color: var(--pet-neutral-600);
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--pet-green-600);
}

.nav-link.active {
  color: var(--pet-green-600);
}

.nav-link.active:hover {
  color: var(--pet-green-700);
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-right > * + * {
  margin-left: 1rem;
}

.nav-button {
  color: var(--pet-neutral-600);
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-button:hover {
  color: var(--pet-green-600);
}

.mobile-menu-toggle {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-btn {
  color: var(--pet-neutral-600);
  padding: 0.5rem;
}

.mobile-menu-btn:hover {
  color: var(--pet-green-600);
}

.menu-icon {
  font-size: 1.25rem;
}

.mobile-menu {
  display: none;
}

.mobile-menu.element-hidden {
  display: none;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu-links {
  padding: 0.5rem 0.5rem 0.75rem;
  background-color: white;
  border-top: 1px solid var(--pet-neutral-200);
  display: flex;
  flex-direction: column;
}

.mobile-menu-links > * + * {
  margin-top: 0.25rem;
}

.mobile-nav-link {
  color: var(--pet-neutral-600);
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
}

.mobile-nav-link:hover {
  color: var(--pet-green-600);
}

.mobile-nav-link.active {
  color: var(--pet-green-600);
}

/* Photo Preview Styles */
.photo-preview-container {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.photo-preview-image {
    border-radius: 0.5rem;
    max-height: 16rem;
    margin: 0 auto;
}

.photo-remove-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: var(--pet-red-500);
    color: white;
    border-radius: 9999px;
    padding: 0.25rem;
}

/* AI Health Results Styles */
.ai-results-container {
    margin-top: 2rem;
    display: none;
}

.ai-results-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.ai-results-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--pet-neutral-800);
    margin-bottom: 1rem;
}

.ai-results-content {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.ai-results-disclaimer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--pet-neutral-200);
    font-size: 0.75rem;
    color: var(--pet-neutral-500);
}

.urgency-low {
    color: var(--pet-green-600);
    font-weight: 600;
}

.urgency-medium {
    color: var(--pet-yellow-600);
    font-weight: 600;
}

.urgency-high {
    color: var(--pet-red-600);
    font-weight: 600;
}

.loading-container {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.loading-spinner {
  height: 2rem;
  width: 2rem;
  border-radius: 9999px;
  border-bottom: 2px solid var(--pet-green-500);
  animation: spin 1s linear infinite;
}

.loading-text {
  font-size: 1.125rem;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.btn-primary {
  background-color: var(--pet-green-500);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--pet-green-600);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-secondary {
  background-color: var(--pet-blue-500);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  background-color: var(--pet-blue-600);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-outline {
  border: 2px solid var(--pet-green-500);
  color: var(--pet-green-600);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
  display: inline-block;
  text-align: center;
}

.btn-outline:hover {
  background-color: var(--pet-green-500);
  color: white;
}

.card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
  padding: 1.5rem;
  border: 1px solid var(--pet-neutral-200);
}

.card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--pet-neutral-300);
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--pet-green-500);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pet-neutral-700);
  margin-bottom: 0.5rem;
}

.hero-gradient {
  background: linear-gradient(to bottom right, var(--pet-green-50), var(--pet-blue-50), var(--pet-warm-50));
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--pet-green-100);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pet-green-600);
  margin-bottom: 1rem;
}

.health-indicator {
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  border: 8px solid var(--pet-green-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2rem;
  border-left: 2px solid var(--pet-green-200);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 0;
  width: 1rem;
  height: 1rem;
  background-color: var(--pet-green-500);
  border-radius: 9999px;
}

.clinic-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s;
  padding: 1rem;
  border: 1px solid var(--pet-neutral-200);
}

.clinic-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.product-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  overflow: hidden;
}

.product-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.donation-btn {
  background-color: var(--pet-warm-500);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: inline-block;
  text-align: center;
}

.donation-btn:hover {
  background-color: var(--pet-warm-600);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.emergency-btn {
  background-color: #ef4444;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: inline-block;
  text-align: center;
  animation: pulse 2s infinite;
}

.emergency-btn:hover {
  background-color: #dc2626;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ===== Utility Classes ===== */
.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.backdrop-blur {
  backdrop-filter: blur(10px);
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ===== Animations ===== */
.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.bounce-in {
  animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-bounce-slow {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.animate-wiggle {
  animation: wiggle 1s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

/* ===== Responsive Utilities ===== */
@media (max-width: 640px) {
  .mobile-hidden {
    display: none;
  }
  
  .mobile-full {
    width: 100%;
  }
  
  .sm-px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .sm-flex-row {
    flex-direction: row;
  }
}

@media (min-width: 640px) {
  .sm-px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .md-block {
    display: block;
  }
  
  .md-flex {
    display: flex;
  }
  
  .md-hidden {
    display: none;
  }
  
  .md-text-4xl {
    font-size: 2.25rem;
  }
  
  .md-text-6xl {
    font-size: 3.75rem;
  }
  
  .md-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md-grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg-px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .lg-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ===== Dark Mode Support ===== */
@media (prefers-color-scheme: dark) {
  .dark-mode {
    background-color: var(--pet-neutral-900);
    color: white;
  }
  
  .dark-mode .card {
    background-color: var(--pet-neutral-800);
    border-color: var(--pet-neutral-700);
  }
  
  .dark-mode .form-input {
    background-color: var(--pet-neutral-800);
    border-color: var(--pet-neutral-600);
    color: white;
  }
}
