/* Mobile First Responsive Design */

/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-section {
    min-height: 90vh;
    text-align: center;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .process-step {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .card-custom .card-body {
    padding: 1.5rem;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  .case-study-card {
    padding: 1.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    text-align: center;
  }
  
  .team-member-card {
    margin-bottom: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .gallery-item {
    height: 250px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section {
    padding: 4rem 0;
  }
  
  .gallery-item {
    height: 300px;
  }
  
  .team-photo {
    height: 250px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    padding: 6rem 0;
  }
}

/* Print styles */
@media print {
  .hero-blob,
  .navbar,
  .footer-section {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  * {
    background: white !important;
    color: black !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .service-card,
  .team-member-card,
  .faq-card,
  .blog-card {
    border: 2px solid var(--dark-charcoal);
  }
  
  .btn-primary-custom {
    border: 2px solid var(--dark-charcoal);
  }
}

/* Dark mode preference */

.hero-section h1 {
    padding-top: 225px;
}
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
