/* Mobile First Responsive Design */

/* Mobile devices (up to 576px) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Hero section */
  #hero {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  /* Section padding */
  section {
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  /* Cards */
  .service-card,
  .feature-item,
  .price-card,
  .team-member,
  .review-card,
  .case-study-card,
  .process-step,
  .timeline-item,
  .career-position,
  .core-info-item,
  .blog-card,
  .faq-card {
    margin-bottom: 1rem;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  /* Contact form */
  .contact-form,
  .contact-info {
    margin-bottom: 2rem;
  }
  
  /* Team photos */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Price cards */
  .price-card.featured {
    transform: none;
    margin-bottom: 1rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  #hero {
    min-height: 85vh;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  section {
    padding: 3rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  #hero {
    min-height: 90vh;
  }
  
  .price-card.featured {
    transform: scale(1.02);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Hero section adjustments */
  #hero {
    min-height: 100vh;
  }
  
  /* Multi-column layouts */
  .service-card,
  .feature-item,
  .price-card,
  .team-member,
  .review-card,
  .case-study-card,
  .process-step,
  .career-position,
  .core-info-item,
  .blog-card {
    margin-bottom: 2rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1140px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  /* Optimize for retina displays */
  .service-card,
  .feature-item,
  .price-card,
  .team-member {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
}

/* Print styles */
@media print {
  #hero::before {
    display: none;
  }
  
  .service-card,
  .feature-item,
  .price-card,
  .team-member,
  .review-card,
  .case-study-card,
  .process-step,
  .timeline-item,
  .career-position,
  .core-info-item,
  .blog-card,
  .faq-card {
    box-shadow: none;
    border: 1px solid #dee2e6;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  #hero::before {
    animation: none;
  }
  
  .service-card:hover,
  .feature-item:hover,
  .price-card:hover {
    transform: none;
  }
}

/* Dark mode support */

/* Landscape orientation */
@media (orientation: landscape) and (max-height: 600px) {
  #hero {
    min-height: 100vh;
  }
}

/* Portrait orientation */
@media (orientation: portrait) {
  .team-photo {
    margin-bottom: 1rem;
  }
}