/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .section-padding {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .navbar-brand {
    font-size: 20px;
  }

  .contact-form,
  .contact-info {
    padding: 25px;
  }

  /* Animation disabling for mobile */
  @media (prefers-reduced-motion) {
    .float-animation {
      animation: none;
    }
  }
  
  /* Reduce padding for mobile */
  .about-feature,
  .services-item-content,
  .features-item,
  .priceplan-item,
  .team-member-info,
  .review-item,
  .coreinfo-item,
  .blog-item-content,
  .accordion-button, 
  .accordion-body {
    padding: 20px 15px;
  }
  
  /* Gallery item height adjustment */
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer adjustments */
  footer {
    padding: 50px 0 20px;
    text-align: center;
  }
  
  /* Reduce size of shapes */
  .shape-1, .shape-2, .shape-3 {
    transform: scale(0.7);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .section-padding {
    padding: 70px 0;
  }

  .section-title h2 {
    font-size: 36px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  /* Animation disabling for small devices */
  @media (prefers-reduced-motion) {
    .float-animation {
      animation: none;
    }
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 48px;
  }
  
  /* Reduce padding slightly */
  .about-feature,
  .services-item-content,
  .features-item,
  .priceplan-item,
  .team-member-info,
  .review-item,
  .coreinfo-item,
  .blog-item-content {
    padding: 25px 20px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* No significant changes needed */
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-content h1 {
    font-size: 64px;
  }
}

/* For all screen sizes */
@media (prefers-reduced-motion: reduce) {
  .float-animation,
  .services-item:hover,
  .about-feature:hover,
  .features-item:hover,
  .priceplan-item:hover,
  .team-member:hover .team-member-image img,
  .coreinfo-item:hover,
  .blog-item:hover,
  .gallery-item:hover img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* Hide autoplay and reduce motion for smaller devices */
@media (max-width: 767.98px) {
  .swiper-container-autoplay {
    --swiper-autoplay: false;
  }
  
  .float-animation {
    animation: none;
  }
  
  /* Simplify navigation on mobile */
  .navbar {
    padding: 15px 0;
  }
  
  .navbar-scrolled {
    padding: 10px 0;
  }
} 