/* Responsive CSS for TinyML Solutions Template */

/* Extra Large Devices (large desktops, 1200px and up) */
@media (max-width: 1399.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
    html {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .service-image {
        height: 180px;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
    section {
        padding: var(--space-lg) 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title h2 {
        font-size: 1rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .service-content {
        padding: var(--space-md);
    }
    
    .team-image {
        width: 180px;
        height: 180px;
    }
    
    /* Reduce animations on tablet for better performance */
    .service-item:hover, 
    .feature-item:hover, 
    .price-item:hover, 
    .blog-item:hover,
    .about-feature:hover,
    .coreinfo-item:hover {
        transform: none;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
    html {
        font-size: 14px;
    }
    
    section {
        padding: var(--space-md) 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .swiper-hero {
        height: 80vh;
    }
    
    .section-title h2 {
        font-size: 1.7rem;
    }
    
    .section-title h2:after {
        width: 50px;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .service-image {
        height: 160px;
    }
    
    .footer {
        padding: var(--space-lg) 0 var(--space-md);
    }
    
    /* Stack columns vertically with space between them */
    .footer [class*="col-"] {
        margin-bottom: var(--space-lg);
    }
    
    /* Disable all hover effects on mobile */
    [class*="hover"], [class*=":hover"] {
        transition: none !important;
        transform: none !important;
        box-shadow: none !important;
    }
    
    /* Respect prefers-reduced-motion on mobile devices */
    @media (prefers-reduced-motion) {
        .swiper-slide,
        .swiper-wrapper {
            transition-timing-function: linear !important;
        }
        
        .swiper-container-horizontal > .swiper-pagination-bullets {
            transition: none !important;
        }
    }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .swiper-hero {
        height: 70vh;
    }
    
    .section-title h2 {
        font-size: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .service-image {
        height: 140px;
    }
    
    .team-image {
        width: 150px;
        height: 150px;
    }
    
    .contact-info {
        margin-top: var(--space-lg);
    }
} 