/* HumanIA School - Custom Styles */
:root {
  --color-primary: #1e1b4b; /* Indigo 950 */
  --color-primary-light: #4338ca; /* Indigo 700 */
  --color-secondary: #059669; /* Emerald 600 */
  --color-secondary-light: #10b981; /* Emerald 500 */
  --color-accent: #d97706; /* Amber 600 */
  --color-accent-light: #f59e0b; /* Amber 500 */
  --color-bg-warm: #f8fafc;
  --color-card-bg: #ffffff;
  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-border: #e2e8f0;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  background-color: var(--color-bg-warm);
  color: var(--color-text-main);
  overflow-x: hidden;
}

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

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

/* Gradient accents */
.gradient-text-primary {
  background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 60%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #047857 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-gradient-bg {
  background: radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 85% 75%, rgba(16, 185, 129, 0.14) 0%, transparent 45%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* Badge styles */
.badge-school {
  background-color: #e0e7ff;
  color: #3730a3;
}

.badge-volunteer {
  background-color: #d1fae5;
  color: #065f46;
}

.badge-ethical {
  background-color: #fef3c7;
  color: #92400e;
}

/* Interactive transitions */
.hover-lift {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -10px rgba(15, 23, 42, 0.1);
}

/* Pulse indicator */
@keyframes subtle-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.05); }
}

.pulse-dot {
  animation: subtle-pulse 2s infinite ease-in-out;
}

/* Custom modal backdrop */
.modal-backdrop {
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

/* Accessible focus ring */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}
