/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: calc(var(--fs-4xl) - 0.5rem);
  }
  
  .section-title h2 {
    font-size: calc(var(--fs-3xl) - 0.25rem);
  }
  
  .hero-slide {
    height: 550px;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  :root {
    --section-spacing: 5rem;
  }
  
  .hero-title {
    font-size: calc(var(--fs-3xl));
  }
  
  .hero-subtitle {
    font-size: var(--fs-lg);
  }
  
  .section-title h2 {
    font-size: var(--fs-2xl);
  }
  
  .hero-slide {
    height: 500px;
  }
  
  .navbar-collapse {
    background-color: var(--neutral-100);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
  }
  
  .services-card, 
  .about-feature,
  .price-card, 
  .team-member,
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .feature-item {
    margin-bottom: 2.5rem;
  }
  
  .review-card {
    margin: 1rem 0.5rem;
  }
  
  .coreinfo-item {
    margin-bottom: 1.5rem;
  }
  
  .contact-info-box {
    margin-bottom: 2rem;
  }
  
  .footer-widget {
    margin-bottom: 2.5rem;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  :root {
    --section-spacing: 4rem;
    --fs-4xl: 2.5rem;
    --fs-3xl: 2rem;
    --fs-2xl: 1.75rem;
  }
  
  .hero-content {
    padding: 6rem 0;
  }
  
  .hero-slide {
    height: 450px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
  
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 16px;
  }
  
  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .section-title h2:after {
    height: 3px;
    bottom: -8px;
  }
  
  .about-img {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --section-spacing: 3.5rem;
    --fs-4xl: 2.25rem;
    --fs-3xl: 1.75rem;
    --fs-2xl: 1.5rem;
    --fs-xl: 1.25rem;
  }
  
  .hero-content {
    padding: 5rem 0;
  }
  
  .hero-slide {
    height: 400px;
  }
  
  .btn {
    padding: 0.6rem 1.25rem;
    font-size: var(--fs-sm);
  }
  
  .services-card, 
  .price-card,
  .coreinfo-item,
  .about-feature {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .services-icon,
  .about-icon,
  .coreinfo-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  /* Reduce animation effects for better performance */
  .services-card:hover,
  .about-feature:hover,
  .price-card:hover,
  .blog-card:hover,
  .coreinfo-item:hover {
    transform: translateY(-5px);
  }
}

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .fade-up,
  .services-card,
  .about-feature,
  .price-card,
  .team-member,
  .blog-card,
  .coreinfo-item,
  .feature-icon,
  .btn,
  .team-img img,
  .blog-img img,
  .read-more i,
  .footer-links a {
    transition: none;
    transform: none;
  }
  
  .services-card:hover,
  .about-feature:hover,
  .price-card:hover,
  .blog-card:hover,
  .coreinfo-item:hover,
  .btn:hover,
  .footer-links a:hover,
  .feature-item:hover .feature-icon,
  .team-member:hover .team-img img,
  .blog-card:hover .blog-img img,
  .read-more:hover i {
    transform: none;
  }
  
  .swiper-container {
    --swiper-theme-transition-timing-function: linear;
    --swiper-theme-transition-duration: 0ms;
  }
} 