/* Mobile First Responsive Design */

/* Large screens and up (lg) */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }
    
    .hero-content {
        padding-right: 2rem;
    padding-top: 175px;
}
    
    .service-card {
        margin-bottom: 2rem;
    }
}

/* Medium screens and up (md) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .display-4 {
        font-size: 2.2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    padding-top: 175px;
}
    
    .service-image {
        height: 220px;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
}

/* Small screens and up (sm) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.6rem;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    padding-top: 175px;
}
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .service-image {
        height: 200px;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .price-card {
        margin-bottom: 2rem;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .timeline-container::before {
        display: none;
    }
    
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    .gallery-item {
        margin-bottom: 1rem;
    }
}

/* Extra small screens (xs) */
@media (max-width: 575.98px) {
    /* Disable animations on mobile for performance */
    * {
        animation-duration: 0ms;
        transition-duration: 0ms;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    .display-4 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .display-5 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Hero Section Mobile */
    #hero {
        padding-top: 80px;
        min-height: auto;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    padding-top: 175px;
}
    
    .hero-content h1 {
        margin-bottom: 1rem;
    }
    
    .hero-content h2 {
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.75rem 1.5rem;
    }
    
    .hero-decoration {
        display: none;
    }
    
    /* Section Spacing Mobile */
    .py-5 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    /* Service Cards Mobile */
    .service-card {
        margin-bottom: 2rem;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    /* Feature Cards Mobile */
    .feature-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .feature-icon {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .icon-circle {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }
    
    /* Price Cards Mobile */
    .price-card {
        margin-bottom: 2rem;
        padding: 2rem 1.5rem;
    }
    
    /* Team Members Mobile */
    .member-image {
        width: 100px;
        height: 100px;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    /* Process Steps Mobile */
    .process-step {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin: 0 auto 1rem auto;
    }
    
    /* Timeline Mobile */
    .timeline-container::before {
        display: none;
    }
    
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    .timeline-marker {
        display: none;
    }
    
    /* Career Cards Mobile */
    .career-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    /* Core Info Mobile */
    .core-info-item {
        margin-bottom: 2rem;
    }
    
    .core-icon {
        height: 60px;
        margin-bottom: 1rem;
    }
    
    /* Blog Cards Mobile */
    .blog-card {
        margin-bottom: 2rem;
    }
    
    .blog-image {
        height: 160px;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
    
    /* FAQ Mobile */
    .faq-card {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }
    
    /* Gallery Mobile */
    .gallery-item {
        margin-bottom: 1rem;
    }
    
    /* Contact Form Mobile */
    .contact-form {
        margin-bottom: 3rem;
    }
    
    .contact-form .form-control {
        padding: 10px 14px;
    }
    
    .contact-info .contact-item {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    /* Footer Mobile */
    #footer .container > .row > .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    #footer .container > .row:last-child > .col-md-6 {
        text-align: center;
        margin-bottom: 1rem;
    }
}

/* Landscape orientation mobile devices */
@media (max-width: 767.98px) and (orientation: landscape) {
    #hero {
        min-height: 100vh;
        padding-top: 80px;
    }
    
    .hero-content {
        text-align: center;
    padding-top: 175px;
}
    
    .display-4 {
        font-size: 1.6rem;
    }
    
    .display-5 {
        font-size: 1.4rem;
    }
    
    .py-5 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-image img,
    .blog-image img,
    .gallery-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
    
    .service-card:hover,
    .feature-card:hover,
    .price-card:hover,
    .review-card:hover,
    .career-card:hover,
    .core-info-item:hover,
    .blog-card:hover,
    .faq-card:hover,
    .gallery-item:hover,
    .contact-info .contact-item:hover {
        transform: none;
    }
    
    .hero-decoration {
        display: none;
    }
}

/* Dark mode preferences */

/* Print styles */
@media print {
    .navbar,
    .hero-decoration,
    .btn,
    #footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    overflow-x: hidden;
}
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .py-5 {
        padding: 1rem 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: #000;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
} 