/* Mobile First Responsive Design */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    body {
        padding-top: 70px;
    overflow-x: hidden;
}
    
    .navbar-brand {
        font-size: 1.25rem !important;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    padding-top: 125px;
}
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .hero-shapes .shape-1,
    .hero-shapes .shape-2 {
        display: none;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-bottom: 1rem;
        margin-right: 0 !important;
    }
    
    .team-member img {
        width: 150px;
        height: 150px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .process-step {
        padding: 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .pricing-card:hover {
        transform: none;
    }
    
    .service-card:hover,
    .feature-card:hover,
    .review-card:hover,
    .case-study-card:hover {
        transform: none;
    }
    
    .feature-item:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
    
    .team-member:hover img {
        transform: none;
    }
}

/* 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: 125px;
}
    
    .hero-buttons .btn {
        width: auto;
        margin-right: 1rem;
    }
    
    .team-member img {
        width: 180px;
        height: 180px;
    }
    
    .feature-item {
        flex-direction: row;
        text-align: left;
    }
    
    .feature-icon {
        margin-right: 1rem;
        margin-bottom: 0;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 3rem;
    padding-top: 125px;
}
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .team-member img {
        width: 200px;
        height: 200px;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .process-step {
        padding: 1.5rem 1rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3.5rem;
    padding-top: 125px;
}
    
    .container {
        max-width: 960px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-section h1 {
        font-size: 4rem;
    padding-top: 125px;
}
    
    .container {
        max-width: 1140px;
    }
}

/* Landscape orientation adjustments */
@media screen and (orientation: landscape) and (max-height: 600px) {
    .hero-section {
        min-height: auto;
        padding: 1rem 0;
    }
    
    .hero-section .row {
        min-height: auto;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
    
    body {
        padding-top: 60px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image img,
    .service-card img,
    .case-study-card img,
    .team-member img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .btn,
    .contact-form,
    #footer {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .hero-section,
    .bg-light {
        background: #fff !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000;
        page-break-after: avoid;
    }
    
    .card {
        border: 1px solid #000;
        box-shadow: none;
    }
    
    .text-primary {
        color: #000 !important;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-shapes .shape-1,
    .hero-shapes .shape-2 {
        display: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .review-card:hover,
    .case-study-card:hover,
    .pricing-card:hover {
        transform: none;
    }
    
    .feature-item:hover {
        transform: none;
    }
    
    .team-member:hover img {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
}

/* Focus styles for accessibility */
@media (min-width: 768px) {
    .btn:focus,
    .form-control:focus,
    .nav-link:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* Dark mode support */

/* Container adjustments for better spacing */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section h1 {
        font-size: 4.5rem;
    padding-top: 125px;
}
} 