/* Main styles for 724 Care website */

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #1E3A8A;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1a2f70;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Chat window animations */
#chatWindow {
  transition: all 0.3s ease;
}

#chatWindow.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

#chatWindow:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
}

/* Chat toggle button pulse effect */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

#chatToggle {
  animation: pulse 2s infinite;
}

/* Mobile menu */
.mobile-menu {
  transition: transform 0.3s ease;
  transform: translateX(-100%);
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Button hover effects */
.btn-hover-effect {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hover-effect:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Card hover effects */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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