/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  html {
    font-size: 14px;
  }

  section {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .hero-section {
    min-height: 500px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-desc {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .hero-content {
    padding: 80px 0;
    text-align: center;
  }

  .services-card,
  .features-item,
  .price-card,
  .team-card,
  .review-card,
  .coreinfo-item,
  .contact-box {
    margin-bottom: 30px;
  }

  .about-image {
    margin-bottom: 30px;
  }

  .price-card.featured {
    transform: none;
  }

  .price-card.featured:hover {
    transform: translateY(-10px);
  }

  .contact-info {
    margin-top: 30px;
  }

  .footer-widget {
    margin-bottom: 30px;
  }

  .shape-top svg,
  .shape-bottom svg {
    height: 30px;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  html {
    font-size: 15px;
  }

  section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-content {
    padding: 100px 0;
  }

  .services-card,
  .features-item,
  .price-card,
  .team-card,
  .coreinfo-item {
    margin-bottom: 30px;
  }

  .about-image {
    margin-bottom: 30px;
  }

  .price-card.featured {
    transform: none;
  }

  .price-card.featured:hover {
    transform: translateY(-10px);
  }

  .contact-info {
    margin-top: 30px;
  }

  .footer-widget {
    margin-bottom: 30px;
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  section {
    padding: 70px 0;
  }

  .section-title h2 {
    font-size: 34px;
  }

  .hero-title {
    font-size: 40px;
  }

  .services-card,
  .features-item,
  .coreinfo-item {
    margin-bottom: 30px;
  }

  .about-image {
    margin-bottom: 30px;
  }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 44px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

/* Animation behavior based on user preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-slider .swiper-slide {
    transform: none !important;
  }

  .reviews-slider .swiper-slide {
    transform: none !important;
  }

  /* Disable hover effects */
  .about-feature:hover,
  .services-card:hover,
  .features-item:hover,
  .price-card:hover,
  .team-card:hover,
  .coreinfo-item:hover,
  .blog-card:hover {
    transform: none !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
  }

  .team-card:hover .team-image img,
  .blog-card:hover .blog-image img,
  .about-image:hover img {
    transform: none !important;
  }
}

/* For mobile devices - disable autoplay and reduce animations */
@media (max-width: 767.98px) {
  .swiper-autoplay {
    display: none;
  }
}