/* Mobile-only overrides */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }

    .social-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 20px;
        row-gap: 25px;
    }

    .contact-item,
    .social-link {
        flex-shrink: 0;
    }

    /* Disable hover expansion on touch to prevent glitch, rely on active class */
    .contact-item:hover,
    .social-link:hover {
        width: 60px;
        border-radius: 50%;
        box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light);
    }

    .contact-item.active,
    .social-link.active {
        width: 140px;
        border-radius: 30px;
        box-shadow: inset 6px 6px 12px var(--shadow-dark), inset -6px -6px 12px var(--shadow-light);
    }

    .contact-item.active .contact-icon,
    .social-link.active .social-icon {
        left: 20px;
        margin-left: 10px;
    }

    .contact-item.active .contact-text,
    .social-link.active .social-text {
        opacity: 1;
        transform: translateX(0);
    }

    /* Remove background from parent container only */
    .neuro-card.tech-stack {
        background: transparent !important;
        box-shadow: none !important;
    }

    /* Tech Stack: two columns */
    .tech-grid {
        display: grid;
        grid-template-columns: repeat(2, 160px);
        gap: 15px;
        justify-content: center;
        padding: 0;
    }

    .tech-item {
        width: 160px;
        height: 160px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        width: auto; /* Fix horizontal scroll */
        padding: 0;
    }
}
