/* ===== Tablet & Small Desktop (768px) ===== */
@media (max-width: 768px) {
    /* Hamburger visible */
    .hamburger {
        display: flex;
    }

    .navbar {
        overflow: visible;
    }

    /* Mobile nav dropdown */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        z-index: 1000;
        border-bottom: 1px solid var(--border-accent-light);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        transition: max-height var(--transition-speed) ease;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-menu:not(.active) {
        border-bottom: none;
        box-shadow: none;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.35s; }

    .nav-menu a {
        font-size: 1.2rem;
        padding: 15px 0;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Page banner */
    .page-banner {
        padding: 120px 0 40px;
    }

    .page-banner h1 {
        font-size: 2.2rem;
    }

    /* Grids */
    .team-grid,
    .services-grid,
    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    /* Cards */
    .service-card,
    .project-card {
        padding: 30px 20px;
    }

    .project-stats {
        flex-direction: column;
        gap: 15px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    /* Typography */
    h2 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .service-cta,
    .project-cta {
        padding: 40px 20px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-company,
    .footer-legal,
    .footer-compliance,
    .footer-links {
        text-align: center;
    }
}

/* ===== Mobile (480px) ===== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }

    .nav-container {
        padding: 0 15px;
    }

    .container {
        padding: 0 15px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .team-member,
    .service-card,
    .project-card {
        padding: 25px 15px;
    }

    .contact-form-wrapper {
        padding: 25px 15px;
    }

    .logo-img {
        height: 32px;
    }

    .project-card h3 {
        font-size: 1.3rem;
    }
}
