/* Accessibility and Responsive Improvements */

/* Focus states for better accessibility */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-dark);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Improved contrast for better readability */
.c1 {
  color: #1e40af !important;
  font-weight: 600;
}

.c2 {
  color: #1e40af !important;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  margin-bottom: 18px;
}

/* Better mobile navigation */
@media (max-width: 768px) {
  .navbar-toggler {
    border: 2px solid var(--primary-orange);
    padding: 8px 12px;
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    margin-top: 8px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}

/* Improved banner text readability */
#banners h1, #banner h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-size: clamp(24px, 6vw, 48px);
}

#banners p, #banner p {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  font-size: clamp(16px, 3vw, 20px);
}

/* Better service icons layout */
.customer-logos.slider {
  padding: 40px 0;
}

.customer-logos .slide {
  text-align: center;
  padding: 20px;
}

.customer-logos .slide img {
  max-width: 80px;
  height: auto;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.customer-logos .slide img:hover {
  transform: scale(1.1);
}

.p-icon {
  font-size: 14px !important;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 8px;
}

/* Improved section backgrounds */
.sec33.ones {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  position: relative;
}

.sec33.ones::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../../images/bg-1.png') no-repeat bottom;
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.sec33.ones .containers {
  position: relative;
  z-index: 1;
}

/* Better form styling */
input, textarea, select {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Improved loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Better error states */
.error {
  border-color: var(--accent-error) !important;
  background-color: rgba(239, 68, 68, 0.05);
}

/* Success states */
.success {
  border-color: var(--accent-success) !important;
  background-color: rgba(16, 185, 129, 0.05);
}

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

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

/* Better print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .c1, .c2 {
    color: #000000 !important;
  }
  
  .button2 {
    background-color: #000000 !important;
    border: 2px solid #000000 !important;
  }
}

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