/* Mobile First Responsive Design */

/* No animations on mobile as per requirements */
@media (max-width: 767.98px) {
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
}

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

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container-md {
    max-width: 720px;
  }
  
  .section-padding {
    padding: 6rem 0;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
}

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

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

/* XXL devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
}

/* Mobile specific styles */
@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .price-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .process-number {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .hero-section {
    min-height: auto !important;
    background: white !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .custom-card,
  .service-card,
  .team-card,
  .review-card,
  .price-card {
    border: 2px solid var(--primary-charcoal);
  }
  
  .btn-primary {
    background-color: var(--primary-charcoal);
    border-color: var(--primary-charcoal);
  }
}

/* Landscape orientation on mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-sage);
  outline-offset: 2px;
} 

.hero-section h1 {
    padding-top: 275px;
}