/* Responsive Design - Mobile First Approach */

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-section::before {
    animation: none;
    transform: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .container-sm {
    max-width: 540px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  h1 {
    font-size: 1.93rem;
  }
  
  h2 {
    font-size: 1.51rem;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .service-card {
    margin-bottom: 1.63rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 1.55rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container-lg {
    max-width: 960px;
  }
  
  .hero-section {
    padding: 0 2rem;
  }
}

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

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  .container {
    padding: 0 1rem;
  }
  
  h1 {
    font-size: 1.64rem;
  }
  
  h2 {
    font-size: 1.28rem;
  }
  
  .navbar-brand {
    font-size: 10px;
  }
  
  .btn {
    font-size: 0.92rem;
    padding: 0.5rem 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.31rem;
  }
  
  .section-padding {
    padding: 1.5rem 0;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .custom-card,
  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .price-card {
    box-shadow: none;
    border: 1px solid #c9b9b6;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.5);
  }
  
  .form-control {
    border-width: 3px;
  }
  
  .btn {
    border: 2px solid transparent;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* Dark mode preference (basic support) */

.hero-content {
    padding-top: 125px;
}