/* Responsive Design */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title-main {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Desktop (992px to 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .dropdown-menu {
        min-width: 500px;
    }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .phone-btn span,
    .login-btn span {
        display: none;
    }
    
    .hero-title-main {
        font-size: 2.5rem;
    }
    
    .hero-title-sub {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .workflow {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Large (576px to 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo-text {
        display: none;
    }
    
    .header-actions {
        gap: 0.25rem;
    }
    
    .language-switcher {
        display: none;
    }
    
    .hero {
        min-height: 80vh;
        padding-top: 80px;
    }
    
    .hero-title-main {
        font-size: 2rem;
    }
    
    .hero-title-sub {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .workflow {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .workflow-step {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }
    
    .step-number {
        margin: 0;
        flex-shrink: 0;
    }
    
    .step-content {
        flex: 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Mobile Small (up to 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title-main {
        font-size: 1.75rem;
    }
    
    .hero-title-sub {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .workflow-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-logo {
        font-size: 1.25rem;
    }
    
    .footer-logo img {
        height: 30px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .hero-actions,
    .services-cta,
    .modal {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-background {
        display: none;
    }
    
    .hero-overlay {
        display: none;
    }
    
    .hero-content {
        color: #000;
    }
    
    .services,
    .statistics,
    .how-we-work {
        padding: 2rem 0;
    }
    
    .statistics {
        background: #f8fafc;
        color: #000;
    }
    
    .stat-number {
        color: #000;
    }
}

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

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }
    
    .hero-content {
        padding: 1rem 0;
    }
    
    .hero-title-main {
        font-size: 2rem;
    }
    
    .hero-title-sub {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 0.5rem;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-background {
        animation: none;
    }
    
    .fade-in-up {
        animation: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #0f172a;
        --text-color: #f1f5f9;
        --card-bg: #1e293b;
        --border-color: #334155;
    }
    
    body {
        background-color: var(--bg-color);
        color: var(--text-color);
    }
    
    .header {
        background: var(--card-bg);
        border-bottom: 1px solid var(--border-color);
    }
    
    .service-card {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
    }
    
    .modal-content {
        background: var(--card-bg);
        color: var(--text-color);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: var(--card-bg);
        border-color: var(--border-color);
        color: var(--text-color);
    }
}
