/* Responsive styles */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .hero {
    min-height: 90vh;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .hero {
    min-height: 80vh;
  }
  
  .hero-shape-1 {
    width: 200px;
    height: 200px;
  }
  
  .hero-shape-2 {
    width: 150px;
    height: 150px;
  }
  
  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .team-member, 
  .service-item,
  .price-item,
  .about-feature,
  .coreinfo-item,
  .blog-item {
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .hero {
    min-height: auto;
    padding: 6rem 0 3rem;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  h1, .h1 {
    font-size: 2.5rem;
  }
  
  h2, .h2 {
    font-size: 2rem;
  }
  
  h3, .h3 {
    font-size: 1.75rem;
  }
  
  .section-title {
    margin-bottom: 1rem;
  }
  
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .review-item {
    padding: 1.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  h1, .h1 {
    font-size: 2rem;
  }
  
  h2, .h2 {
    font-size: 1.75rem;
  }
  
  h3, .h3 {
    font-size: 1.5rem;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  .review-item {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .footer-widget {
    margin-bottom: 2rem;
  }
}

/* Fix for Swiper slider on small screens */
@media (max-width: 767.98px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  
  .swiper-pagination {
    bottom: 0;
  }
}

/* Fix for 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;
  }
  
  .swiper-container {
    --swiper-autoplay-delay: 999999ms; /* Effectively disables autoplay */
  }
} 