/* Mobile First Responsive Design */

/* Small devices (576px and up) */
@media (min-width: 576px) {
    h1 {
        font-size: 2.89rem;
    }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    .py-5 {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
    h1 {
        font-size: 3.59rem;
    }
}

/* Mobile Specific Styles */
@media (max-width: 767.98px) {
    /* Disable animations on mobile */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .card:hover {
        transform: none !important;
        box-shadow: 0 6px 6px -1px rgba(0, 0, 0, 0.1) !important;
    }
    
    #gallery img:hover {
        transform: none !important;
    }
    
    /* Typography adjustments for mobile */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.86rem;
    }
    
    .navbar-brand {
        font-size: 1.21rem !important;
    }
    
    /* Hero section mobile */
    #hero {
        min-height: 90vh;
        text-align: center;
    }
    
    #hero .btn {
        width: 100%;
        margin-top: 1rem;
    }
    
    /* Services cards mobile */
    #services .card {
        margin-bottom: 2rem;
    }
    
    /* Team section mobile */
    #team .col-md-6 {
        margin-bottom: 2rem;
    }
    
    /* Contact form mobile */
    .contact-info {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    /* Gallery mobile */
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* FAQ mobile */
    #faq .col-lg-6 {
        margin-bottom: 1rem;
    }
    
    /* Process section mobile */
    #process .col-md-6 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* Price plan mobile */
    #priceplan .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Reviews mobile */
    #reviews .col-md-6 {
        margin-bottom: 1.75rem;
    }
    
    /* Case study mobile */
    #casestudy .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
    .py-5 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    #services .col-md-6 {
        margin-bottom: 2rem;
    }
    
    #team .col-md-6 {
        margin-bottom: 2rem;
    }
    
    #reviews .col-md-6 {
        margin-bottom: 1.75rem;
    }
}

/* Extra large devices adjustments */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    h1 {
        font-size: 4rem;
    }
    
    .py-5 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    #footer,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    overflow-x: hidden;
}
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #dfdfdf;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid var(--text-dark);
    }
    
    .btn-primary {
        border: 2px solid var(--primary-color);
    }
}

/* Dark mode support */