/* Light of Life Family Church - Premium Modern CSS */

/* CSS Custom Properties for Design System */
:root {
  /* Primary Colors - Modern Blue Palette */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;
  
  /* Secondary Colors - Elegant Purple */
  --secondary-50: #faf5ff;
  --secondary-100: #f3e8ff;
  --secondary-200: #e9d5ff;
  --secondary-300: #d8b4fe;
  --secondary-400: #c084fc;
  --secondary-500: #a855f7;
  --secondary-600: #9333ea;
  --secondary-700: #7c3aed;
  --secondary-800: #6b21a8;
  --secondary-900: #581c87;
  
  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Success, Warning, Error */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #06b6d4;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px 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);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --gray-50: #0f172a;
  --gray-100: #1e293b;
  --gray-200: #334155;
  --gray-300: #475569;
  --gray-400: #64748b;
  --gray-500: #94a3b8;
  --gray-600: #cbd5e1;
  --gray-700: #e2e8f0;
  --gray-800: #f1f5f9;
  --gray-900: #f8fafc;
  
  --primary-50: #1e3a8a;
  --primary-100: #1e40af;
  --primary-200: #1d4ed8;
  --primary-300: #2563eb;
  --primary-400: #3b82f6;
  --primary-500: #60a5fa;
  --primary-600: #93c5fd;
  --primary-700: #bfdbfe;
  --primary-800: #dbeafe;
  --primary-900: #eff6ff;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.6;
}

body {
    font-family: var(--font-primary);
  font-size: 1rem;
    line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
  font-weight: 700;
    line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); }

p {
  margin-bottom: var(--space-4);
  color: var(--gray-600);
  line-height: 1.7;
}

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-700);
}

/* Premium Navigation */
.navbar {
  position: fixed;
  top: 0;
        left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  padding: var(--space-4) 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3) 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: all var(--transition-fast);
}

.navbar-brand:hover {
  transform: translateY(-1px);
  color: var(--primary-600);
}

.church-logo {
  height: 2.5rem;
    width: auto;
    object-fit: contain;
  transition: all var(--transition-normal);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.church-logo:hover {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

/* Premium Navigation Links */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-link {
  position: relative;
  padding: var(--space-3) var(--space-4);
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
  background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--primary-600);
  background: rgba(59, 130, 246, 0.05);
  transform: translateY(-1px);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link.active {
  color: var(--primary-600);
  background: rgba(59, 130, 246, 0.1);
}

.nav-link.active::before {
  width: 80%;
}

/* Premium Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 16rem;
    background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  padding: var(--space-2);
  margin-top: var(--space-2);
    opacity: 0;
    visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all var(--transition-normal);
  z-index: var(--z-dropdown);
}

.dropdown:hover .dropdown-menu,
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-item {
    display: flex;
    align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  color: var(--gray-700);
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left var(--transition-slow);
}

.dropdown-item:hover {
  background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    color: white;
  transform: translateX(4px);
}

.dropdown-item:hover::before {
  left: 100%;
}

.dropdown-item i {
  font-size: 1.125rem;
  width: 1.25rem;
    text-align: center;
}

/* Premium Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.9) 0%, 
    rgba(168, 85, 247, 0.8) 50%, 
    rgba(16, 185, 129, 0.9) 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

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

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, #ffffff, #f0f9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: var(--space-8);
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--radius-xl);
        border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
    position: relative;
  overflow: hidden;
  text-decoration: none;
  min-height: 3rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  color: white;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: white;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1.125rem;
  min-height: 3.5rem;
}

/* Premium Cards */
.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
    overflow: hidden;
  transition: all var(--transition-normal);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--secondary-500), var(--success));
    opacity: 0;
  transition: opacity var(--transition-normal);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.card:hover::before {
    opacity: 1;
}

.card-header {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  color: white;
  padding: var(--space-6);
  border: none;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left var(--transition-slow);
}

.card:hover .card-header::before {
    left: 100%;
}

.card-body {
  padding: var(--space-6);
}

.card-footer {
  background: rgba(248, 250, 252, 0.5);
  padding: var(--space-6);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Premium Service Time Cards */
.service-time-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-time-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.service-time-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.service-time-card:hover::before {
  transform: scaleX(1);
}

.service-time-card h5 {
  color: var(--primary-600);
    font-weight: 700;
  margin-bottom: var(--space-3);
}

/* Premium Forms */
.form-control {
  width: 100%;
  padding: var(--space-4);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: white;
}

.form-label {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-2);
  display: block;
}

/* Premium Footer */
footer {
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
  color: var(--gray-300);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-500), transparent);
}

footer h5 {
  color: var(--primary-400);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

footer a {
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

footer a:hover {
  color: var(--primary-400);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-full);
  color: var(--primary-400);
  transition: all var(--transition-fast);
  margin-right: var(--space-3);
}

.social-links a:hover {
  background: var(--primary-500);
  color: white;
  transform: translateY(-2px);
}

/* Premium Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-fixed);
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.dark-mode-toggle i {
  font-size: 1.25rem;
  color: var(--gray-700);
  transition: all var(--transition-fast);
}

.dark-mode-toggle:hover i {
  color: var(--primary-600);
  transform: rotate(180deg);
}

/* Premium Loading Animation */
.loading {
    display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-full);
  border-top-color: var(--primary-500);
  animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Premium Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
  padding: var(--space-6);
}

.lightbox.show {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
    position: relative;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
  from { transform: scale(0.9); }
  to { transform: scale(1); }
}

.lightbox-close {
    position: absolute;
  top: -3rem;
    right: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
    cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1.25rem;
  color: var(--gray-700);
}

.lightbox-close:hover {
  background: white;
  transform: scale(1.1);
}

/* Premium Search Results */
.search-results {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}

.search-result-item {
  padding: var(--space-4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
  border-radius: var(--radius-lg);
}

.search-result-item:hover {
  background: rgba(59, 130, 246, 0.05);
  transform: translateX(4px);
}

.search-result-item:last-child {
    border-bottom: none;
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

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

/* Premium Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: var(--space-3) 0;
  }
  
  .navbar-nav {
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    margin-top: var(--space-4);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-link {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    width: 100%;
    justify-content: flex-start;
  }
  
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: rgba(59, 130, 246, 0.05);
    border: none;
    margin: 0;
    padding: 0;
  }
  
  .dropdown-item {
    padding: var(--space-3) var(--space-4);
    border-radius: 0;
    }
    
    .hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .card {
    margin-bottom: var(--space-6);
    }
    
    .service-time-card {
    padding: var(--space-6);
    margin-bottom: var(--space-4);
  }
  
  .dark-mode-toggle {
    top: var(--space-4);
    right: var(--space-4);
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero-content p {
    font-size: 1.125rem;
    }
    
    .card-body {
    padding: var(--space-4);
    }
    
    .card-header {
    padding: var(--space-4);
    }
    
    .card-footer {
    padding: var(--space-4);
  }
}

/* Premium Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-contrast: high) {
  :root {
    --primary-500: #1e40af;
    --primary-600: #1e3a8a;
    --gray-700: #000000;
    --gray-800: #000000;
  }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print styles */
@media print {
  .navbar,
  .dark-mode-toggle,
  .hero-section,
  footer,
  .btn {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    color: black;
  }
  
  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}