/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        gap: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero {
        height: 80vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .service-card,
    .insight-card,
    .client-card,
    .news-card {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }
}

/* Large Desktop Styles */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero h1 {
        font-size: 5rem;
    }

    .hero p {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 3.5rem;
    }

    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ultra-Wide Screens */
@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
    }

    .hero h1 {
        font-size: 6rem;
    }

    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Orientation Specific */
@media (orientation: landscape) and (max-height: 600px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 6rem 0 4rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #e0e0e0;
        --text-light: #b0b0b0;
        --light-gray: #1a1a1a;
        --white: #2a2a2a;
    }

    body {
        background: #1a1a1a;
    }

    .card {
        background: #2a2a2a;
    }

    .form-control {
        background: #333;
        border-color: #555;
        color: #e0e0e0;
    }
}

/* Print Styles */
@media print {
    header, footer, .hero-background {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .section {
        page-break-inside: avoid;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}