/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
  /* Global */
  section {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  /* Hero */
  #hero {
    text-align: center;
  }
  
  /* Service Cards */
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  /* Team */
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  /* Footer */
  .footer-block {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Global */
  section {
    padding: 4rem 0;
  }
  
  /* Hero */
  #hero {
    min-height: auto;
    padding: 6rem 0;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Global */
  section {
    padding: 5rem 0;
  }
  
  /* Services Cards */
  .service-card-img {
    height: 180px;
  }
  
  /* Price Plans */
  .price-card {
    height: 100%;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Global */
  .container {
    max-width: 960px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Global */
  .container {
    max-width: 1140px;
  }
  
  /* Hero */
  #hero {
    min-height: 100vh;
  }
}

/* Animations and transitions for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
  
  .service-card:hover,
  .price-card:hover,
  .blog-card:hover,
  .about-feature:hover,
  .core-info-item:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .swiper-container {
    --swiper-pagination-bullet-inactive-opacity: 1;
    --swiper-pagination-bullet-opacity: 1;
  }
}

/* Mobile-specific overrides */
@media (max-width: 768px) {
  /* Sliders */
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  
  /* Disable autoplay on mobile */
  .swiper-container[data-autoplay="true"] {
    --swiper-autoplay-delay: 0;
  }
  
  /* Layout adjustments */
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, 
  .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, 
  .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, 
  .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, 
  .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, 
  .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, 
  .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, 
  .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, 
  .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, 
  .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, 
  .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, 
  .col-xl-auto {
    padding-right: 10px;
    padding-left: 10px;
  }
  
  /* Font size adjustments */
  html {
    font-size: 14px;
  }
} 