/* Custom styles for New Horizons Womens Cancer Center */

/* Typography */
.font-playfair {
  font-family: 'Playfair Display', serif;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

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

/* Gradient backgrounds */
.gradient-hero {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #1e293b 100%);
}

.gradient-section {
  background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);
}

/* Card hover effects */
.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Button styles */
.btn-primary {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.4);
}

/* Navigation */
.nav-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

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

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

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero overlay */
.hero-overlay {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.85) 0%, rgba(15, 118, 110, 0.75) 50%, rgba(30, 41, 59, 0.7) 100%);
}

/* Section dividers */
.section-divider {
  background: linear-gradient(90deg, transparent 0%, #5eead4 50%, transparent 100%);
  height: 1px;
}

/* Focus styles for accessibility */
input:focus,
textarea:focus,
button:focus {
  outline: none;
}

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

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

::-webkit-scrollbar-thumb {
  background: #0d9488;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0f766e;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(13, 148, 136, 0.9) 0%, rgba(15, 118, 110, 0.8) 100%);
  }
}
