/* Responsive Design */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .hero-container {
        gap: 2rem;
        grid-template-columns: 1.1fr 0.9fr;
    }
    
    .hero-visual {
        padding: 2rem;
        max-width: 350px;
    }
    
    .process-flow {
        gap: 0.5rem;
    }
    
    .flow-step {
        min-width: 70px;
    }
    
    .flow-step span {
        font-size: 0.85rem;
    }
    
    .case-study-content {
        gap: 3rem;
    }
    
    .contact-content {
        gap: 3rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 100%;
        padding: 2rem;
    }
    
    .process-flow {
        flex-direction: row;
        gap: 0.75rem;
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    .flow-step {
        min-width: 60px;
    }
    
    .flow-step span {
        font-size: 0.8rem;
    }
    
    .flow-arrow {
        transform: none;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    /* Process Section */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Use Cases Section */
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .use-case-card {
        padding: 1.5rem;
    }
    
    .use-case-link {
        margin-top: 0.75rem;
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .use-case-link i {
        font-size: 0.75rem;
    }
    
    /* Case Study Section */
    .case-study-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .case-study-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Social Proof Section */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Team Section */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-member {
        text-align: center;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .member-info p {
        max-height: 6.4em; /* Show 4 lines on mobile */
    }
    
    .member-photo-img {
        width: 120px !important;
        height: 120px !important;
        min-width: 120px !important;
        min-height: 120px !important;
        max-width: 120px !important;
        max-height: 120px !important;
    }
    
    .photo-placeholder {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    /* Navigation */
    .nav-menu {
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-visual {
        padding: 1.5rem;
    }
    
    .process-flow {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flow-step {
        min-width: auto;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    /* Sections */
    section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Process Section */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .process-card {
        padding: 1.5rem;
    }
    
    /* Process Modal */
    .process-modal {
        padding: 0.5rem;
    }
    
    .process-modal-content {
        max-width: 100%;
        margin: 0;
    }
    
    .process-modal-body {
        padding: 2rem 1rem 1rem;
    }
    
    .process-modal-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .process-modal-body h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .process-modal-details h4 {
        font-size: 1.1rem;
    }
    
    .process-modal-details li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .process-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1.25rem;
        padding: 0.25rem;
    }
    
    /* Use Cases Section */
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .use-case-card {
        padding: 1.5rem;
    }
    
    /* Case Study Section */
    .case-study-content {
        gap: 1.5rem;
    }
    
    .case-study-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .case-study-visual {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }
    
    /* Social Proof Section */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* Contact Section */
    .contact-content {
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Team Section - Small Mobile */
    .member-photo-img {
        width: 90px !important;
        height: 90px !important;
        min-width: 90px !important;
        min-height: 90px !important;
        max-width: 90px !important;
        max-height: 90px !important;
    }
    
    .photo-placeholder {
        width: 90px;
        height: 90px;
        font-size: 2rem;
    }
    
    /* Footer */
    .footer-content {
        gap: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .process-card,
    .use-case-card,
    .testimonial-card {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .hero-container {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-visual,
    .process-icon,
    .use-case-icon,
    .contact-item i {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .nav-toggle,
    .hero-cta,
    .contact-form,
    .footer {
        display: none !important;
    }
    
    .hero {
        padding: 20px 0;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
    
    .process-grid,
    .use-cases-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    * {
        color: black !important;
        background: white !important;
        box-shadow: none !important;
    }
} 