/* Mobile First Responsive Design */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    /* Typography adjustments for mobile */
    h1 {
        font-size: 1.99rem;
    }
    
    h2 {
        font-size: 1.53rem;
    }
    
    h3 {
        font-size: 1.37rem;
    }
    
    .navbar-brand {
        font-size: 1.24rem;
    }
    
    /* Hero section mobile */
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 1.86rem;
        margin-bottom: 1rem;
    padding-top: 175px;
}
    
    .hero-section h2 {
        font-size: 1.36rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Card spacing */
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    /* Services grid */
    .services-grid .col-lg-4 {
        margin-bottom: 1.59rem;
    }
    
    /* Process steps mobile */
    .process-step {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.81rem;
    }
    
    /* Contact form mobile */
    .contact-info {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    /* Team members mobile */
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    /* Metric cards mobile */
    .metric-card, .support-card, .customization-card, .integration-card, .security-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .metric-card i, .support-card i, .customization-card i, .integration-card i, .security-card i {
        font-size: 1.63rem;
    }
    
    /* Footer mobile */
    footer .col-md-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* Pricing cards mobile */
    .pricing-card {
        margin-bottom: 1.63rem;
    }
    
    /* FAQ mobile */
    .faq-item {
        margin-bottom: 1rem;
    }
    
    /* Gallery mobile */
    .gallery .col-md-3 {
        margin-bottom: 1rem;
    }
    
    /* Button spacing */
    .btn {
        margin-bottom: 1rem;
    }
    
    /* Space page mobile */
    #space {
        padding-top: 100px;
    }
    
    #space h1 {
        font-size: 2rem;
    }
    
    /* Breadcrumb mobile */
    .breadcrumb-section {
        padding-top: 70px;
    }
    
    .breadcrumb-image {
        height: 25px;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Hero section small */
    .hero-section {
        padding-top: 110px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    padding-top: 175px;
}
    
    .hero-section h2 {
        font-size: 1.54rem;
    }
    
    /* Process steps small */
    .process-step {
        width: 45px;
        height: 45px;
        font-size: 1.14rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
    
    /* Team members small */
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    /* Cards small */
    .card-body {
        padding: 1.25rem;
    }
    
    /* Contact form small */
    .contact-info {
        padding: 1.75rem;
    }
    
    /* Metric cards small */
    .metric-card, .support-card, .customization-card, .integration-card, .security-card {
        padding: 1.75rem 1rem;
    }
    
    /* Footer small */
    footer .col-md-4 {
        margin-bottom: 1.59rem;
    }
    
    /* Space page small */
    #space {
        padding-top: 90px;
    }
    
    /* Breadcrumb small */
    .breadcrumb-section {
        padding-top: 75px;
    }
    
    .breadcrumb-image {
        height: 28px;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero section medium */
    .hero-section {
        padding-top: 120px;
    }
    
    .hero-section h1 {
        font-size: 2.29rem;
    padding-top: 175px;
}
    
    .hero-section h2 {
        font-size: 1.84rem;
    }
    
    /* Process steps medium */
    .process-step {
        width: 50px;
        height: 50px;
        font-size: 1.26rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 0.89rem;
    }
    
    /* Team members medium */
    .team-member img {
        width: 110px;
        height: 110px;
    }
    
    /* Cards medium */
    .card-body {
        padding: 1.4rem;
    }
    
    /* Contact form medium */
    .contact-info {
        padding: 1.85rem;
    }
    
    /* Metric cards medium */
    .metric-card, .support-card, .customization-card, .integration-card, .security-card {
        padding: 1.85rem 1rem;
    }
    
    /* Footer medium */
    footer .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Services grid medium */
    .services-grid .col-lg-4 {
        margin-bottom: 1.57rem;
    }
    
    /* Timeline medium */
    .timeline-item {
        padding: 1.25rem;
    }
    
    /* Space page medium */
    #space {
        padding-top: 85px;
    }
    
    /* Breadcrumb medium */
    .breadcrumb-section {
        padding-top: 78px;
    }
    
    .breadcrumb-image {
        height: 29px;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Hero section large */
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-section h1 {
        font-size: 2.60rem;
    padding-top: 175px;
}
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    /* Process steps large */
    .process-step {
        width: 55px;
        height: 55px;
        font-size: 1.28rem;
    }
    
    .step-number {
        width: 47px;
        height: 47px;
        font-size: 0.96rem;
    }
    
    /* Team members large */
    .team-member img {
        width: 115px;
        height: 115px;
    }
    
    /* Cards large */
    .card-body {
        padding: 1.45rem;
    }
    
    /* Contact form large */
    .contact-info {
        padding: 1.9rem;
    }
    
    /* Metric cards large */
    .metric-card, .support-card, .customization-card, .integration-card, .security-card {
        padding: 1.9rem 1rem;
    }
    
    /* Services grid large */
    .services-grid .col-lg-4 {
        margin-bottom: 1.61rem;
    }
    
    /* Timeline large */
    .timeline-item {
        padding: 1.15rem;
    }
    
    /* Space page large */
    #space {
        padding-top: 80px;
    }
    
    /* Breadcrumb large */
    .breadcrumb-section {
        padding-top: 80px;
    }
    
    .breadcrumb-image {
        height: 30px;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Hero section extra large */
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-section h1 {
        font-size: 2.61rem;
    padding-top: 175px;
}
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    /* Process steps extra large */
    .process-step {
        width: 60px;
        height: 60px;
        font-size: 1.35rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    /* Team members extra large */
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Cards extra large */
    .card-body {
        padding: 1.5rem;
    }
    
    /* Contact form extra large */
    .contact-info {
        padding: 2rem;
    }
    
    /* Metric cards extra large */
    .metric-card, .support-card, .customization-card, .integration-card, .security-card {
        padding: 2rem 1rem;
    }
    
    /* Services grid extra large */
    .services-grid .col-lg-4 {
        margin-bottom: 1.74rem;
    }
    
    /* Timeline extra large */
    .timeline-item {
        padding: 1rem;
    }
    
    /* Space page extra large */
    #space {
        padding-top: 80px;
    }
    
    /* Breadcrumb extra large */
    .breadcrumb-section {
        padding-top: 80px;
    }
    
    .breadcrumb-image {
        height: 30px;
    }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        padding-top: 80px;
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    padding-top: 175px;
}
    
    .hero-section h2 {
        font-size: 1.64rem;
    }
    
    #space {
        padding-top: 70px;
        min-height: 60vh;
    }
    
    .breadcrumb-section {
        padding-top: 70px;
    }
}

/* Print Styles */
@media print {
    .navbar, .breadcrumb-section, footer, .btn {
        display: none !important;
    }
    
    .hero-section, #space {
        padding-top: 0 !important;
        min-height: auto !important;
    }
    
    .card {
        border: 1px solid #ebebeb !important;
        break-inside: avoid;
    }
    
    .metric-card, .support-card, .customization-card, .integration-card, .security-card {
        border: 1px solid #f5e1de !important;
        break-inside: avoid;
    }
    
    body {
        font-size: 12pt !important;
        line-height: 1.4 !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000 !important;
    }
    
    .hero-section h1, .hero-section h2, .hero-section p {
        color: #000 !important;
        text-shadow: none !important;
    }
    
    #space h1, #space .lead {
        color: #000 !important;
        text-shadow: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000 !important;
    }
    
    .btn-primary {
        background-color: #000 !important;
        border-color: #000 !important;
        color: #fff !important;
    }
    
    .process-step, .step-number {
        background-color: #000 !important;
        color: #fff !important;
    }
    
    .metric-card, .support-card, .customization-card, .integration-card, .security-card {
        border: 2px solid #000 !important;
    }
    
    .contact-info {
        background-color: #f0f0f0 !important;
        border: 2px solid #000 !important;
    }
    
    .navbar-brand {
        color: #000 !important;
    }
    
    .hero-section h1, .hero-section h2, .hero-section p {
        color: #000 !important;
        text-shadow: none !important;
    }
    
    #space h1, #space .lead {
        color: #000 !important;
        text-shadow: none !important;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-section::before {
        animation: none !important;
    }
    
    .card:hover {
        transform: none !important;
    }
    
    .metric-card:hover, .support-card:hover, .customization-card:hover, .integration-card:hover, .security-card:hover {
        transform: none !important;
    }
    
    .btn-primary:hover {
        transform: none !important;
    }
    
    .gallery img:hover {
        transform: none !important;
    }
    
    .team-member img:hover {
        transform: none !important;
    }
} 