/* Modern Landing Page Styles for PROTeenus */
/* Optimized for the landing.html template with modern design patterns */

:root {
      /* Light Harmony Color Palette - Easy on Eyes */
      --color-primary: #6366f1;
      --color-secondary: #e97528;
      --color-bg: #ffffff;
      --color-card: #ffffff;
      --color-text-primary: #000000;
      --color-text-secondary: #374151;
      --color-hover: #4f46e5;
      --color-shadow: rgba(99, 102, 241, 0.1);

      /* Primary gradient using new colors */
      --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
      --secondary-gradient: linear-gradient(135deg, #059669 0%, #047857 100%);
      --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
      --hero-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);

      /* Legacy color mappings for compatibility */
      --primary-color: #1D4ED8;
      --primary-dark: #1D4ED8;
      --secondary-color: #FFFFFF;
      --accent-color: #F97316;
      --accent-blue: #2563EB;
      --success-color: #10b981;
      --warning-color: #f59e0b;
      --danger-color: #ef4444;

      /* High Contrast Text Colors */
      --text-primary: #111827;
      --text-secondary: #29487a;
      --text-muted: #2b2929;
      --text-on-dark: #ffffff;
      --text-on-primary: #ffffff;

      /* Neutral Colors */
      --white: #FFFFFF;
      --background: #F3F4F6;
      --gray-50: #f8fafc;
      --gray-100: #f1f5f9;
      --gray-200: #e2e8f0;
      --gray-300: #cbd5e1;
      --gray-400: #94a3b8;
      --gray-500: #64748b;
      --gray-600: #475569;
      --gray-700: #334155;
      --gray-800: #1e293b;
      --gray-900: #0f1724;

     /* Glass effects using new colors */
     --glass-bg: #FFFFFF;
     --glass-border: #e5e7eb;
     --glass-shadow: rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Border radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    /* Enhanced shadows with brand colors */
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 36, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 36, 0.1), 0 2px 4px -1px rgba(15, 23, 36, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 36, 0.1), 0 4px 6px -2px rgba(15, 23, 36, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 36, 0.1), 0 10px 10px -5px rgba(15, 23, 36, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 36, 0.25);
    --shadow-brand: 0 10px 25px -3px rgba(245, 115, 22, 0.2), 0 4px 6px -2px rgba(245, 115, 22, 0.1);
    --shadow-brand-lg: 0 20px 40px -8px rgba(245, 115, 22, 0.3), 0 8px 16px -4px rgba(245, 115, 22, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
      font-family: var(--font-primary);
      line-height: 1.6;
      color: var(--color-text-primary);
      background: var(--color-bg);
      min-height: 100vh;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
 }

/* Hero Section */
.hero-section {
     min-height: 100vh;
     display: flex;
     align-items: center;
     position: relative;
     background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
     overflow: hidden;
 }

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 4px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-on-dark);
}

.text-gradient {
    background: linear-gradient(45deg, #fbbf24, #f59e0b, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    color: var(--text-on-dark);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.hero-icon-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.hero-main-image {
     width: 350px;
     height: 350px;
     border-radius: 50%;
     object-fit: cover;
     border: 6px solid rgba(255, 255, 255, 0.5);
     animation: float 3s ease-in-out infinite;
     box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
 }

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    animation: float 4s ease-in-out infinite;
}

.floating-element-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-element-2 {
    bottom: 20%;
    left: 15%;
    animation-delay: 1s;
}

.floating-element-3 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

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

/* Section Styles */
.services-section,
.features-section,
.stats-section,
.contact-section,
.cta-section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
     font-size: clamp(2rem, 4vw, 2.5rem);
     font-weight: 700;
     color: var(--color-text-primary);
     margin-bottom: var(--spacing-md);
 }

 .section-subtitle {
     font-size: 1.1rem;
     color: var(--color-text-secondary);
     line-height: 1.7;
 }

/* Service Cards */
/* Modern Service Cards */
.service-card-modern {
    border-radius: 1rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    background: #1d4ed8 !important;
    padding: 1.5rem !important;
    text-align: center;
    height: 100%;
    min-height: 200px;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    position: relative;
    overflow: hidden;
}

.service-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    background: #1e40af;
    border-color: rgba(255, 255, 255, 0.2);
}

.service-card-modern .service-title {
    color: white;
}

.service-card-modern .service-description {
    color: rgba(255, 255, 255, 0.9);
}

.service-card-modern .card-title {
    color: white;
}

.service-card-modern .card-text {
    color: rgba(255, 255, 255, 0.9) !important;
}

.service-card-modern .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Color classes for service icons */
.bg-blue-500 { background-color: #3b82f6; }
.bg-green-500 { background-color: #10b981; }
.bg-orange-500 { background-color: #f97316; }
.bg-purple-500 { background-color: #8b5cf6; }
.bg-cyan-500 { background-color: #06b6d4; }
.bg-yellow-500 { background-color: #eab308; }

.icon-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.icon-circle i {
     font-size: 1.5rem;
     color: white;
 }

/* Specific icon colors for better contrast and visibility */
.icon-circle.bg-blue-500 i {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.icon-circle.bg-green-500 i {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.icon-circle.bg-orange-500 i {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.icon-circle.bg-purple-500 i {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.icon-circle.bg-cyan-500 i {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.icon-circle.bg-yellow-500 i {
    color: #1f2937;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.service-card-modern:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.service-card {
       background: var(--color-card);
       border: 1px solid var(--gray-200);
       border-radius: var(--radius-xl);
       padding: var(--spacing-xl);
       text-align: center;
       height: 100%;
       min-height: 300px;
       transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
       position: relative;
       overflow: hidden;
       box-shadow: 0 4px 6px -1px var(--color-shadow), 0 2px 4px -1px var(--color-shadow);
       backdrop-filter: blur(10px);
       -webkit-backdrop-filter: blur(10px);
       display: flex;
       flex-direction: column;
       justify-content: space-between;
  }

 .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(29, 78, 216, 0.02) 0%, rgba(37, 99, 235, 0.02) 100%);
      opacity: 0;
      transition: opacity 0.4s ease;
      pointer-events: none;
 }

 .service-card:hover {
       transform: translateY(-5px);
       box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
       border-color: var(--color-primary);
  }

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

.service-icon {
       width: 60px;
       height: 60px;
       background: #0d6efd !important;
       border: 2px solid #0d6efd !important;
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       font-size: 1.5rem;
       color: #ffffff !important;
       transition: all 0.3s ease;
       flex-shrink: 0;
  }

 .service-card:hover .service-icon {
      background: #0d6efd !important;
      border-color: #0d6efd !important;
      color: #ffffff !important;
      transform: scale(1.05);
 }

.service-title {
     font-size: 1.25rem;
     font-weight: 600;
     color: var(--color-primary);
     margin-bottom: var(--spacing-md);
 }

 .service-description {
     color: var(--color-text-secondary);
     margin-bottom: var(--spacing-lg);
     line-height: 1.7;
 }

/* Feature Cards */
.feature-card {
     background: var(--white);
     border: 1px solid var(--gray-200);
     border-radius: var(--radius-xl);
     padding: var(--spacing-xl);
     height: 100%;
     transition: all 0.3s ease;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
     border-color: var(--accent-color);
}

.feature-icon {
      width: 60px;
      height: 60px;
      margin: 0 auto var(--spacing-lg);
      background: #e3fd5a;
      border: 2px solid #e3fd5a;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      color: rgb(21, 87, 185);
 }

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.feature-description {
    color: #ffffff;
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    background: #272888;
    color: var(--white);
    padding: var(--spacing-xl) 0;
}

.stats-card {
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stats-card:hover {
     transform: translateY(-5px);
     background: rgba(255, 255, 255, 0.15);
 }

.stats-card h3 {
     color: #ffffff;
     font-weight: 700;
     margin-bottom: var(--spacing-xs);
 }

.stats-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.8;
}

.stats-number {
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: var(--spacing-xs);
     color: var(--white);
     text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 4px 20px rgba(0, 0, 0, 0.3);
 }

.stats-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact-card {
      background: var(--color-card);
      border: 1px solid var(--gray-200);
      border-radius: var(--radius-2xl);
      padding: var(--spacing-2xl);
      box-shadow: 0 4px 12px var(--color-shadow);
 }

.contact-title {
     font-size: 2rem;
     font-weight: 700;
     color: var(--color-text-primary);
     margin-bottom: var(--spacing-md);
 }

 .contact-subtitle {
     color: var(--color-text-secondary);
     margin-bottom: var(--spacing-xl);
     line-height: 1.7;
 }

.contact-form {
    max-width: none;
}

.form-label {
     font-weight: 600;
     color: var(--color-text-primary);
     margin-bottom: var(--spacing-xs);
     display: flex;
     align-items: center;
     gap: var(--spacing-xs);
 }

.form-control {
     border: 2px solid var(--gray-200);
     border-radius: var(--radius-lg);
     padding: 0.75rem 1rem;
     font-size: 1rem;
     transition: all 0.3s ease;
     background: var(--color-card);
 }

 .form-control:focus {
     border-color: var(--color-primary);
     box-shadow: 0 0 0 0.2rem rgba(29, 78, 216, 0.25);
     background: var(--color-card);
 }

/* CTA Section */
.cta-section {
      background: var(--color-card);
      color: var(--color-text-primary);
      text-align: center;
      padding: var(--spacing-2xl) 0;
 }

.cta-section .container {
      max-width: 1000px;
      margin: 0 auto;
 }

.cta-content {
      background: var(--color-card);
      border: 1px solid var(--gray-200);
      border-radius: var(--radius-2xl);
      padding: var(--spacing-2xl);
      box-shadow: 0 4px 12px var(--color-shadow);
      position: relative;
      overflow: hidden;
 }

.cta-content::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(29, 78, 216, 0.02) 0%, rgba(37, 99, 235, 0.02) 100%);
      opacity: 0;
      transition: opacity 0.4s ease;
      pointer-events: none;
 }

.cta-content:hover::before {
      opacity: 1;
 }

.cta-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Modern Buttons */
.btn {
     border: none;
     border-radius: var(--radius-lg);
     font-weight: 600;
     padding: 0.75rem 2rem;
     font-size: 1rem;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     position: relative;
     overflow: hidden;
     transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
     text-decoration: none;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: var(--spacing-xs);
     min-height: 48px;
     font-family: var(--font-primary);
     cursor: pointer;
     user-select: none;
     -webkit-user-select: none;
}

.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 0.5s;
}

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

.btn-primary {
      background: var(--color-primary);
      color: var(--color-card);
      box-shadow: 0 2px 8px 0 var(--color-shadow);
      border: none;
      position: relative;
 }

 .btn-primary::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
      border-radius: inherit;
      opacity: 0;
      transition: opacity 0.3s ease;
 }

 .btn-primary:hover {
      transform: translateY(-2px) scale(1.01);
      box-shadow: 0 4px 12px 0 var(--color-shadow);
      color: var(--color-card);
      background: var(--color-hover);
 }

 .btn-primary:hover::after {
      opacity: 1;
 }

.btn-outline-primary {
     background: rgb(13, 110, 253);
     border: 2px solid var(--primary-color);
     color: var(--text-primary);
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
 }

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
     .hero-buttons {
         flex-direction: column;
         align-items: center;
         gap: var(--spacing-sm);
     }

     .hero-buttons .btn {
         width: 100%;
         max-width: 320px;
     }

     .service-card,
     .feature-card {
         margin-bottom: var(--spacing-lg);
         padding: var(--spacing-lg);
     }

     .contact-card {
         padding: var(--spacing-lg);
         margin: var(--spacing-sm);
     }

     .cta-buttons {
         flex-direction: column;
         align-items: center;
         gap: var(--spacing-sm);
     }

     .cta-buttons .btn {
         width: 100%;
         max-width: 320px;
     }

     .section-header {
         padding: 0 var(--spacing-sm);
     }

     .stats-section .row {
         gap: var(--spacing-sm) 0;
     }

     .stats-card {
         margin-bottom: var(--spacing-md);
     }
}

@media (max-width: 576px) {
     .hero-section {
         padding: var(--spacing-lg) 0;
         text-align: center;
         min-height: 85vh;
     }

     .hero-visual {
         height: 200px;
         margin-top: var(--spacing-md);
     }

     .hero-main-image {
         width: 220px;
         height: 220px;
     }

     .floating-element {
         font-size: 1rem;
         display: none; /* Hide floating elements on very small screens */
     }

     .hero-icon-container {
         width: 120px;
         height: 120px;
     }

     .section-title {
         font-size: 1.75rem;
     }

     .section-subtitle {
         font-size: 1rem;
         padding: 0 var(--spacing-xs);
     }

     .service-card,
     .feature-card {
         padding: var(--spacing-md);
         margin-bottom: var(--spacing-md);
     }

     .contact-card {
         padding: var(--spacing-md);
         border-radius: var(--radius-md);
     }

     /* Improve form accessibility on mobile */
     .form-control {
         font-size: 16px; /* Prevents zoom on iOS */
         min-height: 48px; /* Better touch targets */
     }

     /* Better touch targets */
     .btn {
         min-height: 48px;
         padding: 0.875rem 1.5rem;
         font-size: 1rem;
     }

     .btn-sm {
         min-height: 44px;
         padding: 0.625rem 1rem;
         font-size: 0.875rem;
     }

     /* Improve table responsiveness */
     .table-responsive {
         font-size: 0.875rem;
     }

     .stats-card {
         padding: var(--spacing-md);
         margin-bottom: var(--spacing-sm);
     }

     .stats-number {
         font-size: 2rem;
     }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .service-card,
    .feature-card {
        padding: var(--spacing-lg);
    }

    .contact-card {
        padding: var(--spacing-lg);
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
     * {
         animation-duration: 0.01ms !important;
         animation-iteration-count: 1 !important;
         transition-duration: 0.01ms !important;
     }

     .floating-element {
         animation: none !important;
     }
}

/* Enhanced focus styles for accessibility */
.btn:focus,
.form-control:focus,
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
      outline: 3px solid var(--color-primary);
      outline-offset: 2px;
      box-shadow: 0 0 0 1px var(--color-card);
 }

/* Enhanced accessibility for keyboard navigation */
.btn:focus-visible,
.form-control:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
      outline: 3px solid var(--color-primary);
      outline-offset: 3px;
      box-shadow: 0 0 0 1px var(--color-card);
 }

/* High contrast mode improvements */
@media (prefers-contrast: high) {
     :root {
         --primary-color: #000000;
         --text-primary: #000000;
         --text-secondary: #000000;
         --gray-200: #000000;
         --gray-300: #000000;
     }

     .btn {
         border-width: 2px;
     }

     .service-card,
     .feature-card,
     .contact-card {
         border-width: 2px;
     }
}

/* Better support for screen readers */
.visually-hidden {
     position: absolute !important;
     width: 1px !important;
     height: 1px !important;
     padding: 0 !important;
     margin: -1px !important;
     overflow: hidden !important;
     clip: rect(0, 0, 0, 0) !important;
     white-space: nowrap !important;
     border: 0 !important;
}

/* Skip to content link improvements */
.skip-to-content {
      position: absolute;
      top: -40px;
      left: 6px;
      background: var(--color-primary);
      color: var(--color-card);
      padding: 8px 16px;
      text-decoration: none;
      border-radius: var(--radius-sm);
      z-index: 9999;
      font-weight: 600;
      transition: top 0.3s ease;
 }

.skip-to-content:focus {
     top: 6px;
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
     .btn,
     button,
     a[role="button"] {
         min-height: 48px;
         min-width: 48px;
         display: inline-flex;
         align-items: center;
         justify-content: center;
     }

     .form-control {
         min-height: 48px;
     }
}

/* Skip to main content link */
.skip-to-main {
     position: absolute;
     top: -40px;
     left: 6px;
     background: var(--color-primary);
     color: var(--color-card);
     padding: 8px;
     text-decoration: none;
     border-radius: var(--radius-sm);
     z-index: 1000;
     transition: top 0.3s;
     font-weight: 600;
 }

.skip-to-main:focus {
    top: 6px;
}

/* Screen reader only text */
.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;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --glass-bg: rgba(255, 255, 255, 1);
        --glass-border: rgba(0, 0, 0, 0.2);
    }

    .service-card,
    .feature-card,
    .contact-card {
        border: 2px solid var(--gray-300);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --glass-bg: rgba(15, 23, 42, 0.98);
        --glass-border: rgba(71, 85, 105, 0.2);
        --glass-shadow: rgba(0, 0, 0, 0.4);
        --text-primary: #f1f5f9;
        --text-secondary: #1d3c61;
        --text-muted: #37373f;
    }

    body {
        background: linear-gradient(135deg, #8ea8e7 0%, #1b3257 100%);
        color: var(--text-primary);
    }

    .service-card,
    .feature-card,
    .contact-card {
        background: var(--glass-bg);
        color: var(--text-primary);
        border-color: var(--glass-border);
    }

    .section-title {
        color: var(--text-primary);
    }

    .section-subtitle {
        color: #a19e9e;
    }

    .service-title {
        color: var(--text-primary);
    }

    .service-description {
        color: var(--text-secondary);
    }

    .feature-title {
        color: var(--text-primary);
    }

    .feature-description {
        color: #a19e9e;
    }

    .contact-title {
        color: var(--text-primary);
    }

    .contact-subtitle {
        color: #a19e9e;
    }

    .form-control {
        background: rgba(30, 41, 59, 0.9);
        border-color: rgba(71, 85, 105, 0.4);
        color: var(--text-primary);
    }

    .form-control:focus {
        background: rgba(30, 41, 59, 0.9);
        color: var(--text-primary);
        border-color: var(--primary-color);
    }

    .form-label {
        color: #a19e9e;
    }
}

/* Modern Utility Classes */
.text-gradient {
      background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
 }

.glass-effect {
     background: rgba(255, 255, 255, 0.95);
     backdrop-filter: blur(20px);
     -webkit-backdrop-filter: blur(20px);
     border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-shadow {
     box-shadow: var(--shadow-xl);
}

.brand-glow {
     box-shadow: var(--shadow-brand);
}

/* Enhanced Form Controls */
.form-control {
      border: 2px solid var(--gray-200);
      border-radius: var(--radius-lg);
      padding: 0.75rem 1rem;
      font-size: 1rem;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      background: var(--white) !important;
      color: #1d3c61 !important;
      font-family: var(--font-primary);
 }

.form-control:focus {
      border-color: var(--color-primary);
      box-shadow: 0 0 0 0.2rem rgba(29, 78, 216, 0.15);
      background: var(--color-card) !important;
      color: #1d3c61 !important;
      transform: translateY(-1px);
 }

.form-control:hover {
      border-color: var(--color-primary);
 }

/* Loading Animation */
@keyframes shimmer {
     0% { background-position: -200px 0; }
     100% { background-position: calc(200px + 100%) 0; }
}

.loading-shimmer {
     background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
     background-size: 200px 100%;
     animation: shimmer 1.5s infinite;
}

/* Modern Card Hover Effects */
.card-modern {
     transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     transform-origin: center;
}

.card-modern:hover {
     transform: translateY(-4px) scale(1.02);
}

/* Print styles */
@media print {
     .hero-section,
     .cta-section,
     .stats-section {
         background: none !important;
         color: black !important;
     }

     .btn {
         display: none;
     }

     .card {
         box-shadow: none !important;
         border: 1px solid #ccc !important;
     }
}
/* Enhanced Typography */

/* Accessibility improvements for dashboard elements */
.card .text-white,
.card.text-white {
    color: #ffffff !important;
}

/* Ensure proper contrast for text on colored backgrounds */
.bg-primary, .bg-primary-light {
    color: #ffffff;
}

.bg-primary a, .bg-primary-light a {
    color: #ffffff;
    opacity: 0.9;
}

.bg-primary a:hover, .bg-primary-light a:hover {
    opacity: 1;
}

/* Ensure proper contrast for text-muted on various backgrounds */
.text-muted {
    color: #070707 !important;
}

/* Accessibility improvements for contrast ratios */
.card.bg-primary-light .card-body *,
.card.bg-gradient-primary .card-body * {
    color: #ffffff;
}

.card.bg-primary-light .opacity-75,
.card.bg-gradient-primary .opacity-75 {
    opacity: 0.85 !important;
}

/* Improve contrast for dashboard statistics */
.stat-card h4 {
    color: #000000;
}

.stat-card small.text-muted {
    color: var(--text-secondary) !important;
}

/* Ensure good contrast for badge elements */
.badge {
    color: #ffffff;
}
