/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --font-size-jumbo: 2rem;
  }
  
  .hero-section {
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .navbar-nav {
    flex-direction: column;
    padding: 1rem 0;
  }
  
  .services-item,
  .priceplan-item,
  .team-member,
  .blog-item {
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .about-feature {
    margin-bottom: 1.5rem;
  }
  
  .team-member-img {
    width: 150px;
    height: 150px;
  }
  
  .reviews-item {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  footer {
    text-align: center;
  }
  
  .footer-heading:after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  :root {
    --font-size-jumbo: 2.5rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .services-item,
  .priceplan-item,
  .team-member,
  .blog-item {
    margin-bottom: 2rem;
  }
  
  .team-member-img {
    width: 170px;
    height: 170px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  :root {
    --font-size-jumbo: 3rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .services-item,
  .priceplan-item {
    margin-bottom: 2rem;
  }
  
  .swiper-container {
    padding: 0 1rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .navbar-nav {
    margin-left: auto;
  }
  
  .hero-section {
    display: flex;
    align-items: center;
  }
  
  .services-section .row,
  .features-section .row,
  .priceplan-section .row,
  .team-section .row,
  .reviews-section .row,
  .contact-section .row {
    margin-top: 3rem;
  }
}

/* Reduced motion 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;
  }
  
  .reviews-slider,
  .services-item:hover,
  .blog-item:hover,
  .priceplan-item:hover,
  .about-feature:hover,
  .features-item:hover i,
  .gallery-item:hover img {
    transform: none !important;
  }
  
  .services-item:hover .services-item-img img,
  .blog-item:hover .blog-item-img img {
    transform: none !important;
  }
}

/* Responsive adjustments for all sections */
@media (max-width: 767.98px) {
  section {
    padding: 2rem 0;
  }
  
  .container {
    padding-right: 1rem;
    padding-left: 1rem;
  }
  
  .hidden-xs {
    display: none !important;
  }
  
  .text-center-xs {
    text-align: center !important;
  }
  
  .pb-xs-3 {
    padding-bottom: 1rem !important;
  }
  
  .mt-xs-3 {
    margin-top: 1rem !important;
  }
  
  /* Swiper adjustments for mobile */
  .swiper-container {
    padding: 0 0.5rem;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  /* Autoplay disabled on mobile */
  .swiper-container-autoplay {
    --swiper-autoplay: 0;
  }
}

/* Tablet and above */
@media (min-width: 768px) {
  .visible-xs {
    display: none !important;
  }
}

/* Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hidden-md {
    display: none !important;
  }
  
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Ensure all interactive elements have proper hover states on desktop */
@media (min-width: 992px) {
  .btn:hover,
  .nav-link:hover,
  .blog-item-link:hover,
  footer a:hover {
    opacity: 0.85;
  }
} 