/* Mobile First Responsive Styles */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .container-sm {
        max-width: 540px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .card-img-top {
        height: 200px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Mobile Specific Styles */
@media (max-width: 767.98px) {
    /* Disable scroll animations on mobile */
    [data-sal] {
        transform: none !important;
        opacity: 1 !important;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    padding-top: 200px;
}
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    /* Cards */
    .card {
        margin-bottom: 1rem;
    }
    
    .service-card .card-img-top {
        height: 180px;
    }
    
    /* Team Members */
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Process Steps */
    .process-step {
        margin-bottom: 2rem;
    }
    
    .step-number {
        width: 50px !important;
        height: 50px !important;
        font-size: 1rem;
    }
    
    /* Contact Form */
    .contact-form {
        margin-bottom: 2rem;
    }
    
    /* Footer */
    footer .col-lg-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Typography Mobile */
    .display-4 {
        font-size: 1.8rem;
    }
    
    .h3 {
        font-size: 1.4rem;
    }
    
    .h4 {
        font-size: 1.2rem;
    }
    
    .h5 {
        font-size: 1.1rem;
    }
    
    .h6 {
        font-size: 1rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Spacing Mobile */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
}

/* Tablet Specific Styles */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .service-card .card-img-top {
        height: 190px;
    }
    
    .team-member img {
        width: 140px;
        height: 140px;
    }
}

/* Desktop Specific Styles */
@media (min-width: 992px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-content {
        padding-right: 2rem;
    padding-top: 200px;
}
    
    .service-card .card-img-top {
        height: 220px;
    }
    
    .team-member img {
        width: 150px;
        height: 150px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        page-break-after: always;
    }
    
    .card {
        break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    overflow-x: hidden;
}
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-img-top,
    .hero-section img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Dark Mode Support */

/* Focus Management */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
} 