/* Responsive Styles */

/* Mobile First Approach */
/* Base styles are for mobile devices */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    #hero h1 {
        font-size: 2.5rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    #hero h1 {
        font-size: 3rem;
    }
    
    section h2 {
        font-size: 2.5rem;
    }
    
    .hero-shapes .shape-1 {
        width: 250px;
        height: 250px;
    }
    
    .hero-shapes .shape-2 {
        width: 180px;
        height: 180px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #hero h1 {
        font-size: 3.5rem;
    }
    
    section h2 {
        font-size: 2.75rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0 1rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    #hero h1 {
        font-size: 4rem;
    }
    
    section h2 {
        font-size: 3rem;
    }
}

/* Mobile specific styles (up to 767px) */
@media (max-width: 767.98px) {
    /* Disable animations on mobile as per requirements */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    /* Header adjustments */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    /* Hero section mobile */
    #hero {
        padding-top: 100px;
        min-height: 100vh;
    }
    
    #hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    #hero h2 {
        font-size: 1.25rem;
    }
    
    #hero p {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Hide decorative shapes on mobile */
    .hero-shapes {
        display: none;
    }
    
    /* Section spacing */
    section {
        padding: 3rem 0;
    }
    
    section h2 {
        font-size: 1.75rem;
    }
    
    section h3 {
        font-size: 1.1rem;
    }
    
    /* Cards and components */
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .case-study-card,
    .faq-card {
        margin-bottom: 1.5rem;
    }
    
    /* Team photos */
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    /* Process steps */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Contact form */
    .contact-form .btn {
        width: 100%;
    }
    
    /* Footer adjustments */
    #footer {
        text-align: center;
    }
    
    #footer .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Tablet specific styles */
@media (min-width: 768px) and (max-width: 991.98px) {
    #hero h1 {
        font-size: 2.75rem;
    }
    
    .hero-buttons .btn {
        margin-bottom: 0.5rem;
    }
    
    section h2 {
        font-size: 2.25rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize for high DPI displays */
    .navbar {
        box-shadow: 0 1px 5px rgba(0,0,0,0.15);
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .case-study-card,
    .faq-card {
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }
}

/* Print styles */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    .navbar,
    #footer,
    .hero-buttons,
    .btn {
        display: none !important;
    }
    
    #hero {
        background: white !important;
        padding: 2rem 0;
        min-height: auto;
    }
    
    section {
        padding: 1rem 0;
        break-inside: avoid;
    }
    
    .card {
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }
}

/* Accessibility improvements */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --text-light: #000000;
        --text-dark: #000000;
    }
    
    .btn-primary {
        background-color: #0000ff;
        border-color: #0000ff;
    }
    
    .btn-outline-primary {
        color: #0000ff;
        border-color: #0000ff;
    }
}

/* Dark mode support */

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    #hero {
        min-height: 100vh;
        padding-top: 80px;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* Very small screens */
@media (max-width: 374px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    #hero h1 {
        font-size: 1.75rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        font-size: 0.875rem;
        padding: 10px 20px;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Large screens optimization */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    #hero h1 {
        font-size: 4.5rem;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .hero-shapes .shape-1 {
        width: 300px;
        height: 300px;
    }
    
    .hero-shapes .shape-2 {
        width: 220px;
        height: 220px;
    }
} 

body {
    overflow-x: hidden;
}