/* Mobile First Responsive Design */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding-top: 1rem;
        min-height: 80vh;
    }
    
    .feature-card,
    .service-card,
    .contact-info {
        margin-bottom: 1rem;
    }
    
    .stat-card h3 {
        font-size: 1.8rem;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    .getting-started-step .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* Disable animations on mobile for performance */
    .feature-card:hover,
    .service-card:hover,
    #gallery img:hover {
        transform: none;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section {
        min-height: 85vh;
    }
    
    .stat-card h3 {
        font-size: 2.2rem;
    }
    
    .team-member img {
        width: 130px;
        height: 130px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .feature-card {
        min-height: 250px;
    }
    
    .service-card {
        min-height: 400px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .feature-card {
        min-height: 280px;
    }
    
    .service-card {
        min-height: 450px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-decorative-shape {
        width: 300px;
        height: 300px;
    }
}

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .service-card,
    #gallery img {
        transition: none;
    }
    
    .hero-decorative-shape {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    overflow-x: hidden;
}
    
    h1, h2, h3, h4 {
        page-break-after: avoid;
    }
} 

.hero-section h1 {
    padding-top: 150px;
}