/* responsive.css - Media queries and responsive styles */

/* Tablet & Smaller Devices */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0 40px;
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 42px;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero .subtitle {
        font-size: 18px;
        margin-bottom: 35px;
        line-height: 1.4;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 280px;
        margin: 0 auto;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 18px 30px;
        font-size: 16px;
        text-align: center;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 18px;
        margin-bottom: 50px;
        padding: 0 10px;
    }

    .principles-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

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

    .case-card {
        min-width: 300px;
    }

    .floating-cards {
        display: none;
    }
    
    /* Improved tablet styles */
    section {
        padding: 70px 0;
    }
    
    .orb1, .orb2, .orb3 {
        opacity: 0.3;
        transform: scale(0.8);
    }
    
    .principle-card,
    .service-card {
        padding: 30px 25px;
        margin-bottom: 20px;
    }
    
    .cases-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
    }
    
    .cases-scroll::-webkit-scrollbar {
        height: 6px;
    }

    /* Better header for tablet */
    nav {
        padding: 15px 0;
    }

    .logo {
        font-size: 26px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }
}

/* Mobile Phones */
@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }

    header {
        padding: 8px 0;
    }
    
    nav {
        padding: 12px 0;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .hero {
        margin-top: 70px;
        padding: 40px 0 30px;
        min-height: 75vh;
    }
    
    .hero h1 {
        font-size: 28px;
        line-height: 1.15;
        margin-bottom: 18px;
        padding: 0 5px;
    }
    
    .hero .subtitle {
        font-size: 16px;
        margin-bottom: 30px;
        line-height: 1.4;
        padding: 0 10px;
    }

    .hero-buttons {
        gap: 12px;
        max-width: 260px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 16px 24px;
        font-size: 15px;
        border-radius: 40px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 26px;
        margin-bottom: 12px;
        line-height: 1.2;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
        bottom: -12px;
    }
    
    .section-subtitle {
        font-size: 15px;
        margin-bottom: 35px;
        line-height: 1.5;
        padding: 0 5px;
    }
    
    .principle-card, .service-card {
        padding: 25px 20px;
        margin-bottom: 15px;
        border-radius: 20px;
    }
    
    .principle-icon, .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 18px;
        font-size: 24px;
    }
    
    .principle-card h3, .service-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .principle-card p, .service-card p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .case-image {
        height: 160px;
    }
    
    .case-industry-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .case-stats {
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 12px;
    }
    
    .stat {
        margin-bottom: 12px;
        min-width: 80px;
    }
    
    .stat-value {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }
    
    .tech-carousel {
        margin: 30px 0;
        height: 120px;
    }
    
    .tech-item {
        min-width: 140px;
        height: 75px;
        padding: 15px;
    }
    
    .contact-form {
        padding: 0;
    }
    
    .form-group input, 
    .form-group textarea {
        padding: 14px 18px;
        font-size: 15px;
        border-radius: 12px;
    }

    .form-group textarea {
        min-height: 120px;
    }
    
    .submit-btn {
        padding: 16px 35px;
        margin-top: 25px;
        font-size: 16px;
        border-radius: 40px;
    }
    
    .footer-content {
        gap: 25px;
        margin-bottom: 30px;
    }
    
    .footer-brand h3 {
        font-size: 24px;
    }

    .footer-brand p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    footer {
        padding: 40px 0 20px;
    }

    .footer-column h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .footer-column ul li {
        margin-bottom: 12px;
    }

    .footer-column ul li a {
        font-size: 14px;
    }
}

/* Extra Small Devices */
@media (max-width: 400px) {
    .container {
        padding: 0 10px;
    }
    
    .hero h1 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero .subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .hero-buttons {
        max-width: 240px;
        gap: 10px;
    }

    .btn-primary, .btn-secondary {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .principle-card, 
    .service-card {
        padding: 20px 15px;
        border-radius: 18px;
    }

    .principle-card h3, .service-card h3 {
        font-size: 18px;
    }

    .principle-card p, .service-card p {
        font-size: 13px;
    }
    
    .case-card {
        min-width: 240px;
        border-radius: 18px;
    }
    
    .case-content {
        padding: 18px 15px;
    }
    
    .case-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .case-content p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .tech-item {
        min-width: 120px;
        height: 65px;
        padding: 10px;
    }

    .form-group input, 
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 14px 25px;
        font-size: 15px;
    }
}

/* Landscape orientation fixes */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 60vh;
        padding: 30px 0 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero .subtitle {
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: row;
        max-width: 500px;
        gap: 15px;
    }

    .btn-primary, .btn-secondary {
        width: auto;
        min-width: 160px;
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    /* Larger touch targets */
    .cta-button,
    .btn-primary,
    .btn-secondary,
    .submit-btn {
        min-height: 48px;
        touch-action: manipulation;
    }

    /* Better form inputs */
    .form-group input,
    .form-group textarea {
        min-height: 48px;
        touch-action: manipulation;
    }

    /* Prevent zoom on input focus */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px !important;
    }

    /* Better scrolling */
    .cases-scroll {
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .cases-scroll::-webkit-scrollbar {
        display: none;
    }
} 