/* ModularSpace Responsive CSS */
/* Mobile and Tablet Breakpoints */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .hero-section h1 {
        font-size: 1.81rem;
    padding-top: 200px;
}
    
    .hero-section h2 {
        font-size: 1.35rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.59rem;
    }
    
    .feature-card,
    .info-card {
        margin-bottom: 1rem;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    .timeline-item {
        margin-left: 40px;
        width: calc(100% - 40px);
        padding: 1rem;
    }
    
    .timeline-item::before {
        left: -25px;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1rem;
    }
    
    .process-step {
        padding: 1rem;
    }
    
    .contact-info {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .card-img-top {
        height: 150px;
    }
    
    .navbar-brand {
        font-size: 1.27rem;
    }
    
    .breadcrumb-section {
        margin-top: 70px;
    }
    
    .planning-item, .selection-item, .installation-item, .maintenance-item,
    .partnership-item, .industry-item, .rental-item, .quality-item,
    .tech-item, .environmental-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section {
        padding-top: 90px;
        padding-bottom: 50px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    padding-top: 200px;
}
    
    .hero-section h2 {
        font-size: 1.52rem;
    }
    
    .hero-buttons .btn {
        display: inline-block;
        width: auto;
        margin-right: 1rem;
    }
    
    .team-member img {
        width: 130px;
        height: 130px;
    }
    
    .timeline-item {
        margin-left: 50px;
        width: calc(100% - 50px);
        padding: 1.5rem;
    }
    
    .timeline-item::before {
        left: -35px;
    }
    
    .timeline::before {
        left: 18px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 1.23rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .contact-info {
        padding: 1.75rem;
        margin-top: 2rem;
    }
    
    .planning-item, .selection-item, .installation-item, .maintenance-item,
    .partnership-item, .industry-item, .rental-item, .quality-item,
    .tech-item, .environmental-item {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    padding-top: 200px;
}
    
    .hero-section h2 {
        font-size: 1.55rem;
    }
    
    .team-member img {
        width: 140px;
        height: 140px;
    }
    
    .timeline-item {
        margin-left: 55%;
        width: 40%;
        padding: 1.75rem;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 0;
        margin-right: 55%;
    }
    
    .timeline-item::before {
        left: -40px;
    }
    
    .timeline-item:nth-child(even)::before {
        right: -40px;
        left: auto;
    }
    
    .timeline::before {
        left: 50%;
    }
    
    .card-img-top {
        height: 190px;
    }
    
    .contact-info {
        padding: 1.875rem;
        margin-top: 0;
    }
    
    .planning-item, .selection-item, .installation-item, .maintenance-item,
    .partnership-item, .industry-item, .rental-item, .quality-item,
    .tech-item, .environmental-item {
        padding: 1.375rem;
        margin-bottom: 1.75rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section {
        padding-top: 110px;
        padding-bottom: 70px;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    .planning-item, .selection-item, .installation-item, .maintenance-item,
    .partnership-item, .industry-item, .rental-item, .quality-item,
    .tech-item, .environmental-item {
        padding: 1.5rem;
        margin-bottom: 1.63rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-section {
        padding-top: 120px;
        padding-bottom: 80px;
    }
    
    .container {
        max-width: 1200px;
    }
    
    .card-img-top {
        height: 220px;
    }
    
    .planning-item, .selection-item, .installation-item, .maintenance-item,
    .partnership-item, .industry-item, .rental-item, .quality-item,
    .tech-item, .environmental-item {
        padding: 1.75rem;
        margin-bottom: 2rem;
    }
}

/* Landscape orientation for mobile devices */
@media (max-width: 991.98px) and (orientation: landscape) {
    .hero-section {
        padding-top: 70px;
        padding-bottom: 30px;
    }
    
    .hero-section h1 {
        font-size: 1.96rem;
    padding-top: 200px;
}
    
    .hero-section h2 {
        font-size: 1.29rem;
    }
    
    .min-vh-100 {
        min-height: auto;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
}

/* Print styles */
@media print {
    .hero-section {
        background: none;
        padding-top: 0;
    }
    
    .navbar,
    .breadcrumb-section,
    .btn,
    footer {
        display: none;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #d6cacb;
    }
    
    .feature-card,
    .info-card {
        box-shadow: none;
        border: 1px solid #dfcfd0;
    }
    
    .timeline-item {
        box-shadow: none;
        border: 1px solid #e2e2e2;
    }
    
    .gallery-image {
        box-shadow: none;
    }
    
    .contact-info {
        background: none;
        border: 1px solid #d7d7d7;
    }
    
    .planning-item, .selection-item, .installation-item, .maintenance-item,
    .partnership-item, .industry-item, .rental-item, .quality-item,
    .tech-item, .environmental-item {
        box-shadow: none;
        border: 1px solid #f3f3f3;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card,
    .feature-card,
    .info-card,
    .timeline-item,
    .planning-item, .selection-item, .installation-item, .maintenance-item,
    .partnership-item, .industry-item, .rental-item, .quality-item,
    .tech-item, .environmental-item {
        border: 2px solid #000;
    }
    
    .btn-primary {
        background-color: #000;
        border-color: #000;
    }
    
    .btn-outline-primary {
        color: #000;
        border-color: #000;
    }
    
    .text-primary {
        color: #000;
    }
    
    .step-number {
        background: #000;
    }
    
    .timeline::before {
        background: #000;
    }
    
    .timeline-item::before {
        background: #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .card:hover,
    .feature-card:hover,
    .info-card:hover,
    .feature-item:hover,
    .team-member img:hover,
    .gallery-image:hover,
    .planning-item:hover, .selection-item:hover, .installation-item:hover,
    .maintenance-item:hover, .partnership-item:hover, .industry-item:hover,
    .rental-item:hover, .quality-item:hover, .tech-item:hover,
    .environmental-item:hover {
        transform: none;
    }
    
    .hero-section::before {
        animation: none;
    }
}

/* Dark mode support */