/* Mobile First Responsive Design */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .hero-section h1 {
    font-size: 1.83rem;
  }
  
  .hero-section p {
    font-size: 1.03rem;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-icon {
    font-size: 2.53rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .testimonial-item {
    padding: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.40rem !important;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 2.24rem;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .service-card {
    padding: 1.75rem;
  }
  
  .team-photo {
    width: 160px;
    height: 160px;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2.53rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section h1 {
    font-size: 3.13rem;
  }
  
  .section-padding {
    padding: 70px 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section h1 {
    font-size: 3.61rem;
  }
  
  .section-padding {
    padding: 80px 0;
  }
  
  .container {
    max-width: 1200px;
  }
}

/* Disable autoplay and effects on mobile for Swiper */
@media (max-width: 767.98px) {
  .swiper-container {
    --swiper-autoplay-delay: 0;
  }
  
  .swiper-slide {
    transition: none !important;
  }
  
  .swiper-effect-fade,
  .swiper-effect-cube,
  .swiper-effect-coverflow,
  .swiper-effect-flip {
    --swiper-effect: none;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-pagination,
  .swiper-navigation {
    display: none !important;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--text-color);
  }
  
  .btn-primary {
    border: 2px solid var(--white);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .card,
  .btn-primary,
  .gallery-item img {
    transition: none !important;
  }
  
  .swiper-container {
    --swiper-autoplay-delay: 0;
  }
} 