/* ----------------------------- */
/* Team Section */
/* ----------------------------- */
.team-section {
    padding: 5rem 2rem;
    background-color: var(--white);
}

.team-header .section-badge {
    display: inline-block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.team-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.team-header p {
    color: #555;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Team Card */
.team-card {
    display: block;
    background-color: var(--background);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    color: var(--text);
    text-decoration: none;
    max-width: 480px;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Team Photo */
.team-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem auto;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Team Name & Role */
.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1rem;
}

.team-desc {
    font-size: 0.9rem;
    color: #666;
}

.department-block {
    margin-top: 60px;
}

.department-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-primary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .team-header h2 {
        font-size: 2rem;
    }

    .team-card {
        padding: 1.5rem 1rem;
    }

    .team-photo {
        width: 100px;
        height: 100px;
    }
}
