/* Responsive Design - Mobile First Approach */

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section h1 {
        font-size: 3.61rem;
    padding-top: 225px;
}
    
    .hero-section p {
        font-size: 1.50rem;
    }
    
    .feature-card {
        padding: 2.5rem;
    }
    
    .service-card img {
        height: 220px;
    }
    
    .team-member img {
        width: 140px;
        height: 140px;
    }
}

/* Medium Desktops (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-section h1 {
        font-size: 3rem;
    padding-top: 225px;
}
    
    .hero-section p {
        font-size: 1.31rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .service-card img {
        height: 200px;
    }
}

/* Tablets (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 2.51rem;
    padding-top: 225px;
}
    
    .hero-section p {
        font-size: 1.27rem;
    }
    
    .navbar-brand {
        font-size: 1.49rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .service-card img {
        height: 180px;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    .price-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .review-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .timeline-item {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 60px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
        padding-left: 60px;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-item::before {
        left: 15px;
    }
    
    .timeline-item:nth-child(even)::before {
        left: 15px;
    }
    
    .process-step {
        margin-bottom: 1.66rem;
    }
    
    .career-item {
        margin-bottom: 2rem;
    }
    
    .info-card {
        margin-bottom: 2rem;
    }
    
    .blog-card {
        margin-bottom: 2rem;
    }
    
    .faq-item {
        margin-bottom: 1.74rem;
    }
    
    #gallery img {
        height: 200px;
        margin-bottom: 1rem;
    }
}

/* Mobile Devices (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-section {
        padding: 80px 0 40px;
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    padding-top: 225px;
}
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1.64rem;
    }
    
    .navbar-brand {
        font-size: 1.36rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }
    
    section {
        padding: 60px 0;
    }
    
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1.67rem;
    }
    
    .feature-card i {
        font-size: 2rem;
    }
    
    .service-card img {
        height: 160px;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .team-member {
        margin-bottom: 1.65rem;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    .price-card {
        padding: 1.5rem;
        margin-bottom: 1.60rem;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .price-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .review-card {
        padding: 1.5rem;
        margin-bottom: 1.63rem;
    }
    
    .case-study-card img {
        height: 150px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 50px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
        padding-left: 50px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item::before {
        left: 10px;
        width: 16px;
        height: 16px;
    }
    
    .timeline-item:nth-child(even)::before {
        left: 10px;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .process-step {
        margin-bottom: 1.68rem;
        padding: 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.38rem;
    }
    
    .career-item {
        margin-bottom: 1.67rem;
        padding: 1.5rem;
    }
    
    .info-card {
        margin-bottom: 1.69rem;
        padding: 1.5rem;
    }
    
    .info-card i {
        font-size: 2rem;
    }
    
    .blog-card {
        margin-bottom: 1.57rem;
    }
    
    .blog-card img {
        height: 150px;
    }
    
    .blog-content {
        padding: 1rem;
    }
    
    .faq-item {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }
    
    #gallery img {
        height: 180px;
        margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .equipment-card img {
        height: 150px;
    }
    
    .support-card {
        padding: 1.5rem;
        margin-bottom: 1.61rem;
    }
    
    .support-card i {
        font-size: 2rem;
    }
    
    .consultation-card img {
        height: 150px;
    }
    
    .specialty-card img {
        height: 150px;
    }
}

/* Small Mobile Devices (up to 575px) */
@media (max-width: 575px) {
    .hero-section {
        padding: 70px 0 30px;
        min-height: 60vh;
    }
    
    .hero-section h1 {
        font-size: 1.86rem;
        margin-bottom: 0.85rem;
    padding-top: 225px;
}
    
    .hero-section p {
        font-size: 1.00rem;
        margin-bottom: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.15rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.125rem 0;
        font-size: 0.97rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    h2 {
        font-size: 1.88rem;
    }
    
    h3 {
        font-size: 1.52rem;
    }
    
    h4 {
        font-size: 1.27rem;
    }
    
    .feature-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-card i {
        font-size: 1.83rem;
    }
    
    .service-card img {
        height: 140px;
    }
    
    .service-content {
        padding: 0.75rem;
    }
    
    .team-member {
        margin-bottom: 1rem;
        padding: 0.75rem;
    }
    
    .team-member img {
        width: 70px;
        height: 70px;
    }
    
    .price-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .price-card.featured:hover {
        transform: translateY(-3px);
    }
    
    .review-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .case-study-card img {
        height: 120px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 40px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
        padding-left: 40px;
    }
    
    .timeline::before {
        left: 15px;
        width: 2px;
    }
    
    .timeline-item::before {
        left: 5px;
        width: 12px;
        height: 12px;
    }
    
    .timeline-item:nth-child(even)::before {
        left: 5px;
    }
    
    .timeline-content {
        padding: 0.75rem;
    }
    
    .process-step {
        margin-bottom: 1rem;
        padding: 0.75rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .career-item {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .info-card {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .info-card i {
        font-size: 1.55rem;
    }
    
    .blog-card {
        margin-bottom: 1rem;
    }
    
    .blog-card img {
        height: 120px;
    }
    
    .blog-content {
        padding: 0.75rem;
    }
    
    .faq-item {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    #gallery img {
        height: 150px;
        margin-bottom: 0.84rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .contact-form .form-control {
        padding: 0.5rem;
    }
    
    .contact-form .btn {
        padding: 0.5rem 1.5rem;
    }
    
    .equipment-card img {
        height: 120px;
    }
    
    .support-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .support-card i {
        font-size: 1.65rem;
    }
    
    .consultation-card img {
        height: 120px;
    }
    
    .specialty-card img {
        height: 120px;
    }
    
    footer {
        padding: 2rem 0 1rem;
    }
    
    #space {
        min-height: 50vh;
    }
    
    .space-content {
        padding: 2rem;
    }
}

/* Extra Small Devices (up to 400px) */
@media (max-width: 400px) {
    .hero-section h1 {
        font-size: 1.57rem;
    padding-top: 225px;
}
    
    .hero-section p {
        font-size: 0.89rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.90rem;
    }
    
    section {
        padding: 30px 0;
    }
    
    h2 {
        font-size: 1.61rem;
    }
    
    h3 {
        font-size: 1.30rem;
    }
    
    h4 {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 0.75rem;
    }
    
    .service-card img {
        height: 120px;
    }
    
    .service-content {
        padding: 0.5rem;
    }
    
    .team-member {
        padding: 0.5rem;
    }
    
    .team-member img {
        width: 60px;
        height: 60px;
    }
    
    .price-card {
        padding: 0.75rem;
    }
    
    .review-card {
        padding: 0.75rem;
    }
    
    .case-study-card img {
        height: 100px;
    }
    
    .timeline-content {
        padding: 0.5rem;
    }
    
    .process-step {
        padding: 0.5rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.92rem;
    }
    
    .career-item {
        padding: 0.75rem;
    }
    
    .info-card {
        padding: 0.75rem;
    }
    
    .blog-card img {
        height: 100px;
    }
    
    .blog-content {
        padding: 0.5rem;
    }
    
    .faq-item {
        padding: 0.75rem;
    }
    
    #gallery img {
        height: 120px;
    }
    
    .contact-form {
        padding: 0.75rem;
    }
    
    .equipment-card img {
        height: 100px;
    }
    
    .support-card {
        padding: 0.75rem;
    }
    
    .consultation-card img {
        height: 100px;
    }
    
    .specialty-card img {
        height: 100px;
    }
    
    #space {
        min-height: 40vh;
    }
    
    .space-content {
        padding: 1.5rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section::before {
        background-size: cover;
    }
    
    .service-card img,
    .case-study-card img,
    .blog-card img,
    .equipment-card img,
    .consultation-card img,
    .specialty-card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: 50vh;
        padding: 60px 0 30px;
    }
    
    .hero-section h1 {
        font-size: 1.77rem;
    padding-top: 225px;
}
    
    .hero-section p {
        font-size: 1rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .timeline-item {
        padding-left: 35px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item::before {
        left: 0;
    }
    
    .timeline-item:nth-child(even)::before {
        left: 0;
    }
}

/* Dark Mode Support */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-section::before {
        animation: none;
    }
    
    .service-card:hover img,
    .case-study-card:hover img,
    .blog-card:hover img,
    .equipment-card:hover img,
    .consultation-card:hover img,
    .specialty-card:hover img {
        transform: none;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .price-card:hover,
    .team-member:hover,
    .review-card:hover,
    .case-study-card:hover,
    .process-step:hover,
    .career-item:hover,
    .info-card:hover,
    .blog-card:hover,
    .faq-item:hover,
    .equipment-card:hover,
    .support-card:hover,
    .consultation-card:hover,
    .specialty-card:hover {
        transform: none;
    }
    
    .navbar-nav .nav-link:hover {
        transform: none;
    }
    
    .contact-form .btn:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
    }
    
    body {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .hero-section,
    section {
        padding: 1rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.57rem;
    padding-top: 225px;
}
    
    .hero-section p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.32rem;
    }
    
    h3 {
        font-size: 1.15rem;
    }
    
    h4 {
        font-size: 1rem;
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .team-member,
    .review-card,
    .case-study-card,
    .process-step,
    .career-item,
    .info-card,
    .blog-card,
    .faq-item,
    .equipment-card,
    .support-card,
    .consultation-card,
    .specialty-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .timeline-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    img {
        max-width: 100% !important;
        height: auto !important;
    }
} 