/* Responsive Design - Mobile First Approach */

/* Tablet Styles */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    /* Logo - compact on mobile */
    .logo-name {
        font-size: 1.1rem;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }

    .logo-icon {
        height: 32px;
    }

    /* Typography */
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* 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-lg);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        padding: 0;
    }

    .nav-link {
        padding: 1rem 2rem;
        width: 100%;
        justify-content: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--bg-light);
        width: 100%;
        display: none;
        margin-top: 0;
    }

    .nav-item.active .dropdown-menu {
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .schedule-btn {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }

    /* Hero Section */
    .hero {
        padding: 80px 0 60px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .service-card {
        padding: 1.5rem;
        min-height: 150px;
    }

    .service-title {
        font-size: 0.9rem;
    }

    .services-nav-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    /* Technologies */
    .tech-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }

    .tech-item {
        padding: 1rem;
        font-size: 0.9rem;
    }

    /* Industries */
    .industries-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }

    .industry-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    /* Testimonials */
    .testimonials-carousel {
        min-height: 400px;
    }

    .testimonial-content {
        padding: 2rem 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .carousel-controls {
        flex-wrap: wrap;
        gap: 1rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Awards */
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Process */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* CTA Section */
    .cta-title {
        font-size: 1.8rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-legal span {
        display: none;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    #calendly-embed {
        min-height: 600px;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .service-card,
    .testimonial-content {
        padding: 1.5rem;
    }

    .hero {
        padding: 60px 0 40px;
    }

    section {
        padding: 40px 0;
    }

    .stats-intro {
        font-size: 1.2rem;
    }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .carousel-btn,
    .dot,
    .nav-link {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-card:hover,
    .tech-item:hover,
    .industry-item:hover,
    .blog-card:hover {
        transform: none;
    }

    .service-card:active,
    .tech-item:active,
    .industry-item:active {
        transform: scale(0.98);
    }
}

/* Landscape orientation adjustments */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 60px 0 40px;
    }

    .nav-menu {
        max-height: calc(100vh - 70px);
    }
}

/* Print Styles */
@media print {
    .header,
    .hamburger,
    .btn,
    .carousel-controls,
    .modal,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
}

