/* Mobile-first responsive design */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  h1 {
    font-size: 1.82rem;
  }
  
  h2 {
    font-size: 1.55rem;
  }
  
  h3 {
    font-size: 1.33rem;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .section-padding-lg {
    padding: 3rem 0;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form,
  .contact-info {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .process-step {
    padding-left: 2.5rem;
  }
  
  .process-step::before {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.97rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .container-xl {
    max-width: 1200px;
  }
}

/* Print styles */
@media print {
  .hero-decorative,
  .btn,
  .navbar,
  .footer-bg {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  .card-enhanced {
    box-shadow: none;
    border: 1px solid #e4dedd;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card-enhanced {
    border: 2px solid var(--color-primary);
  }
  
  .btn-primary-custom,
  .btn-secondary-custom {
    border-width: 2px;
  }
}

/* Dark mode support */

.hero-section h1 {
    padding-top: 200px;
}