/* Our Team Page Styles */

.team-section {
    background: #D5EBE4;
    padding: 60px 20px;
    min-height: 70vh;
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
}

.team-title {
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 15px;
}

.team-title .highlight {
    color: #28732C;
}

.team-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(40, 115, 44, 0.15);
}

.team-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #D5EBE4 0%, #b8d9cd 100%);
}

.team-placeholder i {
    font-size: 80px;
    color: #28732C;
    opacity: 0.3;
}

.team-card-content {
    padding: 25px;
    text-align: center;
}

.team-member-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.team-member-role {
    font-size: 14px;
    color: #28732C;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.team-member-subject {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.team-member-subject i {
    color: #28732C;
    font-size: 13px;
}

.team-member-institution {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.team-member-institution i {
    color: #28732C;
    font-size: 12px;
}

.no-team {
    text-align: center;
    padding: 80px 20px;
    color: #666;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-section {
        padding: 40px 20px;
    }

    .team-title {
        font-size: 32px;
    }

    .team-subtitle {
        font-size: 14px;
        margin-bottom: 35px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .team-card-image {
        height: 250px;
    }

    .team-card-content {
        padding: 20px;
    }

    .team-member-name {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}