/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-img {
        margin-top: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.25rem;
    }
    
    .about-feature,
    .service-item,
    .feature-item,
    .price-item,
    .team-member,
    .review-item,
    .core-info-item,
    .blog-item {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    footer {
        padding: 3rem 0 1.5rem;
        text-align: center;
    }
    
    footer .col-md-3 {
        margin-bottom: 2rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    section {
        padding: 4rem 0;
    }
    
    .hero-img {
        margin-top: 2rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    footer {
        padding: 4rem 0 2rem;
    }
    
    footer .col-md-3 {
        margin-bottom: 2rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-img {
        margin-top: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .service-item,
    .price-item {
        margin-bottom: 2rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .section-title {
        font-size: 2.75rem;
    }
}

/* Utility classes for responsive layouts */
@media (max-width: 767.98px) {
    .text-center-sm {
        text-align: center !important;
    }
    
    .mt-3-sm {
        margin-top: 1rem !important;
    }
    
    .mt-5-sm {
        margin-top: 3rem !important;
    }
}

/* Slider responsiveness */
@media (max-width: 576px) {
    .swiper-pagination {
        bottom: 0 !important;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

/* Image responsiveness */
@media (max-width: 767.98px) {
    .img-fluid {
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .swiper-container {
        --swiper-autoplay-delay: 0 !important;
    }
} 