/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  section {
    padding: 50px 0;
  }
  
  .hero-section {
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-img {
    margin-top: 30px;
  }
  
  .about-feature,
  .service-card,
  .coreinfo-item,
  .price-card {
    margin-bottom: 20px;
  }
  
  .team-img-container {
    width: 150px;
    height: 150px;
  }
  
  .review-card {
    margin: 10px 0;
  }
  
  .contact-form {
    padding: 20px;
  }
  
  /* Prevent animations on small devices to improve performance */
  .service-card:hover,
  .about-feature:hover,
  .price-card:hover,
  .coreinfo-item:hover,
  .blog-card:hover {
    transform: none;
  }
  
  .blog-card:hover .blog-img {
    transform: none;
  }
  
  /* Reduce padding in accordion for smaller screens */
  .accordion-button {
    padding: 1rem;
  }
  
  .accordion-body {
    padding: 1rem;
  }
  
  /* Adjust Footer spacing */
  footer [class*="col-"] {
    margin-bottom: 30px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  section {
    padding: 60px 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-img {
    margin-top: 30px;
  }
  
  /* Adjust Footer spacing */
  footer [class*="col-"] {
    margin-bottom: 30px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  /* Make service cards equal height on medium screens */
  .service-card {
    display: flex;
    flex-direction: column;
  }
  
  .service-features {
    flex-grow: 1;
  }
  
  /* Adjust blog card heights */
  .blog-img-container {
    height: 180px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-content h1 {
    font-size: 4rem;
  }
}

/* Styles for users who prefer 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 {
    transform: none;
  }
  
  .blog-card:hover .blog-img {
    transform: none;
  }
  
  .shape-blob {
    animation: none;
  }
} 