/* About Section */
.about-grid {
    display: block;
}

.about-card {
    padding: 40px;
    margin-bottom: 40px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-text p {
    margin-bottom: 20px;
}

.tech-stack {
    padding: 40px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 20px;
    justify-items: center;
}

/* Square, centered tech tiles */
.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    width: 180px;
    height: 180px;
    border-radius: 15px;
    background: var(--bg-primary);
    box-shadow:
        inset 4px 4px 8px var(--shadow-dark),
        inset -4px -4px 8px var(--shadow-light);
    transition: all 0.3s ease;
}

.tech-item:hover {
    box-shadow:
        4px 4px 8px var(--shadow-dark),
        -4px -4px 8px var(--shadow-light);
}

.tech-icon {
    font-size: 2.7rem; /* 35% larger */
    margin-bottom: 15px; /* more space between icon and text */
    display: block;
}

.tech-name {
    font-weight: 550;
    color: var(--text-primary);
    font-size: 1.1rem;
}
