/* ...existing code... */

/* Mobile Optimization Styles */

/* Improve touch targets for mobile */
.mobile-menu-btn {
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Improve button spacing on mobile */
@media (max-width: 768px) {
  button, .btn {
    padding: 12px 24px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  input, textarea, select {
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  /* Improve text readability */
  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  
  /* Better image handling */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Improve table responsiveness */
  table {
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }
  
  /* Fix hero section on very small screens */
  .hero-section {
    min-height: 60vh;
  }
  
  /* Improve card layouts on mobile */
  .card-grid > div {
    min-height: auto;
  }
  
  /* Better spacing for mobile */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Contact page specific styles */
.sticky {
  position: -webkit-sticky;
  position: sticky;
}

@media (max-width: 1024px) {
  .sticky {
    position: relative;
    top: 0 !important;
  }
}

/* Smooth scrolling for all browsers */
html {
  scroll-behavior: smooth;
}

/* Better focus states for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 2px solid #00aeef;
  outline-offset: 2px;
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Print styles */
@media print {
  .mobile-menu,
  .mobile-menu-btn,
  header {
    display: none !important;
  }
  
  main {
    margin-top: 0 !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .text-gray-600 {
    color: #000 !important;
  }
  
  .bg-gray-50 {
    background-color: #fff !important;
  }
}

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

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
  /* Add dark mode styles here if needed */
}
