/* Responsive Design - Mobile First Approach */

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .benefits-showcase {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline-connector {
        display: none;
    }
    
    .timeline-step {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }
    
    .step-circle {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .step-circle i {
        font-size: 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .nav-links a {
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .hero {
        padding: 8rem 0 4rem;
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero .container {
        gap: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-placeholder {
        padding: 2rem;
    }
    
    .hero-placeholder i {
        font-size: 3rem;
    }
    
    /* About Section */
    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature {
        padding: 1rem;
    }
    
    .feature i {
        font-size: 2rem;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card.enhanced {
        margin-bottom: 1rem;
    }
    
    .service-image {
        height: 150px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    /* Process Section */
    .process-timeline {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .timeline-connector {
        display: none;
    }
    
    .timeline-step {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        align-items: center;
    }
    
    .step-circle {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }
    
    .step-circle i {
        font-size: 1.25rem;
    }
    
    .step-content h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
        max-width: none;
    }
    
    /* Benefits Section */
    .benefits-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-group {
        padding: 2rem 1.5rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .benefit-group h3 {
        font-size: 1.1rem;
    }
    
    .benefit-group p {
        font-size: 0.9rem;
    }
    
    /* Contact Section */
    .contact-form {
        padding: 2rem;
    }
    
    .contact-info {
        padding: 1rem 0;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
    
    .contact-item i {
        width: 35px;
        height: 35px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Language Switcher */
    .language-switcher {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-placeholder {
        padding: 1.5rem;
    }
    
    .hero-placeholder i {
        font-size: 2.5rem;
    }
    
    .service-card,
    .benefit-card {
        padding: 1.25rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .service-icon,
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i,
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .contact-item i {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
}

/* Large Desktop Styles */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.375rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Print Styles */
@media print {
    .header,
    .mobile-menu-toggle,
    .language-switcher,
    .hero-cta,
    .contact-form {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    .hero {
        margin-top: 0;
        padding: 2rem 0;
    }
    
    section {
        padding: 1.5rem 0;
        page-break-inside: avoid;
    }
    
    .service-card,
    .benefit-card {
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-blue: #0000ff;
        --secondary-gray: #000000;
        --border-color: #000000;
    }
    
    .btn-primary {
        border: 2px solid #000;
    }
    
    .service-card,
    .benefit-card {
        border: 2px solid #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus Styles for Accessibility */
.nav-links a:focus,
.btn:focus,
.lang-btn:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Smooth Scrolling Enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* This can be implemented if dark mode is desired in the future */
    /* Currently maintaining light theme for professional B2B appearance */
}