/* Coding Profiles Section */
#coding-profiles.section {
    background: var(--bg-color-alt);
    padding: 4rem 0;
}

#coding-profiles .section-title {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 2rem;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg, 12px);
    box-shadow: 0 5px 15px var(--shadow-color, rgba(0,0,0,0.07));
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 25px var(--shadow-color, rgba(0,0,0,0.13));
}

.profile-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 50%;
    object-fit: contain;
}

.profile-card h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.profile-link {
    margin-top: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    font-size: 0.98rem;
}

.profile-link:hover {
    color: var(--secondary-color, #0d47a1);
    border-bottom: 1px solid var(--secondary-color, #0d47a1);
}

/* Responsive */
@media (max-width: 768px) {
    .profiles-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.2rem;
    }
    .profile-card {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
    .profile-icon {
        width: 40px;
        height: 40px;
    }
}