/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-content h1 {
  padding-top: 50px !important; {
    font-size: 3.57rem;
  }
  
  .section {
    padding: 5rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  .hero-content h1 {
  padding-top: 50px !important; {
    font-size: 2.57rem;
  }
  
  .service-card {
    margin-bottom: 1.62rem;
  }
  
  .team-card {
    margin-bottom: 1.59rem;
  }
  
  .price-card {
    margin-bottom: 1.67rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  .hero-content h1 {
  padding-top: 50px !important; {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .team-card {
    padding: 1.5rem;
  }
  
  .team-card img {
    width: 120px;
    height: 120px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .price-card {
    padding: 1.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-content h1 {
  padding-top: 50px !important; {
    font-size: 1.76rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .team-card {
    padding: 1rem;
  }
  
  .team-card img {
    width: 100px;
    height: 100px;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .price-card {
    padding: 1rem;
  }
  
  .review-card {
    padding: 1rem;
  }
  
  .faq-header {
    padding: 0.75rem;
    font-size: 0.91rem;
  }
  
  #space {
    font-size: 1.60rem;
    min-height: 50vh;
  }
}

/* Height-based media queries for hero section */
@media (max-height: 600px) {
  #hero {
    min-height: 80vh;
  }
}

@media (max-height: 500px) {
  #hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-card img,
  .team-card img,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  #hero,
  .navbar,
  footer,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .team-card,
  .price-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #f4dede;
  }
} 