/* Responsive Styles */

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Desktops (992px to 1199px) */
@media (max-width: 1199px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    h1, .h1 {
        font-size: 1.875rem;
    }
    
    h2, .h2 {
        font-size: 1.625rem;
    }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
    /* Navigation */
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    /* Hero Section */
    .hero-section {
        text-align: center;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    /* Team */
    .team-member {
        margin-bottom: 2rem;
    }
    
    /* Process */
    .process-step {
        margin-bottom: 2rem;
    }
    
    /* Typography */
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    h1, .h1 {
        font-size: 1.75rem;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
    }
    
    h3, .h3 {
        font-size: 1.375rem;
    }
}

/* Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {
    /* Global */
    body {
        font-size: 15px;
    }
    
    /* Header */
    .navbar-brand {
        font-size: 1.125rem;
    }
    
    header {
        position: relative;
    }
    
    /* Hero */
    .hero-section {
        min-height: 100vh;
        padding: 5rem 0 3rem;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.25rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    /* Typography */
    .display-4 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    h1, .h1 {
        font-size: 1.5rem;
    }
    
    h2, .h2 {
        font-size: 1.375rem;
    }
    
    h3, .h3 {
        font-size: 1.25rem;
    }
    
    h4, .h4 {
        font-size: 1.125rem;
    }
    
    p {
        font-size: 0.9375rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Sections */
    section {
        padding: 2.5rem 0;
    }
    
    /* Service Cards */
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    /* Price Cards */
    .price-card {
        margin-bottom: 1.5rem;
    }
    
    /* Features */
    .feature-item {
        margin-bottom: 1.5rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1.25rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    /* Footer */
    footer .col-lg-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Swiper - Disable autoplay and effects on mobile */
    .swiper {
        --swiper-autoplay: 0;
    }
    
    .swiper-slide {
        transition-duration: 300ms !important;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    /* Container */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Typography */
    .display-4 {
        font-size: 1.5rem;
    }
    
    .display-5 {
        font-size: 1.375rem;
    }
    
    h1, .h1 {
        font-size: 1.375rem;
    }
    
    h2, .h2 {
        font-size: 1.25rem;
    }
    
    h3, .h3 {
        font-size: 1.125rem;
    }
    
    h4, .h4 {
        font-size: 1rem;
    }
    
    /* Hero */
    .hero-section {
        padding: 4rem 0 2rem;
    }
    
    /* Cards */
    .service-card,
    .price-card,
    .career-card,
    .case-study-card {
        padding: 1.25rem;
    }
    
    /* Team */
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Process */
    .step-number {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.25rem;
    }
    
    /* Timeline */
    .timeline-item {
        padding-left: 30px;
    }
    
    .timeline-item::before {
        width: 16px;
        height: 16px;
    }
    
    /* Gallery */
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Blog */
    .blog-card {
        padding: 1rem;
    }
    
    .blog-card img {
        height: 150px;
    }
    
    /* Accordion */
    .accordion-button {
        font-size: 0.9375rem;
        padding: 0.75rem 1rem;
    }
    
    /* Contact Info */
    .contact-info p {
        font-size: 0.875rem;
    }
}

/* Extra Small Devices (up to 400px) */
@media (max-width: 400px) {
    /* Navbar */
    .navbar-brand {
        font-size: 1rem;
    }
    
    /* Typography */
    body {
        font-size: 14px;
    }
    
    .display-4 {
        font-size: 1.375rem;
    }
    
    .display-5 {
        font-size: 1.25rem;
    }
    
    h1, .h1 {
        font-size: 1.25rem;
    }
    
    h2, .h2 {
        font-size: 1.125rem;
    }
    
    h3, .h3 {
        font-size: 1rem;
    }
    
    /* Sections */
    section {
        padding: 2rem 0;
    }
    
    /* Forms */
    .form-control,
    .form-select {
        font-size: 0.875rem;
        padding: 0.625rem 0.875rem;
    }
}

/* Print Styles */
@media print {
    /* Hide non-essential elements */
    header,
    footer,
    .btn,
    .swiper-pagination,
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    
    /* Adjust layout */
    section {
        page-break-inside: avoid;
        padding: 1rem 0;
    }
    
    /* Typography */
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0056b3;
        --secondary-color: #dc3545;
        --text-dark: #000;
        --text-light: #333;
        --bg-light: #f0f0f0;
        --shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #f8f9fa;
        --text-light: #dee2e6;
        --bg-white: #212529;
        --bg-light: #343a40;
        --shadow: 0 2px 10px rgba(255,255,255,0.1);
    }
    
    body {
        background-color: #1a1a1a;
    }
    
    .navbar-light {
        background: rgba(33, 37, 41, 0.95) !important;
    }
    
    .navbar-light .navbar-brand,
    .navbar-light .navbar-nav .nav-link {
  font-size: 12px !important;
        color: var(--text-dark);
    }
    
    .bg-light {
        background-color: var(--bg-light) !important;
    }
    
    .bg-white {
        background-color: var(--bg-white) !important;
    }
    
    .text-muted {
        color: var(--text-light) !important;
    }
} 