/* Mobile First Responsive Design */

/* Base mobile styles (up to 576px) */
@media (max-width: 575.98px) {
    /* Typography adjustments for mobile */
    h1, .h1 {
        font-size: 1.75rem;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
    }
    
    h3, .h3 {
        font-size: 1.25rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Hero section mobile */
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    /* Section padding reduction */
    .section-padding {
        padding: 60px 0;
    }
    
    /* Card adjustments */
    .feature-card,
    .service-card,
    .review-card,
    .case-study-card,
    .pricing-card,
    .team-card,
    .faq-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Service cards mobile */
    .service-image {
        height: 150px;
    }
    
    /* Team photos mobile */
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    /* Process steps mobile */
    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Contact form mobile */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Footer mobile */
    .footer-section {
        padding: 40px 0 20px;
        text-align: center;
    }
    
    /* Pricing card featured scaling removed on mobile */
    .pricing-card.featured {
        transform: none;
    }
    
    /* Icons size reduction */
    .feature-icon,
    .tech-icon,
    .data-icon,
    .compliance-icon,
    .integration-icon,
    .health-icon,
    .efficiency-icon,
    .app-icon,
    .innovation-icon,
    .contact-icon {
        font-size: 2rem;
    }
    
    /* NO ANIMATIONS ON MOBILE - Respect reduced motion */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .case-study-card:hover,
    .tech-card:hover,
    .integration-card:hover,
    .health-benefit:hover,
    .efficiency-feature:hover,
    .app-feature:hover,
    .innovation-item:hover {
        transform: none !important;
    }
    
    .gallery-image:hover {
        transform: none !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section {
        padding: 110px 0 70px;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .team-photo {
        width: 110px;
        height: 110px;
    }
    
    .service-image {
        height: 180px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    /* Tablet specific adjustments */
    .pricing-card.featured {
        transform: scale(1.02);
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    .service-image {
        height: 200px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    /* Full desktop experience with animations */
    .feature-card:hover,
    .service-card:hover,
    .case-study-card:hover {
        transform: translateY(-5px);
    }
    
    .tech-card:hover,
    .integration-card:hover,
    .health-benefit:hover,
    .efficiency-feature:hover,
    .app-feature:hover,
    .innovation-item:hover {
        transform: translateY(-3px);
    }
    
    .gallery-image:hover {
        transform: scale(1.05);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    /* Enhanced spacing for large screens */
    .section-padding {
        padding: 100px 0;
    }
    
    .hero-section {
        padding: 140px 0 100px;
    }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Navbar responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--white);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
}

/* Breadcrumb responsive */
@media (max-width: 767.98px) {
    .breadcrumb-section {
        padding: 100px 0 30px;
    }
}

/* Gallery responsive */
@media (max-width: 575.98px) {
    .gallery-image {
        margin-bottom: 1rem;
    }
}

/* Contact info responsive */
@media (max-width: 767.98px) {
    .contact-info {
        margin-bottom: 2rem;
    }
}

/* Process steps responsive */
@media (max-width: 767.98px) {
    .process-step {
        margin-bottom: 2rem;
    }
}

/* Team cards responsive */
@media (max-width: 767.98px) {
    .team-card {
        margin-bottom: 2rem;
    }
}

/* Service cards responsive grid */
@media (max-width: 767.98px) {
    .service-card {
        margin-bottom: 2rem;
    }
}

/* Review cards responsive */
@media (max-width: 767.98px) {
    .review-card {
        margin-bottom: 1.5rem;
    }
}

/* Case study cards responsive */
@media (max-width: 767.98px) {
    .case-study-card {
        margin-bottom: 2rem;
    }
}

/* Pricing cards responsive */
@media (max-width: 767.98px) {
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .pricing-card.featured {
        margin-top: 0;
    }
}

/* Feature items responsive */
@media (max-width: 767.98px) {
    .feature-item {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .feature-icon-wrapper {
        margin: 0 auto 1rem;
    }
}

/* Additional page elements responsive */
@media (max-width: 767.98px) {
    .tech-card,
    .service-step,
    .data-feature,
    .compliance-item,
    .integration-card,
    .health-benefit,
    .efficiency-feature,
    .app-feature,
    .innovation-item {
        margin-bottom: 1.5rem;
        text-align: center;
    }
}

/* Print styles */
@media print {
    * {
        animation: none !important;
        transition: none !important;
        box-shadow: none !important;
    }
    
    .navbar,
    .footer-section {
        display: none;
    }
    
    .section-padding {
        padding: 20px 0;
    }
    
    .hero-section {
        padding: 20px 0;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0066CC;
        --secondary-color: #009900;
        --accent-color: #FF6600;
        --gray: #333333;
        --dark-gray: #000000;
    }
}

/* Reduced motion support - CRITICAL */
@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;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .case-study-card:hover,
    .tech-card:hover,
    .integration-card:hover,
    .health-benefit:hover,
    .efficiency-feature:hover,
    .app-feature:hover,
    .innovation-item:hover,
    .gallery-image:hover {
        transform: none !important;
    }
} 

body {
    overflow-x: hidden;
}

.hero-section h1 {
    padding-top: 250px;
}