/* Tech Stack Section */
.tech-stack {
    background-color: var(--deep-space);
    position: relative;
    overflow: hidden;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.8rem 1rem;
    border-radius: 12px;
    background: var(--space-light);
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--cyber-aqua-glow);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--cyber-aqua);
    text-shadow: 0 0 10px var(--cyber-aqua-glow);
}

.tech-name {
    font-weight: 600;
    color: var(--starlight);
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 1rem;
    }
    
    .tech-item {
        padding: 1.5rem 0.8rem;
    }
    
    .tech-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tech-item {
        padding: 1.2rem 0.5rem;
    }
    
    .tech-icon {
        font-size: 2.2rem;
    }
    
    .tech-name {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
