/* Profiles Page Specific Styles */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.profile-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-10px);
}

.profile-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.profile-info {
    padding: 25px;
    text-align: center;
}

.profile-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.profile-info p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.profile-highlights {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.profile-highlights span {
    background-color: var(--background-light);
    color: var(--text-secondary);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.profile-projects {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-link {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .profiles-grid {
        grid-template-columns: 1fr;
    }
}