/* Responsive Styles */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  section {
    padding: 4rem 0;
  }
  
  .hero {
    min-height: 90vh;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  section {
    padding: 3.5rem 0;
  }
  
  .hero {
    min-height: 80vh;
  }
  
  .hero-bg {
    width: 40%;
    clip-path: polygon(40% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
  
  .about-feature,
  .service-card,
  .feature-card,
  .pricing-card,
  .review-card,
  .core-info-item,
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .team-member-img {
    width: 120px;
    height: 120px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  section {
    padding: 3rem 0;
  }
  
  .hero {
    min-height: auto;
    padding: 5rem 0;
  }
  
  .hero-bg {
    display: none;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .team-member-img {
    width: 100px;
    height: 100px;
  }
  
  .team-member-name {
    font-size: 1.1rem;
  }
  
  .team-member-role {
    font-size: 0.9rem;
  }
  
  .gallery-img {
    height: 200px;
  }
  
  footer {
    padding: 3rem 0 1.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .about-feature-icon,
  .service-icon,
  .feature-icon,
  .core-info-icon {
    font-size: 2.5rem;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .gallery-img {
    height: 180px;
  }
}

/* Fix animations based on 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;
  }
  
  .animate-fadeInUp {
    animation: none !important;
    opacity: 1;
  }
  
  .about-feature:hover,
  .service-card:hover,
  .feature-card:hover,
  .pricing-card:hover,
  .core-info-item:hover,
  .blog-card:hover,
  .btn-primary:hover,
  .gallery-img:hover {
    transform: none !important;
  }
}

/* Hide autoplay sliders on mobile */
@media (max-width: 767.98px) {
  .swiper-autoplay {
    autoplay: false;
  }
} 