/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --font-size-4xl: 2.25rem;
    --font-size-3xl: 1.875rem;
    --font-size-2xl: 1.5rem;
    --spacing-2xl: 3rem;
  }
  
  section {
    padding: var(--spacing-xl) 0;
  }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .service-card, 
  .team-card, 
  .blog-card {
    margin-bottom: var(--spacing-md);
  }
  
  .testimonial-item {
    padding: var(--spacing-md);
    margin: var(--spacing-sm) 0;
  }
  
  .swiper-container {
    padding-bottom: var(--spacing-lg);
  }
  
  /* Disable autoplay on mobile */
  .swiper-container .swiper-wrapper {
    transition-timing-function: ease-out !important;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  :root {
    --font-size-4xl: 2.5rem;
    --font-size-3xl: 2rem;
    --spacing-2xl: 4rem;
  }
  
  section {
    padding: var(--spacing-xl) 0;
  }
  
  .testimonial-item {
    padding: var(--spacing-md);
    margin: var(--spacing-sm);
  }
  
  /* Disable autoplay on mobile */
  .swiper-container .swiper-wrapper {
    transition-timing-function: ease-out !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .team-card {
    margin-bottom: var(--spacing-lg);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  :root {
    --font-size-4xl: 3.5rem;
    --font-size-3xl: 2.75rem;
  }
}

/* Media query for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
  
  .swiper-container .swiper-wrapper {
    transition: none !important;
  }
  
  .service-card:hover,
  .blog-card:hover {
    transform: none !important;
  }
  
  .team-card:hover .team-img,
  .blog-card:hover .blog-img,
  .gallery-item:hover .gallery-img {
    transform: none !important;
  }
  
  .btn-submit:hover {
    transform: none !important;
  }
} 