/* Mobile First Responsive Design */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Disable animations on mobile as per requirements */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    padding-top: 150px;
}
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .feature-card,
    .service-card,
    .pricing-card,
    .info-card {
        margin-bottom: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-top: 1rem;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .metric-number {
        font-size: 2rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Remove hover effects on mobile */
    .feature-card:hover,
    .service-card:hover,
    .info-card:hover,
    .blog-card:hover,
    .contact-info-item:hover {
        transform: none;
    }
    
    /* Adjust padding for mobile */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .feature-card,
    .service-card,
    .pricing-card,
    .review-card,
    .case-study-card,
    .career-card,
    .info-card,
    .blog-card,
    .faq-card,
    .training-card,
    .strategy-card,
    .innovation-card {
        padding: 1.5rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    padding-top: 150px;
}
    
    .pricing-card.featured {
        transform: none;
        margin-top: 1rem;
    }
    
    .col-sm-6:nth-child(odd) .pricing-card.featured {
        margin-top: 0;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 3rem;
    padding-top: 150px;
}
    
    .pricing-card.featured {
        transform: scale(1.02);
    }
    
    /* Adjust team layout for tablets */
    .col-lg-2-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3.5rem;
    padding-top: 150px;
}
    
    .container {
        max-width: 960px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-section h1 {
        font-size: 4rem;
    padding-top: 150px;
}
    
    .container {
        max-width: 1140px;
    }
}

/* Ultra wide screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section::before {
        background-size: 200px 200px;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    footer,
    #gallery,
    .breadcrumb {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
    
    .feature-card,
    .service-card,
    .pricing-card,
    .info-card,
    .blog-card,
    .faq-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .hero-section::before {
        animation: none;
    }
    
    .feature-card,
    .service-card,
    .pricing-card,
    .info-card,
    .blog-card,
    .contact-info-item {
        transition: none !important;
    }
    
    .btn {
        transition: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .feature-card,
    .service-card,
    .pricing-card,
    .info-card,
    .blog-card,
    .faq-card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        background-color: #000;
        border-color: #000;
        color: #fff;
    }
    
    .btn-outline-primary {
        border-color: #000;
        color: #000;
    }
}

/* Dark mode support */
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
