/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  :root {
    --h1-size: 3.2rem;
    --h2-size: 2.5rem;
    --h3-size: 2rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .hero-section {
    min-height: 90vh;
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  :root {
    --h1-size: 2.8rem;
    --h2-size: 2.2rem;
    --h3-size: 1.8rem;
    --h4-size: 1.5rem;
    --h5-size: 1.3rem;
    --h6-size: 1.1rem;
  }
  
  section {
    padding: 3.5rem 0;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-slide {
    padding: 8rem 1rem 4rem;
  }
  
  .service-img {
    height: 180px;
  }
  
  .team-img {
    height: 250px;
  }
  
  .contact-form, .contact-info {
    padding: 2rem;
  }
  
  .footer-column {
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  :root {
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.6rem;
    --h4-size: 1.4rem;
    --h5-size: 1.2rem;
    --h6-size: 1rem;
  }
  
  body {
    font-size: 0.95rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .section-desc {
    margin-bottom: 2rem;
  }
  
  .hero-section {
    min-height: 75vh;
  }
  
  .hero-slide {
    padding: 7rem 1rem 3rem;
    text-align: center;
  }
  
  .about-feature-card, 
  .service-card, 
  .feature-card,
  .price-card, 
  .team-card, 
  .coreinfo-card, 
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .service-img {
    height: 200px;
  }
  
  .contact-form, .contact-info {
    padding: 1.5rem;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
  
  .footer-column {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .footer-copyright {
    margin-top: 2rem;
  }
  
  .shape {
    display: none;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  :root {
    --h1-size: 2.2rem;
    --h2-size: 1.8rem;
    --h3-size: 1.5rem;
    --h4-size: 1.3rem;
    --h5-size: 1.1rem;
    --h6-size: 1rem;
  }
  
  body {
    font-size: 0.9rem;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    margin-bottom: 0.5rem;
  }
  
  .section-subtitle {
    margin-bottom: 1rem;
  }
  
  .section-desc {
    margin-bottom: 1.5rem;
  }
  
  .hero-section {
    min-height: 70vh;
  }
  
  .hero-slide {
    padding: 6rem 1rem 2rem;
    text-align: center;
  }
  
  .about-feature-card, 
  .service-card, 
  .feature-card,
  .price-card, 
  .team-card, 
  .coreinfo-card, 
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .contact-form, .contact-info {
    padding: 1.5rem;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
  
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-column {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .footer-copyright {
    margin-top: 1.5rem;
  }
  
  .shape {
    display: none;
  }
  
  .page-header {
    height: 300px;
  }
}

/* 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;
  }
}

/* Custom media query for mobile devices */
@media (max-width: 768px) {
  .swiper-container {
    height: auto;
  }
  
  .swiper-button-next, 
  .swiper-button-prev {
    display: none;
  }
  
  .swiper-pagination {
    bottom: 10px;
  }
} 