/* Responsive Styles */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero {
    min-height: 90vh;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  section {
    padding: 4rem 0;
  }
  
  .hero {
    min-height: 80vh;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
  
  .gallery-item {
    margin-bottom: 1.5rem;
  }
  
  .price-card {
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  section {
    padding: 3rem 0;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .about-feature {
    margin-bottom: 1.5rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
  
  .coreinfo-item {
    margin-bottom: 1.5rem;
  }
  
  .price-card {
    margin-bottom: 2rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .about-feature {
    margin-bottom: 1.5rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .team-card {
    margin-bottom: 1.5rem;
  }
  
  .coreinfo-item {
    margin-bottom: 1.5rem;
  }
  
  .price-card {
    margin-bottom: 1.5rem;
  }
  
  .testimonial-card {
    margin: 0.5rem 0;
  }
  
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .footer {
    padding: 2.5rem 0 1.5rem;
  }
}

/* Mobile Devices - Disable autoplay for sliders */
@media (max-width: 767.98px) {
  /* This is handled via JavaScript to respect prefers-reduced-motion */
}

/* High DPI Screens (Retina) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* High resolution specific styles */
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  /* Dark mode is handled via CSS variables toggle in JavaScript */
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
  
  .service-card:hover,
  .about-feature:hover,
  .price-card:hover,
  .coreinfo-item:hover,
  .blog-card:hover,
  .team-card:hover .team-img img,
  .service-card:hover .service-img img,
  .blog-card:hover .blog-img img,
  .gallery-item:hover .gallery-img {
    transform: none !important;
  }
} 