/* Mobile First Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .display-4 {
        font-size: 3rem;
    }
    
    .display-5 {
        font-size: 2.25rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .navbar {
        padding: 1.5rem 0;
    }
    
    .display-4 {
        font-size: 3.5rem;
    }
    
    .display-5 {
        font-size: 2.5rem;
    }
    
    .hero-buttons .btn {
        padding: 1rem 2.5rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: 50%;
        padding-right: 3rem;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50%;
        padding-left: 3rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .display-4 {
        font-size: 4rem;
    }
    
    .display-5 {
        font-size: 3rem;
    }
    
    .hero-section {
        min-height: 100vh;
    }
    
    .service-card .card-img-top {
        height: 220px;
    }
    
    .team-image img {
        width: 180px;
        height: 180px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-buttons .btn {
        padding: 1.25rem 3rem;
        font-size: 1.1rem;
    }
    
    .service-card .card-img-top {
        height: 240px;
    }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Mobile Specific Styles */
@media (max-width: 767.98px) {
    /* Remove animations on mobile for better performance */
    .card:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .feature-card:hover,
    .service-card:hover,
    .pricing-card:hover,
    .team-card:hover,
    .review-card:hover {
        transform: none;
    }
    
    .solution-card:hover,
    .platform-feature:hover,
    .metric-card:hover,
    .info-card:hover {
        transform: none;
    }
    
    /* Mobile hero section */
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    /* Mobile navigation */
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    /* Mobile typography */
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Mobile cards */
    .service-card .card-img-top {
        height: 180px;
    }
    
    .team-image img {
        width: 120px;
        height: 120px;
    }
    
    /* Mobile timeline */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item::before {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        padding-left: 1rem;
        padding-right: 0;
        text-align: left;
    }
    
    /* Mobile process steps */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .step-number-large {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Mobile contact form */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Mobile gallery */
    #gallery .col-md-3 {
        margin-bottom: 0.5rem;
    }
    
    /* Mobile spacing */
    .py-5 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .mb-5 {
        margin-bottom: 2rem;
    }
    
    /* Hide decorative shapes on mobile */
    .hero-shapes {
        display: none;
    }
}

/* Tablet Specific Styles */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-buttons .btn {
        display: inline-block;
        width: auto;
        margin-right: 1rem;
        margin-bottom: 1rem;
    }
    
    .service-card .card-img-top {
        height: 200px;
    }
    
    .team-image img {
        width: 150px;
        height: 150px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-shapes,
    .btn,
    #footer {
        display: none;
    }
    
    .hero-section {
        background: white;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .card {
        border: 1px solid #dee2e6;
        box-shadow: none;
    }
    
    .py-5 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        background-color: #000;
        border-color: #000;
        color: #fff;
    }
    
    .btn-outline-primary {
        color: #000;
        border-color: #000;
    }
    
    .text-muted {
        color: #333;
    }
}

/* Dark mode support */

/* Focus management for keyboard navigation */
@media (any-hover: none) {
    .card:hover,
    .btn:hover {
        transform: none;
        box-shadow: initial;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .py-5 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
} 

body {
    overflow-x: hidden;
}

.hero-section h1 {
    padding-top: 125px;
}