/* Responsive Styles */

/* Mobile First Approach */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Hero Section */
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero .lead {
        font-size: 1.125rem;
    }
    
    /* Section padding */
    section {
        padding: 2rem 0;
    }
    
    /* Card spacing */
    .card {
        margin-bottom: 1rem;
    }
    
    /* Services grid */
    #services .col-md-6 {
        margin-bottom: 1.5rem;
    }
    
    /* Team grid */
    .col-lg-2-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Process section */
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Contact form */
    .form-control {
        margin-bottom: 1rem;
    }
    
    /* Button sizing */
    .btn-success {
        padding: 0.6rem 1.5rem;
        width: 100%;
    }
    
    /* Gallery spacing */
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Footer */
    #footer .col-lg-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* Disable animations on mobile for better performance */
    @media (prefers-reduced-motion: no-preference) {
        .card:hover {
            transform: none;
        }
        
        #gallery img:hover {
            transform: none;
        }
        
        .btn-success:hover {
            transform: none;
        }
    }
    
    /* Typography adjustments */
    h2 {
        font-size: 1.75rem;
    }
    
    h5 {
        font-size: 1.125rem;
    }
    
    /* Navbar adjustments */
    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Hero Section */
    #hero h1 {
        font-size: 2.25rem;
    }
    
    /* Team grid */
    .col-lg-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Services grid improvements */
    #services .col-md-6 {
        margin-bottom: 1.5rem;
    }
    
    /* Process section */
    .process-number {
        width: 55px;
        height: 55px;
        font-size: 1.375rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero Section */
    #hero h1 {
        font-size: 2.375rem;
    }
    
    /* Team grid */
    .col-lg-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Services improvements */
    #services .card-img-top {
        height: 180px;
    }
    
    /* Gallery grid */
    #gallery .col-md-4 {
        margin-bottom: 1.5rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Team grid */
    .col-lg-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
    
    /* Services card images */
    #services .card-img-top {
        height: 200px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Container max width adjustments */
    .container {
        max-width: 1140px;
    }
    
    /* Hero section improvements */
    #hero h1 {
        font-size: 3rem;
    }
    
    #hero .lead {
        font-size: 1.375rem;
    }
    
    /* Section spacing */
    section {
        padding: 5rem 0;
    }
    
    /* Card hover effects enhancement */
    @media (prefers-reduced-motion: no-preference) {
        .card:hover {
            transform: translateY(-4px);
        }
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
    /* Reduce hero height on landscape phones */
    #hero {
        min-height: 80vh;
    }
    
    /* Reduce section padding */
    section {
        padding: 2rem 0;
    }
    
    /* Navbar adjustments */
    .navbar {
        padding: 0.25rem 0;
    }
}

/* Print styles */
@media print {
    /* Hide navigation and interactive elements */
    .navbar,
    .btn,
    #contact form,
    .decorative-shape {
        display: none !important;
    }
    
    /* Adjust colors for print */
    body {
        color: black !important;
        background: white !important;
    overflow-x: hidden;
}
    
    .card {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
    
    /* Page breaks */
    section {
        page-break-inside: avoid;
    }
    
    h2 {
        page-break-after: avoid;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid currentColor;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .form-control {
        border: 2px solid currentColor;
    }
}

/* Dark mode support (if needed in future) */

/* Focus improvements for accessibility */
@media (prefers-reduced-motion: no-preference) {
    .btn:focus,
    .form-control:focus,
    .nav-link:focus {
        outline: 2px solid var(--primary-green);
        outline-offset: 2px;
    }
}

/* Specific responsive utilities */
.mobile-center {
    text-align: center;
}

@media (min-width: 768px) {
    .mobile-center {
        text-align: inherit;
    }
}

.mobile-full-width {
    width: 100%;
}

@media (min-width: 768px) {
    .mobile-full-width {
        width: auto;
    }
}

/* Gallery responsive improvements */
@media (max-width: 767.98px) {
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    #gallery img {
        width: 100%;
        height: auto;
    }
}

/* Contact section responsive */
@media (max-width: 767.98px) {
    #contact .col-md-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    #contact i {
        font-size: 2.5rem;
    }
}

/* Blog section responsive */
@media (max-width: 991.98px) {
    #blog .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* FAQ section responsive */
@media (max-width: 991.98px) {
    #faq .col-lg-6 {
        margin-bottom: 1rem;
    }
} 