/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --font-size-xxl: 2.5rem;
    --font-size-xl: 1.75rem;
    --font-size-lg: 1.25rem;
  }
  
  .hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-image {
    margin-top: var(--space-lg);
  }
  
  section {
    padding: var(--space-lg) 0;
  }
  
  .service-img {
    height: 180px;
  }
  
  .team-img img {
    height: 250px;
  }
  
  .contact-form {
    padding: var(--space-md);
  }
  
  footer {
    text-align: center;
  }
  
  .footer-widget {
    margin-bottom: var(--space-lg);
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  :root {
    --font-size-xxl: 2.75rem;
    --font-size-xl: 1.85rem;
    --font-size-lg: 1.35rem;
  }
  
  .hero {
    min-height: 90vh;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-image {
    margin-top: var(--space-lg);
  }
  
  section {
    padding: var(--space-lg) 0;
  }
  
  .footer-widget {
    margin-bottom: var(--space-lg);
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .service-img {
    height: 180px;
  }
  
  .team-img img {
    height: 280px;
  }
  
  .footer-widget {
    margin-bottom: var(--space-lg);
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .service-content {
    padding: var(--space-md);
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.75rem;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .fade-up,
  .fade-in,
  .slide-in-left,
  .slide-in-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  .swiper-container {
    --swiper-autoplay-delay: 999999999s;
  }
}

/* Mobile navigation adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--white);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    margin-top: var(--space-sm);
  }
  
  .navbar-nav .nav-link {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--medium-gray);
  }
  
  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }
} 