/* Mobile First Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-shapes .shape-1,
    .hero-shapes .shape-2 {
        display: none;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    /* No animations on mobile */
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-shapes .shape-1 {
        width: 250px;
        height: 250px;
    }
    
    .hero-shapes .shape-2 {
        width: 150px;
        height: 150px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-shapes .shape-1 {
        width: 350px;
        height: 350px;
    }
    
    .hero-shapes .shape-2 {
        width: 250px;
        height: 250px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #ffffff;
        --accent-color: #000000;
        --neutral-color: #ffffff;
        --highlight-color: #000000;
    }
}

/* Focus improvements for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
} 

body {
    overflow-x: hidden;
}