/* Mobile First Responsive Design */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.84rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .service-card-body {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem 1rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  .shape-1, .shape-2 {
    display: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .service-card {
    max-width: 400px;
    margin: 0 auto 2rem;
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    min-height: 90vh;
  }
  
  .hero-title {
    font-size: 2.22rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .service-card img {
    height: 180px;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: var(--fs-h1);
  }
  
  .service-card img {
    height: 200px;
  }
  
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1200px;
  }
  
  .hero-section .shape-1 {
    width: 250px;
    height: 250px;
  }
  
  .hero-section .shape-2 {
    width: 200px;
    height: 200px;
  }
}

/* Height-based media queries for hero section */
@media (max-height: 600px) {
  .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .hero-title {
    font-size: 1.83rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-section .shape {
    display: none !important;
  }
  
  .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    min-height: auto;
    background: white !important;
    color: black !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .review-card,
  .faq-card,
  .contact-form,
  .blog-card {
    border: 2px solid var(--dark-text);
  }
  
  .btn-primary {
    border: 2px solid var(--dark-text);
  }
}

/* Dark mode preference (for future compatibility) */
@media (prefers-color-scheme: dark) {
  /* Note: Not implementing dark theme as per requirements for accessibility */
  /* This is just a placeholder for future enhancements */
} 