/* Mobile First Responsive Design */

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    h1, .h1 {
        font-size: 3rem;
    }
    
    .display-4 {
        font-size: 3.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1199px) {
    .container {
        max-width: 720px;
    }
    
    h1, .h1 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 3rem;
    }
    
    #hero {
        min-height: 80vh;
    }
    
    .hero-shapes .shape-1 {
        width: 250px;
        height: 250px;
    }
    
    .hero-shapes .shape-2 {
        width: 300px;
        height: 300px;
    }
    
    #team img {
        width: 120px;
        height: 120px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    h1, .h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    #hero {
        min-height: 70vh;
        padding-top: 80px;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    #team img {
        width: 100px;
        height: 100px;
    }
    
    .process-step .badge {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1, .h1 {
        font-size: 1.75rem;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Header adjustments */
    .navbar-brand {
        font-size: 1.125rem;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    /* Hero section mobile */
    #hero {
        min-height: 60vh;
        padding-top: 100px;
    }
    
    #hero .hero-shapes {
        display: none; /* Hide decorative shapes on mobile */
    }
    
    /* Button adjustments */
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.625rem 1.25rem;
        font-size: 1rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    /* Card adjustments */
    .card-img-top {
        height: 160px;
    }
    
    .card-body {
        padding: 1rem;
    overflow-x: hidden;
}
    
    /* Team section mobile */
    #team img {
        width: 80px;
        height: 80px;
    }
    
    #team .col-lg-2 {
        margin-bottom: 1rem;
    }
    
    /* Process steps mobile */
    .process-step .badge {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    /* Feature icons mobile */
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    /* Services section mobile */
    #services .h3 {
        font-size: 1.5rem;
    }
    
    /* Gallery adjustments */
    #gallery .col-lg-3,
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Form adjustments */
    .form-control {
        padding: 0.625rem 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Footer adjustments */
    #footer .col-lg-4,
    #footer .col-lg-2,
    #footer .col-lg-3 {
        margin-bottom: 2rem;
    }
    
    /* Text alignment on mobile */
    .text-md-end {
        text-align: left;
    }
    
    /* FAQ section mobile */
    #faq .col-lg-6 {
        margin-bottom: 1rem;
    }
    
    /* Blog section mobile */
    #Blog .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    /* Pricing cards mobile */
    #priceplan .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    /* About features mobile */
    #about .col-lg-3 {
        margin-bottom: 1.5rem;
    }
    
    /* Reviews section mobile */
    #reviews .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    /* Case studies mobile */
    #casestudy .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    /* Timeline mobile */
    #timeline .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    /* Career section mobile */
    #career .col-lg-6 {
        margin-bottom: 1.5rem;
    }
    
    /* Core info mobile */
    #coreinfo .col-lg-4 {
        margin-bottom: 1.5rem;
    }
}

/* NO ANIMATIONS ON MOBILE - Respect accessibility */
@media (max-width: 767px) {
    /* Disable animations on mobile */
    [data-sal] {
        transform: none;
        opacity: 1;
    }
    
    .card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
    
    /* Disable all transitions and animations on mobile */
    *,
    *::before,
    *::after {
        transition: none;
        animation: none;
    }
}

/* Print styles */
@media print {
    .fixed-top,
    #footer,
    .btn,
    .navbar,
    #hero .hero-shapes {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid var(--dark-gray);
    }
    
    .btn-outline-primary {
        border-width: 2px;
    }
    
    .form-control {
        border-width: 2px;
    }
}

/* Dark mode preference support */

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    #hero {
        min-height: 100vh;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
}

/* Ultra-wide screens */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-shapes .shape-1 {
        width: 400px;
        height: 400px;
    }
    
    .hero-shapes .shape-2 {
        width: 500px;
        height: 500px;
    }
} 