/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  html {
    font-size: 14px;
  }
  
  .hero-title-1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .about-feature,
  .service-item,
  .price-item,
  .team-member,
  .blog-item {
    margin-bottom: 1.5rem;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  html {
    font-size: 15px;
  }
  
  .hero-title-1 {
    font-size: 2.8rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.3rem;
  }
  
  .about-feature,
  .service-item,
  .price-item,
  .team-member,
  .blog-item {
    margin-bottom: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title-1 {
    font-size: 3rem;
  }
  
  .about-feature,
  .service-item,
  .price-item,
  .team-member,
  .blog-item {
    margin-bottom: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  html {
    font-size: 17px;
  }
  
  .hero-title-1 {
    font-size: 4rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.8rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Animations and motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .swiper-container {
    --swiper-autoplay-delay: 999999s; /* Effectively disable autoplay */
  }
  
  .slide-in-left,
  .slide-in-right,
  .fade-in,
  .zoom-in {
    animation: none !important;
  }
  
  .about-feature:hover,
  .service-item:hover,
  .feature-item:hover,
  .price-item:hover,
  .coreinfo-item:hover,
  .blog-item:hover,
  .gallery-item:hover .gallery-img {
    transform: none !important;
  }
}

/* Mobile-specific slider adjustments */
@media (max-width: 767.98px) {
  .swiper-container {
    --swiper-autoplay-delay: 999999s; /* Effectively disable autoplay on mobile */
  }
} 