/* Custom Styles for Paws & Care Veterinary Hospital */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --primary-color: #0d9488;
  --primary-dark: #0f766e;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0d9488;
}

/* Glassmorphism & Depth */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Subtle Pulse for Emergency */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.emergency-pulse {
  animation: pulse-ring 2s infinite;
}

/* Float animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Accordion Transition */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer.open {
  max-height: 500px;
  transition: max-height 0.4s ease-in-out;
}

/* Custom Modal Animation */
.modal-backdrop {
  transition: opacity 0.25s ease-out;
}

.modal-box {
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.modal-hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-hidden .modal-box {
  transform: scale(0.95) translateY(10px);
}

/* Tab Active underline */
.tab-btn.active {
  color: #0d9488 !important;
  background-color: #ccfbf1 !important;
  font-weight: 700 !important;
}

/* Toast animation */
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast-slide-in {
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
