/* Exact Memorial Hospitals Group Oncology Portal Styling */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
  --color-primary: #003a70;      /* Memorial Deep Navy Blue */
  --color-secondary: #009688;    /* Memorial Healing Teal/Green */
  --color-accent: #f05023;       /* Memorial Accent Red-Orange (for main CTAs) */
  --color-bg-light: #f8fafc;
  --color-text-dark: #1e293b;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  scroll-behavior: smooth;
}

h1, h2, h3, .font-serif {
  font-family: 'Playfair Display', serif;
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Glassmorphism Navigation */
.glass-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Standard hover card styling */
.hover-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.hover-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 150, 136, 0.2);
  box-shadow: 0 15px 30px -10px rgba(0, 58, 112, 0.1);
}

/* Intersection Observer animations */
.reveal-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.active {
  opacity: 1;
  transform: translateY(0);
}

/* Seamless infinite scrolling ticker */
@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

