/* Responsive CSS - Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Hero section */
  #hero {
    min-height: 70vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  /* Cards spacing */
  .service-card,
  .price-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card {
    margin-bottom: 1.5rem;
  }
  
  /* Team photos */
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  /* Process numbers */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Feature icons */
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  /* Gallery items */
  .gallery-item img {
    height: 200px;
  }
  
  /* Form adjustments */
  .contact-form,
  .contact-info {
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero section */
  #hero {
    min-height: 80vh;
  }
  
  /* Cards in rows */
  .service-card,
  .price-card,
  .review-card {
    margin-bottom: 2rem;
  }
  
  /* Team layout */
  .team-member {
    margin-bottom: 2rem;
  }
  
  /* Gallery grid */
  .gallery-item {
    margin-bottom: 1rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section */
  #hero {
    min-height: 90vh;
  }
  
  /* Services grid */
  #services .col-md-4 {
    margin-bottom: 2rem;
  }
  
  /* Price plan cards */
  .price-card {
    margin-bottom: 2rem;
  }
  
  /* Team grid */
  .team-member {
    margin-bottom: 2rem;
  }
  
  /* Process steps */
  .process-step {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Full height hero */
  #hero {
    min-height: 100vh;
  }
  
  /* Services layout */
  #services .row {
    margin-bottom: 2rem;
  }
  
  /* Team layout adjustments */
  .team-member {
    margin-bottom: 1rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Container max-width adjustments */
  .container {
    max-width: 1140px;
  }
  
  /* Enhanced spacing for large screens */
  .section-padding {
    padding: 6rem 0;
  }
  
  /* Larger cards on desktop */
  .service-card,
  .price-card,
  .case-card {
    padding: 2.5rem;
  }
  
  /* Team photos larger */
  .team-photo {
    width: 220px;
    height: 220px;
  }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  /* Even more spacing */
  .section-padding {
    padding: 7rem 0;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  #hero {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .navbar {
    padding: 0.25rem 0;
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Sharper images and borders */
  .service-card,
  .price-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .faq-card {
    border-width: 0.5px;
  }
}

/* Print styles */
@media print {
  /* Hide navigation and interactive elements */
  .navbar,
  .btn,
  .contact-form,
  #footer {
    display: none !important;
  }
  
  /* Adjust colors for print */
  * {
    color: #000 !important;
    background: #fff !important;
  }
  
  /* Page breaks */
  .section-padding {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
}

/* Accessibility - High contrast mode */
@media (prefers-contrast: high) {
  .service-card,
  .price-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .faq-card {
    border: 2px solid #000;
  }
  
  .btn-primary {
    background-color: #000;
    border-color: #000;
    color: #fff;
  }
  
  .btn-outline-primary {
    color: #000;
    border-color: #000;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  /* Remove all animations and transitions */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Remove hover effects */
  .service-card:hover,
  .price-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
}

/* Dark mode support */

body {
    overflow-x: hidden;
}