/* Responsive CSS - Mobile Optimized */

/* Mobile - No animations in mobile resolution */
@media (max-width: 768px) {
    * {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .price-card:hover,
    .career-card:hover,
    .gallery-section img:hover,
    .story-item:hover,
    .mission-item:hover,
    .tech-item:hover,
    .cert-item:hover,
    .sustain-item:hover,
    .design-item:hover,
    .manufacturing-item:hover,
    .installation-item:hover,
    .maintenance-item:hover,
    .consultation-item:hover {
        transform: none !important;
    }
}

/* Tablet and smaller */
@media (max-width: 991px) {
    .hero-section {
        text-align: center;
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
}

/* Mobile phones */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    overflow-x: hidden;
}
    
    .navbar-brand {
        font-size: 1.25rem !important;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 1.25rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.125rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .service-card .card-img-top,
    .case-card .card-img-top,
    .blog-card .card-img-top {
        height: 150px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .year {
        width: 70px;
        height: 70px;
        font-size: 1rem;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .process-step,
    .timeline-item {
        padding: 1rem;
    }
    
    .story-item, .mission-item, .tech-item, .cert-item, .sustain-item,
    .design-item, .manufacturing-item, .installation-item, .maintenance-item, .consultation-item {
        padding: 1rem;
    }
    
    .breadcrumb-section {
        padding-top: 90px;
    }
}

/* Small mobile phones */
@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.5rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 1.125rem;
    }
    
    h2 {
        font-size: 1.375rem;
    }
    
    h3 {
        font-size: 1.125rem;
    }
    
    .feature-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .service-card .card-body,
    .blog-card .card-body,
    .case-card .card-body {
        padding: 1rem;
    }
    
    .price-card .card-body {
        padding: 1.5rem 1rem;
    }
    
    .contact-form .form-control {
        padding: 0.5rem 0.75rem;
    }
    
    .contact-form .btn-primary {
        padding: 0.5rem 1.5rem;
        width: 100%;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .year {
        width: 60px;
        height: 60px;
        font-size: 0.9rem;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    .footer-section .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-section {
        padding: 1.5rem 0;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
    
    .service-card .card-img-top,
    .case-card .card-img-top,
    .blog-card .card-img-top {
        height: 120px;
    }
    
    .gallery-section .col-6 {
        margin-bottom: 0.5rem;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 1rem 0;
    }
    
    .hero-section .min-vh-100 {
        min-height: auto !important;
    }
    
    #space {
        min-height: calc(100vh - 60px);
    }
    
    body {
        padding-top: 60px;
    }
}

/* High contrast mode improvements */
@media (prefers-contrast: high) {
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .case-card,
    .career-card,
    .faq-card,
    .blog-card {
        border: 2px solid var(--dark-color);
    }
    
    .hero-section::before {
        display: none;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer-section,
    .breadcrumb-section,
    .gallery-section {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        color: black;
        background: white;
    }
    
    .hero-section,
    .py-5 {
        padding: 1rem 0 !important;
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .case-card,
    .career-card,
    .faq-card {
        border: 1px solid #ccc;
        break-inside: avoid;
        margin-bottom: 1rem;
    }
} 