/* Mobile First Responsive Design */

/* Tablet Styles */
@media (max-width: 992px) {
  .hero {
    padding: 2rem 0;
    text-align: center;
  }
  
  .hero::before {
    display: none;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .section {
    padding: 3rem 0;
  }
  
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.57rem; }
  h3 { font-size: 1.35rem; }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.35rem !important;
  }
  
  .hero {
    min-height: 80vh;
    padding: 1rem 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .team-member {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .section {
    padding: 2rem 0;
  }
  
  h1 { font-size: 1.64rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.22rem; }
  p { font-size: 1.02rem; }
  
  /* Disable autoplay and effects for Swiper on mobile */
  .swiper-container {
    --swiper-autoplay-delay: 0;
  }
  
  .swiper-slide {
    transition: none !important;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .service-card,
  .team-member,
  .contact-form {
    padding: 1rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  h1 { font-size: 1.53rem; }
  h2 { font-size: 1.31rem; }
  h3 { font-size: 1.06rem; }
  p { font-size: 0.86rem; }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 60vh;
  }
  
  .section {
    padding: 1.5rem 0;
  }
} 