/* We Care for Children CDC — Custom Styles */

/* Smooth scrolling offset for fixed navbar */
section[id] {
  scroll-margin-top: 80px;
}

/* Geometric shape animations */
@media (prefers-reduced-motion: no-preference) {
  .geo-circle, .geo-square {
    animation: float 6s ease-in-out infinite;
  }
  .geo-circle:nth-child(even), .geo-square:nth-child(even) {
    animation-delay: -3s;
    animation-duration: 8s;
  }
  .geo-square {
    animation-name: rotate-slow;
  }
}

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

@keyframes rotate-slow {
  0%, 100% { transform: rotate(12deg) translateY(0px); }
  50% { transform: rotate(20deg) translateY(-10px); }
}

/* Selection color */
::selection {
  background: #8ec46a;
  color: #1a350c;
}

/* Focus visible for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #4a8a24;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Print styles */
@media print {
  .geo-circle, .geo-square { display: none; }
  #navbar { position: static; }
  .btn-primary { border: 2px solid #1a350c; }
}
