/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* CSS Variables for consistent theming */
:root {
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  
  --secondary-50: #f8fafc;
  --secondary-100: #f1f5f9;
  --secondary-600: #475569;
  --secondary-700: #334155;
  --secondary-900: #0f172a;
  
  --success-500: #10b981;
  --success-600: #059669;
  
  --warning-500: #f59e0b;
  --warning-600: #d97706;
  
  --error-500: #ef4444;
  --error-600: #dc2626;
  
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Utility classes */
.min-h-screen { min-height: 100vh; }
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* Flexbox utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-shrink-0 { flex-shrink: 0; }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

/* Responsive grid */
@media (min-width: 768px) {
  .md\\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\\:flex-row { flex-direction: row; }
  .md\\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\\:block { display: block; }
  .md\\:mb-0 { margin-bottom: 0; }
}

@media (min-width: 1024px) {
  .lg\\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* Spacing utilities */
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-10 { margin-left: 2.5rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mt-12 { margin-top: 3rem; }

/* Typography */
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* Colors */
.text-white { color: rgb(255 255 255); }
.text-gray-400 { color: rgb(156 163 175); }
.text-gray-600 { color: rgb(75 85 99); }
.text-gray-700 { color: rgb(55 65 81); }
.text-gray-900 { color: rgb(17 24 39); }
.text-blue-100 { color: rgb(219 234 254); }
.text-blue-600 { color: rgb(37 99 235); }
.text-green-600 { color: rgb(22 163 74); }
.text-purple-600 { color: rgb(147 51 234); }

/* Background colors */
.bg-white { background-color: rgb(255 255 255); }
.bg-gray-50 { background-color: rgb(249 250 251); }
.bg-gray-900 { background-color: rgb(17 24 39); }
.bg-blue-50 { background-color: rgb(239 246 255); }
.bg-blue-500 { background-color: rgb(59 130 246); }
.bg-green-50 { background-color: rgb(236 253 243); }
.bg-green-500 { background-color: rgb(34 197 94); }
.bg-purple-50 { background-color: rgb(250 245 255); }
.bg-purple-500 { background-color: rgb(168 85 247); }
.bg-orange-50 { background-color: rgb(255 247 237); }
.bg-orange-500 { background-color: rgb(249 115 22); }
.bg-teal-50 { background-color: rgb(240 253 250); }
.bg-teal-500 { background-color: rgb(20 184 166); }
.bg-rose-50 { background-color: rgb(255 241 242); }
.bg-rose-500 { background-color: rgb(244 63 94); }
.bg-pink-50 { background-color: rgb(253 242 248); }
.bg-indigo-50 { background-color: rgb(238 242 255); }
.bg-emerald-50 { background-color: rgb(236 253 245); }
.bg-cyan-50 { background-color: rgb(236 254 255); }

/* Gradient backgrounds */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-blue-50 { --tw-gradient-from: rgb(239 246 255); --tw-gradient-to: rgb(239 246 255 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-indigo-100 { --tw-gradient-to: rgb(224 231 255); }
.from-blue-600 { --tw-gradient-from: rgb(37 99 235); --tw-gradient-to: rgb(37 99 235 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-indigo-600 { --tw-gradient-to: rgb(79 70 229); }
.from-blue-700 { --tw-gradient-from: rgb(29 78 216); --tw-gradient-to: rgb(29 78 216 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-indigo-700 { --tw-gradient-to: rgb(67 56 202); }
.from-black\/50 { --tw-gradient-from: rgb(0 0 0 / 0.5); --tw-gradient-to: rgb(0 0 0 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-transparent { --tw-gradient-to: transparent; }

/* Text gradient */
.text-transparent { color: transparent; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

/* Sizing */
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-full { width: 100%; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-64 { height: 16rem; }
.h-full { height: 100%; }

/* Responsive heights */
@media (min-width: 768px) {
  .md\\:h-80 { height: 20rem; }
}

/* Border radius */
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-2xl { border-radius: 1rem; }

/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-transparent { border-color: transparent; }
.border-white { border-color: rgb(255 255 255); }
.border-gray-300 { border-color: rgb(209 213 219); }
.border-blue-100 { border-color: rgb(219 234 254); }
.border-green-100 { border-color: rgb(220 252 231); }
.border-purple-100 { border-color: rgb(243 232 255); }
.border-orange-100 { border-color: rgb(254 215 170); }
.border-teal-100 { border-color: rgb(204 251 241); }
.border-rose-100 { border-color: rgb(255 228 230); }

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Object fit */
.object-cover { object-fit: cover; }

/* Opacity */
.opacity-10 { opacity: 0.1; }
.opacity-60 { opacity: 0.6; }
.opacity-90 { opacity: 0.9; }

/* Display utilities */
.inline-flex { display: inline-flex; }
.hidden { display: none; }

/* Responsive display */
@media (min-width: 640px) {
  .sm\\:flex-row { flex-direction: row; }
  .sm\\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* Transitions and transforms */
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }

/* Hover effects */
.hover\\:text-gray-900:hover { color: rgb(17 24 39); }
.hover\\:bg-gray-50:hover { background-color: rgb(249 250 251); }
.hover\\:bg-blue-50:hover { background-color: rgb(239 246 255); }
.hover\\:bg-white:hover { background-color: rgb(255 255 255); }
.hover\\:text-blue-600:hover { color: rgb(37 99 235); }
.hover\\:from-blue-700:hover { --tw-gradient-from: rgb(29 78 216); --tw-gradient-to: rgb(29 78 216 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.hover\\:to-indigo-700:hover { --tw-gradient-to: rgb(67 56 202); }
.hover\\:shadow-lg:hover { box-shadow: var(--shadow-lg); }
.hover\\:scale-105:hover { --tw-scale-x: 1.05; --tw-scale-y: 1.05; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }

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

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out;
}

/* Custom components */
.feature-card {
  transition: all 0.3s ease;
  animation: fadeIn 0.6s ease-out;
}

.feature-card:hover {
  transform: translateY(-4px);
}

/* Smooth scrolling for anchor links */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Focus styles for accessibility */
a:focus, button:focus {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
}

/* Donate button styles */
.donate {
  text-decoration: none;
}

.donate:hover {
  text-decoration: none;
}

/* Additional color utilities for sponsor section */
.text-black { color: rgb(0 0 0); }
.bg-yellow-500 { background-color: rgb(234 179 8); }
.bg-yellow-600 { background-color: rgb(202 138 4); }
.bg-blue-600 { background-color: rgb(37 99 235); }
.bg-blue-700 { background-color: rgb(29 78 216); }
.hover\\:bg-yellow-600:hover { background-color: rgb(202 138 4); }
.hover\\:bg-blue-700:hover { background-color: rgb(29 78 216); }
.border-gray-700 { border-color: rgb(55 65 81); }
.border-t { border-top-width: 1px; }
.pt-6 { padding-top: 1.5rem; }
.h-10 { height: 2.5rem; }
.gap-3 { gap: 0.75rem; }
.cursor-not-allowed { cursor: not-allowed; }
.opacity-60 { opacity: 0.6; }
.hover\\:opacity-80:hover { opacity: 0.8; }